[linux-cifs-client] RHEL Slowness in mounting a smb share
Jeff Layton
jlayton at redhat.com
Sat Aug 18 00:58:27 GMT 2007
On Fri, 17 Aug 2007 08:24:53 -0500
Paul Edgar <javaoops at us.ibm.com> wrote:
> 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
>
>
This list is for CIFS. smbfs is pretty much orphaned upstream, so if
you can switch to using CIFS, that's highly recommended. The CIFS code
is in much better shape.
That said, you're probably hitting this smbfs bug which should be fixed
in the upcoming 4.6 update:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=168280
You may want to test the RHEL4 kernels on my people page and see if
they help:
http://people.redhat.com/jlayton
--
Jeff Layton <jlayton at redhat.com>
More information about the linux-cifs-client
mailing list