Nfs access speeds

From ElphelWiki
Jump to: navigation, search

NFS Shares Access Speeds

Results

Connection Network, Mbit/s Access Speed, MBytes/s
Camera->PC 100 ~5.8
PC->PC 100 8.6
PC->PC 1000 26.9

Measurements Output

Mounting A Share

sudo mount -t nfs -o nolock,tcp <ip-address>:/<path> <path-to-mount-point>

Camera -> PC

# time dd if=/dev/circbuf of=/mnt/0/test1.dd bs=1M                                                                                                                                                                                                                         
18+1 records in                                                                                                                                                                                                                                                            
18+1 records out                                                                                                                                                                                                                                                           
real    0m 3.28s                                                                                                                                                                                                                                                           
user    0m 0.00s                                                                                                                                                                                                                                                           
sys     0m 1.08s 

Access speed: ~5.8MB/s

PC -> PC (100Mbit/s connection)

time dd if=file1 of=/mount_point/test3.dd bs=1M
22+1 records in
22+1 records out
23595370 bytes (24 MB) copied, 2.7515 s, 8.6 MB/s

real    0m2.925s
user    0m0.000s
sys     0m0.030s

PC -> PC (1Gbit/s connection)

time dd if=file1 of=/mount_point/test2.dd bs=1M
22+1 records in
22+1 records out
23595370 bytes (24 MB) copied, 0.87726 s, 26.9 MB/s

real    0m0.897s
user    0m0.000s
sys     0m0.030s