Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2003 18:26:44 +0200
From:      "Atte Peltomaki" <atte.peltomaki@iki.fi>
To:        freebsd-current@freebsd.org
Subject:   Performance problems with 5.0-RELEASE
Message-ID:  <20030123162644.GA560@naama>

next in thread | raw e-mail | index | archive | help
I've used 5.0-RELEASE for few days now, and I've been experiencing some
serious performance problems. I haven't had the time to examine it more
closely, and frankly, I have no clue where to start looking for. Perhaps
someone knows what this is all about.

Description:

Every time machine is under heavy load (CPU, network, disks) it
completely jamms for fraction of a second for every ten seconds or so,
everything just stops and then continues. I noticed this while compiling
software and copying files over NFS while listening to MP3's, later
realized it wasn't just MP3's that lagged, but the whole machine,
including console and everything. 

Hardware:

dual p3 800MHz on Abit VP6
512MB RAM
Tekram DC-390U2W
SCSI-only (IDE-controllers disabled from BIOS)
SB Live!
3c905c NIC

dmesg:

Copyright (c) 1992-2003 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 5.0-RELEASE #0: Mon Jan 20 03:07:25 EET 2003
    root@naama:/usr/src/sys/i386/compile/NAAMA
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0483000.
Preloaded elf module "/boot/kernel/snd_emu10k1.ko" at 0xc04830a8.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0483158.
Preloaded elf module "/boot/kernel/mga.ko" at 0xc0483204.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04832ac.
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (798.69-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 536805376 (511 MB)
avail memory = 516567040 (492 MB)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00178011, at 0xfec00000
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIA694 AWRDACPI> on motherboard
    ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
Using $PIR table, 8 entries at 0xc00fdbc0
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xd0000000-0xd3ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
drm0: <Matrox G400/G450 (AGP)> mem 0xd7000000-0xd77fffff,0xd6000000-0xd6003fff,0xd4000000-0xd5ffffff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xd0000000 64MB
info: [drm] Initialized mga 3.0.2 20010321 on minor 0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <bridge, PCI-unknown> at device 7.4 (no driver attached)
sym0: <895> port 0xdc00-0xdcff mem 0xda000000-0xda000fff,0xda001000-0xda0010ff irq 15 at device 10.0 on pci0
sym0: Tekram NVRAM, ID 7, Fast-40, LVD, parity checking
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xe000-0xe07f mem 0xda002000-0xda00207f irq 15 at device 11.0 on pci0
xl0: Ethernet address: 00:50:da:df:09:7b
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: <Creative EMU10K1> port 0xe400-0xe41f irq 10 at device 12.0 on pci0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
orm0: <Option ROMs> at iomem 0xca000-0xca7ff,0xc8000-0xc9fff,0xc0000-0xc7fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
Timecounters tick every 10.000 msec
Waiting 3 seconds for SCSI devices to settle
acpi_cpu: CPU throttling enabled, 2 steps from 100% to 50.0%
SMP: AP CPU #1 Launched!
cd0 at sym0 bus 0 target 6 lun 0
cd0: <PIONEER DVD-ROM DVD-304 1.03> Removable CD-ROM SCSI-2 device 
cd0: 20.000MB/s transfers (20.000MHz, offset 16)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at sym0 bus 0 target 3 lun 0
da0: <IBM DDYS-T18350N S93E> Fixed Direct Access SCSI-3 device 
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
Mounting root from ufs:/dev/da0s1a

kernel configuration:

Won't paste it all here now, but it's been stripped down to be as light 
as possible. 

modules:

Id Refs Address    Size     Name
 1    9 0xc0100000 2f6470   kernel
 2    1 0xc03f7000 7ef0     snd_emu10k1.ko
 3    2 0xc03ff000 1d128    snd_pcm.ko
 4    1 0xc041d000 19bf4    mga.ko
 5    1 0xc0437000 4a6ac    acpi.ko
 6    1 0xc152e000 3000     daemon_saver.ko


I hope someone could bring light to what's going on. Alltho I'm not whining,
I knew what I was getting myself into when I installed 5.0, it would be nice
get things solved, for FreeBSD's sake already.


Atte Peltomäki
http://kameli.org

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




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