[K12OSN] slow NFS
Peter Hartmann
ascensiontech at gmail.com
Tue Apr 8 18:12:42 UTC 2008
I'm having an nfs problem at least... On a desktop machine that's
authenticating to the k12ltsp/smbldap server it takes for ever to log
in. Getent passwd takes 14 seconds to return the smbldap users. Top
command takes at least 10 seconds to start.
Here's good example of the difference in speed with local vs. nfs
mouted directories:
[localuser at smart1ltsp ~]$ time dd if=/dev/zero of=testfile bs=16k count=16384
16384+0 records in
16384+0 records out
268435456 bytes (268 MB) copied, 8.26981 seconds, 32.5 MB/s
real 0m8.367s
user 0m0.025s
sys 0m0.818s
[localuser at smart1ltsp ~]$ cd /home/Commonfolder/
[localuser at smart1ltsp Commonfolder]$ time dd if=/dev/zero of=testfile
bs=16k count=16384
16384+0 records in
16384+0 records out
268435456 bytes (268 MB) copied, 23.9771 seconds, 11.2 MB/s
real 0m24.018s
user 0m0.016s
sys 0m2.291s
bond0 Link encap:Ethernet HWaddr 00:04:23:C0:92:FE
inet addr:192.168.0.254 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:2724431825 errors:0 dropped:0 overruns:0 frame:0
TX packets:3107780080 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:440372029968 (410.1 GiB) TX bytes:1481400506460 (1.3 TiB)
I'm not sure if it's it an auth problem or nfs or both. I have 4
bonded nics on a Dell switch (close proximity too) with no troubles
can someone help improve the performance?
Thanks, Peter
More information about the K12OSN
mailing list