Date: Wed, 13 Sep 2006 12:00:30 -0400 From: "Ashok Shrestha" <ashok.shrestha@gmail.com> To: freebsd-hackers@freebsd.org Cc: ashok.shrestha@hlsc.com Subject: samba file copy lag Message-ID: <79e2026f0609130900y74070042ya5a99204d0bf1c1@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I have a freebsd machine which has an Samba share mounted (using mount_smbfs) - mounted to /mnt/windowsserver/c-drive. Additionally, I have a Samba share that shares that mount point. So here's the issue. If I copy a file from a Windows machine (my desktop, for instance) to \\bsdserver\windowsserver\ -- it's fast. (note: that's not a smb mounted point; it's still the bsd machine). [I'll label this point A to B.] If I'm on the bsd machine, and I copy a file from the bsd machine to the mount_smbfs mount, it's fast. (Like, copy a file from /mnt/windowsserver/ to /mnt/windowsserver/c-drive). [Point B to C] But if I try to copy a file directly from my desktop Windows machine to \\bsdserver\windowsserver\c-drive, it's significantly slow. [Point A to C] In brief, copying from point A to B is fast; copying from B to C is fast; but copying from A to C is significantly slow. E.g., copying a 70 MB file from A to B is takes 10 secs; copying the same file from B to C takes about 10 secs; but copying from A to C takes around 6 minutes. The bsd machine's cpu util is like 1%. And I am using two nic cards in the bsd server: one for A-B, and the other for B-C. Any suggesstions? Specs: Freebsd 6.1-RELEASE amd64 Samba 3.0.21b,1 Mount command: mount_smbfs -c1 -N -W LAN //user@windowsserver/c-drive /mnt/windowsserver/c-drive -- Ashok Shrestha
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?79e2026f0609130900y74070042ya5a99204d0bf1c1>