Re: [Samba] Odd, slow Windows XP client download behavior

2008-02-27 Thread Kimon Gazis
I have the very same situation here with Samba 3.0.28 (amd64 debian etch
testing) and my two XP client machines (32 Bit and x64 Prof. Edition
both SP2). FTP speeds are at reasonable levels in both directions and
SMB uploads to the server as well whereas SMB downloads onto the client
machines are extremely slow (around 300KB/s).

I can also confirm the strange effect described by Chris with rising
downstream speeds when simultaneously uploading something. In my case I
had a speedtest using "netio" pushing datagrams onto the samba server
eg. completely smb unrelated! I checked the other direction having
simultaneous downloads and yielded that effect as well.

The problem is independent of the client's network interface as I tried
both the WLAN 54 adaptor and the Realtek GBit NIC on XP client side.
With contrast to Chris I had no differences when playing with samba
parameters like oplock (also no difference when done on the windows client).

I booted one client machine to debian etch (stable) and ran tests using
NFS and FTP yielding full GBit LAN speeds.

I tested Windows Server 2003 clients inside VMWares running on the XP
clients and on the samba server itself. No performance issues there.
Downloading files from the windows VM running on the samba server (!)
onto the XP clients works like a charm as well. (So does the other way
round!). SMB communication between the two XP machines works anyway.

I finally smbmounted shares of the XP clients on the samba server and
copied files onto them at reasonable speeds (around 40MB/s). Copying
(downloading) onto the server was around 20MB/s.

I have no other samba problems. Everything else works fine: browsing,
printing, WINS etc.

In my opinion there is no connection to a Hardwareproblem. Instead we
experience some behaviour of the XP client machines that cause this. It
seems to be SMB/CIFS related but I think we need to further investigate
to get more hard data. Maybe capture some SMB packets using wireshark
while doing the downloads and compare them ?!? However I am no
networking guy so I would need some guidance on what to do exactly.

cheers
Kimon

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Odd, slow Windows XP client download behavior

2008-01-14 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kimon Gazis wrote:
> I have the very same situation here with Samba 3.0.28 (amd64 debian etch
> testing) and my two XP client machines (32 Bit and x64 Prof. Edition
> both SP2). FTP speeds are at reasonable levels in both directions and
> SMB uploads to the server as well whereas SMB downloads onto the client
> machines are extremely slow (around 300KB/s).
> 
> I can also confirm the strange effect described by Chris with rising
> downstream speeds when simultaneously uploading something. In my case I
> had a speedtest using "netio" pushing datagrams onto the samba server
> eg. completely smb unrelated! I checked the other direction having
> simultaneous downloads and yielded that effect as well.
> 
> The problem is independent of the client's network interface as I tried
> both the WLAN 54 adaptor and the Realtek GBit NIC on XP client side.
> With contrast to Chris I had no differences when playing with samba
> parameters like oplock (also no difference when done on the windows client).
> 
> I booted one client machine to debian etch (stable) and ran tests using
> NFS and FTP yielding full GBit LAN speeds.
> 
> I tested Windows Server 2003 clients inside VMWares running on the XP
> clients and on the samba server itself. No performance issues there.
> Downloading files from the windows VM running on the samba server (!)
> onto the XP clients works like a charm as well. (So does the other way
> round!). SMB communication between the two XP machines works anyway.
> 
> I finally smbmounted shares of the XP clients on the samba server and
> copied files onto them at reasonable speeds (around 40MB/s). Copying
> (downloading) onto the server was around 20MB/s.
> 
> I have no other samba problems. Everything else works fine: browsing,
> printing, WINS etc.
> 
> In my opinion there is no connection to a Hardwareproblem. Instead we
> experience some behaviour of the XP client machines that cause this. It
> seems to be SMB/CIFS related but I think we need to further investigate
> to get more hard data. Maybe capture some SMB packets using wireshark
> while doing the downloads and compare them ?!? However I am no
> networking guy so I would need some guidance on what to do exactly.
> 
> cheers
> Kimon

Someone had a problem here awhile back that was odd and traced it to a
TCP window problem. You might search the archives.

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHi6eAmb+gadEcsb4RAu4tAJwKTvUHrsbMbbYcdVWLydzviK3+TgCgoxST
AW8OirXPMf9UKZksJv1MeuM=
=vhrF
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Odd, slow Windows XP client download behavior

2008-01-14 Thread Kimon Gazis
I have the very same situation here with Samba 3.0.28 (amd64 debian etch
testing) and my two XP client machines (32 Bit and x64 Prof. Edition
both SP2). FTP speeds are at reasonable levels in both directions and
SMB uploads to the server as well whereas SMB downloads onto the client
machines are extremely slow (around 300KB/s).

I can also confirm the strange effect described by Chris with rising
downstream speeds when simultaneously uploading something. In my case I
had a speedtest using "netio" pushing datagrams onto the samba server
eg. completely smb unrelated! I checked the other direction having
simultaneous downloads and yielded that effect as well.

The problem is independent of the client's network interface as I tried
both the WLAN 54 adaptor and the Realtek GBit NIC on XP client side.
With contrast to Chris I had no differences when playing with samba
parameters like oplock (also no difference when done on the windows client).

I booted one client machine to debian etch (stable) and ran tests using
NFS and FTP yielding full GBit LAN speeds.

I tested Windows Server 2003 clients inside VMWares running on the XP
clients and on the samba server itself. No performance issues there.
Downloading files from the windows VM running on the samba server (!)
onto the XP clients works like a charm as well. (So does the other way
round!). SMB communication between the two XP machines works anyway.

I finally smbmounted shares of the XP clients on the samba server and
copied files onto them at reasonable speeds (around 40MB/s). Copying
(downloading) onto the server was around 20MB/s.

I have no other samba problems. Everything else works fine: browsing,
printing, WINS etc.

In my opinion there is no connection to a Hardwareproblem. Instead we
experience some behaviour of the XP client machines that cause this. It
seems to be SMB/CIFS related but I think we need to further investigate
to get more hard data. Maybe capture some SMB packets using wireshark
while doing the downloads and compare them ?!? However I am no
networking guy so I would need some guidance on what to do exactly.

cheers
Kimon


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Odd, slow Windows XP client download behavior

2008-01-05 Thread Chris
> -Original Message-
> From: Rune Tønnesen 
> With Realteks networkscard there have been reported problems, with use
> of the driver provided by microsoft update.
> You might improve your networkspeed on your XP computer be using the
> driver provided by the manufacturer of your NIC.

My XP machine uses the onboard Marvell Yukon 88E8053 PCI-E Gigabit Ethernet
Controller with driver version 10.51.1.3, provided by Marvell, which is the
latest I know of. 


> -Original Message-
> From: Andreas Baitis
> When you browse the Samba shares, is this fast, or does it take some
> time for the shares to open in explorer?

Browsing is fast, there is no noticeable difference between the Vista
machine and my XP client. There's also no noticeable difference in browsing
speed between having oplocks turned on/off .

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Odd, slow Windows XP client download behavior

2008-01-05 Thread Andreas Baitis
When you browse the Samba shares, is this fast, or does it take some 
time for the shares to open in explorer?



If yes? then:
I had a problem the other day on Etch/Samba, I had an old DNS server 
that was no longer running listed in my DHCP3 set-up, having the dud DNS 
server listed was causing access to Samba shares to be very sluggish. So 
try some pings from the Samba box, and double check that it is resolving 
DNS queries properly and without any delay.



Regards Andreas





Chris wrote:

I recently set up a Samba server (3.0.24-6etch9) on my debian etch system.
While accessing its shares through 1GBit Ethernet with a Windows XP SP2
client there's some real odd behavior:

In one direction (uploading files from WinXP -> debian) the speed is just
great, no matter what, around 35MiB/s.
In the other direction (downloading a file WinXP <- debian) it idles at
around 120KiB/s which is, of course, unbearable.
Now, interestingly, when I have an upload running the former slow download
speed just explodes and is right up there at 20MiB/s (with the upload
dropping to 20MiB/s). If I stop the upload, the download retreats back to
120KiB/s instantly.

Btw, the FTP speed is fine in both directions, 30 - 50 MiB/s.

Playing around with the global settings in smb.conf brought no relief
whatsoever (TCP_NODELAY, SO_SNDBUF etc) and a different samba version
(3.0.26a-18) didn't help either.

Then, I had a friend bring over his Windows Vista machine, which accessed my
Samba share without any of the above described problems at > 30 MiB/s in
both directions.
So I decided my WinXP machine must be the main problem.

Today I thought I found the solution but it was merely a step in the right
direction (if even that):
When I disable OpLocks in the Windows Registry according to Windows KB
article 296264 (disabling them in the shares part of smb.conf has the same
effect), the download speed turns out to be 35MiB/s. But the performance is
still not satisfiable: The download speed reaches the 35MiB/s only after
some sort of delay which proved to be quite annoying because it slows down
executing files, playing movies, skipping through movies, etc. considerably.
Now again, the interesting part: This delay doesn't occur at all, when I
have an upload running at the same time. Files open instantly, I can skip
through a movie like it was on my local hard drive, etc.

Now I don't know what else to try to get my WinXP to communicate correctly
with the samba server, do you have any suggestions?

Kind regards,
Chris

  


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Odd, slow Windows XP client download behavior

2008-01-05 Thread Rune Tønnesen



Now I don't know what else to try to get my WinXP to communicate correctly
with the samba server, do you have any suggestions?

Kind regards,
Chris

  

Dear Chris

With Realteks networkscard there have been reported problems, with use 
of the driver provided by microsoft update.
You might improve your networkspeed on your XP computer be using the 
driver provided by the manufacturer of your NIC.


--
Rune Tønnesen
Bedste Hilsner/Best Regards


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Odd, slow Windows XP client download behavior

2008-01-05 Thread Chris
I recently set up a Samba server (3.0.24-6etch9) on my debian etch system.
While accessing its shares through 1GBit Ethernet with a Windows XP SP2
client there's some real odd behavior:

In one direction (uploading files from WinXP -> debian) the speed is just
great, no matter what, around 35MiB/s.
In the other direction (downloading a file WinXP <- debian) it idles at
around 120KiB/s which is, of course, unbearable.
Now, interestingly, when I have an upload running the former slow download
speed just explodes and is right up there at 20MiB/s (with the upload
dropping to 20MiB/s). If I stop the upload, the download retreats back to
120KiB/s instantly.

Btw, the FTP speed is fine in both directions, 30 - 50 MiB/s.

Playing around with the global settings in smb.conf brought no relief
whatsoever (TCP_NODELAY, SO_SNDBUF etc) and a different samba version
(3.0.26a-18) didn't help either.

Then, I had a friend bring over his Windows Vista machine, which accessed my
Samba share without any of the above described problems at > 30 MiB/s in
both directions.
So I decided my WinXP machine must be the main problem.

Today I thought I found the solution but it was merely a step in the right
direction (if even that):
When I disable OpLocks in the Windows Registry according to Windows KB
article 296264 (disabling them in the shares part of smb.conf has the same
effect), the download speed turns out to be 35MiB/s. But the performance is
still not satisfiable: The download speed reaches the 35MiB/s only after
some sort of delay which proved to be quite annoying because it slows down
executing files, playing movies, skipping through movies, etc. considerably.
Now again, the interesting part: This delay doesn't occur at all, when I
have an upload running at the same time. Files open instantly, I can skip
through a movie like it was on my local hard drive, etc.

Now I don't know what else to try to get my WinXP to communicate correctly
with the samba server, do you have any suggestions?

Kind regards,
Chris

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba