Re: [Samba] Samba performance issues (compared win2k)

2004-11-25 Thread Isaac Ojeda Llebry
El Miércoles, 24 de Noviembre de 2004 11:30, escribió:
> Are you sure it is samba who is causing delays and not the file system?

No, you are right. I will try to change the file system from EXT3 to REISER.

> What file system are you using? Is the second access to a file as slow as 
the first?

No, the second access seems faster.

> > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 IPTOS_LOWDELAY
> The default values for RCVBUF and SNDBUF are larger, why do you reduce it?

I tried playing with different values from 1024 to 65535 and it makes no 
sensse. The default option of RCVBUF and SNDBUF is 8192


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


Re: [Samba] Samba performance issues (compared win2k)

2004-11-24 Thread Gerald Drouillard
Isaac Ojeda Llebry wrote:
We're running samba in our organization to serve files in a LAN to windows 
machines (almost XP), and we're having some performance issues with small 
files. With big files (ie, ISO images), it works pretty well. But, when small 
files are involved in the transference, problems arise. In the same 
environment, a Windows 2000 machine (the 'old' server) is able to send data 
to clients nearly at double speed.

We've tried to change some parameters to make the performance better but... no 
way.

So, we're looking for any idea or a point to start to search for some 
additional info.

We are using in a Samba-3.0.7-1.3E, Linux AS 3 Update 4 box, with the Red 
Hat's kernel 2.4.21-15.0.3.ELsmp.

Configuration is as follow:
# Global parameters
[global]
workgroup = OURWORKGROUP
server string = Software Server
interfaces = eth1
auth methods = guest, sam, winbind
map to guest = Bad User
null passwords = Yes
guest account = ouruser
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully*
username map = /etc/samba/smbusers
log file = /var/log/samba/smbd.log
max log size = 10240
max xmit = 65535
dns proxy = No
wins server = 192.168.10.10
ldap ssl = no
create mask = 0775
hosts allow = 127., 192.168.
cups options = raw
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 
IPTOS_LOWDELAY


Try:
socket options = TCP_NODELAY SO_SNDBUF=65536 SO_RCVBUF=65536 
IPTOS_LOWDELAY
Have a look at:
http://www.drouillard.ca/Tips&Tricks/Samba/Oplocks.htm
--
Regards
--
Gerald Drouillard
Technology Architect
Drouillard & Associates, Inc.
http://www.Drouillard.ca
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba performance issues (compared win2k)

2004-11-24 Thread Isaac Ojeda Llebry
We're running samba in our organization to serve files in a LAN to windows 
machines (almost XP), and we're having some performance issues with small 
files. With big files (ie, ISO images), it works pretty well. But, when small 
files are involved in the transference, problems arise. In the same 
environment, a Windows 2000 machine (the 'old' server) is able to send data 
to clients nearly at double speed.

We've tried to change some parameters to make the performance better but... no 
way.

So, we're looking for any idea or a point to start to search for some 
additional info.

We are using in a Samba-3.0.7-1.3E, Linux AS 3 Update 4 box, with the Red 
Hat's kernel 2.4.21-15.0.3.ELsmp.

Configuration is as follow:

# Global parameters
[global]
workgroup = OURWORKGROUP
server string = Software Server
interfaces = eth1
auth methods = guest, sam, winbind
map to guest = Bad User
null passwords = Yes
guest account = ouruser
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully*
username map = /etc/samba/smbusers
log file = /var/log/samba/smbd.log
max log size = 10240
max xmit = 65535
dns proxy = No
wins server = 192.168.10.10
ldap ssl = no
create mask = 0775
hosts allow = 127., 192.168.
cups options = raw
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 
IPTOS_LOWDELAY


-- 
Isaac Ojeda Llebry
Servicio de Informática y Comunicaciones de la ULPGC
e-mail: iojeda en becarios.ulpgc.es
Teléfono: +34 928 459568
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba - Performance Issues

2002-10-07 Thread mike

Hi
I have noticed that win98 clients have better performance tha win2k with sp3
.I have a similar setu with a 800 GB volumes . I will try the same tests
from a windows 98 and compare .Also I have a 4 nic teamed using Intel ANS
softwate that improved performance .
Thanks

- Original Message -
From: <[EMAIL PROTECTED]>
To: "Vinay Kudithipudi" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, October 02, 2002 2:24 PM
Subject: Re: [Samba] Samba - Performance Issues


> On Wed, Oct 02, 2002 at 12:57:17PM -0500, Vinay Kudithipudi wrote:
> > Hello Guys,
> >   I am having some problems with configuring SAMBA with regards to
> > performance. We are running SAMBA 2.2.3a on Dual PIII 1Ghz machines with
> > 512MB of RAM. The server is running on a default server installation of
Red
> > Hat 7.2. We have a 500Gb RAID 5 drive using the Promise SX6000 Raid
> > controller.
> >   Currently we are only getting a throughput of ~5MB/S for writes and
> > ~13MB/S for reads. Comparing that to NFS which yealds ~15MB/S for reads
and
> > ~13MB/S for writes. This clearly rules out the Hardware bottleneck since
XFS
> > is able to perform better on the same hardware. Here is the smb.conf I
am
> > using currently
>
> What clients are you using ? This can make a big difference in how
> you tune things.
>
> Jeremy.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>

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



Re: [Samba] Samba - Performance Issues

2002-10-02 Thread jra

On Wed, Oct 02, 2002 at 05:50:49PM -0500, Vinay Kudithipudi wrote:
> Jay - I tried the test without any options (i.e. all default) and still get
> the same results
> 
> Javid - I am using copy
> 
> Jeremy - All clients are Win2k or WinXP.
> 
> I would very much like to blame the hardware for the problem, but since NFS
> yields better performance I am thinking SAMBA may be the cause here. 

I'm not saying it isn't. Are you using PC-NFS between the same clients
and the Samba server to compare ?

Win2K and WinXP clients should be using the large read/write calls, so
larger TCP buffers should be better for them. Do you have any network
traces to look at ?

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



RE: [Samba] Samba - Performance Issues

2002-10-02 Thread Vinay Kudithipudi

Jay - I tried the test without any options (i.e. all default) and still get
the same results

Javid - I am using copy

Jeremy - All clients are Win2k or WinXP.

I would very much like to blame the hardware for the problem, but since NFS
yields better performance I am thinking SAMBA may be the cause here. 

Vinay Kudithipudi
Associate Network Operations Engineer
Spirian Technologies Inc.

-Original Message-
From: Jay Ts [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 02, 2002 1:50 PM
To: Vinay Kudithipudi
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Samba - Performance Issues


On Wed, Oct 02, 2002 at 12:57:17PM -0500, Vinay Kudithipudi wrote:
> 
> ===SMB.CONF===
> [global]
>   workgroup = MYGROUP
>   netbios name = {HOSTNAME}
>   wins server = {WINSSERVER}
>   server string = {HOSTNAME}
>   security = SHARE
>   encrypt passwords = Yes
>   log file = /var/log/samba/log.%m
>   max log size = 50
>   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

IIRC, someone wrote in recently saying that the sizes of SO_RCVBUF and
SO_SNDBUF can have huge effects on performance, and setting them to 8192
(which used to be a good idea) can reduce performance. I suggest removing
them from the socket options and measuring the performance at the defaults,
then try modifying them and comparing performance.

Also, TCP_NODELAY is the default, right?  So maybe just comment out the
socket options parameter, restart the daemons, and check to see if the
problem goes away.

> I was wondering if there is any documentation for fine tuning SAMBA.
> Any help is appreciated. Thanks.

Nowadays, it's usually best to "leave things alone" (i.e., at the defaults).
It's important to not change things in a way that reduces performance.

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



Re: [Samba] Samba - Performance Issues

2002-10-02 Thread Jay Ts

On Wed, Oct 02, 2002 at 12:57:17PM -0500, Vinay Kudithipudi wrote:
> 
> ===SMB.CONF===
> [global]
>   workgroup = MYGROUP
>   netbios name = {HOSTNAME}
>   wins server = {WINSSERVER}
>   server string = {HOSTNAME}
>   security = SHARE
>   encrypt passwords = Yes
>   log file = /var/log/samba/log.%m
>   max log size = 50
>   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

IIRC, someone wrote in recently saying that the sizes of SO_RCVBUF
and SO_SNDBUF can have huge effects on performance, and setting
them to 8192 (which used to be a good idea) can reduce performance.
I suggest removing them from the socket options and measuring the
performance at the defaults, then try modifying them and comparing
performance.

Also, TCP_NODELAY is the default, right?  So maybe just comment
out the socket options parameter, restart the daemons, and check
to see if the problem goes away.

> I was wondering if there is any documentation for fine tuning SAMBA. Any
> help is appreciated. Thanks.

Nowadays, it's usually best to "leave things alone" (i.e., at the defaults).
It's important to not change things in a way that reduces performance.

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



Re: [Samba] Samba - Performance Issues

2002-10-02 Thread jra

On Wed, Oct 02, 2002 at 12:57:17PM -0500, Vinay Kudithipudi wrote:
> Hello Guys,
>   I am having some problems with configuring SAMBA with regards to
> performance. We are running SAMBA 2.2.3a on Dual PIII 1Ghz machines with
> 512MB of RAM. The server is running on a default server installation of Red
> Hat 7.2. We have a 500Gb RAID 5 drive using the Promise SX6000 Raid
> controller.
>   Currently we are only getting a throughput of ~5MB/S for writes and
> ~13MB/S for reads. Comparing that to NFS which yealds ~15MB/S for reads and
> ~13MB/S for writes. This clearly rules out the Hardware bottleneck since XFS
> is able to perform better on the same hardware. Here is the smb.conf I am
> using currently

What clients are you using ? This can make a big difference in how
you tune things.

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



RE: [Samba] Samba - Performance Issues

2002-10-02 Thread Javid Abdul-AJAVID1

so are you using xcopy or copy dos command in your script?

-Original Message-
From: Vinay Kudithipudi [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 1:21 PM
To: 'Javid Abdul-AJAVID1'; [EMAIL PROTECTED]
Subject: RE: [Samba] Samba - Performance Issues


Javid,

I am running a script which copies a 1Gb files to and from the shared
driver. Am then dividing the time taken by the size of the file. I know it
is very hacked up :), but it should at least give some approximations.
Thanks. 

Vinay Kudithipudi
Associate Network Operations Engineer
Spirian Technologies Inc.

-Original Message-
From: Javid Abdul-AJAVID1 [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 02, 2002 1:13 PM
To: 'Vinay Kudithipudi'; [EMAIL PROTECTED]
Subject: RE: [Samba] Samba - Performance Issues


how are u measuring read and write speeds?

-Original Message-
From: Vinay Kudithipudi [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 12:57 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba - Performance Issues


Hello Guys,
  I am having some problems with configuring SAMBA with regards to
performance. We are running SAMBA 2.2.3a on Dual PIII 1Ghz machines with
512MB of RAM. The server is running on a default server installation of Red
Hat 7.2. We have a 500Gb RAID 5 drive using the Promise SX6000 Raid
controller.
  Currently we are only getting a throughput of ~5MB/S for writes and
~13MB/S for reads. Comparing that to NFS which yealds ~15MB/S for reads and
~13MB/S for writes. This clearly rules out the Hardware bottleneck since XFS
is able to perform better on the same hardware. Here is the smb.conf I am
using currently

===SMB.CONF===
[global]
workgroup = MYGROUP
netbios name = {HOSTNAME}
wins server = {WINSSERVER}
server string = {HOSTNAME}
security = SHARE
encrypt passwords = Yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
oplocks = No
level2 oplocks = No

[homes]
comment = Home Directories
read only = No
browseable = No

[Data]
comment = Data Backup Directory
path = /home/gm/data
guest account = 
valid users = spirian
read only = No
==

I was wondering if there is any documentation for fine tuning SAMBA. Any
help is appreciated. Thanks.

Vinay Kudithipudi
Associate Network Operations Engineer
Spirian Technologies Inc. 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Samba - Performance Issues

2002-10-02 Thread Vinay Kudithipudi

Javid,

I am running a script which copies a 1Gb files to and from the shared
driver. Am then dividing the time taken by the size of the file. I know it
is very hacked up :), but it should at least give some approximations.
Thanks. 

Vinay Kudithipudi
Associate Network Operations Engineer
Spirian Technologies Inc.

-Original Message-
From: Javid Abdul-AJAVID1 [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 02, 2002 1:13 PM
To: 'Vinay Kudithipudi'; [EMAIL PROTECTED]
Subject: RE: [Samba] Samba - Performance Issues


how are u measuring read and write speeds?

-Original Message-
From: Vinay Kudithipudi [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 12:57 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba - Performance Issues


Hello Guys,
  I am having some problems with configuring SAMBA with regards to
performance. We are running SAMBA 2.2.3a on Dual PIII 1Ghz machines with
512MB of RAM. The server is running on a default server installation of Red
Hat 7.2. We have a 500Gb RAID 5 drive using the Promise SX6000 Raid
controller.
  Currently we are only getting a throughput of ~5MB/S for writes and
~13MB/S for reads. Comparing that to NFS which yealds ~15MB/S for reads and
~13MB/S for writes. This clearly rules out the Hardware bottleneck since XFS
is able to perform better on the same hardware. Here is the smb.conf I am
using currently

===SMB.CONF===
[global]
workgroup = MYGROUP
netbios name = {HOSTNAME}
wins server = {WINSSERVER}
server string = {HOSTNAME}
security = SHARE
encrypt passwords = Yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
oplocks = No
level2 oplocks = No

[homes]
comment = Home Directories
read only = No
browseable = No

[Data]
comment = Data Backup Directory
path = /home/gm/data
guest account = 
valid users = spirian
read only = No
==

I was wondering if there is any documentation for fine tuning SAMBA. Any
help is appreciated. Thanks.

Vinay Kudithipudi
Associate Network Operations Engineer
Spirian Technologies Inc. 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] Samba - Performance Issues

2002-10-02 Thread Javid Abdul-AJAVID1

how are u measuring read and write speeds?

-Original Message-
From: Vinay Kudithipudi [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 12:57 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba - Performance Issues


Hello Guys,
  I am having some problems with configuring SAMBA with regards to
performance. We are running SAMBA 2.2.3a on Dual PIII 1Ghz machines with
512MB of RAM. The server is running on a default server installation of Red
Hat 7.2. We have a 500Gb RAID 5 drive using the Promise SX6000 Raid
controller.
  Currently we are only getting a throughput of ~5MB/S for writes and
~13MB/S for reads. Comparing that to NFS which yealds ~15MB/S for reads and
~13MB/S for writes. This clearly rules out the Hardware bottleneck since XFS
is able to perform better on the same hardware. Here is the smb.conf I am
using currently

===SMB.CONF===
[global]
workgroup = MYGROUP
netbios name = {HOSTNAME}
wins server = {WINSSERVER}
server string = {HOSTNAME}
security = SHARE
encrypt passwords = Yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
oplocks = No
level2 oplocks = No

[homes]
comment = Home Directories
read only = No
browseable = No

[Data]
comment = Data Backup Directory
path = /home/gm/data
guest account = 
valid users = spirian
read only = No
==

I was wondering if there is any documentation for fine tuning SAMBA. Any
help is appreciated. Thanks.

Vinay Kudithipudi
Associate Network Operations Engineer
Spirian Technologies Inc. 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Samba - Performance Issues

2002-10-02 Thread Vinay Kudithipudi

Hello Guys,
  I am having some problems with configuring SAMBA with regards to
performance. We are running SAMBA 2.2.3a on Dual PIII 1Ghz machines with
512MB of RAM. The server is running on a default server installation of Red
Hat 7.2. We have a 500Gb RAID 5 drive using the Promise SX6000 Raid
controller.
  Currently we are only getting a throughput of ~5MB/S for writes and
~13MB/S for reads. Comparing that to NFS which yealds ~15MB/S for reads and
~13MB/S for writes. This clearly rules out the Hardware bottleneck since XFS
is able to perform better on the same hardware. Here is the smb.conf I am
using currently

===SMB.CONF===
[global]
workgroup = MYGROUP
netbios name = {HOSTNAME}
wins server = {WINSSERVER}
server string = {HOSTNAME}
security = SHARE
encrypt passwords = Yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
oplocks = No
level2 oplocks = No

[homes]
comment = Home Directories
read only = No
browseable = No

[Data]
comment = Data Backup Directory
path = /home/gm/data
guest account = 
valid users = spirian
read only = No
==

I was wondering if there is any documentation for fine tuning SAMBA. Any
help is appreciated. Thanks.

Vinay Kudithipudi
Associate Network Operations Engineer
Spirian Technologies Inc. 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Samba performance issues

2002-09-25 Thread John Coston

Hi all
just an update on our situation. We are not having any issues today, 
and currently have about 40 users with about 120 connections listed by 
smbstatus, and the load average is under 1%. We haven't seen any of the 
smbd processes running away with the CPU so far, fingers crossed. The 
primary change we made was implementing roaming profiles for our users, 
and disabling the mandatory profile. My suspicion is that while 
mandatory profiles were in place, we had some locking problems which 
resulted in the smbd processes utilizing all of the CPU. After shutting 
down completely, and manually killing off the hung processes, things 
are going much better. We are still running without the patch for 
locking issues that Robert mentions below, but that will be rectified 
soon.
We are going to test out the file locking/mandatory profile hypothesis 
with our backup machine in the next few days, and hopefully will be 
able to provide some more detailed information on exactly what is 
happening.
Thanks to all for the guidance, help & suggestions.
John

On Tuesday, September 24, 2002, at 07:06  PM, Robert Stuart wrote:

> Hi,
>
> I'm rather interested in the outcome of this on or off the list; but I
> suspect there will be other people on the list who are interested -
> please keep posting to the list :-)
>
> I think we have very similar HW.  We have a dual CPU (1.4G PIII) 
> LPr2000
> netserver with 10k and 15k drives.  We normally sit around < 5% cpu so
> it seems to be something about your config, probably not your HW.  Our
> box also does internal http, mail, dns, fax, lpd, ldap etc.
>
> Can I suggest you run top and see what seems to be using CPU time?  
> Does
> %CPU in the process list include sys time?  I think it does, if so, it
> will help you get an idea of what is contributing to the 60% sys time
> (even if top doesn't include sys then it is likely to be showing
> culprits anyhow).  Do you run anything else on this machine (eg
> oracle)?  :-)  Perhaps posting  ps axf and a copy of a top page might
> help.
>
> Your LDAP backend... is it getting busy?  Are the relevant things
> indexed?
>
> I'd upgrade your kernel to the last RH7.3 errata (2.4.18-10?).
>
> You will likely get locking issues (discussed on samba-technical show
> stopper) if you are using ldap sam, I patched the samba 2.2.5 rawhide
> rpm.  I'll send that in a separate email to you.
>
> Good luck.
>
> Robert Stuart
> Systems Administrator
> Ph: 61 7 3864 0364
> Fax: 61 7 3221 2553
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>

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



Re: [Samba] Samba performance issues

2002-09-24 Thread Robert Stuart

Hi,

I'm rather interested in the outcome of this on or off the list; but I
suspect there will be other people on the list who are interested -
please keep posting to the list :-)

I think we have very similar HW.  We have a dual CPU (1.4G PIII) LPr2000
netserver with 10k and 15k drives.  We normally sit around < 5% cpu so
it seems to be something about your config, probably not your HW.  Our
box also does internal http, mail, dns, fax, lpd, ldap etc.

Can I suggest you run top and see what seems to be using CPU time?  Does
%CPU in the process list include sys time?  I think it does, if so, it
will help you get an idea of what is contributing to the 60% sys time
(even if top doesn't include sys then it is likely to be showing
culprits anyhow).  Do you run anything else on this machine (eg
oracle)?  :-)  Perhaps posting  ps axf and a copy of a top page might
help.

Your LDAP backend... is it getting busy?  Are the relevant things
indexed?

I'd upgrade your kernel to the last RH7.3 errata (2.4.18-10?).

You will likely get locking issues (discussed on samba-technical show
stopper) if you are using ldap sam, I patched the samba 2.2.5 rawhide
rpm.  I'll send that in a separate email to you.

Good luck.

Martin MOKREJ© wrote:
> 
> On 24 Sep 2002, Bradley W. Langhorst wrote:
> 
> > On Tue, 2002-09-24 at 18:07, Martin MOKREJ© wrote:
> > > On 24 Sep 2002, Bradley W. Langhorst wrote:
> > >
> > > > probably you want to run the iostat 1 during heavier load...
> > > > however the summary result does look funny to me...
> > > >
> > > > On my system we have ~ 1:1 ratio of reads to writes
> > > > you have a ~ 1:200 ratio of reads to writes.
> > > > Does that make sense in your environment?
> > >
> > > Didn't you have a look into the first lines where's the summary output
> > > from iostat?
> > >
> > sure i did... maybe i'm misreading it
> > avg-cpu:  %user   %nice%sys   %idle
> >   16.790.00   26.39   56.82
> >
> > Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
> > dev8-0   11.80 2.24   184.95 541354   44609586
> > dev8-1   11.80 1.67   184.95 403090   44609586
> >
> > Unless I'm mistaken the summary says that (on average) he only has 2
> > reads/s vs 185 writes/s
> 
> You are right, sure. But my point was why is the *current* load that high.
> That's why I had a look on statistics per every second.
> 
> >
> > > All those other remaining output lines show zero disk
> > > activity ...
> > That's why I suggested he run iostat when the system is under more load.
> 
> In principal I agree anyway. ;)
> 
> >
> >
> > > >
> > > > It doesn't look like your system has a memory problem so i'd not worry
> > > > about vmstat.
> > >
> > > I'd would worry. Actually, what says "dmesg" command?
> > The reason I think memory is no problem here is:
> > Mem:  3229040K av, 3166372K used,   62668K free,   0K shrd,  148480K
> > buff
> > Swap:  513976K av,   0K used,  513976K free 2758060K
> > cached
> >
> > so the swap file has not been touched and there is 2.7gig of disk being
> > cached in RAM
> 
> Yes, but the "sy" column in the output of vmstat was quite high. That
> worries me. ;)
> 
> I think we should not Cc: the samba email list to these emails anymore. ;)
> --
> Martin Mokrejs <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
> MIPS / Institute for Bioinformatics 
> GSF - National Research Center for Environment and Health
> Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
> tel.: +49-89-3187 3683 , fax: +49-89-3187 3585
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
Robert Stuart
Systems Administrator
Ph: 61 7 3864 0364
Fax: 61 7 3221 2553
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Samba performance issues

2002-09-24 Thread Martin MOKREJŠ

On 24 Sep 2002, Bradley W. Langhorst wrote:

> On Tue, 2002-09-24 at 18:07, Martin MOKREJŠ wrote:
> > On 24 Sep 2002, Bradley W. Langhorst wrote:
> >
> > > probably you want to run the iostat 1 during heavier load...
> > > however the summary result does look funny to me...
> > >
> > > On my system we have ~ 1:1 ratio of reads to writes
> > > you have a ~ 1:200 ratio of reads to writes.
> > > Does that make sense in your environment?
> >
> > Didn't you have a look into the first lines where's the summary output
> > from iostat?
> >
> sure i did... maybe i'm misreading it
> avg-cpu:  %user   %nice%sys   %idle
>   16.790.00   26.39   56.82
>
> Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
> dev8-0   11.80 2.24   184.95 541354   44609586
> dev8-1   11.80 1.67   184.95 403090   44609586
>
> Unless I'm mistaken the summary says that (on average) he only has 2
> reads/s vs 185 writes/s

You are right, sure. But my point was why is the *current* load that high.
That's why I had a look on statistics per every second.

>
> > All those other remaining output lines show zero disk
> > activity ...
> That's why I suggested he run iostat when the system is under more load.

In principal I agree anyway. ;)

>
>
> > >
> > > It doesn't look like your system has a memory problem so i'd not worry
> > > about vmstat.
> >
> > I'd would worry. Actually, what says "dmesg" command?
> The reason I think memory is no problem here is:
> Mem:  3229040K av, 3166372K used,   62668K free,   0K shrd,  148480K
> buff
> Swap:  513976K av,   0K used,  513976K free 2758060K
> cached
>
> so the swap file has not been touched and there is 2.7gig of disk being
> cached in RAM

Yes, but the "sy" column in the output of vmstat was quite high. That
worries me. ;)

I think we should not Cc: the samba email list to these emails anymore. ;)
-- 
Martin Mokrejs <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics 
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585

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



Re: [Samba] Samba performance issues

2002-09-24 Thread John Coston

Here is the dmesg file:

Linux version 2.4.18-3 ([EMAIL PROTECTED]) (gcc version 
2.96 2731 (Red Hat Linux 7.3 2.96-110)) #1 Thu Apr 18 07:37:53 EDT 
2002
BIOS-provided physical RAM map:
  BIOS-e820:  - 0009ec00 (usable)
  BIOS-e820: 0009ec00 - 000a (reserved)
  BIOS-e820: 000e9400 - 0010 (reserved)
  BIOS-e820: 0010 - c7ff (usable)
  BIOS-e820: c7ff - c7fffc00 (ACPI data)
  BIOS-e820: c7fffc00 - c800 (ACPI NVS)
  BIOS-e820: fec0 - fec1 (reserved)
  BIOS-e820: fee0 - fee01000 (reserved)
  BIOS-e820: fff8 - 0001 (reserved)
2303MB HIGHMEM available.
On node 0 totalpages: 819184
zone(0): 4096 pages.
zone(1): 225280 pages.
zone(2): 589808 pages.
Kernel command line: ro root=/dev/md4
Initializing CPU#0
Detected 1000.092 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1992.29 BogoMIPS
Memory: 3228532k/3276736k available (1119k kernel code, 47812k 
reserved, 775k data, 280k init, 2359232k highmem)
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode cache hash table entries: 262144 (order: 9, 2097152 bytes)
Mount-cache hash table entries: 65536 (order: 7, 524288 bytes)
Buffer cache hash table entries: 262144 (order: 8, 1048576 bytes)
Page-cache hash table entries: 524288 (order: 9, 2097152 bytes)
CPU: Before vendor init, caps: 0383fbff  , vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After vendor init, caps: 0383fbff   
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0383fbff   
CPU: Common caps: 0383fbff   
CPU: Intel Pentium III (Coppermine) stepping 0a
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch ([EMAIL PROTECTED])
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfda11, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Discovered primary peer bus 01 [IRQ]
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS not found.
Starting kswapd
allocated 64 pages and 64 bhs reserved for the highmem bounces
VFS: Diskquotas version dquot_6.5.0 initialized
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT 
SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10e
block: 1024 slots per queue, batch=256
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with 
idebus=xx
SvrWks OSB4: IDE controller on PCI bus 00 dev 79
SvrWks OSB4: chipset revision 0
SvrWks OSB4: not 100% native mode: will probe irqs later
 ide0: BM-DMA at 0x1800-0x1807, BIOS settings: hda:pio, hdb:pio
 ide1: BM-DMA at 0x1808-0x180f, BIOS settings: hdc:pio, hdd:pio
hda: CD-224E, ATAPI CD/DVD-ROM drive
hdc: no response (status = 0xa1), resetting drive
hdc: no response (status = 0xa1)
hdd: no response (status = 0xa1), resetting drive
hdd: no response (status = 0xa1)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide-floppy driver 0.99.newide
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 32768 buckets, 256Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 224k freed
VFS: Mounted root (ext2 filesystem).
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
sym53c8xx: at PCI bus 1, device 5, function 0
sym53c8xx: 53c1010-33 detected with Symbios NVRAM
sym53c8xx: at PCI bus 1, device 5, function 1
sym53c8xx: 53c1010-33 detected with Symbios NVRAM
sym53c1010-33-0: rev 0x1 on pci bus 1 device 5 function 0 irq 5
sym53c1010-33-0: Symbios format NVRAM, ID 7, Fast-80, Parity Checking
sym53c1010-33-0: on-chip RAM at 0xfd004000
sym53c1010-33-0: restart (scsi reset).
sym53c1010-33-0: handling phase mismatch from SCRIPTS.
sym53c1010-33-0: Downloading SCSI SCRIPTS.
sym53c1010-33-1: rev 0x1 on pci bus 1 device 5 function 1 irq 9
sym53c1010-33-1: Symbios format NVRAM, ID 7, Fast-80, Pa

Re: [Samba] Samba performance issues

2002-09-24 Thread Bradley W. Langhorst

On Tue, 2002-09-24 at 18:07, Martin MOKREJŠ wrote:
> On 24 Sep 2002, Bradley W. Langhorst wrote:
> 
> > probably you want to run the iostat 1 during heavier load...
> > however the summary result does look funny to me...
> >
> > On my system we have ~ 1:1 ratio of reads to writes
> > you have a ~ 1:200 ratio of reads to writes.
> > Does that make sense in your environment?
> 
> Didn't you have a look into the first lines where's the summary output
> from iostat? 
> 
sure i did... maybe i'm misreading it
avg-cpu:  %user   %nice%sys   %idle
  16.790.00   26.39   56.82

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-0   11.80 2.24   184.95 541354   44609586
dev8-1   11.80 1.67   184.95 403090   44609586

Unless I'm mistaken the summary says that (on average) he only has 2
reads/s vs 185 writes/s

> All those other remaining output lines show zero disk
> activity ...
That's why I suggested he run iostat when the system is under more load.
  

> >
> > It doesn't look like your system has a memory problem so i'd not worry
> > about vmstat.
> 
> I'd would worry. Actually, what says "dmesg" command?
The reason I think memory is no problem here is:
Mem:  3229040K av, 3166372K used,   62668K free,   0K shrd,  148480K
buff
Swap:  513976K av,   0K used,  513976K free 2758060K
cached

so the swap file has not been touched and there is 2.7gig of disk being
cached in RAM

brad


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



Re: [Samba] Samba performance issues

2002-09-24 Thread Bradley W. Langhorst

On Tue, 2002-09-24 at 18:19, John Coston wrote:
> some output from ps wauxf:
> for  smbd, all the processes are around this value:
> parky 1963  3.5  0.1  7488 3452 ?R07:37  15:41  \_ smbd 
> -D
> for ldap, all of the processes are around this value:
> ldap  6150  0.0  0.1 75548 5068 ?S14:45   0:00  \_ 
> /usr/sbin/slapd -u ldap
> 
> we have about 30 of each process running right now. If I understand 
> this correctly, it means that I have 30 ldap processes that are each 
> using 75 MB of virtual memory, which would be 2.25 GB virtual memory 
> for all of them.
i'm pretty sure that means that all the ldap processes are sharing 75M
of vm



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



Re: [Samba] Samba performance issues

2002-09-24 Thread John Coston

some output from ps wauxf:
for  smbd, all the processes are around this value:
parky 1963  3.5  0.1  7488 3452 ?R07:37  15:41  \_ smbd 
-D
for ldap, all of the processes are around this value:
ldap  6150  0.0  0.1 75548 5068 ?S14:45   0:00  \_ 
/usr/sbin/slapd -u ldap

we have about 30 of each process running right now. If I understand 
this correctly, it means that I have 30 ldap processes that are each 
using 75 MB of virtual memory, which would be 2.25 GB virtual memory 
for all of them.

here is the output of cat /proc/sys/vm/bdflush - this seems to indicate 
that the vm is flushing every 5 seconds as indicated by vmstat?
  [root@student0 root]# cat /proc/sys/vm/bdflush
40  0   0   0   500 300060  0   0

I'll have to wait for downtime this evening to test with ldap down.

On Tuesday, September 24, 2002, at 02:51  PM, Martin MOKREJŠ wrote:

> On Tue, 24 Sep 2002, John Coston wrote:
>
>> we are using large caches for the ldap indexes  -  5 megs each for 10
>> indexes. We are not running mysql.
>> I can remove the caches and resart ldap to see what effect that has.
>
>
> First, run "ps wauxf" and look which applicatiuons have highest 
> numbers in
> "MEM" and "VSZ" and "RSS" columns. Save the output.
>
> Then, just have running "vmstat 1" in one window and in another window
> shutdown ldap server. You should see after a while that the number 
> under
> "cache" has significantly decreased.
>
>
>
> -- 
> Martin Mokrejs <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
> MIPS / Institute for Bioinformatics 
> GSF - National Research Center for Environment and Health
> Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
> tel.: +49-89-3187 3683 , fax: +49-89-3187 3585
>
>

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



Re: [Samba] Samba performance issues

2002-09-24 Thread Martin MOKREJŠ

On 24 Sep 2002, Bradley W. Langhorst wrote:

> probably you want to run the iostat 1 during heavier load...
> however the summary result does look funny to me...
>
> On my system we have ~ 1:1 ratio of reads to writes
> you have a ~ 1:200 ratio of reads to writes.
> Does that make sense in your environment?

Didn't you have a look into the first lines where's the summary output
from iostat? All those other remaining output lines show zero disk
activity ...

>
> It doesn't look like your system has a memory problem so i'd not worry
> about vmstat.

I'd would worry. Actually, what says "dmesg" command?

-- 
Martin Mokrejs <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics 
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585


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



Re: [Samba] Samba performance issues

2002-09-24 Thread Bradley W. Langhorst

probably you want to run the iostat 1 during heavier load...
however the summary result does look funny to me...

On my system we have ~ 1:1 ratio of reads to writes
you have a ~ 1:200 ratio of reads to writes.
Does that make sense in your environment?

It doesn't look like your system has a memory problem so i'd not worry
about vmstat.

I should probably shut up now because I'm walking out of the realm of my
experience - is that going to stop me ... no.

Does anybody else think maybe the raid1 code is trying to optimize read
IO performance by splitting across disks at the expense of CPU?

Suggestions to find out..
1) use a hardware raid card
2) try running in degraded mode with one disk to see if you get an
increase in performance.

if somebody else with the same kind of system chimes in and says that
they handle the same load with similar or lesser hardware look for a
hardware problem. 

maybe my impression is wrong and that is not enough machine to do what
you want... if you really do need more cpu you could try segmenting your
file services and having different machines serve each segment

brad

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



Re: [Samba] Samba performance issues

2002-09-24 Thread John Coston

Sorry for the confusion - if I run "iostat" I get this:
[root@foo root]# iostat
Linux 2.4.18-3 (foo)   09/24/2002

avg-cpu:  %user   %nice%sys   %idle
   16.790.00   26.39   56.82

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-0   11.80 2.24   184.95 541354   44609586
dev8-1   11.80 1.67   184.95 403090   44609586

if I run iostat 1 it loops every second, so the results (for the first 
16 seconds) are:
[root@foo root]# iostat 1 16
Linux 2.4.18-3 (foo)   09/24/2002

avg-cpu:  %user   %nice%sys   %idle
   16.790.00   26.40   56.80

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-0   11.80 2.24   184.91 541354   44615082
dev8-1   11.80 1.67   184.91 403090   44615082

avg-cpu:  %user   %nice%sys   %idle
   31.000.00   69.000.00

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-00.00 0.00 0.00  0  0
dev8-10.00 0.00 0.00  0  0

avg-cpu:  %user   %nice%sys   %idle
   37.000.00   63.000.00

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-00.00 0.00 0.00  0  0
dev8-10.00 0.00 0.00  0  0

avg-cpu:  %user   %nice%sys   %idle
   26.000.00   74.000.00

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-00.00 0.00 0.00  0  0
dev8-10.00 0.00 0.00  0  0

avg-cpu:  %user   %nice%sys   %idle
   40.950.00   59.050.00

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-00.00 0.00 0.00  0  0
dev8-10.00 0.00 0.00  0  0

avg-cpu:  %user   %nice%sys   %idle
   32.000.00   68.000.00

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-04.00 0.00   136.00  0136
dev8-14.00 0.00   136.00  0136

avg-cpu:  %user   %nice%sys   %idle
   40.000.00   60.000.00

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-00.00 0.00 0.00  0  0
dev8-10.00 0.00 0.00  0  0

avg-cpu:  %user   %nice%sys   %idle
   38.000.00   62.000.00

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-00.00 0.00 0.00  0  0
dev8-10.00 0.00 0.00  0  0

avg-cpu:  %user   %nice%sys   %idle
   42.340.00   57.660.00

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-0   11.71 0.00   165.77  0184
dev8-1   11.71 0.00   165.77  0184

avg-cpu:  %user   %nice%sys   %idle
   34.070.00   65.930.00

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-00.00 0.00 0.00  0  0
dev8-10.00 0.00 0.00  0  0

avg-cpu:  %user   %nice%sys   %idle
   36.000.00   64.000.00

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-06.00 0.00   104.00  0104
dev8-16.00 0.00   104.00  0104

avg-cpu:  %user   %nice%sys   %idle
   37.000.00   63.000.00

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-00.00 0.00 0.00  0  0
dev8-10.00 0.00 0.00  0  0

avg-cpu:  %user   %nice%sys   %idle
   42.000.00   58.000.00

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-00.00 0.00 0.00  0  0
dev8-10.00 0.00 0.00  0  0

avg-cpu:  %user   %nice%sys   %idle
   36.000.00   64.000.00

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-00.00 0.00 0.00  0  0
dev8-10.00 0.00 0.00  0  0

avg-cpu:  %user   %nice%sys   %idle
   41.000.00   59.000.00

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-00.00 0.00 0.00  0  0
dev8-10.00 0.00 0.00  

Re: [Samba] Samba performance issues

2002-09-24 Thread John Coston

sorry - the last iostat result is from another execution of the command 
(without the "1"), not from the looping output.
On Tuesday, September 24, 2002, at 02:22  PM, John Coston wrote:

> here is the output of vmstat, iostat, and uname:
>
> [root@foo root]# vmstat 1
>procs  memoryswap  io system
>  cpu
>  r  b  w   swpd   free   buff  cache  si  sobibo   incs  
> us  sy  id
> 21  0  1  0  61384 148780 2763956   0   0 293   91   113  
> 17  26  57
> 17  0  2  0  61384 148780 2763956   0   0 0 0  15648  
> 40  60   0
> 14  0  1  0  61384 148780 2763956   0   0 0 0  10941  
> 39  61   0
> 11  0  1  0  61376 148780 2763956   0   0 0 0  122   109  
> 30  70   0
> 15  0  3  0  61368 148780 2763956   0   0 052  155   143  
> 47  53   0
> 20  0  1  0  61368 148780 2763956   0   0 0 4  11057  
> 42  58   0
> 20  0  1  0  61368 148780 2763956   0   0 0 0  10864  
> 41  59   0
> 20  0  1  0  61368 148780 2763956   0   0 0 0  10638  
> 42  58   0
> 20  0  1  0  61368 148780 2763956   0   0 0 0  10565  
> 30  70   0
> 13  0  1  0  61368 148780 2763956   0   0 012  200   129  
> 36  64   0
> 13  0  1  0  61368 148780 2763956   0   0 0 0  10640  
> 27  73   0
> 14  0  0  0  61368 148780 2763956   0   0 0 0  14870  
> 34  66   0
> 20  0  0  0  61368 148780 2763956   0   0 0 0  12469  
> 41  59   0
>
> [root@foo root]# iostat 1
> Linux 2.4.18-3 (student0)   09/24/2002
>
> avg-cpu:  %user   %nice%sys   %idle
>   16.710.00   26.26   57.02
>
> Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
> dev8-0   11.84 2.25   185.49 541354   44584762
> dev8-1   11.83 1.68   185.49 403090   44584762
>
> avg-cpu:  %user   %nice%sys   %idle
>   35.000.00   65.000.00
>
> Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
> dev8-04.00 0.00   112.00  0112
> dev8-14.00 0.00   112.00  0112
>
> avg-cpu:  %user   %nice%sys   %idle
>   49.000.00   51.000.00
>
> Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
> dev8-00.00 0.00 0.00  0  0
> dev8-10.00 0.00 0.00  0  0
>
> avg-cpu:  %user   %nice%sys   %idle
>   46.000.00   54.000.00
>
> Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
> dev8-00.00 0.00 0.00  0  0
> dev8-10.00 0.00 0.00  0  0
>
> avg-cpu:  %user   %nice%sys   %idle
>   36.000.00   64.000.00
>
> Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
> dev8-00.00 0.00 0.00  0  0
> dev8-10.00 0.00 0.00  0  0
>



>
> uname -a
> Linux foo 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown
>
> Thanks!
>
> On Tuesday, September 24, 2002, at 02:04  PM, Martin MOKREJŠ wrote:
>
>> On Tue, 24 Sep 2002, John Coston wrote:
>>
>>> it's software RAID-1 using two fast wide scsi 36 gb discs. Filesystem
>>> is ext3. We have one 30gb partition for share data, and the rest is 
>>> for
>>> system and swap.
>>> here is some of output from dmesg:
>>>
>>> md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
>>> md: Autodetecting RAID arrays.
>>> <...>
>>> scsi0 : sym53c8xx-1.7.3c-20010512
>>> scsi1 : sym53c8xx-1.7.3c-20010512
>>> blk: queue c3c57618, I/O limit 4095Mb (mask 0x)
>>>Vendor: HPModel: 36.4GB C 80-8C32  Rev:
>>>Type:   Direct-Access  ANSI SCSI revision: 02
>>> blk: queue c3c57818, I/O limit 4095Mb (mask 0x)
>>>Vendor: HP 36.4G  Model: MAN3367MC Rev: HP04
>>>Type:   Direct-Access  ANSI SCSI revision: 02
>>> <...>
>>>
>>> I'm not too swift on filesystems and discs, so let me know if there 
>>> is
>>> more info you need & thanks
>>
>> include output of:
>>
>> vmstat 1
>> iostat 1
>> uname -a
>>
>> -- 
>> Martin Mokrejs <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>> PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
>> MIPS / Institute for Bioinformatics 
>> GSF - National Research Center for Environment and Health
>> Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
>> tel.: +49-89-3187 3683 , fax: +49-89-3187 3585
>>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

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



Re: [Samba] Samba performance issues

2002-09-24 Thread John Coston

here is the output of vmstat, iostat, and uname:

[root@foo root]# vmstat 1
procs  memoryswap  io system 
 cpu
  r  b  w   swpd   free   buff  cache  si  sobibo   incs  us 
  sy  id
21  0  1  0  61384 148780 2763956   0   0 293   91   113  
17  26  57
17  0  2  0  61384 148780 2763956   0   0 0 0  15648  
40  60   0
14  0  1  0  61384 148780 2763956   0   0 0 0  10941  
39  61   0
11  0  1  0  61376 148780 2763956   0   0 0 0  122   109  
30  70   0
15  0  3  0  61368 148780 2763956   0   0 052  155   143  
47  53   0
20  0  1  0  61368 148780 2763956   0   0 0 4  11057  
42  58   0
20  0  1  0  61368 148780 2763956   0   0 0 0  10864  
41  59   0
20  0  1  0  61368 148780 2763956   0   0 0 0  10638  
42  58   0
20  0  1  0  61368 148780 2763956   0   0 0 0  10565  
30  70   0
13  0  1  0  61368 148780 2763956   0   0 012  200   129  
36  64   0
13  0  1  0  61368 148780 2763956   0   0 0 0  10640  
27  73   0
14  0  0  0  61368 148780 2763956   0   0 0 0  14870  
34  66   0
20  0  0  0  61368 148780 2763956   0   0 0 0  12469  
41  59   0

[root@foo root]# iostat 1
Linux 2.4.18-3 (student0)   09/24/2002

avg-cpu:  %user   %nice%sys   %idle
   16.710.00   26.26   57.02

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-0   11.84 2.25   185.49 541354   44584762
dev8-1   11.83 1.68   185.49 403090   44584762

avg-cpu:  %user   %nice%sys   %idle
   35.000.00   65.000.00

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-04.00 0.00   112.00  0112
dev8-14.00 0.00   112.00  0112

avg-cpu:  %user   %nice%sys   %idle
   49.000.00   51.000.00

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-00.00 0.00 0.00  0  0
dev8-10.00 0.00 0.00  0  0

avg-cpu:  %user   %nice%sys   %idle
   46.000.00   54.000.00

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-00.00 0.00 0.00  0  0
dev8-10.00 0.00 0.00  0  0

avg-cpu:  %user   %nice%sys   %idle
   36.000.00   64.000.00

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-00.00 0.00 0.00  0  0
dev8-10.00 0.00 0.00  0  0


avg-cpu:  %user   %nice%sys   %idle
   16.700.00   26.24   57.07

Device:tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
dev8-0   11.85 2.25   185.63 541354   44582090
dev8-1   11.84 1.68   185.63 403090   44582090


uname -a
Linux foo 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown

Thanks!

On Tuesday, September 24, 2002, at 02:04  PM, Martin MOKREJŠ wrote:

> On Tue, 24 Sep 2002, John Coston wrote:
>
>> it's software RAID-1 using two fast wide scsi 36 gb discs. Filesystem
>> is ext3. We have one 30gb partition for share data, and the rest is 
>> for
>> system and swap.
>> here is some of output from dmesg:
>>
>> md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
>> md: Autodetecting RAID arrays.
>> <...>
>> scsi0 : sym53c8xx-1.7.3c-20010512
>> scsi1 : sym53c8xx-1.7.3c-20010512
>> blk: queue c3c57618, I/O limit 4095Mb (mask 0x)
>>Vendor: HPModel: 36.4GB C 80-8C32  Rev:
>>Type:   Direct-Access  ANSI SCSI revision: 02
>> blk: queue c3c57818, I/O limit 4095Mb (mask 0x)
>>Vendor: HP 36.4G  Model: MAN3367MC Rev: HP04
>>Type:   Direct-Access  ANSI SCSI revision: 02
>> <...>
>>
>> I'm not too swift on filesystems and discs, so let me know if there is
>> more info you need & thanks
>
> include output of:
>
> vmstat 1
> iostat 1
> uname -a
>
> -- 
> Martin Mokrejs <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
> MIPS / Institute for Bioinformatics 
> GSF - National Research Center for Environment and Health
> Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
> tel.: +49-89-3187 3683 , fax: +49-89-3187 3585
>

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



Re: [Samba] Samba performance issues

2002-09-24 Thread Martin MOKREJŠ

On Tue, 24 Sep 2002, John Coston wrote:

> it's software RAID-1 using two fast wide scsi 36 gb discs. Filesystem
> is ext3. We have one 30gb partition for share data, and the rest is for
> system and swap.
> here is some of output from dmesg:
>
> md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
> md: Autodetecting RAID arrays.
> <...>
> scsi0 : sym53c8xx-1.7.3c-20010512
> scsi1 : sym53c8xx-1.7.3c-20010512
> blk: queue c3c57618, I/O limit 4095Mb (mask 0x)
>Vendor: HPModel: 36.4GB C 80-8C32  Rev:
>Type:   Direct-Access  ANSI SCSI revision: 02
> blk: queue c3c57818, I/O limit 4095Mb (mask 0x)
>Vendor: HP 36.4G  Model: MAN3367MC Rev: HP04
>Type:   Direct-Access  ANSI SCSI revision: 02
> <...>
>
> I'm not too swift on filesystems and discs, so let me know if there is
> more info you need & thanks

include output of:

vmstat 1
iostat 1
uname -a

-- 
Martin Mokrejs <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics 
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585

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



Re: [Samba] Samba performance issues

2002-09-24 Thread Bradley W. Langhorst

try installing iostat
that should give you a measure of how much 
cpu time disk access costs you.

the hardware seems appropriate to me
I use software IDE raid 5

maybe there is some problem with your scsi driver??

brad
On Tue, 2002-09-24 at 16:51, John Coston wrote:
> it's software RAID-1 using two fast wide scsi 36 gb discs. Filesystem 
> is ext3. We have one 30gb partition for share data, and the rest is for 
> system and swap.
> here is some of output from dmesg:
> 
> md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
> md: Autodetecting RAID arrays.
> <...>
> scsi0 : sym53c8xx-1.7.3c-20010512
> scsi1 : sym53c8xx-1.7.3c-20010512
> blk: queue c3c57618, I/O limit 4095Mb (mask 0x)
>Vendor: HPModel: 36.4GB C 80-8C32  Rev:
>Type:   Direct-Access  ANSI SCSI revision: 02
> blk: queue c3c57818, I/O limit 4095Mb (mask 0x)
>Vendor: HP 36.4G  Model: MAN3367MC Rev: HP04
>Type:   Direct-Access  ANSI SCSI revision: 02
> <...>
> 
> I'm not too swift on filesystems and discs, so let me know if there is 
> more info you need & thanks
> 
> 
> On Tuesday, September 24, 2002, at 01:40  PM, Bradley W. Langhorst 
> wrote:
> 
> >
> > On Tue, 2002-09-24 at 15:57, John Coston wrote:
> >>   12:46pm  up 2 days, 17:14,  3 users,  load average: 20.24, 20.26, 
> >> 20.51
> >> 129 processes: 106 sleeping, 23 running, 0 zombie, 0 stopped
> >> CPU states: 36.1% user, 63.8% system,  0.0% nice,  0.0% idle
> >> Mem:  3229040K av, 3166372K used,   62668K free,   0K shrd,
> >
> > i have about 20 users on a 900Mhz machine with 100G of storage (only
> > 384M ram)
> >
> > i don't think it's ever been cpu bound as a result of samba activity.
> >
> > that 63.8% system seems out of whack...
> > what is the disk subsystem?
> >
> > brad
> >
> >
> 
> 
> 


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



Re: [Samba] Samba performance issues

2002-09-24 Thread John Coston

it's software RAID-1 using two fast wide scsi 36 gb discs. Filesystem 
is ext3. We have one 30gb partition for share data, and the rest is for 
system and swap.
here is some of output from dmesg:

md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
<...>
scsi0 : sym53c8xx-1.7.3c-20010512
scsi1 : sym53c8xx-1.7.3c-20010512
blk: queue c3c57618, I/O limit 4095Mb (mask 0x)
   Vendor: HPModel: 36.4GB C 80-8C32  Rev:
   Type:   Direct-Access  ANSI SCSI revision: 02
blk: queue c3c57818, I/O limit 4095Mb (mask 0x)
   Vendor: HP 36.4G  Model: MAN3367MC Rev: HP04
   Type:   Direct-Access  ANSI SCSI revision: 02
<...>

I'm not too swift on filesystems and discs, so let me know if there is 
more info you need & thanks


On Tuesday, September 24, 2002, at 01:40  PM, Bradley W. Langhorst 
wrote:

>
> On Tue, 2002-09-24 at 15:57, John Coston wrote:
>>   12:46pm  up 2 days, 17:14,  3 users,  load average: 20.24, 20.26, 
>> 20.51
>> 129 processes: 106 sleeping, 23 running, 0 zombie, 0 stopped
>> CPU states: 36.1% user, 63.8% system,  0.0% nice,  0.0% idle
>> Mem:  3229040K av, 3166372K used,   62668K free,   0K shrd,
>
> i have about 20 users on a 900Mhz machine with 100G of storage (only
> 384M ram)
>
> i don't think it's ever been cpu bound as a result of samba activity.
>
> that 63.8% system seems out of whack...
> what is the disk subsystem?
>
> brad
>
>

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



Re: [Samba] Samba performance issues

2002-09-24 Thread Bradley W. Langhorst


On Tue, 2002-09-24 at 15:57, John Coston wrote:
>   12:46pm  up 2 days, 17:14,  3 users,  load average: 20.24, 20.26, 20.51
> 129 processes: 106 sleeping, 23 running, 0 zombie, 0 stopped
> CPU states: 36.1% user, 63.8% system,  0.0% nice,  0.0% idle
> Mem:  3229040K av, 3166372K used,   62668K free,   0K shrd,  

i have about 20 users on a 900Mhz machine with 100G of storage (only
384M ram)

i don't think it's ever been cpu bound as a result of samba activity.

that 63.8% system seems out of whack...
what is the disk subsystem?

brad


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



[Samba] Samba performance issues

2002-09-24 Thread John Coston

Hi all
We are implementing samba-ldap to act as an nt pdc and are seeing 
performance problems.
We have a 1ghz, 3gb Ram, 36gb box that is running samba-2.2.5 and 
openldap-2.0.23 under redhat 7.3 with kernel 2.4.18-3.
Clients are all Win2k SP3.
All the ldap requests are to the localhost interface.
The box is acting as the PDC for the domain, and also sharing diskspace 
and printers.
When we get around 30-40 smbd processes running everything slows to a 
crawl. we have about 30 slapd processes running, and the total process 
count for the box is about 130 at this point.
here is the output of top at this point:
  12:46pm  up 2 days, 17:14,  3 users,  load average: 20.24, 20.26, 20.51
129 processes: 106 sleeping, 23 running, 0 zombie, 0 stopped
CPU states: 36.1% user, 63.8% system,  0.0% nice,  0.0% idle
Mem:  3229040K av, 3166372K used,   62668K free,   0K shrd,  
148480K buff
Swap:  513976K av,   0K used,  513976K free 
2758060K cached

We would like to support about 100 simultaneous users.
We were using mandatory server based profiles, but have discontinued 
them to try and improve performance.
So, my questions are:

1. Is the amount of processes desired unreasonable for the hardware?

2. If so, does anybody have some figures on users supported for a 
particular hardware configuration?

3. We are seeing (using smbstatus) exclusive oplocks on files that are 
on read-only (both in the share definition and the filesystem 
permissions) shares. Should this be happening? Could we use 
fake_oplocks on the share to improve performance?

4. Has anybody had any luck with mandatory server-based profiles?

any help or suggestions would be greatly appreciated.
John

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