From owner-freebsd-smp Wed Mar 21 2:38:32 2001 Delivered-To: freebsd-smp@freebsd.org Received: from unit11.support.nl (unit11.support.nl [195.114.229.252]) by hub.freebsd.org (Postfix) with ESMTP id C99D637B719; Wed, 21 Mar 2001 02:38:19 -0800 (PST) (envelope-from marcel@support.nl) Received: from localhost (marcel@localhost) by unit11.support.nl (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id LAA15979; Wed, 21 Mar 2001 11:38:28 +0100 Date: Wed, 21 Mar 2001 11:38:28 +0100 (CET) From: Marcel Lemmen To: freebsd-scsi@freebsd.org, freebsd-smp@freebsd.org Subject: High load with FreeBSD 4.2-REL Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 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 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: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci0: 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: 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: on xl1 xlphy1: <3Com internal media interface> on miibus1 xlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: (vendor=0x8086, dev=0x1229) at 6.0 irq 9 isab0: at device 15.0 on pci0 isa0: on isab0 pci0: at 15.1 pci0: at 15.2 irq 0 pcib1: on motherboard pci1: on pcib1 ahc0: 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: 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: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: 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: 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: 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: 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: 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: 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: 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: 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