On Sun, Jan 26, 2003 at 12:03:47AM -0500, Jeff Roberson wrote:
> I'm about to commit code that will make one of :
> 
> options SCHED_4BSD
> 
> or
> 
> options SCHED_ULE
> 
As far as I see, SCHED_ULE scheduler doesn't take advantage of having more
than 1 processor.
During make -j 6 buildworld, and other process that consumes as much of
computing power as he can, I get such output from top:
CPU states: 36.0% user,  0.0% nice, 13.8% system,  2.5% interrupt, 47.7% idle

Is it natural for this scheduler?
Dmesg attached.

Best regards,

Wiktor Niesiobedzki
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-CURRENT #10: Mon Jan 27 08:06:28 CET 2003
    root@portal:/usr/obj/usr/src/sys/PORTALSMP
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0439000.
Preloaded elf module "/boot/kernel/if_ed.ko" at 0xc04390a8.
Preloaded elf module "/boot/kernel/miibus.ko" at 0xc0439154.
Preloaded elf module "/boot/kernel/if_rl.ko" at 0xc0439200.
Preloaded elf module "/boot/kernel/random.ko" at 0xc04392ac.
Preloaded elf module "/boot/kernel/dummynet.ko" at 0xc0439358.
Preloaded elf module "/boot/kernel/ipfw.ko" at 0xc0439408.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04394b4.
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (534.55-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
  
Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 268369920 (255 MB)
avail memory = 256094208 (244 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: 0x00170011, at 0xfec00000
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ABIT   AWRDACPI> on motherboard
    ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
Using $PIR table, 8 entries at 0xc00fd7e0
    ACPI-0438: *** Error: Looking up [\\_PR_.CPU0] in namespace, AE_NOT_FOUND
    ACPI-1287: *** Error: Method execution failed, AE_NOT_FOUND
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-safe"  frequency 3579545 Hz
    ACPI-1287: *** Error: Method execution failed, AE_AML_UNINITIALIZED_LOCAL
can't fetch resources for \\_SB_.PCI0.ISA_.FDC0 - AE_AML_UNINITIALIZED_LOCAL
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_tz0: <thermal zone> on acpi0
    ACPI-0438: *** Error: Looking up [\\_PR_.CPU0] in namespace, AE_NOT_FOUND
    ACPI-1287: *** Error: Method execution failed, AE_NOT_FOUND
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0x5000-0x500f,0x4000-0x4041,0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
IOAPIC #0 intpin 19 -> irq 2
IOAPIC #0 intpin 18 -> irq 10
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
IOAPIC #0 intpin 16 -> irq 11
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, USB> at device 7.2 (no driver attached)
Timecounter "PIIX"  frequency 3579545 Hz
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX> port 0xc400-0xc4ff mem 0xdb400000-0xdb4000ff irq 2 at 
device 9.0 on pci0
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
rl0: Ethernet address: 00:02:44:45:6e:27
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0xc800-0xc81f irq 10 at device 11.0 on 
pci0
ed0: address 52:54:05:f6:9c:6b, type NE2000 (16 bit) 
atapci1: <HighPoint HPT366 ATA66 controller> port 
0xd400-0xd4ff,0xd000-0xd003,0xcc00-0xcc07 irq 10 at device 19.0 on pci0
ata2: at 0xcc00 on atapci1
atapci2: <HighPoint HPT366 ATA66 controller> port 
0xe000-0xe0ff,0xdc00-0xdc03,0xd800-0xd807 irq 10 at device 19.1 on pci0
ata3: at 0xd800 on atapci2
fdc0: cannot reserve I/O port range (1 ports)
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
fdc0: cannot reserve I/O port range (1 ports)
pmtimer0 on isa0
orm0: <Option ROMs> at iomem 0xef000-0xeffff,0xc0000-0xc9fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: cannot reserve I/O port range (6 ports)
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
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
DUMMYNET initialized (011031)
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, 
logging disabled
IP Filter: v3.4.29 initialized.  Default = pass all, Logging = enabled
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
ad0: 515MB <WDC AC2540H> [1048/16/63] at ata0-master PIO3
ad2: 58644MB <IC35L060AVER07-0> [119150/16/63] at ata1-master UDMA33
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/ad0s1a
tun0: promiscuous mode enabled
    ACPI-0438: *** Error: Looking up [\\_PR_.CPU0] in namespace, AE_NOT_FOUND
    ACPI-1287: *** Error: Method execution failed, AE_NOT_FOUND
    ACPI-0438: *** Error: Looking up [\\_PR_.CPU0] in namespace, AE_NOT_FOUND
    ACPI-1287: *** Error: Method execution failed, AE_NOT_FOUND

Reply via email to