Samba transfer of multiple files very slow

Bug #286678 reported by Michael Ross
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: samba

I've set the Intrepid beta up as a Samba file server. If I copy a directory with a large (7,366) number of files (347 MB), the transfer takes around 7 min. Using Hardy, the same transfer on the same network to the same server was closer to 4 min. Transferring a zip file containing the directory contents (about 300 MB - they are images so they don't compress much), takes less than 30 seconds.

I notice that the Intrepid install (either upgrading from Hardy or from scratch) puts a new file, "gdbcommands" in /etc/samba. Is it possible that the package has debugging symbols or other extra debug logging enabled and that is producing the slow behavior?

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

gdbcommands is unrelated - it's a file that only gets used when smbd crashes and can't cause slowdown of Samba.

I guess this may be a regression in 3.2.

Revision history for this message
Michael Ross (mgross) wrote :

Perhaps it is not a regression - I reinstalled from scratch, but this time did not add the ubuntu-desktop package and created a Samba share directly in /etc/smb.conf rather than through the GUI. The transfer time now seems to be similar to what I experienced in Hardy. Maybe it's a bad interaction with all the extra services install by ubuntu-desktop?

Revision history for this message
bigal50 (bigal50) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu bettter. You reported this bug while using the beta version of Intrepid. Now that Intrepid has been released are you still experiencing this problem.

New > Incomplete

Changed in samba:
status: New → Incomplete
Revision history for this message
Michael Ross (mgross) wrote : Re: [Bug 286678] Re: Samba transfer of multiple files very slow

No. While still using the beta, I reinstalled Intrepid Server without
installing any of the GUI packages. That seemed to resolve my
problems, so I assumed that they were due to some interaction between
Samba and one of the extra services the GUI packages cause to be
installed.

Everything has been fine since then, and the server now runs fine on
the released version of Intrepid. I have not reinstalled the GUI
packages since that time.

----
Michael Ross
<email address hidden>

On Mar 12, 2009, at 10:31 PM, bigal50 wrote:

> Thanks for taking the time to report this bug and helping to make
> Ubuntu
> bettter. You reported this bug while using the beta version of
> Intrepid.
> Now that Intrepid has been released are you still experiencing this
> problem.
>
> New > Incomplete
>
> ** Changed in: samba (Ubuntu)
> Status: New => Incomplete
>
> --
> Samba transfer of multiple files very slow
> https://bugs.launchpad.net/bugs/286678
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “samba” source package in Ubuntu: Incomplete
>
> Bug description:
> Binary package hint: samba
>
> I've set the Intrepid beta up as a Samba file server. If I copy a
> directory with a large (7,366) number of files (347 MB), the
> transfer takes around 7 min. Using Hardy, the same transfer on the
> same network to the same server was closer to 4 min. Transferring a
> zip file containing the directory contents (about 300 MB - they are
> images so they don't compress much), takes less than 30 seconds.
>
> I notice that the Intrepid install (either upgrading from Hardy or
> from scratch) puts a new file, "gdbcommands" in /etc/samba. Is it
> possible that the package has debugging symbols or other extra debug
> logging enabled and that is producing the slow behavior?

Revision history for this message
bigal50 (bigal50) wrote :

Thanks for the update, per reply, as per your reply we are changing to Fix released an recommend closing

Incomplete > Fix Released

Can be set to closed

Changed in samba:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.