On Tue, 1 Aug 2006, Niall O Broin wrote:
> local disk, the source of the file being another NFS mount) but NFS
> file operations are expensive.
s/expensive/latency sensitive/
> I did a little test like this:
>> time (for in in `seq 1 1000`;do cp /etc/passwd nfstest/file$x;done)
>> With nfstest on an NFS mount, this took 1m32s. With nfstest on a local disk
> it took 14s.
$ time for x in `seq 1 1000`;do /bin/cp -f /etc/passwd ~/nfstest/file$x;done
real 0m22.667s
Nearly same as your local disk. Though local for the above fs would
be:
real 0m6.299s
Are you running NFS over 802.11? That's a lot slower for me (above
was switched LAN), but not quite as bad as yours:
real 0m58.766s
regards,
--
Paul Jakma paul at clubi.iepaul at jakma.org Key ID: 64A2FF6A
Fortune:
It is impossible to travel faster than light, and certainly not desirable,
as one's hat keeps blowing off.
-- Woody Allen
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!