Re: [Samba] Performance issues: have eliminated disk and network as cause

2010-04-01 Thread James Cort
Just been told the config file didn't appear in the email as it went out
(even though it certainly appears in the copy I've got), so I'm attaching
inline this time.

Oh, BTW:  it's version 3.4.7 on Debian Lenny, installed from backports.

[global]
workgroup = U4EATECH
netbios name = tiamat
enable privileges = yes
server string = Primary Domain Controller %v
security = user
local master = no
os level = 33
domain master = no
preferred master = no
encrypt passwords = true
null passwords = no
hide unreadable = yes
hide dot files = yes
obey pam restrictions = Yes
unix password sync = Yes
remote browse sync = 172.30.20.109 172.30.20.130 172.27.0.6
enhanced browsing = yes
passwd program = /usr/sbin/smbldap-passwd %u
 passwd chat = "Changing UNIX and samba passwords for*\nNew password*" %n\n
"*Retype new password*" %n\n"
ldap passwd sync = Yes
log level = 0
syslog = 1
log file = /var/log/samba/log.%m
max log size = 1000
read raw = yes
write raw = yes
kernel oplocks = yes
max xmit = 65535
dead time = 15
use sendfile = yes
socket options =  TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY
getwd cache = yes
mangling method = hash2
Dos charset = 850
Unix charset = ISO8859-1

logon script = logon.bat
logon path =
logon home = \\atlas\%U
logon drive = H:
domain logons = Yes
wins server = 172.30.20.109
#name resolve order = hosts bcast
name resolve order = wins lmhosts hosts bcast
dns proxy = yes
time server = yes
passdb backend = ldapsam:"ldap://ldap.u4eatech.com/ ldap://
ldap-slave.u4eatech.com"
ldap admin dn = cn=smbadmin,dc=u4eatech,dc=com
ldap suffix = dc=u4eatech,dc=com
ldap group suffix = ou=Group
ldap user suffix = ou=People
ldap machine suffix = ou=Hosts
ldap idmap suffix = ou=People
ldap ssl = no
add user script = /usr/sbin/smbldap-useradd -m "%u"
ldap delete dn = Yes
delete user script = /usr/sbin/smbldap-userdel "%u"
add machine script = /usr/sbin/smbldap-useradd -w "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/sbin/smbldap-groupdel "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u"
"%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
load printers = no
create mask = 0640
directory mask = 0750
nt acl support = Yes
guest account = nobody
dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd
#show add printer wizard = yes
; to maintain capital letters in shortcuts in any of the profile
folders:
preserve case = yes
short preserve case = yes
case sensitive = no

[netlogon]

path = /home/samba/netlogon
guest ok = yes
browseable = No
read only = no

[wpkg]
path = /home/samba/wpkg
read only = yes
guest ok = yes
browseable = no
[homes]
comment = Home Directories
browseable = yes
writable = yes
oplocks = yes

GOS Networks Limited, 1 Friary, Temple Quay, Bristol, BS1 6EA, UK.

Registered company number: 6917663
 

The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. When addressed to our clients any
opinions or advice contained in this email are subject to the terms and
conditions expressed in the governing GOS Networks agreement.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Performance issues: have eliminated disk and network as cause

2010-03-31 Thread James Cort
Hi,

I'm not entirely happy with the performance I'm seeing using Samba, and I
wonder if anyone can shine any light.

The server is a Dell PowerEdge 2950 with hardware RAID10, 4GB RAM and a
quad-core Intel Xeon processor.  It's not live yet, so there's no load from
other tasks.

I've already eliminated the RAID (able to sustain 130-140MB/s for
reads/writes) and the network (GigE, tar | nc to this server and untar'd at
the other end sustains 8-900Mbps) as bottlenecks, which leaves me dealing
with Samba.

Samba is peaking at around 280Mbps (reading and writing a single 500MB file)
and normal performance (which I have benchmarked with a 350MB directory
containing about 1,000 files of various sizes up to 2MB) is closer to
90-100Mbps (write), 117Mbps (read).  This is with a Windows XP client, using
smbmount from a Linux client is not appreciably faster.

Obviously there's going to be a much larger overhead associated with SMB
versus netcat, but 3.5-8 times slower?

I have attached my smb.conf (though I have removed most of the shares for
brevity's sake), in the hope that someone can help.


James.

GOS Networks Limited, 1 Friary, Temple Quay, Bristol, BS1 6EA, UK.

Registered company number: 6917663
 

The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. When addressed to our clients any
opinions or advice contained in this email are subject to the terms and
conditions expressed in the governing GOS Networks agreement.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

[Samba] Performance issues after samba update (utime?)

2008-02-26 Thread Alex Still
Hi all,

We're experiencing performance issues after migrating from 3.0.8 to 3.0.28.
Write performance has degraded about 30%, regardless of the size of file
being copied. (tests described below are a single 150Mb file copy from an XP
explorer)

The setup is somewhat peculiar as the server is mounting NFS shares (v3) and
exporting these.
smb.conf hasn't changed, save for the addition of "msdfs root = no"

Comparing smbd truss output between these version shows a likely culprit :
3.0.28 is doing lots of utime() calls, and these take a long time on an NFS
share.

Someone seems to have encountered this issue before :
http://readlist.com/lists/lists.samba.org/samba/3/16790.html

But I see no followups to this.
Any way to fall back to the old behavior, with less utime calls ?
Failing that I'd be happy to get any recommandations you guys might have in
order to mitigate the issue (or tell me that this is a red herring and I
should look elsewhere :-) )

A few details on the environment : solaris 10, nfs v3 with mount options set
to hard,tcp,rsize=4096,wsize=4096

Cheers

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


Re: [Samba] Performance issues

2005-10-08 Thread Ryan Wright
Thank you both for your replies.

> I can't guarantee that this will solve your problem, but since you
> mention that you've replaced a server, there's a good chance that there
> are some stale & invalid shortcuts lying around. It could be that
> Windows periodically is going out there looking for these nonexistent
> shares, and in the process interrupts your connection. Hey, it's worth a
> shot.

I'll give it a try. That makes sense and won't take much time to test.

Appreciate it,

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

Re: [Samba] Performance issues

2005-10-07 Thread Jonathan Johnson
I have seen performance issues where a Windows client (Explorer) takes a 
while to display a file listing on a remote computer, but then it 
accesses it just fine. Generally speaking, this is the opposite of what 
you describe, but it could be related.


In investigating this, the problem (not the symptom, the actual problem) 
turned out to be invalid shortcuts to network shares. These invalid 
shortcuts are left behind from when a server or share once existed on 
the network but has since been removed.


When initially browsing the network, Windows attempts to access all the 
remote shares it knows about BEFORE displaying any listings, rather than 
accessing the remote share only if the user requests it. This seems to 
be especially problematic with Microsoft Word and Excel when opening 
documents.


There are several places to look for these stale or invalid shares:

1. "My Network Places" -- Open this up, and delete any shortcuts that 
point to remote servers or shares that no longer exist. It's actually 
safe to delete ALL of the network shortcuts (named like "Someshare on 
someserver (servername)"). Usually these are created automatically.


2. "My Computer" -- Disconnect (remove) any network drive mappings that 
point to nonexistent shares or servers.


3. "Desktop" -- same thing as My Network Places; remove any invalid 
shortcuts to network shares. I don't think that these cause a problem as 
described above, but it can't hurt to remove them.


4. Registry -- 
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints 
(MountPoints2 in XP or later) -- there may be subkeys in the form of 
##server#share. Delete any keys that point to nonexistent servers or shares.


Lastly, if you are using Windows XP or later, disable "Automatically 
search for network folders and printers." To do so, open My Computer, 
click Tools - Folder Options, View tab, and it's in there. When enabled, 
Windows will fill up your "My Network Places" with shortcuts to any 
network shares it finds, and will fill up your Printers folder with 
"Auto" printers.


Note that each of these things are on a PER PROFILE basis. You will need 
to check each Windows user login for these issues.


I can't guarantee that this will solve your problem, but since you 
mention that you've replaced a server, there's a good chance that there 
are some stale & invalid shortcuts lying around. It could be that 
Windows periodically is going out there looking for these nonexistent 
shares, and in the process interrupts your connection. Hey, it's worth a 
shot.


--Jonathan Johnson

Ryan Wright wrote:


List,

I apologize for the "newbie" nature of this post; I am sure there is
an easy answer somewhere, but I've tried all the search terms I can
think up and can't find it.

I have some video archived on a White Box 4 machine. I watch it on a
Windows XP box in the other room by mapping a drive to a Samba share.
Seemingly at random, my video stream will halt due to an inability to
receive data from the server. If I pause for a few seconds and resume,
everything is usually fine. This generally happens only once or twice
per hour, but it's annoying.

The video is not huge. We're talking ~350MB xvid files, 45 minutes
each (compressed network TV shows). The Samba server used to be a
Windows 2000 Server and the same video files worked perfectly from
there. Network is gigabit on the server side, 100mbit on the client
side - though even wireless should be able to stream these files.
Virtually no traffic on the network (just my computers and they mostly
sit idle unless I'm using them).

I saw this problem again last night when copying ~10GB worth of files
from another XP box to the Samba share. The copy stopped a couple of
times, telling me the network path no longer existed, but after
clicking OK I could still browse the share just fine. It's like an
intermittant, very temporary glitch.

Stats:
White Box Linux 4 (kernel 2.6.9-5)
Samba 3.0.10-1.4E

Relevant smb.conf:
[global]
   workgroup = WRIGHT
   netbios name = SATURN
   server string = Saturn
   security = domain
   idmap uid = 15000-2
   idmap gid = 15000-2
   winbind use default domain = Yes
   encrypt passwords = yes
   password server = jupiter

"jupiter" is a Win2k server & PDC.

Any advice would be greatly appreciated.

-Ryan
 


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


Re: [Samba] Performance issues

2005-10-07 Thread Jeremy Allison
On Fri, Oct 07, 2005 at 10:08:33AM -0700, Ryan Wright wrote:
> List,
> 
> I apologize for the "newbie" nature of this post; I am sure there is
> an easy answer somewhere, but I've tried all the search terms I can
> think up and can't find it.
> 
> I have some video archived on a White Box 4 machine. I watch it on a
> Windows XP box in the other room by mapping a drive to a Samba share.
> Seemingly at random, my video stream will halt due to an inability to
> receive data from the server. If I pause for a few seconds and resume,
> everything is usually fine. This generally happens only once or twice
> per hour, but it's annoying.
> 
> The video is not huge. We're talking ~350MB xvid files, 45 minutes
> each (compressed network TV shows). The Samba server used to be a
> Windows 2000 Server and the same video files worked perfectly from
> there. Network is gigabit on the server side, 100mbit on the client
> side - though even wireless should be able to stream these files.
> Virtually no traffic on the network (just my computers and they mostly
> sit idle unless I'm using them).
> 
> I saw this problem again last night when copying ~10GB worth of files
> from another XP box to the Samba share. The copy stopped a couple of
> times, telling me the network path no longer existed, but after
> clicking OK I could still browse the share just fine. It's like an
> intermittant, very temporary glitch.

This kind of thing is hard to debug. You need to keep very accurate
statistics on what is going on on the server over the copying period
to be able to debug this. I'd try running vmstat 1 (every second) and
capturing the output over the copying period to try and catch this.

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


[Samba] Performance issues

2005-10-07 Thread Ryan Wright
List,

I apologize for the "newbie" nature of this post; I am sure there is
an easy answer somewhere, but I've tried all the search terms I can
think up and can't find it.

I have some video archived on a White Box 4 machine. I watch it on a
Windows XP box in the other room by mapping a drive to a Samba share.
Seemingly at random, my video stream will halt due to an inability to
receive data from the server. If I pause for a few seconds and resume,
everything is usually fine. This generally happens only once or twice
per hour, but it's annoying.

The video is not huge. We're talking ~350MB xvid files, 45 minutes
each (compressed network TV shows). The Samba server used to be a
Windows 2000 Server and the same video files worked perfectly from
there. Network is gigabit on the server side, 100mbit on the client
side - though even wireless should be able to stream these files.
Virtually no traffic on the network (just my computers and they mostly
sit idle unless I'm using them).

I saw this problem again last night when copying ~10GB worth of files
from another XP box to the Samba share. The copy stopped a couple of
times, telling me the network path no longer existed, but after
clicking OK I could still browse the share just fine. It's like an
intermittant, very temporary glitch.

Stats:
White Box Linux 4 (kernel 2.6.9-5)
Samba 3.0.10-1.4E

Relevant smb.conf:
[global]
workgroup = WRIGHT
netbios name = SATURN
server string = Saturn
security = domain
idmap uid = 15000-2
idmap gid = 15000-2
winbind use default domain = Yes
encrypt passwords = yes
password server = jupiter

"jupiter" is a Win2k server & PDC.

Any advice would be greatly appreciated.

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

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


[Samba] Performance Issues

2004-11-03 Thread Simon Aridis-Lang
Hi,

 

I've noticed this type of issue has been raised a few times, but I
haven't been able to find a solution yet.  

 

I'm having transfer performance issues from various clients to my new
file server :

 

Server config is :

Athlon 3200+ on Nforce 2

Yukon Gb NIC

Gentoo with 2.6.9

samba 3.0.7-r1 ebuild

3Ware Escalade 9500S-12 x 2

Clients are XP SP2,2K3 on similar hardware and G5s with OS X 10.3, all
with Gb NICs on Cat6, and all of which are transferring like dogs ;(

 

smbmount from server to 2003Server transfers ok, but one directory with
~2500 files appears as empty!  Also, my old G4 w/Os X 10.2 is
transferring ok also... go figure.

 

# hdapram -t /dev/sda1

/dev/sda1:

 Timing buffered disk reads:  268 MB in  3.01 seconds =  88.96 MB/sec

 

During transfer smdb reports only 0.7  %cpu or thereabouts.  Various
changes to the socket options have not yielded any results. Winbind is
authenticating ok and I can't see anything in any of the logs which
would indicate a catastrophic problem.

 

smb.conf :

 

[global]

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

netbios name = VAULT

workgroup = DOMAIN

realm = DOMAIN.LOCAL

security = ADS

password server = dc.domain.local

wins server = dc.domain.local

dns proxy = no

wins proxy = no

encrypt passwords = yes

idmap uid = 1-2

winbind enum users = yes

winbind gid = 1-2

winbind enum groups = yes

winbind separator = +

os level = 20

preferred master = no

log level = 1

max log size = 50

log file = /var/log/samba/log.%m

 

[vault]

comment = Big Thing

writeable = yes

path = /mnt/vault

force user = vaultuser

valid users = DOMAIN+"Power Users"

 

Any help would be greatly appreciated.

 

Sincerely,

 

Simon

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


Re: [Samba] Performance Issues with GBit LAN

2004-10-13 Thread Steffen Timmermann
Now I have built the RAID into the other machine with 700 MHz Celeron and
the same GBit card. This Machine has also 384 MB of RAM, so this is upgraded
too.

The output of Bonnie tested on the Raid looks like:

[EMAIL PROTECTED] bonnie]# ./Bonnie
File './Bonnie.2324', size: 104857600
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
  ---Sequential Output ---Sequential
Input-- --Random--
  -Per Char- --Block--- -Rewrite-- -Per
Char- --Block--- --Seeks---
MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec
%CPU
  100  5084 99.0 47481 96.9 15686 15.0  5079 94.9 48069 23.0 558.3
5.6
[EMAIL PROTECTED] bonnie]#


I think, the CPU-Rates are better as before in the old machine.

Now the test on the (Now Onboard-IDE) 10 GB Seagate Harddisk /dev/hda/:

[EMAIL PROTECTED] bonnie]# ./Bonnie
File './Bonnie.2331', size: 104857600
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
  ---Sequential Output ---Sequential
Input-- --Random--
  -Per Char- --Block--- -Rewrite-- -Per
Char- --Block--- --Seeks---
MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec
%CPU
  100  4952 98.8 36262 47.8  9078  9.6  4356 87.7 48891 23.4 338.5
3.4
[EMAIL PROTECTED] bonnie]#


Here the CPU-Rates are better, too. So this should have been the first
bottleneck.

The dmesg now looks like:

[EMAIL PROTECTED] bonnie]# dmesg
Linux version 2.4.20-8 ([EMAIL PROTECTED]) (gcc version 3.2.2
20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009f800 (usable)
 BIOS-e820: 0009f800 - 000a (reserved)
 BIOS-e820: 000f - 0010 (reserved)
 BIOS-e820: 0010 - 17feb000 (usable)
 BIOS-e820: 17feb000 - 17fef000 (ACPI data)
 BIOS-e820: 17fef000 - 17fff000 (reserved)
 BIOS-e820: 17fff000 - 1800 (ACPI NVS)
 BIOS-e820:  - 0001 (reserved)
0MB HIGHMEM available.
383MB LOWMEM available.
On node 0 totalpages: 98283
zone(0): 4096 pages.
zone(1): 94187 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=linux ro
BOOT_FILE=/boot/vmlinuz-2.4.20-8 root=LABEL=/
Initializing CPU#0
Detected 701.604 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1399.19 BogoMIPS
Memory: 381976k/393132k available (1347k kernel code, 8592k reserved, 999k
data, 132k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0383f9ff   
CPU: Common caps: 0383f9ff   
CPU: Intel Celeron (Coppermine) stepping 06
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 0xf0d90, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Bridge
PCI: Using IRQ router PIIX [8086/2440] at 00:1f.0
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 version 1.2 Flags 0x03 (Driver version 1.16)
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ
SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2: IDE controller at PCI slot 00:1f.1
ICH2: chipset revision 2
ICH2: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xa800-0xa807, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xa808-0xa80f, BIOS settings: hdc:pio, hdd:pio
hda: 

Re: [Samba] Performance Issues with GBit LAN

2004-10-13 Thread Steffen Timmermann
Dimitar Vassilev wrote:

>Read the links and adjust your values accordingly. I haven't been able to
>implement all options, but I have a similar problem on 10/100mbit net with
a
>slack 10/2.6.8 kernel. The tips on netbios over tcp and computer browser
were
>given me by my net admin. The rest I googled and wrote down. Hope it helps.
>Please tell how it works.
>Regards,
>Dimitar Vassilev

I adjusted the settings, and i got a plus in performance of 1 MB so i get a
download of 9-10 MB now. But not what i expected. Anyway: thanks for your
help, it gave me a great insight in the configuration of the samba Server.

If i should Cc: you in the following mails, please let me know.

Regards,

Steffen Timmermann


Tom Hibbert wrote:

>Hi Steffen
>
>Looking at the configuration of the server PC, you have a Realtek
>network card and an unspecified RAID card on a P2 300. I'm guessing that
>the machine is based on an LX or BX chipset with PC66 or PC100 ram.

I looked it up and it's an ASUS P2B-LS Motherboard with the 440BX Chipset.

>You have 66mhz bandwidth to play with in the PCI bus. You also have
>66mhz FSB thanks to the PII 300 CPU. All the benchmarking you have done
>(both Iperf and hdparm) both test the two subsystems individually, not
>together. My initial guess is that your PCI bus and/or CPU cannot drive
>this system at its full potential. Look at the load average on the
>server during transfer.

The average loads are 0.23, 0.22, 0.12

I don't know what it means exactly, but i get them out of "top" during
transfer

>
>Secondly you are running Redhat 9 with a Realtek 8169. There were a
>number of issues with the stock Redhat 9 kernel versus a Realtek 8169,
>see here
>http://www.linuxquestions.org/questions/showthread.php?s=&threadid=14975
>1&highlight=8169. In fact these users are reporting only 8-10mb
>throughput which is exactly what you are describing.

I have tested the machine with Suse 8.2 before, but there's the same
problem. Maybe because the Kernel version is almost the same? (2.4.20)

>My advice to you is to roll a custom kernel for your system

I have once compiled a new kernel on another machine, but i'm not familiar
with it. Please tell me the commands i have to run for this.

>(optimized
>for Pentium 2, raid and network drivers built into kernel instead of
>modules).

At the Moment they're both modules [r8169.o (version 2.2 from realtek site)
and the raidcontroller (which is an ITE 8212)]

>Then perform a proper hard disk benchmark using Bonnie++ so
>you know what the disks are truly capable of (hdparm -t doesn't cut it
>in this respect).

I've done it. Here are the results:

On /dev/sda:

[EMAIL PROTECTED] bonnie]# ./Bonnie
File './Bonnie.1938', size: 104857600
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
  ---Sequential Output ---Sequential
Input-- --Random--
  -Per Char- --Block--- -Rewrite-- -Per
Char- --Block--- --Seeks---
MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec
%CPU
  100  2419 99.2 42898 85.5 58114 98.2  2378 99.5 154956 99.9 7765.2
99.0
[EMAIL PROTECTED] bonnie]#


On /dev/sdb:

[EMAIL PROTECTED] bonnie]# ./Bonnie
File './Bonnie.1926', size: 104857600
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
  ---Sequential Output ---Sequential
Input-- --Random--
  -Per Char- --Block--- -Rewrite-- -Per
Char- --Block--- --Seeks---
MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec
%CPU
  100  2259 99.6 27232 99.5 60478 93.3  2382 99.6 154711 101.2
7958.0 99.5
[EMAIL PROTECTED] bonnie]#

As I see, there is almost 100% CPU Used when the Program reads/writes
from/to the Harddisks. In this case, do you think upgrading the System to an
700 Mhz Celeron will bring more Performance? When I want to do so, i must
ensure that the data on the RAID isn't lost while transferring the harddisks
and the controller to the other PC, because it's too much to transfer on the
2nd PC. (By the Way: Do you know if the Data on the disks is lost when i
transfer the raid out of the one machine into another?)


>Then I would compare the difference between throughput serving from both
>your SCSI disk (sda) and RAID array with the benchmark data given by
>bonnie++. This may reveal a CPU or FSB bottleneck.
>
>
>Good luck and thanks
>
>Tom

Additional information about the System: This is the dmesg output:

[EMAIL PROTECTED] root]# dmesg
Linux version 2.4.20-8 ([EMAIL PROTECTED]) (gcc version 3.2.2
20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009f800 (usable)
 BIOS-e820: 0009f800 - 000a

RE: [Samba] Performance Issues with GBit LAN

2004-10-12 Thread Tom Hibbert

Hi Steffen
>At first: Thanks for the response.

>Here are the performance Measures of my Harddisks in the Server. As the
>Harddisks are not connected to the Onboard IDE, they're not limited to
9
>MB/sec

>/dev/sdb is the RAID 0, Connected to the PCI Raid Controller Card. The
only
>Share Samba provides is on the RAID, so performance should be enough.

>/dev/sdb:
>Timing buffered disk reads:  64 MB in  1.55 seconds = 41.29 MB/sec

>(Redhat9.0, 256 SD-RAM, 300MHz PII, RTL8169 NIC, 2x Western Digital
WD200JB >RAID 0) to my Windows-PC(AMD Athlon XP 1800+, 1024 MB DDR-RAM,
WINXP PRO, >RTL8169 NIC, 2x Western Digital WD080JB RAID 0)

Looking at the configuration of the server PC, you have a Realtek
network card and an unspecified RAID card on a P2 300. I'm guessing that
the machine is based on an LX or BX chipset with PC66 or PC100 ram.
You have 66mhz bandwidth to play with in the PCI bus. You also have
66mhz FSB thanks to the PII 300 CPU. All the benchmarking you have done
(both Iperf and hdparm) both test the two subsystems individually, not
together. My initial guess is that your PCI bus and/or CPU cannot drive
this system at its full potential. Look at the load average on the
server during transfer.

Secondly you are running Redhat 9 with a Realtek 8169. There were a
number of issues with the stock Redhat 9 kernel versus a Realtek 8169,
see here
http://www.linuxquestions.org/questions/showthread.php?s=&threadid=14975
1&highlight=8169. In fact these users are reporting only 8-10mb
throughput which is exactly what you are describing.

My advice to you is to roll a custom kernel for your system (optimized
for Pentium 2, raid and network drivers built into kernel instead of
modules). Then perform a proper hard disk benchmark using Bonnie++ so
you know what the disks are truly capable of (hdparm -t doesn't cut it
in this respect).
Then I would compare the difference between throughput serving from both
your SCSI disk (sda) and RAID array with the benchmark data given by
bonnie++. This may reveal a CPU or FSB bottleneck.


Good luck and thanks

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


Re: [Samba] Performance Issues with GBit LAN

2004-10-12 Thread Steffen Timmermann
At first: Thanks for the response.

Here are the performance Measures of my Harddisks in the Server. As the
Harddisks are not connected to the Onboard IDE, they're not limited to 9
MB/sec

/dev/sda is the SCSI HDD where Redhat 9.0 is installed on.

/dev/sdb is the RAID 0, Connected to the PCI Raid Controller Card. The only
Share Samba provides is on the RAID, so performance should be enough.

[EMAIL PROTECTED] /]# hdparm -t /dev/sda

/dev/sda:
 Timing buffered disk reads:  64 MB in  5.42 seconds = 11.81 MB/sec
[EMAIL PROTECTED] /]# hdparm -t /dev/sdb

/dev/sdb:
 Timing buffered disk reads:  64 MB in  1.55 seconds = 41.29 MB/sec

- Original Message - 
From: "Dimitar Vassilev" <[EMAIL PROTECTED]>
To: "Holger Krull" <[EMAIL PROTECTED]>
Cc: "Steffen Timmermann" <[EMAIL PROTECTED]>; "Sambaliste"
<[EMAIL PROTECTED]>
Sent: Tuesday, October 12, 2004 7:40 PM
Subject: Re: [Samba] Performance Issues with GBit LAN


> В отговор на Holger Krull <[EMAIL PROTECTED]>:
> Please post your socket options.
Where do i find them?
> Disable computer browser from Control panel -> Administrative
Tools->Services
Wasn't disabled...done
> Enable Netbios over TCP
Wasn't enableddone
> set SO_RCVBUF and SO_SNDBUF to a value higher than 16386
How do I set the Buffersizes and on which machine?
> set dir caching.
Where do i set this?
> Get clients gigabit NICs
The Server and the Client both have the same GBit NIC with 8169 chipset.
> Best regards,
> Dimitar  Vassilev

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


Re: [Samba] Performance Issues with GBit LAN

2004-10-12 Thread Holger Krull
Steffen Timmermann schrieb:
I have 2 PC's connected with 1GBit NIC's. 

When I transfer a file from my File-Server
(Redhat9.0, 256 SD-RAM, 300MHz PII, RTL8169 NIC,
What Chipset? Maybe Intel BX? The at this time common Harddisk Interface 
 can't read faster than about 9MB per second.
If you use a separate PCI Card as Harddisk Interface enable PCI Buffers 
in Bios.

2x Western Digital WD200JB RAID 0) 
to my Windows-PC(AMD Athlon XP 1800+, 
1024 MB DDR-RAM, WINXP PRO, RTL8169 NIC,
2x Western Digital WD080JB RAID 0) with Samba,

i get Speeds around 8-9MB/sec. 
to be expected

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


[Samba] Performance Issues with GBit LAN

2004-10-12 Thread Steffen Timmermann
Hi.

I have 2 PC's connected with 1GBit NIC's. When I transfer a file from my 
File-Server(Redhat9.0, 256 SD-RAM, 300MHz PII, RTL8169 NIC, 2x Western Digital WD200JB 
RAID 0) to my Windows-PC(AMD Athlon XP 1800+, 1024 MB DDR-RAM, WINXP PRO, RTL8169 NIC, 
2x Western Digital WD080JB RAID 0) with Samba, i get Speeds around 8-9MB/sec. I think 
this is too low for an GBit Network, so i tested the NIC's with the Tool Iperf 
(http://dast.nlanr.net/Projects/Iperf/) and the throughput with this tool is 300 
Mbit/sec, so I think, i can get 20 MB/sec with Samba. The Bottleneck why its only 300 
Mbit is the "old" File-Server Hardware. I'm using CAT 6 Cables and a 8-Port GBit 
Switch. The Cards are running both at GBit speeds, as the Switch shows. So what's the 
reason for this Performance issues?

Any Help is greatly appreciated.

Greets,

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


Re: [Samba] Performance Issues with AutoCad 2003

2004-06-04 Thread Randy S
Have you tried dissabling the firewall just to test?
/R
Brian Merrell wrote:
Hello, we are using a Samba server (3.0.2a) here at work.  It's running on a dual 
1.4ghz opteron with two 250gig HD.  Everything seems to be running fine except for 
AutoCad (which is the main program we run).  Any time we try to save it can take up to 
10 seconds, or each time we try to print it can take about the same amount of time to 
bring up the print dialog. I am only serving about 6 workstations at a time.
We had the files on a Windows XP machine (not near as good hardware) and everything 
ran smoothly.
I have been searching on google and I have found a few hints, but I have not been able 
to increase my performance.
Here is smb.conf:
[global]
workgroup = WORK
security = USER
netbios name = SERVER
encrypt passwords = Yes
smb passwd file = /etc/samba/private/smbpasswd
[Drawings]
path = /fileservice/drawings
writeable = Yes
browseable = Yes
read only = No
guest ok = No
comment = autocad related files and misc files
valid users = drafter
[Topowork]
path = /fileservice/topowork
writeable = Yes
browseable = Yes
read only = No
guest ok = No
comment = adobe related files
valid users = drafter
hosts allow = 127.0.0.1 10.0.0.0/24
hosts deny = 0.0.0.0/0
Thanks for the help
==
Brian G. Merrell
   Graphics & Networking
  Tri-State Land Surveying
  435-781-2501
==
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Performance Issues with AutoCad 2003

2004-06-04 Thread Brian Merrell
Hello, we are using a Samba server (3.0.2a) here at work.  It's running on a dual 
1.4ghz opteron with two 250gig HD.  Everything seems to be running fine except for 
AutoCad (which is the main program we run).  Any time we try to save it can take up to 
10 seconds, or each time we try to print it can take about the same amount of time to 
bring up the print dialog. I am only serving about 6 workstations at a time.

We had the files on a Windows XP machine (not near as good hardware) and everything 
ran smoothly.

I have been searching on google and I have found a few hints, but I have not been able 
to increase my performance.

Here is smb.conf:


[global]

workgroup = WORK
security = USER
netbios name = SERVER
encrypt passwords = Yes
smb passwd file = /etc/samba/private/smbpasswd

[Drawings]

path = /fileservice/drawings
writeable = Yes
browseable = Yes
read only = No
guest ok = No
comment = autocad related files and misc files
valid users = drafter

[Topowork]

path = /fileservice/topowork
writeable = Yes
browseable = Yes
read only = No
guest ok = No
comment = adobe related files
valid users = drafter

hosts allow = 127.0.0.1 10.0.0.0/24
hosts deny = 0.0.0.0/0


Thanks for the help

==
Brian G. Merrell
   Graphics & Networking
  Tri-State Land Surveying
  435-781-2501
==
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] performance issues

2003-03-14 Thread Peter Carpenter
Have you tried "deadtime = 15" or similar in your smb.conf?

-Original Message-
From: Mark Le Noury [mailto:[EMAIL PROTECTED]
Sent: Friday, 14 March, 2003 7:31 AM
To: Samba (E-mail)
Subject: [Samba] performance issues


Hi,

I have compiled and am running samba version 2.2.7.a on Redhat linux 7.3. I
am having some performance issues with it and was wondering if I was doing
something wrong.

I have noticed that if I use samba in security = server mode, every time a
new connection is made to the server from the same client a new smbd process
is started. It also seems as if the process only ends when the client
machine is rebooted.

When I use the server in security = user mode, every time a new connection
is made from a different client a new process is started. It also only seems
to kill the process when the client is rebooted.

I end up with a lot of processes running on the fileserver and sometimes the
machine locks up and complains about the max file limit being reached. I
have found a workaround by increasing the file-max value in /proc/sys/fs.

I was just wondering if there is a way to get the processes to die as soon
as the client disconnects from the server - maybe I have omitted something
when running the configure command??

I was also wondering if it is the default behaviour of samba to spawn new
processes every time a connection is made? Is it possible to change this
behaviour?

thanks in advance,

Mark Le Noury

-- 
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] performance issues

2003-03-13 Thread Mark Le Noury
Hi,

I have compiled and am running samba version 2.2.7.a on Redhat linux 7.3. I
am having some performance issues with it and was wondering if I was doing
something wrong.

I have noticed that if I use samba in security = server mode, every time a
new connection is made to the server from the same client a new smbd process
is started. It also seems as if the process only ends when the client
machine is rebooted.

When I use the server in security = user mode, every time a new connection
is made from a different client a new process is started. It also only seems
to kill the process when the client is rebooted.

I end up with a lot of processes running on the fileserver and sometimes the
machine locks up and complains about the max file limit being reached. I
have found a workaround by increasing the file-max value in /proc/sys/fs.

I was just wondering if there is a way to get the processes to die as soon
as the client disconnects from the server - maybe I have omitted something
when running the configure command??

I was also wondering if it is the default behaviour of samba to spawn new
processes every time a connection is made? Is it possible to change this
behaviour?

thanks in advance,

Mark Le Noury

-- 
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