Subject: cifs-utils: Accessing files with length of 1067 bytes extremly slow
Package: cifs-utils
Version: 2:5.5-1
Severity: normal

Dear Maintainer,

we are using cifs-utils to access Microsoft Windows 2012R2 File-Server shares from Debian-workstations.

The windows shares are mounted using fstab:
//fileserver/firstname.lastname /home/firstname.lastname cifs uid=firstname.lastname,gid=users,file_mode=0700,dir_mode=0700,users,user=firstname.lastname,domain=DOMAINNAME,mfsymlinks,noauto,sec=krb5 0 0

Accessing some of the files is extremly slow (about 3-20 seconds):

firstname.lastname@devlin149:~/Downloads$time head -c 1 ./openjdk/jdk/make/sun/awt/README
R
real    0m14.747s
user    0m0.000s
sys     0m0.000s
firstname.lastname@devlin149:~/Downloads$ time head -c 1 ./openjdk/jdk/make/sun/awt/README
R
real    0m14.506s
user    0m0.000s
sys     0m0.000s

Copying the files do not change this behaviour.

firstname.lastname@devlin149:~/Downloads$ cp ./openjdk/jdk/make/sun/awt/README ./openjdk/jdk/make/sun/awt/README2 firstname.lastname@devlin149:~/Downloads$ time head -c 1 ./openjdk/jdk/make/sun/awt/README2
R
real    0m13.028s
user    0m0.000s
sys     0m0.000s
firstname.lastname@devlin149:~/Downloads$ time head -c 1 ./openjdk/jdk/make/sun/awt/README
R
real    0m10.884s
user    0m0.000s
sys     0m0.000s
firstname.lastname@devlin149:~/Downloads$ time head -c 1 ./openjdk/jdk/make/sun/awt/README
R
real    0m3.583s
user    0m0.000s
sys     0m0.000s
firstname.lastname@devlin149:~/Downloads$ time head -c 1 ./openjdk/jdk/make/sun/awt/README
R
real    0m7.846s
user    0m0.000s
sys     0m0.000s


All of the "slow files" have a length of 1067 bytes.
As far as I know this is also the length of symlink files. Perhaps there is a problem with symlink handling.


-- System Information:
Debian Release: 7.11
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cifs-utils depends on:
ii  libc6         2.13-38+deb7u11
ii  libkeyutils1  1.5.5-3+deb7u1
ii  libkrb5-3     1.10.1+dfsg-5+deb7u7
ii  libtalloc2    2.0.7+git20120207-1
ii  libwbclient0  2:3.6.6-6+deb7u11
ii  samba-common  2:3.6.6-6+deb7u11

Versions of packages cifs-utils recommends:
ii  keyutils  1.5.5-3+deb7u1
ii  winbind   2:3.6.6-6+deb7u11

Versions of packages cifs-utils suggests:
pn  smbclient  <none>

-- no debconf information
~
--


Stephan Gampert

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to