LINUX.ORG.RU

История изменений

Исправление fornlr, (текущая версия) :

Что-то сомнительные там результаты

dd, no, they're also setting bs=N which means they're testing the speed of /dev/zero copying to that block size as well. They also don't know if either hfs/hfs+/apfs have anything like zfs' «oh you wrote an entire block of zeros, yeah I'm not doing that, I'll just mark the block as all zeros» optimization. Never use dd to benchmark file i/o! At least use something like ioperf which has the ability to tell you more about what you're benchmarking. Using dd without bypassing any vm caches is... misguided at best.

Исходная версия fornlr, :

Что-то сомнительные там результаты

dd, no, they're also setting bs=N which means they're testing the speed of /dev/zero copying to that block size as well.

They also don't know if either hfs/hfs+/apfs have anything like zfs' «oh you wrote an entire block of zeros, yeah I'm not doing that, I'll just mark the block as all zeros» optimization. Never use dd to benchmark file i/o! At least use something like ioperf which has the ability to tell you more about what you're benchmarking. Using dd without bypassing any vm caches is... misguided at best.