EDIT: This CLEARLY isn't for most iPhone owners... but feel-free to chime-in if you just happen to be knowledgeable in such subjects.

So I got another wild-hare again, and plugged in a MSATA adapter to my SATA2 supporting machine. I shrank a working Windows partition to allow for a 4GB partition at the end of the drive to tinker with, and this is not my OS drive, but a drive from another "tinker"-machine. I then created a partition with clusters of 512, 1k, 2k, 4k, and 8k. I proceeded to write ~2GB zero-filled file via Cygwin64 CLI "dd if=/dev/zero of=/cygdrive/g/2gb.out bs=1M count=2000".
It seems to me that there is virtually no difference in write speeds (there seems to be some variance, but doing this from a Windows box right now) between cluster sizes, and changes in small files (most common on my box) would require less writes to less sectors, increasing life by not having to write as many sectors (as flash has a limited number of writes), theoretically extending the life of an SSD, AND saving space, although I COULD drop a tree and find out how much theoretical, or dump a munch of files and find actual... but not willing to spend that much time on it right now...
I did some tests a long time ago, and just wanted to try again with a MSATA SSD I had sitting next to my machine, plugged into a SATA adapter/board (passthrough?), on a SATA2 on my PC, just to see some data, and revisit.
I seem to recall similar results with Linux and different block sizes, and tested with different filesystems (ext2, ext3, ext4) on one of the 1st Intel SSDs I had in my hands and was plugging-away at.
Block sizes didn't seem to make much of a difference.
Thoughts?
Am I overlooking something else?

So I got another wild-hare again, and plugged in a MSATA adapter to my SATA2 supporting machine. I shrank a working Windows partition to allow for a 4GB partition at the end of the drive to tinker with, and this is not my OS drive, but a drive from another "tinker"-machine. I then created a partition with clusters of 512, 1k, 2k, 4k, and 8k. I proceeded to write ~2GB zero-filled file via Cygwin64 CLI "dd if=/dev/zero of=/cygdrive/g/2gb.out bs=1M count=2000".
It seems to me that there is virtually no difference in write speeds (there seems to be some variance, but doing this from a Windows box right now) between cluster sizes, and changes in small files (most common on my box) would require less writes to less sectors, increasing life by not having to write as many sectors (as flash has a limited number of writes), theoretically extending the life of an SSD, AND saving space, although I COULD drop a tree and find out how much theoretical, or dump a munch of files and find actual... but not willing to spend that much time on it right now...
Code:
512byte clusters, NTFS Zero-file: Sat, Nov 11, 2017 8:20:28 PM 2000+0 records in 2000+0 records out 2097152000 bytes (2.1 GB, 2.0 GiB) copied, 13.2421 s, 158 MB/s Sat, Nov 11, 2017 8:20:41 PM 1K blocks, NTFS Zero-file: Sat, Nov 11, 2017 8:22:09 PM 2000+0 records in 2000+0 records out 2097152000 bytes (2.1 GB, 2.0 GiB) copied, 12.7188 s, 165 MB/s Sat, Nov 11, 2017 8:22:22 PM 2k blocks, NTFS zero-file: Sat, Nov 11, 2017 8:23:12 PM 2000+0 records in 2000+0 records out 2097152000 bytes (2.1 GB, 2.0 GiB) copied, 13.2403 s, 158 MB/s Sat, Nov 11, 2017 8:23:25 PM 4k blocks, ntfs zero-file: Sat, Nov 11, 2017 8:24:02 PM 2000+0 records in 2000+0 records out 2097152000 bytes (2.1 GB, 2.0 GiB) copied, 13.0993 s, 160 MB/s Sat, Nov 11, 2017 8:24:15 PM 8K Blocks, NTFS zero-file: Sat, Nov 11, 2017 8:25:09 PM 2000+0 records in 2000+0 records out 2097152000 bytes (2.1 GB, 2.0 GiB) copied, 13.101 s, 160 MB/s Sat, Nov 11, 2017 8:25:22 PM
Code:
Retest, 512 bytes blocks again, done after all the other tests up to 8k were completed: Sat, Nov 11, 2017 8:26:13 PM 2000+0 records in 2000+0 records out 2097152000 bytes (2.1 GB, 2.0 GiB) copied, 13.0248 s, 161 MB/s Sat, Nov 11, 2017 8:26:26 PM
I seem to recall similar results with Linux and different block sizes, and tested with different filesystems (ext2, ext3, ext4) on one of the 1st Intel SSDs I had in my hands and was plugging-away at.
Block sizes didn't seem to make much of a difference.
Thoughts?
Am I overlooking something else?



Comment