Re: [Samba] Nagging performance issues with Vista

2007-06-22 Thread Ryan Neufeld

Jeremy,

Could you post the change any way? I am running a mixed client shop here;
Linux file server, windows xp/vista clients

--Thanks



On 6/22/07, Jeremy Allison <[EMAIL PROTECTED]> wrote:


On Fri, Jun 22, 2007 at 10:30:18PM +0100, Alex Crow wrote:
>
> >
> > Ah - the readahead issue. Try using 3.0.25 with the vfs readahead
> > module.
> >
> > Jeremy.
>
> Jeremy, Andrew
>
> I think from the context that Andrew has already tried that - at work we
have decided that Vista simply isn't worth the hassle now.
>
> We can't even manage to get Vista on a new laptop to get an IP address
from DHCP, never mind connect to our Samba DC!
>
> Everything else can get an IP (3com and Cisco switches, Mitel IP phones,
XP, Solaris, *BSD, etc). Something is fundamentally broken in Vista's
network stack IMHO.

Was the server Linux based ? The readahead module improved
the Vista problem on Linux according to my tests, but one of
our OEM's made some kernel changes to their version of Linux
to help the problem more. I can post the change if needed.

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





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


Re: [Samba] Nagging performance issues with Vista

2007-06-22 Thread Jeremy Allison
On Fri, Jun 22, 2007 at 10:30:18PM +0100, Alex Crow wrote:
> 
> > 
> > Ah - the readahead issue. Try using 3.0.25 with the vfs readahead
> > module.
> > 
> > Jeremy.
> 
> Jeremy, Andrew
> 
> I think from the context that Andrew has already tried that - at work we have 
> decided that Vista simply isn't worth the hassle now.
> 
> We can't even manage to get Vista on a new laptop to get an IP address from 
> DHCP, never mind connect to our Samba DC!
> 
> Everything else can get an IP (3com and Cisco switches, Mitel IP phones, XP, 
> Solaris, *BSD, etc). Something is fundamentally broken in Vista's network 
> stack IMHO.

Was the server Linux based ? The readahead module improved
the Vista problem on Linux according to my tests, but one of
our OEM's made some kernel changes to their version of Linux
to help the problem more. I can post the change if needed.

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


Re: [Samba] Nagging performance issues with Vista

2007-06-22 Thread Alex Crow

> 
> Ah - the readahead issue. Try using 3.0.25 with the vfs readahead
> module.
> 
> Jeremy.

Jeremy, Andrew

I think from the context that Andrew has already tried that - at work we have 
decided that Vista simply isn't worth the hassle now.

We can't even manage to get Vista on a new laptop to get an IP address from 
DHCP, never mind connect to our Samba DC!

Everything else can get an IP (3com and Cisco switches, Mitel IP phones, XP, 
Solaris, *BSD, etc). Something is fundamentally broken in Vista's network stack 
IMHO.

Cheers

Alex


 

-- 
This message is intended only for the addressee and may contain 
confidential information.  Unless you are that person, you may not 
disclose its contents or use it in any way and are requested to delete 
the message along with any attachments and notify us immediately. 

"Transact" is operated by Integrated Financial Arrangements plc 
Domain House, 5-7 Singer Street, London  EC2A 4BQ 
Tel: (020) 7608 4900 Fax: (020) 7608 1200
(Registered office: as above; Registered in England and Wales under
number: 3727592) 
Authorised and regulated by the Financial Services Authority (entered on
the FSA Register; number: 190856)


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


Re: [Samba] Nagging performance issues with Vista

2007-06-22 Thread Jeremy Allison
On Fri, Jun 22, 2007 at 11:29:16AM +1000, Andrew Cook wrote:
> Hi All,
> 
> I've got some performance issues with Samba and Vista that I just can't 
> seem to figure out. Googling and fiddling has all been in vain up until 
> now, so I'm not sure what I can do other than wait for Samba 4, but 
> maybe someone here can find something I've missed.
> 
> First off, the server is an Athlon 64 1.8GHz running Gentoo 2006.1, 
> tested with both Samba 3.0.24 and 3.0.25a. Gigabit network is handled by 
> the onboard nForce controller, and it's got a software RAID 5 setup that 
> has been running fine for months.
> 
> The client is a dual core Windows box with a PCI-Express gigabit card. 
> Netperf pegs the network at 100Mbytes/sec, so there's no problems there. 
> Transfers via FTP on both Windows XP and Vista work out around about 
> 55Mbytes/sec consistently, and SMB transfers under Windows XP also top 
> out around 50-55Mbytes/sec, which seems to be the limit of the I/O on 
> the client.
> 
> Vista however, no matter what I do, will not read from Samba shares at 
> any more than around 5Mb/s when copying with Explorer. I timed a few 
> different file copies between XP and Vista, and it's consistently ten 
> times slower every time. Write speeds seem a lot better (20-30Mb/s). 
> This happens with both Samba 3.0.24 and 3.0.25a. I've tried with the VFS 
> readahead both on and off. I've tried with NetBIOS over TCP/IP both on 
> and off. It's worth noting that if I use the copy command via the 
> command prompt, read speeds jump to around 8-9Mb/s, but it's still 
> pretty poor.

Ah - the readahead issue. Try using 3.0.25 with the vfs readahead
module.

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


[Samba] Nagging performance issues with Vista

2007-06-21 Thread Andrew Cook

Hi All,

I've got some performance issues with Samba and Vista that I just can't 
seem to figure out. Googling and fiddling has all been in vain up until 
now, so I'm not sure what I can do other than wait for Samba 4, but 
maybe someone here can find something I've missed.


First off, the server is an Athlon 64 1.8GHz running Gentoo 2006.1, 
tested with both Samba 3.0.24 and 3.0.25a. Gigabit network is handled by 
the onboard nForce controller, and it's got a software RAID 5 setup that 
has been running fine for months.


The client is a dual core Windows box with a PCI-Express gigabit card. 
Netperf pegs the network at 100Mbytes/sec, so there's no problems there. 
Transfers via FTP on both Windows XP and Vista work out around about 
55Mbytes/sec consistently, and SMB transfers under Windows XP also top 
out around 50-55Mbytes/sec, which seems to be the limit of the I/O on 
the client.


Vista however, no matter what I do, will not read from Samba shares at 
any more than around 5Mb/s when copying with Explorer. I timed a few 
different file copies between XP and Vista, and it's consistently ten 
times slower every time. Write speeds seem a lot better (20-30Mb/s). 
This happens with both Samba 3.0.24 and 3.0.25a. I've tried with the VFS 
readahead both on and off. I've tried with NetBIOS over TCP/IP both on 
and off. It's worth noting that if I use the copy command via the 
command prompt, read speeds jump to around 8-9Mb/s, but it's still 
pretty poor.


Kernel version is 2.6.19 with the Gentoo patches. Samba 3.0.24 came from 
Gentoo Portage, while 3.0.25a was compiled directly from sources.


Here's my smb.conf:

[global]
workgroup = PC
netbios name = safari
server string = Samba %v
log file = /var/log/samba/log.%m
max log size = 500
log level = 0

hosts allow = 192.168. 127.

guest account = smbguest
security = user
map to guest = Bad User

[store01]
path = /mnt/store01
browseable = yes
writable = yes
guest ok = yes
guest only = no
create mask = 0755
vfs objects = readahead

[store02]
path = /mnt/store02
browseable = yes
writable = yes
guest ok = yes
guest only = no
create mask = 0755
vfs objects = readahead

[store03]
path = /mnt/store03
comment = store03
browseable = yes
writable = yes
guest ok = yes
guest only = no
create mask = 0755
vfs objects = readahead

[Incoming]
path = /mnt/store01/Incoming
comment = Incoming
browseable = yes
writable = yes
guest ok = yes
guest only = no
create mask = 777
vfs objects = readahead


Samba logs show a few errors, I'm not sure that they're relevant, and 
aren't very frequent (maybe about a dozen of these lines a day), but 
here they are anyway:


[2007/06/22 10:47:05, 0] lib/util_sock.c:read_data(534)
 read_data: read failure for 4 bytes to client 192.168.0.2. Error = 
Connectionreset by peer

[2007/06/22 10:47:05, 0] lib/util_sock.c:write_data(562)
 write_data: write failure in writing to client 192.168.0.2. Error 
Broken pipe

[2007/06/22 10:47:05, 0] lib/util_sock.c:send_smb(769)
 Error writing 75 bytes to client. -1. (Broken pipe)


Nothing else significant seem to be showing up in logs.

Any help would be appreciated. Thanks in advance.
- Andrew.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba