[linux-cifs-client] RHEL Slowness in mounting a smb share

Paul Edgar javaoops at us.ibm.com
Fri Aug 17 13:24:53 GMT 2007


Ever since RHEL4 I have noticed that mounting a smb share on RHEL is 
slow, very slow.

lstat64("/etc/mtab", {st_mode=S_IFREG|0644, st_size=376, ...}) = 0
stat64("/sbin/mount.smbfs", {st_mode=S_IFREG|0755, st_size=727684, ...}) = 0
clone(child_stack=0, 
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0xb7f38ae8) = 25661
wait4(-1, Password:
[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 25661
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(0)                           = ?
Process 25660 detached

real    0m32.632s
user    0m0.048s
sys     0m0.056s


While SLES seems to have figured it out.

lstat64("/etc/mtab", {st_mode=S_IFREG|0644, st_size=281, ...}) = 0
stat64("/sbin/mount.smbfs", {st_mode=S_IFREG|0755, st_size=830976, ...}) = 0
clone(child_stack=0, 
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0xb7ea56f8) = 13874
wait4(-1, Password:
[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 13874
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(0)                           = ?
Process 13873 detached

real    0m2.856s
user    0m0.024s
sys     0m0.048s


Anyone else notice this.? This is not just this machine but all RHEL4 
and above machines I have in the lab.  Windows and SLES seem to function 
much faster than RHEL.  Additionally, it does not matter whether the 
share is user or share security the speed is just as slow.

Paul Edgar
Dynamic Content Delivery
IBM Austin


More information about the linux-cifs-client mailing list