SMB benchmarks
I am testing the difference between SMB 1.0, 2.1, and 3.0
I am interested in how fast my client (CentOS 7) can read from enterprise class storage over SMB. I am using mount.cifs to force SMB to negotiate the different protocols by using the vers=3.0 option. I mount using all three versions of SMB, then I do tests like so: Code:
dd if=/mnt/smb3.0/mystorage/testfile of=/dev/zero bs=1024k count=8000 Code:
rsync -av /mnt/smb3.0/mystorage/testfile /dev/null Code:
rsync : write failed on "/dev/null": No space left on device Can anyone suggest how I can get rsync to transfer into /dev/null, or something similar, just so I can see the speeds it gets? Are there any other useful tests I can run to test the speed of the protocol (I am not interested in speed of the storage and don't want it interfering). |
You can not use /dev/null as a directory which is what rsync is trying to do. I'm not sure exactly what is happening but since /dev/ is a virtual filesystem and you are trying to write to /dev/null as a directory the whole thing gets messed up (a very technical term...).
The only idea I have at the moment is to create a tmpfs for your destination directory. How big depends on the amount of memory so your results may vary. |
All times are GMT -5. The time now is 02:33 PM. |