Bug#775014: nfs-common: Degraded performance on nfs4 clients after upgrade to Jessie
Package: nfs-common
Version: 1:1.2.8-9
Severity: important
I have a typical environment with a nfs server and some clients with home
there, or shared resources. In the server I have a Wheezy (in one server
with 3.12-0.bpo.1-amd64 version and in other 3.2.63). My clients basically
are Wheezy but I'm preparing to Jessie and I wanted to test the upgrade.
I have realized that in the two cases that I have tested (at home and work)
both, with the same parameters (fstab) that worked "normal" with Wheezy, now,
they have an horrible performance in write operations. I'm having
differences of several order of magnitude (37,9 KB/s Jessie vs 17,4 MB/s)
For instance:
Wheezy machine:
$ dd if=/dev/zero of=myrandom bs=1024 count=1000
1000+0 registres llegits
1000+0 registres escrits
1024000 octets (1,0 MB) copiats, 0,0590127 s, 17,4 MB/s
Jessie machine
$ dd if=/dev/zero of=myrandom bs=1024 count=1000
1000+0 registres llegits
1000+0 registres escrits
1024000 octets (1,0 MB) copiats, 27,0021 s, 37,9 kB/s
I hope that the kernel developers have changed some default parameter and I
have it wrong. But, with this version of the kernel, my nfs clients cannot
work well.
I'm open to make any test or provide any needed information.
-- Package-specific info:
-- rpcinfo --
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 57366 status
100024 1 tcp 33506 status
-- /etc/default/nfs-common --
NEED_STATD=
STATDOPTS=
NEED_IDMAPD=yes
NEED_GSSD=
-- /etc/idmapd.conf --
[General]
Verbosity = 5
Pipefs-Directory = /run/rpc_pipefs
Domain = alaxarxa.net
[Mapping]
Nobody-User = nobody
Nobody-Group = nogroup
[Translation]
Method = nsswitch
-- /etc/fstab --
#nfs4
cami:/recursos /home/recursos nfs4 auto,rw,nodev,sync,_netdev,retry=10,rsize=65536,wsize=65536,soft,noatime,intr 0 0
-- /proc/mounts --
cami:/recursos /home/recursos nfs4 rw,sync,nodev,noatime,vers=4.0,rsize=65536,wsize=65536,namlen=255,soft,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.8,local_lock=none,addr=192.168.1.254 0 0
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (500, 'testing'), (1, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages nfs-common depends on:
ii adduser 3.113+nmu3
ii initscripts 2.88dsf-58
ii libc6 2.19-13
ii libcap2 1:2.24-6
ii libcomerr2 1.42.12-1
ii libdevmapper1.02.1 2:1.02.90-2
ii libevent-2.0-5 2.0.21-stable-1.1
ii libgssapi-krb5-2 1.12.1+dfsg-16
ii libk5crypto3 1.12.1+dfsg-16
ii libkeyutils1 1.5.9-5+b1
ii libkrb5-3 1.12.1+dfsg-16
ii libmount1 2.25.2-4
ii libnfsidmap2 0.25-5
ii libtirpc1 0.2.5-1
ii libwrap0 7.6.q-25
ii lsb-base 4.1+Debian13+nmu1
ii rpcbind 0.2.1-6
ii ucf 3.0030
Versions of packages nfs-common recommends:
ii python 2.7.8-2
Versions of packages nfs-common suggests:
pn open-iscsi <none>
pn watchdog <none>
-- Configuration Files:
/etc/default/nfs-common changed:
NEED_STATD=
STATDOPTS=
NEED_IDMAPD=yes
NEED_GSSD=
-- no debconf information
Reply to: