From owner-freebsd-stable@FreeBSD.ORG Tue Oct 16 20:35:03 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76CDC16A46C for ; Tue, 16 Oct 2007 20:35:03 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id C127513C4AA for ; Tue, 16 Oct 2007 20:35:02 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 16 Oct 2007 20:35:01 -0000 Received: from nat-wh-1.rz.uni-karlsruhe.de (EHLO mobileKamikaze.norad) [129.13.72.169] by mail.gmx.net (mp020) with SMTP; 16 Oct 2007 22:35:01 +0200 X-Authenticated: #5465401 X-Provags-ID: V01U2FsdGVkX1/rWQQ2mAbrxU7GSsIU4DzUeJ/aKDfPxkScwhyQA5 i+PhelfFrnI7Ca Message-ID: <4715206E.50307@gmx.de> Date: Tue, 16 Oct 2007 22:34:54 +0200 From: "[LoN]Kamikaze" User-Agent: Thunderbird 2.0.0.6 (X11/20071015) MIME-Version: 1.0 To: Jeff Roberson References: <47150D87.3070804@gmx.de> <47150F82.9060805@FreeBSD.org> <20071016125400.N598@10.0.0.1> <47151A37.8020301@gmx.de> <20071016132931.J598@10.0.0.1> In-Reply-To: <20071016132931.J598@10.0.0.1> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 Cc: Kris Kennaway , freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: SCHED_4BSD in RELENG_7 disturbs workflow X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2007 20:35:03 -0000 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@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 Features2=0x180 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: on motherboard acpi0: [ITHREAD] acpi_ec0: 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: on acpi0 est0: on cpu0 p4tcc0: on cpu0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0x3000-0x30ff mem 0xe0000000-0xe7ffffff,0xc0100000-0xc010ffff irq 11 at device 0.0 on pci1 uhci0: port 0x1800-0x181f irq 11 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1820-0x183f irq 11 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1840-0x185f irq 11 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: 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: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered pcib2: at device 30.0 on pci0 pci2: on pcib2 cbb0: irq 11 at device 0.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [ITHREAD] pci2: at device 2.0 (no driver attached) fwohci0: 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: on fwohci0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x1488000 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:06:1b:12:aa:75 fwe0: Ethernet address: 02:06:1b:12:aa:75 fwip0: on firewire0 fwip0: Firewire address: 00:06:1b:00:20:12:aa:75 @ 0xfffe00000000, S400, maxrec 2048 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode fxp0: port 0x8000-0x803f mem 0xc0205000-0xc0205fff irq 11 at device 8.0 on pci2 miibus0: on fxp0 inphy0: PHY 1 on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:06:1b:e0:e4:eb fxp0: [ITHREAD] isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1860-0x186f at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) pcm0: port 0x1c00-0x1cff,0x18c0-0x18ff mem 0xc0000c00-0xc0000dff,0xc0000800-0xc00008ff irq 11 at device 31.5 on pci0 pcm0: [ITHREAD] pcm0: pci0: at device 31.6 (no driver attached) acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Synaptics Touchpad, device ID 0 fdc0: 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: port 0x2f8-0x2ff irq 3 drq 3 on acpi0 sio1: type 16550A sio1: [FILTER] battery0: on acpi0 acpi_acad0: on acpi0 acpi_ibm0: on acpi0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff,0xd0000-0xd0fff,0xd1000-0xd1fff,0xdc000-0xdffff,0xe0000-0xeffff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: 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 at ata0-master UDMA100 acd0: CDRW 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: 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: 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: 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: 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]