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 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 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 <http://mips.gsf.de>
> 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

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 <http://mips.gsf.de>
>> 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 <http://mips.gsf.de>
> 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

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



[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