Re: SCHED_4BSD in RELENG_7 disturbs workflow

From: [LoN]Kamikaze <LoN_Kamikaze_at_gmx.de>
Date: Tue, 16 Oct 2007 22:34:54 +0200
Jeff Roberson wrote:
> On Tue, 16 Oct 2007, [LoN]Kamikaze wrote:
> 
>> Jeff Roberson wrote:
>>> On Tue, 16 Oct 2007, Kris Kennaway wrote:
>>>
>>>> [LoN]Kamikaze wrote:
>>>>> I know that RELENG_7 is not considered very near-release, but I
>>>>> thought I'd
>>>>> give my 2ยข in the hope that I might have a little influence on the
>>>>> scheduler
>>>>> development to my benefit.
>>>>>
>>>>> The switch from RELENG_6 to RELENG_7 went relatively smooth and apart
>>>>> from ipw
>>>>> causing panics. However there is one thing that's disturbing and this
>>>>> is the
>>>>> scheduler. I only have single core machines, so whatever I say only
>>>>> applies to
>>>>> those. If you think single-core machines are no longer important,
>>>>> feel free to
>>>>> ignore this. In deed, just ignore me however much you like.
>>>>>
>>>>>> From my perspective scheduling on RELENG_6 was way better. Even on a
>>>>>> full
>>>>> workload like a portupgrade the focused application (both in X and on
>>>>> the
>>>>> console) always received enough cycles to run smoothly and
>>>>> applications that
>>>>> ran in background like audio players also kept on running fine.
>>>>>
>>>>> Quite the contrary on RELENG_7. During a portupgrade or even worse
>>>>> 'pkgdb -L'
>>>>> (recovering lost dependencies) audio players (both graphical and
>>>>> mplayer)
>>>>> scatter, either because they don't get the hard-disk or CPU-cycles
>>>>> (which one,
>>>>> I don't know) and the focused application also often hangs. It just
>>>>> looks like
>>>>> occasionally (under load) everything freezes for a second and then
>>>>> goes on
>>>>> relatively normal.
>>>>>
>>>>> I've got the impression that things compile a little faster (that
>>>>> might be my
>>>>> imagination, though), but I'd rather have a smooth working experience.
>>>>>
>>>>> This is just my view of the situation and I suppose it is only one of
>>>>> many. I
>>>>> bid you be merciful with us single-core people, who cannot afford a
>>>>> slick
>>>>> multi-core machine, because we worry how to pay for our food at the
>>>>> end of the
>>>>> month.
>>>>
>>>> Not to say that any problems that might have developed with SCHED_4BSD
>>>> should not be fixed, but you should give SCHED_ULE a try since it
>>>> brings benefits even for single CPU systems (e.g. better interactive
>>>> response).
>>>
>>> It would indeed be good to know if ULE improves things for you.
>>> However, there have been a number of other reports about non-scheduler
>>> related regressions with x windows on 7.0.  I run 7.0 on a UP laptop
>>> without difficulty.  I wonder if it has something to do with a
>>> particular device or driver.
>>>
>>> Jeff
>>
>> Well, I'll certainly see soon. However I have switched from Xorg 7.2
>> to 7.3
>> first and that worked fine. Only after the update RELENG_6 to RELENG_7
>> did
>> those issues appear. I have now recompiled all my 700+ ports to rule out
>> compatibility problems (I had lots of panics before I did that, now
>> everything
>> is stable, unless I try to use my wireless device) and the performance
>> issue
>> remains.
>>
> 
> Can you give us a full dmesg?
> 
> Thanks,
> jeff

Ye ask and ye shall receive:

Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-PRERELEASE #0: Fri Oct 12 16:36:39 CEST 2007
    root_at_homeKamikaze.norad:/usr/obj/TPR40-7/i386/usr/src/sys/TPR40-7
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1300MHz (1295.80-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x695  Stepping = 5

Features=0xa7e9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
  Features2=0x180<EST,TM2>
real memory  = 1341521920 (1279 MB)
avail memory = 1300160512 (1239 MB)
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
ACPI Warning (tbfadt-0505): Optional field "Gpe1Block" has zero address or
length:        0    102C/0 [20070320]
acpi0: <IBM TP-1P> on motherboard
acpi0: [ITHREAD]
acpi_ec0: <Embedded Controller: GPE 0x1c, ECDT> port 0x62,0x66 on acpi0
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 4ff00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82855 host to AGP bridge> on hostb0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0x3000-0x30ff mem
0xe0000000-0xe7ffffff,0xc0100000-0xc010ffff irq 11 at device 0.0 on pci1
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0x1800-0x181f irq 11
at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0x1820-0x183f irq 11
at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0x1840-0x185f irq 11
at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
ehci0: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> mem 0xc0000000-0xc00003ff
irq 11 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
uhub3: 6 ports with 6 removable, self powered
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
cbb0: <TI1510 PCI-CardBus Bridge> irq 11 at device 0.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: [ITHREAD]
pci2: <network> at device 2.0 (no driver attached)
fwohci0: <Texas Instruments TSB43AB21/A/AI/A-EP> mem
0xc0206000-0xc02067ff,0xc0200000-0xc0203fff irq 11 at device 7.0 on pci2
fwohci0: [FILTER]
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:06:1b:00:20:12:aa:75
fwohci0: Phy 1394a available S400, 1 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x1488000
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:06:1b:12:aa:75
fwe0: Ethernet address: 02:06:1b:12:aa:75
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 00:06:1b:00:20:12:aa:75 _at_ 0xfffe00000000, S400,
maxrec 2048
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
fxp0: <Intel 82801DB (ICH4) Pro/100 VE Ethernet> port 0x8000-0x803f mem
0xc0205000-0xc0205fff irq 11 at device 8.0 on pci2
miibus0: <MII bus> on fxp0
inphy0: <i82562ET 10/100 media interface> PHY 1 on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:06:1b:e0:e4:eb
fxp0: [ITHREAD]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1860-0x186f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pcm0: <Intel ICH4 (82801DB)> port 0x1c00-0x1cff,0x18c0-0x18ff mem
0xc0000c00-0xc0000dff,0xc0000800-0xc00008ff irq 11 at device 31.5 on pci0
pcm0: [ITHREAD]
pcm0: <Analog Devices AD1981B AC97 Codec>
pci0: <simple comms, generic modem> at device 31.6 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Synaptics Touchpad, device ID 0
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio0: [FILTER]
sio1: <Generic IRDA-compatible device> port 0x2f8-0x2ff irq 3 drq 3 on acpi0
sio1: type 16550A
sio1: [FILTER]
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_ibm0: <IBM ThinkPad ACPI Extras> on acpi0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xc0000-0xcffff,0xd0000-0xd0fff,0xd1000-0xd1fff,0xdc000-0xdffff,0xe0000-0xeffff
pnpid ORM0000 on isa0
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
ppc0: cannot reserve I/O port range
Timecounter "TSC" frequency 1295803760 Hz quality 800
Timecounters tick every 1.000 msec
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
ad0: 114473MB <SAMSUNG HM120JC YL100-13> at ata0-master UDMA100
acd0: CDRW <UJDA740 DVD/CDRW/1.04> at ata1-master UDMA33
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01
cd0 at ata1 bus 0 target 0 lun 0
cd0: <MATSHITA UJDA740 DVD/CDRW 1.04> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray
closed
Trying to mount root from ufs:/dev/ad0s2a
ipw0: <Intel(R) PRO/Wireless 2100 MiniPCI> mem 0xc0204000-0xc0204fff irq 11 at
device 2.0 on pci2
ipw0: using obsoleted if_watchdog interface
ipw0: Ethernet address: 00:04:23:79:66:68
ipw0: [ITHREAD]
ipw0: detached
drm0: <ATI Radeon LW RV200 Mobility 7500 M7> on vgapci0
info: [drm] AGP at 0xd0000000 256MB
info: [drm] Initialized radeon 1.25.0 20060524
info: [drm] Setting GART location based on new memory map
info: [drm] writeback test succeeded in 1 usecs
drm0: [ITHREAD]
ipw0: <Intel(R) PRO/Wireless 2100 MiniPCI> mem 0xc0204000-0xc0204fff irq 11 at
device 2.0 on pci2
ipw0: using obsoleted if_watchdog interface
ipw0: Ethernet address: 00:04:23:79:66:68
ipw0: [ITHREAD]
ipw0: detached
info: [drm] Setting GART location based on new memory map
info: [drm] writeback test succeeded in 1 usecs
drm0: [ITHREAD]
Received on Tue Oct 16 2007 - 18:35:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:19 UTC