From owner-freebsd-current@FreeBSD.ORG Sun Sep 26 12:54:08 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D80416A4CE for ; Sun, 26 Sep 2004 12:54:08 +0000 (GMT) Received: from slipgate.org (S0106000acd019ad0.du.shawcable.net [24.109.1.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 846C543D45 for ; Sun, 26 Sep 2004 12:52:24 +0000 (GMT) (envelope-from ryan@slipgate.org) Received: from ryan.lan (gate.lan [192.168.1.1]) by slipgate.org (8.12.11/8.12.11) with ESMTP id i8QCnVMB011410 for ; Sun, 26 Sep 2004 05:49:31 -0700 (PDT) Received: from ryan.lan (localhost [127.0.0.1]) by ryan.lan (8.13.1/8.13.1) with ESMTP id i8QCoGRP014341 for ; Sun, 26 Sep 2004 05:50:17 -0700 (PDT) (envelope-from ryan@slipgate.org) Received: (from ryan@localhost) by ryan.lan (8.13.1/8.13.1/Submit) id i8QClk6E014280; Sun, 26 Sep 2004 05:47:46 -0700 (PDT) (envelope-from ryan@slipgate.org) X-Authentication-Warning: ryan.lan: ryan set sender to ryan@slipgate.org using -f Date: Sun, 26 Sep 2004 05:47:46 -0700 From: Ryan Freeman To: "Daniel O'Connor" Message-ID: <20040926124746.GA14197@slipgate.org> References: <20040926025317.GA5812@slipgate.org> <200409261342.34874.doconnor@gsoft.com.au> <20040926114623.GA7990@slipgate.org> <200409262212.26882.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200409262212.26882.doconnor@gsoft.com.au> User-Agent: Mutt/1.4.2.1i cc: FreeBSD Mailing List Subject: Re: Sound performance problems in FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2004 12:54:08 -0000 On Sun, Sep 26, 2004 at 10:12:18PM +0930, Daniel O'Connor wrote: > On Sun, 26 Sep 2004 21:16, Ryan Freeman wrote: > > > I suspect that sysctl involves doing lots of locking and will do weird > > > things.. > > > Does it happen if you run a CPU using userland proc inseadt? > > > > The problem is, it isn't just that sysctl command that does it. I find that > > even running gkrellm makes the ticking worse. if i close gkrellm, it > > I'd say gkrellm probably pokes at various sysctl's to gather stats so it may > be a related problem. > > > reduces the ticks/sound stretches. that sysctl was just an easy way to make > > the problem _really_ stand out it seems. iirc when i was using 5.2.1 i > > found that just disabling the proc chart in gkrellm seemed to help a lot. > > haven't bothered to try it now. > > Does a purely CPU bound process cause the problem? > ie try something like.. > dd if=/dev/zero | md5 > well i gave that command a shot (i closed gkrellm first to reduce any clicking that may happen from it running) then started an mp3 with mpg123 alongside running that command. didn't skip a beat, so i guess its all related to sysctl... - ryan