4 ms·
Your 2nd paragraph's characterisation doesn't correspond to the article, which specifically cites empirical testing of multiple blocksizes and a demonstration o
by dredmorbius 10y ago
Your 2nd paragraph's characterisation doesn't correspond to the article, which specifically cites empirical testing of multiple blocksizes and a demonstration of optimal performance at 128 KB:
"The author of this file did a benchmark using dd if=/dev/zero of=/dev/null with different values of the bs (block size) parameter. On a wide variety of systems, including older Intel CPUs, modern high-end Intel CPUs, and even an IBM POWER7 CPU, a 128 KB block size is fastest. I used gnuplot to graph these results, shown below (higher transfer rate is better). The different symbols represent different system configurations."
- ars 10y ago> which specifically cites empirical testing Are you serious? He tested /dev/zero to /dev/null and assumed that was somehow related to readahead of a hard disk.
- dredmorbius 10y agoPoint. But it does show that, abstracting away disk IO itself, the system bus and processor handle IO best at 128 KB blocksizes. It's easy enough to start substituting in disk specifications for read or write and continue the experiment.
- ars 10y agoNo, it does not show that. /dev/zero and /dev/null are special. If you want to abstract away disk IO then use a memory drive.