Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2001 11:38:28 +0100 (CET)
From:      Marcel Lemmen <marcel@support.nl>
To:        freebsd-scsi@freebsd.org, freebsd-smp@freebsd.org
Subject:   High load with FreeBSD 4.2-REL
Message-ID:  <Pine.LNX.4.21.0103211133260.13344-100000@unit11.support.nl>

next in thread | raw e-mail | index | archive | help
Hello,

I'm running FreeBSD 4.2-REL on a box dedicated for newsfeeding. The server
specs are PIII733/1024MB Ram/Adaptec 160/7x Seagate 18GB disks. The
problem is the load. The load averages are between 20-30!!! I've started a
discussion at the Diablo list, but they couldn't find anything strange.

The machine is working, currently 30Mbit/s input and 80Mbit/s output, it's
much, but shouldn't affect the load that much. On a previous server
(PIII450/256MB RAM/Adaptec 2940) the load was around 2, which should be
normal (also a bandwith eater..).

I think the problem is the Adaptec 29160 (PCI64) adapter in combination
with FreeBSD 4.2-REL. Or a kernel option I've forgotten ;)

The server mainboard is a Micro with a ServerWorks chipset and 2
processors slots (only 1 used). I've disabled as much as possible in the
kernel, even the SMP options (should these be enabled...). I've also
enable softupdates on the spool and set the maxuser to 512 in the
Kernel. An "iostat -d 1" looks good.

Below I've attached the dmesg and a top.

Please let me know if I've forgotten something or if you have any other
options!

Cheers,

Marcel Lemmen

 --------------------------------------------------------------
| Marcel Lemmen     | Support Net BV            |              |
| System Engineer   | beheer@support.nl         |         \|/  |
|                   |                           | ___.oO___|_  |
| Jobs@SupportNet   | http://jobs.supportnet.nl |              |
 --------------------------------------------------------------
     (It's a snowman in the desert next to a saguaro)


Top:
last pid:  3184;  load averages: 30.96, 31.26, 31.62    up 0+02:23:06
11:30:25
213 processes: 16 running, 197 sleeping
CPU states: 26.4% user,  0.0% nice, 24.8% system, 36.0% interrupt, 12.8%
idle
Mem: 816M Active, 13M Inact, 134M Wired, 40M Cache, 112M Buf, 1820K Free
Swap: 512M Total, 17M Used, 495M Free, 3% Inuse

  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
  168 news      62   0  2652K  1100K RUN      6:00  2.69%  2.69% diablo
 3097 news      52   0  1188K   368K RUN      0:10  2.05%  2.05% dnewslink
 2876 news      55   0  1032K   360K RUN      0:27  1.95%  1.95% dnewslink
<snip>


DMESG:
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.2-RELEASE #12: Mon Mar 19 15:32:31 CET 2001
    support@news-x2.support.nl:/usr/src/sys/compile/NEWS-X2
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 732985260 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (732.99-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3

Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 1073676288 (1048512K bytes)
avail memory = 1042333696 (1017904K bytes)
Preloaded elf kernel "kernel" at 0xc02a1000.
ccd0-3: Concatenated disk drivers
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci0: <ATI Mach64-GP graphics accelerator> at 2.0 irq 11
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xd080-0xd0ff mem
0xfeafdf00-0xfeafdf7f irq 5 at device 3.0 on pci0
xl0: Ethernet address: 00:50:04:35:0a:49
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: <3Com 3c905B-TX Fast Etherlink XL> port 0xdc00-0xdc7f mem
0xfeafdf80-0xfeafdfff irq 15 at device 4.0 on pci0
xl1: Ethernet address: 00:50:04:35:0a:39
miibus1: <MII bus> on xl1
xlphy1: <3Com internal media interface> on miibus1
xlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <unknown card> (vendor=0x8086, dev=0x1229) at 6.0 irq 9
isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0
isa0: <ISA bus> on isab0
pci0: <Unknown PCI ATA controller> at 15.1
pci0: <OHCI USB controller> at 15.2 irq 0
pcib1: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
pci1: <PCI bus> on pcib1
ahc0: <Adaptec 29160 Ultra160 SCSI adapter> port 0xe800-0xe8ff mem
0xfebff000-0xfebfffff irq 10 at device 1.0 on pci1
aic7892: Wide Channel A, SCSI Id=7, 32/255 SCBs
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
Waiting 8 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s1a
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST318404LW 0006> Fixed Direct Access SCSI-3 device
da0: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing
Enabled
da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da4 at ahc0 bus 0 target 4 lun 0
da4: <SEAGATE ST318404LW 0006> Fixed Direct Access SCSI-3 device
da4: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing
Enabled
da4: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da3 at ahc0 bus 0 target 3 lun 0
da3: <SEAGATE ST318404LW 0006> Fixed Direct Access SCSI-3 device
da3: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing
Enabled
da3: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da2 at ahc0 bus 0 target 2 lun 0
da2: <SEAGATE ST318404LW 0006> Fixed Direct Access SCSI-3 device
da2: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing
Enabled
da2: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <SEAGATE ST318404LW 0006> Fixed Direct Access SCSI-3 device
da1: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing
Enabled
da1: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da6 at ahc0 bus 0 target 6 lun 0
da6: <SEAGATE ST318404LW 0006> Fixed Direct Access SCSI-3 device
da6: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing
Enabled
da6: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da5 at ahc0 bus 0 target 5 lun 0
da5: <SEAGATE ST318404LW 0006> Fixed Direct Access SCSI-3 device
da5: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing
Enabled
da5: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0103211133260.13344-100000>