Thursday, March 03, 2022

Re: disk i/o test

On Thu, Mar 03, 2022 at 02:59:33PM +0200, Mihai Popescu wrote:
> 2. Can you suggest a sane disk I/O benchmark, writing from RAM to disk
> (i.e. cp /dev/null ....)?

/dev/null will act as an empty file. you have to use /dev/zero.

i do my test with this command:

dd if=/dev/zero of=test10g.dat bs=1m count=10240 conv=fsync

No comments:

Post a Comment