Pafnoutios
07-19-2006, 10:21 AM
Here's what I'm doing:
I'm on my client machine, installing Baldur's Gate in Wine. All six CDs of data (including the expansion pack) are in Wine's C:\BaldursGate. Wine's C: drive is on my /home NFS share at /home/WineC. /home is on my server on an ext3 filesystem (FAT won't play nice with NFS). My /home FS is on a 2-device RAID1 array on /dev/sdb, a 300GB SATA drive.
The installation seems to be going at about 1MB/min, if that.
Both network cards are operating at 100BaseTX, full duplex, through my router/switch.
I suspect NFS to be the bottleneck for I have the following lines in my clients dmesg repeated incessantly:
lockd: cannot monitor 192.168.1.2
lockd: failed to monitor 192.168.1.2
192.168.1.2 is the static IP address of my server.
rpcinfo on each machine gives the following:
client ~ # rpcinfo -p server
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 1026 nlockmgr
100021 3 udp 1026 nlockmgr
100021 4 udp 1026 nlockmgr
100021 1 tcp 2623 nlockmgr
100021 3 tcp 2623 nlockmgr
100021 4 tcp 2623 nlockmgr
100005 1 udp 996 mountd
100005 1 tcp 999 mountd
100005 2 udp 996 mountd
100005 2 tcp 999 mountd
100005 3 udp 996 mountd
100005 3 tcp 999 mountd
100004 2 udp 628 ypserv
100004 1 udp 628 ypserv
100004 2 tcp 632 ypserv
100004 1 tcp 632 ypserv
100024 1 udp 1028 status
100024 1 tcp 3781 status
server ~ # rpcinfo -p client
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100021 1 udp 1024 nlockmgr
100021 3 udp 1024 nlockmgr
100021 4 udp 1024 nlockmgr
100007 2 udp 804 ypbind
100007 1 udp 804 ypbind
100007 2 tcp 807 ypbind
100007 1 tcp 807 ypbind
It seems that my client has more rpc channels open to my server than my server has open to my client.
Both machines are running Gentoo (x86 "stable" on the server and ~x86 "unstable" on the client). Here are the services running on each (yes, portmap is running on both, but it does take a considerable amount of time to load when the client boots)
server ~ # rc-status -s | grep started
bootmisc [ started ]
checkfs [ started ]
checkroot [ started ]
clock [ started ]
consolefont [ started ]
cupsd [ started ]
domainname [ started ]
gpm [ started ]
hostname [ started ]
keymaps [ started ]
local [ started ]
localmount [ started ]
metalog [ started ]
modules [ started ]
net.eth0 [ started ]
net.lo [ started ]
netmount [ started ]
nfs [ started ]
ntp-client [ started ]
ntpd [ started ]
portmap [ started ]
rmnologin [ started ]
sshd [ started ]
urandom [ started ]
vixie-cron [ started ]
ypserv [ started ]
client ~ # rc-status -s | grep started
bootmisc [ started ]
checkfs [ started ]
checkroot [ started ]
clock [ started ]
consolefont [ started ]
cupsd [ started ]
dbus [ started ]
domainname [ started ]
hald [ started ]
hostname [ started ]
ipx [ started ]
keymaps [ started ]
local [ started ]
localmount [ started ]
modules [ started ]
net.eth0 [ started ]
net.lo [ started ]
netmount [ started ]
ntp-client [ started ]
portmap [ started ]
rmnologin [ started ]
urandom [ started ]
xdm [ started ]
xfs [ started ]
ypbind [ started ]
How can I speed up my NFS?
I'm on my client machine, installing Baldur's Gate in Wine. All six CDs of data (including the expansion pack) are in Wine's C:\BaldursGate. Wine's C: drive is on my /home NFS share at /home/WineC. /home is on my server on an ext3 filesystem (FAT won't play nice with NFS). My /home FS is on a 2-device RAID1 array on /dev/sdb, a 300GB SATA drive.
The installation seems to be going at about 1MB/min, if that.
Both network cards are operating at 100BaseTX, full duplex, through my router/switch.
I suspect NFS to be the bottleneck for I have the following lines in my clients dmesg repeated incessantly:
lockd: cannot monitor 192.168.1.2
lockd: failed to monitor 192.168.1.2
192.168.1.2 is the static IP address of my server.
rpcinfo on each machine gives the following:
client ~ # rpcinfo -p server
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 1026 nlockmgr
100021 3 udp 1026 nlockmgr
100021 4 udp 1026 nlockmgr
100021 1 tcp 2623 nlockmgr
100021 3 tcp 2623 nlockmgr
100021 4 tcp 2623 nlockmgr
100005 1 udp 996 mountd
100005 1 tcp 999 mountd
100005 2 udp 996 mountd
100005 2 tcp 999 mountd
100005 3 udp 996 mountd
100005 3 tcp 999 mountd
100004 2 udp 628 ypserv
100004 1 udp 628 ypserv
100004 2 tcp 632 ypserv
100004 1 tcp 632 ypserv
100024 1 udp 1028 status
100024 1 tcp 3781 status
server ~ # rpcinfo -p client
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100021 1 udp 1024 nlockmgr
100021 3 udp 1024 nlockmgr
100021 4 udp 1024 nlockmgr
100007 2 udp 804 ypbind
100007 1 udp 804 ypbind
100007 2 tcp 807 ypbind
100007 1 tcp 807 ypbind
It seems that my client has more rpc channels open to my server than my server has open to my client.
Both machines are running Gentoo (x86 "stable" on the server and ~x86 "unstable" on the client). Here are the services running on each (yes, portmap is running on both, but it does take a considerable amount of time to load when the client boots)
server ~ # rc-status -s | grep started
bootmisc [ started ]
checkfs [ started ]
checkroot [ started ]
clock [ started ]
consolefont [ started ]
cupsd [ started ]
domainname [ started ]
gpm [ started ]
hostname [ started ]
keymaps [ started ]
local [ started ]
localmount [ started ]
metalog [ started ]
modules [ started ]
net.eth0 [ started ]
net.lo [ started ]
netmount [ started ]
nfs [ started ]
ntp-client [ started ]
ntpd [ started ]
portmap [ started ]
rmnologin [ started ]
sshd [ started ]
urandom [ started ]
vixie-cron [ started ]
ypserv [ started ]
client ~ # rc-status -s | grep started
bootmisc [ started ]
checkfs [ started ]
checkroot [ started ]
clock [ started ]
consolefont [ started ]
cupsd [ started ]
dbus [ started ]
domainname [ started ]
hald [ started ]
hostname [ started ]
ipx [ started ]
keymaps [ started ]
local [ started ]
localmount [ started ]
modules [ started ]
net.eth0 [ started ]
net.lo [ started ]
netmount [ started ]
ntp-client [ started ]
portmap [ started ]
rmnologin [ started ]
urandom [ started ]
xdm [ started ]
xfs [ started ]
ypbind [ started ]
How can I speed up my NFS?