On 9/20/05, Duncan <[EMAIL PROTECTED]> wrote: > Mark Knecht posted <[EMAIL PROTECTED]>, excerpted > below, on Mon, 19 Sep 2005 14:55:59 -0700: > > > It seems right now that a simple emerge sync is causing xruns on this > > system implying to me some underlying problem with either hard drive > > activity or networking. since the hard drive is SATA and the networking > > option in the kernel marks the NIC driver as 'Reverse engineered - > > experimental' I'm not confident of fixing this problem in the immediate > > short term anyway. > > > > My thoughts right now: > > > > 1) kernel.org + rt patches > > 2) ck-sources > > 3) gentoo-sources-amd64 + rt patches not cleanly applied > > > > I may also investigate a different NIC. I have a email friend that > > runs a studio in Sydney. I helped him move from FC2 to Gentoo. We had > > xruns using some of the NIC stuff for his motherboard. When we found that > > was the problem he never had another problem. > > I'm not familiar with the term "xrun", so this may be entirely off the > wall, but have you confirmed the hard drive is running DMA? If your > chipset or SATA drivers are wrong, and your hard drive is having to run in > legacy interrupt mode instead of DMA mode, it *WILL* destroy latency and > generally make the system unusable for any sort of real-time work at all, > regardless of the other kernel patches applied. So... in addition to > checking the network drivers, investigate the hard drive and chipset I/O > drivers as well, and confirm you ARE running DMA mode. > Thanks, yes, DMA is running, as far as I can tell. hdparm -tT returns numbers that are >50MB/S.
xruns are a term specific to the Jack server (jack-audio-connection-kit) that tell us whether we've had and overrun or an underrun. It's would be off topic to go deeply into how Jack operates when talking to sound cards, but take it to mean something bad has happened with real-time audio data. Interestingly Jack runs from memory so hard drive performance should not cause major problems unless it's not interruptable in a more or less real-time way. On my Gentoo 32-bit machines (using Via and ATI chipsets) I've not had to install any real-time patches and can still run reliable at sub-2mS latencies. On those machines I can do pretty much anything, browse the web with firefox, do and emerge sync, etc., and I get no xruns. On this AMD64/NForce4 machine and emerge sync causes xruns immediately, indicating the sound card is getting starved for data. Anyway, thanks for the comments. DMA seems to be enabled on both the hard drive and the CDRW and DVDRW drives. Cheers, Mark -- [email protected] mailing list
