OS X 10.11 All The Little Things!

Status
The first post in this thread is a WikiPost, and can be edited by anyone with the appropriate permissions.

MikhailT

macrumors 601
Nov 12, 2007
4,381
931
According with the graph shown in the slide, lzfse is both faster and more compressed than zlib.
That's why I am asking the guy who tested it. I've seen the marketing slide but Apple has said a lot of things that just doesn't turn out to be realistically accurate.
 

Mr. Retrofire

macrumors 603
Mar 2, 2010
5,040
469
www.emiliana.cl/en
Any cons?...
It is only compatible with OS X 10.11+ (like bzip2 compressed .dmg files, which are only compatible with OS X 10.4+).

...What about the size itself? Generally it is safe to assume that the faster it is, the bigger the result will be.
Apple says the LZFSE compression is more or less equivalent to zlib compression level 5. The default in OS X 10.10 and earlier was zlib compression level 1 (this is equivalent to the "compressed" disk image option in Disk Utility).

Tests & Results:
1. I copied iTunes v12.1.2 to a disk image (sparse, 512 MB).
sudo ditto --rsrc --acl --extattr --qtn --nopreserveHFSCompression /Applications/iTunes.app /Volumes/iTunesCompressionTestForMR/iTunes.app
2. I compressed this disk image with zlib compression level 5 and LZFSE. The displayed results are the best results of 3 passes.

Apple LZFSE said:
YourMac:~ YourUsername$ hdiutil convert -format ULFO -o /Users/YourUsername/Desktop/iTunesCompressionTestForMR_LZFSE.dmg /Users/YourUsername/Desktop/iTunesCompressionTestForMR.sparseimage
Preparing imaging engine…
Reading Protective Master Boot Record (MBR : 0)…
(CRC32 $48CF7362: Protective Master Boot Record (MBR : 0))
Reading GPT Header (Primary GPT Header : 1)…
(CRC32 $6BB3CE4C: GPT Header (Primary GPT Header : 1))
Reading GPT Partition Data (Primary GPT Table : 2)…
(CRC32 $A5873B7C: GPT Partition Data (Primary GPT Table : 2))
Reading (Apple_Free : 3)…
(CRC32 $00000000: (Apple_Free : 3))
Reading disk image (Apple_HFS : 4)…
............................................................................................................................................
(CRC32 $470633EE: disk image (Apple_HFS : 4))
Reading (Apple_Free : 5)…
............................................................................................................................................
(CRC32 $00000000: (Apple_Free : 5))
Reading GPT Partition Data (Backup GPT Table : 6)…
............................................................................................................................................
(CRC32 $A5873B7C: GPT Partition Data (Backup GPT Table : 6))
Reading GPT Header (Backup GPT Header : 7)…
.............................................................................................................................................
(CRC32 $341054E6: GPT Header (Backup GPT Header : 7))
Adding resources…
.............................................................................................................................................
Elapsed Time: 5.618s
File size: 152603202 bytes, Checksum: CRC32 $823F3CEB
Sectors processed: 1000040, 679076 compressed
Speed: 59.0Mbytes/sec
Savings: 70.2%
created: /Users/YourUsername/Desktop/iTunesCompressionTestForMR_LZFSE.dmg
zlib compression level 5 said:
YourMac:~ YourUsername$ hdiutil convert -format UDZO -tgtimagekey zlib-level=5 -o /Users/YourUsername/Desktop/iTunesCompressionTestForMR_ZLIB5.dmg /Users/YourUsername/Desktop/iTunesCompressionTestForMR.sparseimage
Preparing imaging engine…
Reading Protective Master Boot Record (MBR : 0)…
(CRC32 $48CF7362: Protective Master Boot Record (MBR : 0))
Reading GPT Header (Primary GPT Header : 1)…
(CRC32 $6BB3CE4C: GPT Header (Primary GPT Header : 1))
Reading GPT Partition Data (Primary GPT Table : 2)…
(CRC32 $A5873B7C: GPT Partition Data (Primary GPT Table : 2))
Reading (Apple_Free : 3)…
(CRC32 $00000000: (Apple_Free : 3))
Reading disk image (Apple_HFS : 4)…
............................................................................................................................................
(CRC32 $470633EE: disk image (Apple_HFS : 4))
Reading (Apple_Free : 5)…
............................................................................................................................................
(CRC32 $00000000: (Apple_Free : 5))
Reading GPT Partition Data (Backup GPT Table : 6)…
............................................................................................................................................
(CRC32 $A5873B7C: GPT Partition Data (Backup GPT Table : 6))
Reading GPT Header (Backup GPT Header : 7)…
.............................................................................................................................................
(CRC32 $341054E6: GPT Header (Backup GPT Header : 7))
Adding resources…
.............................................................................................................................................
Elapsed Time: 9.229s
File size: 157528377 bytes, Checksum: CRC32 $823F3CEB
Sectors processed: 1000040, 679076 compressed
Speed: 35.9Mbytes/sec
Savings: 69.2%
created: /Users/YourUsername/Desktop/iTunesCompressionTestForMR_ZLIB5.dmg
 
  • Like
Reactions: MikhailT

xmichaelp

macrumors 68000
Jul 10, 2012
1,815
626
I think it was not mentioned before: swipe to delete (like demoed in Mail) is working in Messages app too.

Off topic but can I ask what you used to blur those sections? I really like the look of it. Thanks.
 

Shirasaki

macrumors G3
May 16, 2015
9,532
3,541
Finally, finally! OS X adds this function to trash can to let us delete some files in trash can to quickly release free space, rather than waiting for emptying. And it sometimes will last long time.

See X code here right? This is in fact a folder. Emptying trash can will take much longer time because OS X needs to delete files in this folder.

Rather delighted. :)
image.jpeg
 

mayuka

macrumors 6502a
Feb 15, 2009
584
61
Finally, finally! OS X adds this function to trash can to let us delete some files in trash can to quickly release free space, rather than waiting for emptying. And it sometimes will last long time.
Nice find. :)

Could you check if the option "empty trash securely" in Finder preferences changes something?
 

Shirasaki

macrumors G3
May 16, 2015
9,532
3,541
Nice find. :)

Could you check if the option "empty trash securely" in Finder preferences changes something?
According to experience, after enabling it, deleting contents will take much longer time if you delete many files or large files (especially many).

I didn't do full test, but when I try to "securely delete" a large zip file which is 6GB large, I need to wait a long time if I want it to be deleted. I cancel this, and revert to "normal delete", then, trash can cleaning takes less than 1 second to complete.

This could be useful if you don't want others using any sort of data recovery software to recover files you presumably don't want others to see.
 
  • Like
Reactions: mayuka

Mr. Retrofire

macrumors 603
Mar 2, 2010
5,040
469
www.emiliana.cl/en
According to experience, after enabling it, deleting contents will take much longer time if you delete many files or large files (especially many).

I didn't do full test, but when I try to "securely delete" a large zip file which is 6GB large, I need to wait a long time if I want it to be deleted...
This is the reason why I use srm (one pass of random data, one pass of zeroes; overwrites data forks, resource forks and all extended attributes (meta data)).

sudo srm -rsz path-to-your-folder
or for a file
sudo srm -sz path-to-your-file

in a Terminal window. I had hoped that they improve the "Secure Delete" option in the Finder. No one needs more than a single pass of random data and one pass of zeroes.
 

Superhai

macrumors 6502
Apr 21, 2010
423
339
I had hoped that they improve the "Secure Delete" option in the Finder. No one needs more than a single pass of random data and one pass of zeroes.
"Secure" Delete, are also more or less useless if you use SSD's, unless you have full low-level access to the cells, which rarely one have.
 

nomanstool

macrumors member
Oct 4, 2010
90
1
questions guys, pinned site for twitter, doesn't yield any favicon for me, its just blank. Are you guys seeing the same?
 
  • Like
Reactions: mayuka

MikhailT

macrumors 601
Nov 12, 2007
4,381
931
Mmm, I don't understand what does means. Would you explain, please?
It means you can use Command + 1 to switch to tab 1, Command + 2 to tab 2. In the past, CMD+1 would open the first bookmark you have, not the first tab.

This is now consistent with other browsers, to use CMD+<num> for specific tabs.
 

Siannath

macrumors member
Nov 21, 2012
94
289
Lima, Perú
It means you can use Command + 1 to switch to tab 1, Command + 2 to tab 2. In the past, CMD+1 would open the first bookmark you have, not the first tab.

This is now consistent with other browsers, to use CMD+<num> for specific tabs.
Oh, thanks. That's great.
 

Takuro

macrumors 6502
Jun 15, 2009
483
110
Finally, finally! OS X adds this function to trash can to let us delete some files in trash can to quickly release free space, rather than waiting for emptying.View attachment 565707
When a file is deleted on most operating systems, the bytes are marked as free space even if they still retain their contents. I assume when you say "waiting for emptying" you actually mean to say "waiting for it to get overwritten by other data."
 

Shirasaki

macrumors G3
May 16, 2015
9,532
3,541
When a file is deleted on most operating systems, the bytes are marked as free space even if they still retain their contents. I assume when you say "waiting for emptying" you actually mean to say "waiting for it to get overwritten by other data."
But what I am waiting for is waiting for OS X marking those bytes as free space, not overwriting data. :(
 

Shirasaki

macrumors G3
May 16, 2015
9,532
3,541
secure delete
Have I noted I didn't use secure delete to delete xcode? :(
I might forget that.
Well, I use normal empty command, not secure delete. It takes me more than 10 minutes. I do know the time spent on secure delete, which is often longer than 1 hour for a file or folder larger than 5 GB.
 
Status
The first post in this thread is a WikiPost, and can be edited by anyone with the appropriate permissions.