[opensuse] Samba & Windows 7 problem
Hi.. I have a huge problem with a Windows 7 workstation using file shares on my Samba server. When reading or writing files on a share, I almost never reach more than 1.5MB/sec over a gigabit connection. Hooking up an older Windows XP machine on the same share, copying the same files, I reach close to 65MB/sec. This tells me that the issue is Windows 7 talking to Samba, I've tried googling on the subject, but I don't find any relevant solutions. Anders. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, Jun 18, 2011 at 10:20 AM, Anders Norrbring
Hi.. I have a huge problem with a Windows 7 workstation using file shares on my Samba server. When reading or writing files on a share, I almost never reach more than 1.5MB/sec over a gigabit connection. Hooking up an older Windows XP machine on the same share, copying the same files, I reach close to 65MB/sec.
This tells me that the issue is Windows 7 talking to Samba, I've tried googling on the subject, but I don't find any relevant solutions.
Anders.
Anders, Have you tried any other protocols? scp? ftp? My guess is they all be slow and you have a basic networking issue. For instance, I've seen a full duplex client talking to a half duplex server cause just the kind of slowdown your talking about. All the devices on the network need to be set the same. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi.. I have a huge problem with a Windows 7 workstation using file shares on my Samba server. When reading or writing files on a share, I almost never reach more
1.5MB/sec over a gigabit connection. Hooking up an older Windows XP machine on the same share, copying the same files, I reach close to 65MB/sec.
This tells me that the issue is Windows 7 talking to Samba, I've
On Sat, Jun 18, 2011 at 10:20 AM, Anders Norrbring
wrote: than tried googling on the subject, but I don't find any relevant solutions.
Anders.
Anders,
Have you tried any other protocols? scp? ftp?
My guess is they all be slow and you have a basic networking issue.
For instance, I've seen a full duplex client talking to a half duplex server cause just the kind of slowdown your talking about. All the devices on the network need to be set the same.
Greg
Greg, Everything is set to full duplex everywhere.. Then there are lots of other options in the network settings in Win7 that I honestly don't have a clue to what they are.. At least reading from the server is better now for some reason, close to 55MB/s, but writing to the Samba server is still around 1-1.5MB/s. Writing from Win XP is running at about 50MB/s to the Samba server isn't the problem. I also watched the smb process on the server when writing, just 1-2% CPU time and not much memory. The RAID LED indicators flashes with 3-5 seconds intervals, so it's not loaded down either. I'm certain it's a setting in Win7 that causes this, the question is what.. Anders. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi;
Am Sat 18 Jun 2011 09:58:41 PM CEST schrieb Anders Norrbring
On Sat, Jun 18, 2011 at 10:20 AM, Anders Norrbring
At least reading from the server is better now for some reason, close to 55MB/s, but writing to the Samba server is still around 1-1.5MB/s. Writing from Win XP is running at about 50MB/s to the Samba server isn't the problem. I also watched the smb process on the server when writing, just 1-2% CPU time and not much memory. The RAID LED indicators flashes with 3-5 seconds intervals, so it's not loaded down either. I'm certain it's a setting in Win7 that causes this, the question is what..
You might try the tricks mentioned in http://www.sysprobs.com/windows-7-network-slow . Hope that helps. Ismail Dönmez - openSUSE Booster SUSE LINUX Products GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ismail Doenmez skrev 2011-06-18 22:04:
Hi;
Am Sat 18 Jun 2011 09:58:41 PM CEST schrieb Anders Norrbring
: On Sat, Jun 18, 2011 at 10:20 AM, Anders Norrbring
At least reading from the server is better now for some reason, close to 55MB/s, but writing to the Samba server is still around 1-1.5MB/s. Writing from Win XP is running at about 50MB/s to the Samba server isn't the problem. I also watched the smb process on the server when writing, just 1-2% CPU time and not much memory. The RAID LED indicators flashes with 3-5 seconds intervals, so it's not loaded down either. I'm certain it's a setting in Win7 that causes this, the question is what..
You might try the tricks mentioned in http://www.sysprobs.com/windows-7-network-slow .
Hope that helps.
Ismail Dönmez - openSUSE Booster SUSE LINUX Products GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
Ismail, It helped a little. Now I'm up to 4MB/s which is still rediciously slow.. Oh well, I guess I'm stuck here for now, I'll post in some Win7 forums as well, and read anything I can find via Google. Anders. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Norrbring wrote:
Ismail Doenmez skrev 2011-06-18 22:04:
Hi;
Am Sat 18 Jun 2011 09:58:41 PM CEST schrieb Anders Norrbring
: On Sat, Jun 18, 2011 at 10:20 AM, Anders Norrbring
At least reading from the server is better now for some reason, close to 55MB/s, but writing to the Samba server is still around 1-1.5MB/s. Writing from Win XP is running at about 50MB/s to the Samba server isn't the problem. I also watched the smb process on the server when writing, just 1-2% CPU time and not much memory. The RAID LED indicators flashes with 3-5 seconds intervals, so it's not loaded down either. I'm certain it's a setting in Win7 that causes this, the question is what..
You might try the tricks mentioned in http://www.sysprobs.com/windows-7-network-slow .
Hope that helps.
Ismail Dönmez - openSUSE Booster SUSE LINUX Products GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
Ismail, It helped a little. Now I'm up to 4MB/s which is still rediciously slow.. Oh well, I guess I'm stuck here for now, I'll post in some Win7 forums as well, and read anything I can find via Google.
Anders.
What networking card do you have? If you are using Gb networks, jumbo packets (9014) help.... Most netgear switches support them....intel cards support them... I get better perf on win7 than on XP...so I'd wonder about the HW..... my XP gets 60-70 I think, while my win7 gets around 120-125MB/s writes, and about 115-119MB reads. But you are not alone in your grief....I see many complaints....which is why I wonder about the network cards and drivers.... Try an Intel Pro 1000 card.... My latest prob now is with the new Samba SMB2 support, I'm having to retune to avoid audio dropouts during large writes.... I reduced the number of transmit packets from 2048 down to 1024...that helped, may have to adjust more (too many other things going on as well to just test that)... Other settings on my card: Flow control: on adaptive interface spacing: adaptive interrupt moderation: enabled and set to 'low' jumbo packet: 9014 ipv4 checksum offload (rx&tx enabled) large send offload (ipv4 & 6) both enabled link speed & duplex = auto priority & VLAN: priority enabled (I don't have a VLAN) receive side scaling: enabled rcv buffers: 2048 xmt buffers: 1024 (reduced with SMB2) -- may need more tuning with the buffers tcp & udp, in both ipv4 & 6, offload: enabled: smart powerdown: disabled there are some other settings, but I don't think they'd affect perf. Have you tried a wireshark trace to see if it shows you any problems? I.e. compare it to the XP trace, and see what the diff is... could be a bad wire or connection and packet drops even... Be sure to set it for TCP -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ismail Doenmez skrev 2011-06-18 22:04:
Hi;
Am Sat 18 Jun 2011 09:58:41 PM CEST schrieb Anders Norrbring
: On Sat, Jun 18, 2011 at 10:20 AM, Anders Norrbring
At least reading from the server is better now for some reason, close to 55MB/s, but writing to the Samba server is still around 1-1.5MB/s. Writing from Win XP is running at about 50MB/s to the Samba server isn't Anders Norrbring wrote: the
problem. I also watched the smb process on the server when writing, just 1-2% CPU time and not much memory. The RAID LED indicators flashes with 3-5 seconds intervals, so it's not loaded down either.
I'm certain it's a setting in Win7 that causes this, the question is what..
You might try the tricks mentioned in http://www.sysprobs.com/windows-7-network-slow .
Hope that helps.
Ismail Dönmez - openSUSE Booster SUSE LINUX Products GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
Ismail, It helped a little. Now I'm up to 4MB/s which is still rediciously slow.. Oh well, I guess I'm stuck here for now, I'll post in some Win7 forums as well, and read anything I can find via Google.
Anders.
What networking card do you have?
If you are using Gb networks, jumbo packets (9014) help.... Most netgear switches support them....intel cards support them...
I get better perf on win7 than on XP...so I'd wonder about the HW.....
my XP gets 60-70 I think, while my win7 gets around 120-125MB/s writes, and about 115-119MB reads.
But you are not alone in your grief....I see many complaints....which is why I wonder about the network cards and drivers....
Try an Intel Pro 1000 card....
My latest prob now is with the new Samba SMB2 support, I'm having to retune to avoid audio dropouts during large writes.... I reduced the number of transmit packets from 2048 down to 1024...that helped, may have to adjust more (too many other things going on as well to just test that)...
Other settings on my card: Flow control: on adaptive interface spacing: adaptive interrupt moderation: enabled and set to 'low' jumbo packet: 9014 ipv4 checksum offload (rx&tx enabled) large send offload (ipv4 & 6) both enabled link speed & duplex = auto priority & VLAN: priority enabled (I don't have a VLAN) receive side scaling: enabled rcv buffers: 2048 xmt buffers: 1024 (reduced with SMB2) -- may need more tuning with the buffers tcp & udp, in both ipv4 & 6, offload: enabled: smart powerdown: disabled
there are some other settings, but I don't think they'd affect perf.
Have you tried a wireshark trace to see if it shows you any problems? I.e. compare it to the XP trace, and see what the diff is...
could be a bad wire or connection and packet drops even...
Be sure to set it for TCP
Thanks Linda, I'll try your suggestions! I can rule out the hardware and cable, the very same workstation performs excellent when running WinXP, Win Vista and Opensuse. But when running Win7 it takes a nosedive when it comes to networking. I'll post whatever findings I'll have.. Anders. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 6/18/2011 1:04 PM, Ismail Doenmez wrote:
Hi;
Am Sat 18 Jun 2011 09:58:41 PM CEST schrieb Anders Norrbring
:
You might try the tricks mentioned in http://www.sysprobs.com/windows-7-network-slow .
Hope that helps.
Ismail Dönmez - openSUSE Booster SUSE LINUX Products GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
These often help. I've traced problems previously to a couple things on that list, such as 1) a wireless interface that I wasn't using (or didn't want to use), which was still being tried with each Samba access. (Disabled it) 2) running my own DNS server on the samba box saved a lot of stupid windows look-ups that were going out over the net. Simply setting the DNS server in Linux as authoritative for the local subnet saved a lot of time. I'll try removing the Remote Differential compression. If SAMBA supported this it might be worth while leaving it on when copying big files. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Anders Norrbring
-
Greg Freemyer
-
Ismail Doenmez
-
John Andersen
-
Linda Walsh