Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion

Confused about DISK IO (direct, dsync and fdatasync)
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Confused about DISK IO (direct, dsync and fdatasync)

bdwebservicesbdwebservices Member
edited May 2018 in Help

Hello,
This is my server. I did 3 benchmark. Which one is real DISK IO and which one I have to consider to use as shared hosting server?

[root@srv ~]# dd if=/dev/zero of=test bs=1M count=1024 oflag=dsync && rm -f test
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 3.43017 s, 313 MB/s

[root@srv ~]# dd if=/dev/zero of=test bs=1M count=1024 oflag=direct && rm -f test
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 1.16952 s, 918 MB/s

[root@srv ~]# dd if=/dev/zero of=test bs=1M count=1024 conv=fdatasync && rm -f test
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 2.49561 s, 430 MB/s

Thanks,

Comments

Sign In or Register to comment.