[Samba] Samba performance issues

John Coston jcoston at u.washington.edu
Tue Sep 24 22:44:01 GMT 2002


Here is the dmesg file:

Linux version 2.4.18-3 (bhcompile at daffy.perf.redhat.com) (gcc version 
2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #1 Thu Apr 18 07:37:53 EDT 
2002
BIOS-provided physical RAM map:
  BIOS-e820: 0000000000000000 - 000000000009ec00 (usable)
  BIOS-e820: 000000000009ec00 - 00000000000a0000 (reserved)
  BIOS-e820: 00000000000e9400 - 0000000000100000 (reserved)
  BIOS-e820: 0000000000100000 - 00000000c7ff0000 (usable)
  BIOS-e820: 00000000c7ff0000 - 00000000c7fffc00 (ACPI data)
  BIOS-e820: 00000000c7fffc00 - 00000000c8000000 (ACPI NVS)
  BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
  BIOS-e820: 00000000fff80000 - 0000000100000000 (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 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After vendor init, caps: 0383fbff 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383fbff 00000000 00000000 00000000
CPU:             Common caps: 0383fbff 00000000 00000000 00000000
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 (rgooch at atnf.csiro.au)
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, Parity Checking
sym53c1010-33-1: on-chip RAM at 0xfd008000
sym53c1010-33-1: restart (scsi reset).
sym53c1010-33-1: handling phase mismatch from SCRIPTS.
sym53c1010-33-1: Downloading SCSI SCRIPTS.
scsi0 : sym53c8xx-1.7.3c-20010512
scsi1 : sym53c8xx-1.7.3c-20010512
blk: queue c3c57618, I/O limit 4095Mb (mask 0xffffffff)
   Vendor: HP        Model: 36.4GB C 80-8C32  Rev:
   Type:   Direct-Access                      ANSI SCSI revision: 02
blk: queue c3c57818, I/O limit 4095Mb (mask 0xffffffff)
   Vendor: HP 36.4G  Model: MAN3367MC         Rev: HP04
   Type:   Direct-Access                      ANSI SCSI revision: 02
blk: queue c3c57c18, I/O limit 4095Mb (mask 0xffffffff)
   Vendor: SDR       Model: GEM318            Rev: 0
   Type:   Processor                          ANSI SCSI revision: 02
blk: queue f7399c18, I/O limit 4095Mb (mask 0xffffffff)
sym53c1010-33-0-<0,0>: tagged command queue depth set to 8
sym53c1010-33-0-<2,0>: tagged command queue depth set to 8
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi0, channel 0, id 2, lun 0
sym53c1010-33-0-<0,*>: FAST-80 WIDE SCSI 160.0 MB/s (12.5 ns, offset 62)
SCSI device sda: 71132960 512-byte hdwr sectors (36420 MB)
Partition check:
  sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
sym53c1010-33-0-<2,*>: FAST-80 WIDE SCSI 160.0 MB/s (12.5 ns, offset 62)
SCSI device sdb: 71132960 512-byte hdwr sectors (36420 MB)
  sdb: sdb1 sdb2 sdb3 sdb4 < sdb5 sdb6 >
md: raid1 personality registered as nr 3
Journalled Block Device driver loaded
md: Autodetecting RAID arrays.
  [events: 00000012]
  [events: 00000010]
  [events: 00000012]
  [events: 00000012]
  [events: 00000012]
  [events: 00000012]
  [events: 00000010]
  [events: 00000012]
  [events: 00000012]
  [events: 00000012]
md: autorun ...
md: considering sdb6 ...
md:  adding sdb6 ...
md:  adding sda6 ...
md: created md0
md: bind<sda6,1>
md: bind<sdb6,2>
md: running: <sdb6><sda6>
md: sdb6's event counter: 00000012
md: sda6's event counter: 00000012
md: RAID level 1 does not need chunksize! Continuing anyway.
md0: max total readahead window set to 508k
md0: 1 data-disks, max readahead per data-disk: 508k
raid1: device sdb6 operational as mirror 1
raid1: device sda6 operational as mirror 0
raid1: raid set md0 active with 2 out of 2 mirrors
md: updating md0 RAID superblock on device
md: sdb6 [events: 00000013]<6>(write) sdb6's sb offset: 30898048
md: sda6 [events: 00000013]<6>(write) sda6's sb offset: 30898048
md: considering sdb5 ...
md:  adding sdb5 ...
md:  adding sda5 ...
md: created md3
md: bind<sda5,1>
md: bind<sdb5,2>
md: running: <sdb5><sda5>
md: sdb5's event counter: 00000012
md: sda5's event counter: 00000012
md: RAID level 1 does not need chunksize! Continuing anyway.
md3: max total readahead window set to 508k
md3: 1 data-disks, max readahead per data-disk: 508k
raid1: device sdb5 operational as mirror 1
raid1: device sda5 operational as mirror 0
raid1: raid set md3 active with 2 out of 2 mirrors
md: updating md3 RAID superblock on device
md: sdb5 [events: 00000013]<6>(write) sdb5's sb offset: 2049920
md: sda5 [events: 00000013]<6>(write) sda5's sb offset: 2049920
md: considering sdb3 ...
md:  adding sdb3 ...
md:  adding sda3 ...
md: created md4
md: bind<sda3,1>
md: bind<sdb3,2>
md: running: <sdb3><sda3>
md: sdb3's event counter: 00000012
md: sda3's event counter: 00000012
md: RAID level 1 does not need chunksize! Continuing anyway.
md4: max total readahead window set to 508k
md4: 1 data-disks, max readahead per data-disk: 508k
raid1: device sdb3 operational as mirror 1
raid1: device sda3 operational as mirror 0
raid1: raid set md4 active with 2 out of 2 mirrors
md: updating md4 RAID superblock on device
md: sdb3 [events: 00000013]<6>(write) sdb3's sb offset: 2049984
md: sda3 [events: 00000013]<6>(write) sda3's sb offset: 2049984
md: considering sdb2 ...
md:  adding sdb2 ...
md:  adding sda2 ...
md: created md2
md: bind<sda2,1>
md: bind<sdb2,2>
md: running: <sdb2><sda2>
md: sdb2's event counter: 00000010
md: sda2's event counter: 00000010
md: RAID level 1 does not need chunksize! Continuing anyway.
md2: max total readahead window set to 508k
md2: 1 data-disks, max readahead per data-disk: 508k
raid1: device sdb2 operational as mirror 1
raid1: device sda2 operational as mirror 0
raid1: raid set md2 active with 2 out of 2 mirrors
md: updating md2 RAID superblock on device
md: sdb2 [events: 00000011]<6>(write) sdb2's sb offset: 513984
md: sda2 [events: 00000011]<6>(write) sda2's sb offset: 513984
md: considering sdb1 ...
md:  adding sdb1 ...
md:  adding sda1 ...
md: created md1
md: bind<sda1,1>
md: bind<sdb1,2>
md: running: <sdb1><sda1>
md: sdb1's event counter: 00000012
md: sda1's event counter: 00000012
md: RAID level 1 does not need chunksize! Continuing anyway.
md1: max total readahead window set to 508k
md1: 1 data-disks, max readahead per data-disk: 508k
raid1: device sdb1 operational as mirror 1
raid1: device sda1 operational as mirror 0
raid1: raid set md1 active with 2 out of 2 mirrors
md: updating md1 RAID superblock on device
md: sdb1 [events: 00000013]<6>(write) sdb1's sb offset: 52096
md: sda1 [events: 00000013]<6>(write) sda1's sb offset: 52096
md: ... autorun DONE.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 280k freed
Adding Swap: 513976k swap-space (priority -1)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xf88c8000, IRQ 15
usb-ohci.c: usb-00:0f.2, ServerWorks OSB4/CSB5 OHCI USB Controller
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 4 ports detected
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on md(9,4), internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on md(9,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on md(9,0), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on md(9,3), internal journal
EXT3-fs: mounted filesystem with ordered data mode.


On Tuesday, September 24, 2002, at 03:07  PM, 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? 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 <mmokrejs at natur.cuni.cz>, <m.mokrejs at gsf.de>
> 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
>
>




More information about the samba mailing list