Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2002 18:19:09 -0800 (PST)
From:      Thomas Cannon <tcannon@noops.org>
To:        Storms of Perfection <gary@outloud.org>
Cc:        <questions@FreeBSD.ORG>
Subject:   Re: Performance Tuning FreeBSD
Message-ID:  <20020129181509.S87286-100000@stereophonic.noops.org>
In-Reply-To: <2369.208.141.46.249.1012356324.squirrel@test.outloud.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi.

Your question is pretty general, and most of what people would write is
just a repeat of what it well documented a few other places. Allow me to
kindly direct you to:

http://httpd.apache.org/docs/misc/perf.html

and

http://www.daemonnews.org/200108/benchmark.html

They should help you quite a bit. If you go through all that and still
have out of control loads, you might need to throw some hardware at the
problem.

Also, it helps others on the list (and people digging through this later
in archive form) if you have a subject line relating to the issue.

Cheers,

Thomas



On Tue, 29 Jan 2002, Storms of Perfection wrote:

> Maybe someone can help me with a problem.
>
> I have a pretty beefy webserver, with 3 gigs of memory. The load average on
> the machine is really high, when apache loads. Disk swapping is also high.
> Apache is almost bare with a couple of modules installed. The content I am
> deleving is static content. My kernel config is generic also, but I need
> some advice on what I can do to get the load down to < 20 (highest I've
> seen it was around 200)
>
> Copyright (c) 1992-2001 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.4-RELEASE #0: Tue Jan 29 17:40:38 GMT 2002
>     rob@rcp-2u.rcp.net:/usr/src/sys/compile/WORK
> Timecounter "i8254"  frequency 1193182 Hz
> CPU: Pentium III/Pentium III Xeon/Celeron (999.52-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
>
> Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
> CMOV,PAT,PSE36,MMX,FXSR,SSE>
> real memory  = 3221159936 (3145664K bytes)
> avail memory = 3130433536 (3057064K bytes)
> Programming 16 pins in IOAPIC #0
> IOAPIC #0 intpin 2 -> irq 0
> Programming 16 pins in IOAPIC #1
> FreeBSD/SMP: Multiprocessor motherboard
>  cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
>  cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
>  io0 (APIC): apic id:  4, version: 0x000f0011, at 0xfec00000
>  io1 (APIC): apic id:  5, version: 0x000f0011, at 0xfec01000
> Preloaded elf kernel "kernel" at 0xc0498000.
> Pentium Pro MTRR support enabled
> md0: Malloc disk
> Using $PIR table, 9 entries at 0xc00f5260
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> pcib0: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
> IOAPIC #1 intpin 4 -> irq 2
> IOAPIC #1 intpin 6 -> irq 9
> pci0: <PCI bus> on pcib0
> pci0: <ATI Mach64-GR graphics accelerator> at 3.0 irq 2
> fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xd400-0xd43f mem 0xfe600000-
> 0xfe6fffff,0xfe8fd000-0xfe8fdfff irq 9 at device 4.0 on pci0
> fxp0: Ethernet address 00:30:48:11:d3:8b
> inphy0: <i82555 10/100 media interface> on miibus0
> inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> fxp1: <Intel Pro 10/100B/100+ Ethernet> irq 0 at device 6.0 on pci0
> fxp1: could not map device registers
> device_probe_and_attach: fxp1 attach returned 6
> isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <ServerWorks ROSB4 ATA33 controller> port 0xffa0-0xffaf at device
> 15.1 on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata1: at 0x170 irq 15 on atapci0
> ohci0: <OHCI (generic) USB controller> mem 0xfe8fe000-0xfe8fefff irq 10 at
> device 15.2 on pci0
> usb0: OHCI version 1.0, legacy support
> usb0: <OHCI (generic) USB controller> on ohci0
> usb0: USB revision 1.0
> uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 4 ports with 4 removable, self powered
> pcib1: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
> IOAPIC #1 intpin 12 -> irq 11
> pci1: <PCI bus> on pcib1
> ahc0: <Adaptec aic7892 Ultra160 SCSI adapter> port 0xe800-0xe8ff mem
> 0xfebff000-0xfebfffff irq 11 at device 3.0 on pci1
> aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs
> orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcdfff,0xce000-
> 0xcefff on isa0
> 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=0x300>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1 at port 0x2f8-0x2ff irq 3 on isa0
> sio1: type 16550A
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/8 bytes threshold
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> APIC_IO: Testing 8254 interrupt delivery
> APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0
> intpin 2
> APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
> SMP: AP CPU #1 Launched!
> acd0: CDROM <MATSHITA CR-177> at ata0-master using PIO4
> Waiting 15 seconds for SCSI devices to settle
> Mounting root from ufs:/dev/da0s1a
> da0 at ahc0 bus 0 target 0 lun 0
> da0: <SEAGATE ST336752LC 0003> Fixed Direct Access SCSI-3 device
> da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing
> Enabled
> da0: 35003MB (71687369 512 byte sectors: 255H 63S/T 4462C)
> da2 at ahc0 bus 0 target 2 lun 0
> da2: <SEAGATE ST336752LC 0003> Fixed Direct Access SCSI-3 device
> da2: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing
> Enabled
> da2: 35003MB (71687369 512 byte sectors: 255H 63S/T 4462C)
> da1 at ahc0 bus 0 target 1 lun 0
> da1: <SEAGATE ST336752LC 0003> Fixed Direct Access SCSI-3 device
> da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing
> Enabled
> da1: 35003MB (71687369 512 byte sectors: 255H 63S/T 4462C)
> da3 at ahc0 bus 0 target 3 lun 0
> da3: <SEAGATE ST336752LC 0003> Fixed Direct Access SCSI-3 device
> da3: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing
> Enabled
> da3: 35003MB (71687369 512 byte sectors: 255H 63S/T 4462C)
> ccd0-3: Concatenated disk drivers
>
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


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




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