Optimising NFS for system files

Manolis Kiagias sonic2000gr at gmail.com
Wed Dec 31 08:16:15 UTC 2008


Bernard Dugas wrote:
> Wojciech Puchar wrote:
>
>>> nfsserver# time tar -cf - clientusr-amd64 > /dev/null
>>> 5.001u 12.147s 1:23.92 20.4%    69+1369k 163345+0io 0pf+0w
>>>
>>> client9# time tar -cf - /usr > /dev/null
>>> tar: Removing leading '/' from member names
>>> 3.985u 19.779s 4:32.47 8.7%     74+1457k 0+0io 0pf+0w
>>>
>>> Note : clientusr-amd64 is around 1.3GB and is the same directory
>>> exported to client9 /usr with nfs.
>>>
>> it's FAST. what's wrong?
>
> First thing that may be wrong is the understanding of the time
> figures. The documentation is not clear about them and the -h option
> is not working :
>
> client6# time -h tar -cf - /usr > /dev/null
> -h: Command not found.
> 0.000u 0.000s 0:00.00 0.0%      0+0k 0+0io 0pf+0w

Just a sidenote, you are probably getting a version of time integrated
to your shell. The -h option works fine in /usr/bin/time, so run like this:

client6# /usr/bin/time -h tar -cf - /usr > /dev/null


More information about the freebsd-questions mailing list