From owner-freebsd-questions@FreeBSD.ORG Sun Oct 2 23:06:02 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E92816A41F for ; Sun, 2 Oct 2005 23:06:02 +0000 (GMT) (envelope-from jakob@grimstveit.no) Received: from smartmail.hjemme.no (mail.hjemme.no [62.97.193.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EE1043D4C for ; Sun, 2 Oct 2005 23:05:58 +0000 (GMT) (envelope-from jakob@grimstveit.no) Received: from corona.grimstveit.no (79.62-97-240.bkkb.no [62.97.240.79]) by smartmail.hjemme.no (8.13.3/8.13.3) with ESMTP id j92N57r2007704; Mon, 3 Oct 2005 01:05:07 +0200 Date: Mon, 3 Oct 2005 01:05:51 +0200 From: Jakob Breivik Grimstveit To: FreeBSD Questions Message-ID: <20051003010551.6021404a@corona.grimstveit.no> In-Reply-To: <44psqpfmcz.fsf@be-well.ilk.org> References: <20050930112833.4fc7ae78@corona.grimstveit.no> <44psqpfmcz.fsf@be-well.ilk.org> Organization: BitWise Computing X-Mailer: Sylpheed-Claws 1.9.14 (GTK+ 2.6.10; i386-portbld-freebsd5.4) X-Face: .4qx3fwC]Zs6i@H)n4+U7@:QPR,\(Q'z[`J-C"'v:; *cy8[}d]:x,*Z6I?e8m%a~O?f1',N \1g'^='~; B3WO"RqF(tt]5<1)z%.%hqWnyM|NG}|e[zDmf=j(F*p|Tq^C#{<_FvV|P/tB4aG81S)#i Ilo]%Gm<)uLyN List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2005 23:06:02 -0000 Lowell Gilbert wrote on Sat, 01 Oct 2005 08:33: > Jakob Breivik Grimstveit writes: >=20 > > My entire system stops completely while unpacking large tar files, like > > when building OpenOffice2.0-devel. Sound goes into a loop with a > > timeframe of 0.001 seconds, mouse pointer stops responding, everything > > goes to a halt. This lasts about 0.5 seconds, then it starts working > > again, and then halts again and so on, until the tarfile is completely > > uncompressed. > >=20 > > Is this expected behaviour? Is it a broken scheduler? Am I incuding > > something in the kernel which I shouldn't have? >=20 > Sounds more like an interrupt issue.=20 Yes, it does, but doing a top while extracting the Mozilla Thunderbird v1.0= .6 source bz2-file (which provokes the sound and mouse jitter problem to occur) the interrupt level consistently stays below 2% of CPU. However, at times during the extraction of the file, bsdtar and bzip2 produces system CPU time of between 30% and 50%. It's during these system peaks that the mouse and sound starts being jerky. Getting any wiser with this explanation? :-) > > [jakobbg@nusse conf]$ grep -i sched /usr/src/sys/i386/conf/NUSSE=20 > > options SCHED_4BSD # 4BSD scheduler > > options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time > > extensions [jakobbg@nusse conf]$ uname -a > > FreeBSD nusse.starshipping.com 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #1= 7: > > Tue Sep 13 19:31:11 CEST 2005 > > root@nusse.starshipping.com:/usr/obj/usr/src/sys/NUSSE i386 >=20 > Are you seeing interrupt storms? Nope. > What kind of controller are you using on that hard disk [jakobbg@corona ~]$ dmesg | grep ATA =20 atapci1: port 0xc800-0xc80f,0xb60-0xb63,0x960-0x967,0xbe0-0xbe3,0x9e0-0x9e7 irq 20 at device 9.0 on pci0 atapci2: port 0xb000-0xb00f,0xb70-0xb73,0x970-0x977,0xbf0-0xbf3,0x9f0-0x9f7 irq 23 at device 10.0 on pci0 [jakobbg@corona ~]$ dmesg | grep ad4=20 ad4: 190782MB [387621/16/63] at ata2-master UDMA33 Mounting root from ufs:/dev/ad4s2a Motherboard: MSI K8N NEO2 Platinum-54G S939. > and is anything else sharing the same interrupt? How can I tell? I doubt this to be the problem, since I experience same problem on two other machines as well. Only thing they share (except same lousy administrator :-) is that they all run on AMD CPUs (1700+, 1800+ and 3500+). --=20 Jakob Breivik Grimstveit, , 48298152 Bes=F8k Newsergalleriet: "It's kind of fun to do the impossible." -- Walt Disney