From owner-freebsd-questions@FreeBSD.ORG Tue Dec 14 04:03:39 2004 Return-Path: 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 76E4616A4CE for ; Tue, 14 Dec 2004 04:03:39 +0000 (GMT) Received: from szamoca.krvarr.bc.ca (s142-179-111-232.bc.hsia.telus.net [142.179.111.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06C6A43D5D for ; Tue, 14 Dec 2004 04:03:39 +0000 (GMT) (envelope-from sandy@krvarr.bc.ca) Received: from szamoca.krvarr.bc.ca (localhost [127.0.0.1]) by szamoca.krvarr.bc.ca (8.13.1/8.12.11) with ESMTP id iBE43ctx000467; Mon, 13 Dec 2004 20:03:38 -0800 (PST) (envelope-from sandy@szamoca.krvarr.bc.ca) Received: (from sandy@localhost) by szamoca.krvarr.bc.ca (8.13.1/8.12.11/Submit) id iBE43bLF000464; Mon, 13 Dec 2004 20:03:37 -0800 (PST) (envelope-from sandy) From: Sandy Rutherford MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16830.26137.552423.862650@szamoca.krvarr.bc.ca> Date: Mon, 13 Dec 2004 20:03:37 -0800 To: Nikolas Britton In-Reply-To: <41BE5912.2090304@nbritton.org> References: <16829.40585.759971.425967@szamoca.krvarr.bc.ca> <41BDBC77.6030309@nbritton.org> <16830.19827.173656.838695@szamoca.krvarr.bc.ca> <41BE5912.2090304@nbritton.org> X-Mailer: VM 7.07 under Emacs 21.3.1 cc: freebsd-questions@freebsd.org Subject: Re: Changing hw.snd.pcm0.buffersize in 4.10. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2004 04:03:39 -0000 >>>>> On Mon, 13 Dec 2004 21:08:02 -0600, >>>>> Nikolas Britton said: > I'm not sure if it makes a difference but 8192 is not in "quotes" like I > have in my working example and man device.hints says it should look like > this: hint.driver.unit.keyword="value", I added the quotes, but still: [szamoca:6] cat /boot/loader.conf # -- sysinstall generated deltas -- # userconfig_script_load="YES" hint.pcm.0.buffersize="8192" [szamoca:7] sysctl -a | grep snd hw.snd.targetirqrate: 32 hw.snd.report_soft_formats: 1 hw.snd.verbose: 1 hw.snd.maxautovchans: 0 hw.snd.pcm0.buffersize: 4096 hw.snd.pcm0.vchans: 4 [szamoca:8] cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0x220 irq 5 drq 1:0 bufsz 4096d (1p/1r/4v channels duplex) So no change. Also, in 4.10: [szamoca:9] man device.hints No manual entry for device.hints So perhaps device.hints is not supported in 4.10. > also, have you tried playing > with targetirqrate? Yes, quite a bit. I set hw.snd.verbose to 2 and compiled stats for hw.snd.targetirqrate set to 16, 24, 32, 48, and 64. There was no effect to either the perceived sound quality or the rate of underruns reported by sndstat. BTW, if it makes any difference, this is an SMP machine --- albeit an older one. It has 2 x PII 300MHZ. Thanks, Sandy