# In order to see if there's a big advantage in using # the `async' option of NFSv3 (Linux-Linux) the following # was tried on the link between serv.ntmm.org (in the # cupboard) and box.ntmm.org (desktop), copying files # from and to the /home partition. # The network is Gbit with one switch between the # computers; little other activity was going on. # The disk on the server is a normal boring IDE 40GB # one: #=== START OF INFORMATION SECTION === #Device Model: WDC WD400JB-00ENA0 #Serial Number: WD-WMAD1A534533 #Firmware Version: 05.03E05 #User Capacity: 40,020,664,320 bytes #Device is: In smartctl database [for details use: -P show] #ATA Version is: 5 #ATA Standard is: Exact ATA specification draft version not indicated # 292MB in about 7280 files was copied then deleted. This was done # two times with the sync option (write to disk before finishing transaction # with NFS client) in order to see if any initial caching affected # results (it didn't). # Then one more run with the async option on the server. nt@box ~/ $ time cp -a .??* Maildir/ /home/scratch/nc/ real 8m42.111s user 0m1.064s sys 0m17.973s nt@box ~/ $ time rm -rf /home/scratch/nc/ real 1m34.603s user 0m0.068s sys 0m0.836s nt@box ~/ $ time cp -a .??* Maildir/ /home/scratch/nc/ time rm -rf /home/scratch/nc/ real 8m44.402s user 0m1.128s sys 0m18.713s nt@box ~/ $ time rm -rf /home/scratch/nc/ real 1m36.625s user 0m0.184s sys 0m3.184s ## restart service and remount client nt@box ~/ $ time cp -a .??* Maildir/ /home/scratch/nc/ real 3m12.497s user 0m0.848s sys 0m14.333s nt@box ~/ $ time rm -rf /home/scratch/nc/ real 0m20.233s user 0m0.048s sys 0m1.456s # Conclusions: more than doubled copy speed, more than quadrupled # delete speed.