From owner-freebsd-hackers Sat Aug 30 22:23:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA20485 for hackers-outgoing; Sat, 30 Aug 1997 22:23:22 -0700 (PDT) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA20458; Sat, 30 Aug 1997 22:23:17 -0700 (PDT) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.7/8.8.5) with ESMTP id WAA00779; Sat, 30 Aug 1997 22:23:03 -0700 (PDT) Message-Id: <199708310523.WAA00779@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Luigi Rizzo cc: dec@phoenix.its.rpi.edu, hackers@FreeBSD.ORG, multimedia@FreeBSD.ORG Subject: Re: IRQ problem (was Re: IRQ timing) In-reply-to: Your message of "Sun, 31 Aug 1997 05:52:23 +0200." <199708310352.FAA03652@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 30 Aug 1997 22:23:03 -0700 From: Amancio Hasty Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >From The Desk Of Luigi Rizzo : > > We need a little bit more of information: > > o OS version > > o is the card using auto dma? > > o dma channels being used for the sound card > > o name of the app > > o buffer size used in in the application > > i guess you also need the blocksize -- the size of each DMA transfers > -- and not only the total amount of buffers. True but bear in mind that the system has plenty of memory: --- Copyright (c) 1992-1997 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 2.2-STABLE #0: Sat Aug 30 21:51:37 EDT 1997 root@phoenix.its.rpi.edu:/usr/src/sys/compile/PHOENIX CPU: Pentium (132.96-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping=12 Features=0x1bf real memory = 67108864 (65536K bytes) avail memory = 62734336 (61264K bytes) ---- I would hope that the OSS driver has the heuristics to allocate sufficient memory for the buffers. At any rate, if David downloads: ftp://rah.star-gate.com/pub/mmap_test.c and just prints the buffer size and the number of buffers that the sound driver has we can eliminate the possibility that the sound driver did not allocate sufficient buffers Cheers, Amancio