Hello,
I was hoping those knowledgeable folks out there could help clarify some points and to help others in testing their FreeNAS builds.
In reading through the forums, I've been trying out the different DD commands recommended. After doing a bit more reading, I'm trying to determine which are the correct ways to test to give meaningful data.
I first tried the following, with the results included:
Which seems to create a 20gig file, filled with zeros. The results seem great, but almost too good to be true.
I also read that you can insert random data, instead of just zeros, into a file - I tested this using:
These results are obviously lower, but seemed like they may be more accurate for real world transfers to and from the NAS (an assumption on my part).
With all of that said, are there any limitations to the random number generator, /dev/random? Is that test actually producing useful numbers or am I testing some scenario that really isn't relevant?
Let me know what everyone thinks - am I on the right track or not?
Thanks
I was hoping those knowledgeable folks out there could help clarify some points and to help others in testing their FreeNAS builds.
In reading through the forums, I've been trying out the different DD commands recommended. After doing a bit more reading, I'm trying to determine which are the correct ways to test to give meaningful data.
I first tried the following, with the results included:
Code:
dd if=/dev/zero of=/mnt/storage_vol/dataset_main/ddfile bs=1024k count=20000 20971520000 bytes transferred in 59.731942 secs (351093891 bytes/sec) 20971520000 bytes transferred in 50.700838 secs (413632610 bytes/sec) 20971520000 bytes transferred in 49.925832 secs (420053490 bytes/sec) dd if=/dev/zero of=/mnt/storage_vol/dataset_main/ddfile bs=2048k count=10000 20971520000 bytes transferred in 44.941596 secs (466639413 bytes/sec) 20971520000 bytes transferred in 43.553766 secs (481508763 bytes/sec) 20971520000 bytes transferred in 45.993391 secs (455968119 bytes/sec)
Which seems to create a 20gig file, filled with zeros. The results seem great, but almost too good to be true.
I also read that you can insert random data, instead of just zeros, into a file - I tested this using:
Code:
dd if=/dev/random of=/mnt/storage_vol/dataset_main/ddfile bs=2048k count=10000 20971520000 bytes transferred in 259.340353 secs (80864855 bytes/sec) 20971520000 bytes transferred in 254.590083 secs (82373672 bytes/sec) 20971520000 bytes transferred in 240.440793 secs (87221140 bytes/sec)
These results are obviously lower, but seemed like they may be more accurate for real world transfers to and from the NAS (an assumption on my part).
With all of that said, are there any limitations to the random number generator, /dev/random? Is that test actually producing useful numbers or am I testing some scenario that really isn't relevant?
Let me know what everyone thinks - am I on the right track or not?
Thanks