jerks
I'm trying to make a Digital Audio Workstation (DAW) out of a SUN W2100z (dual AMD64).
Every few seconds, at seemingly random times, everything freezes for ~50ms. Even the mouse. Sometimes. Reliable at the first card moved in Aisle Riot Solitaire and when Jack is running. Often when I'm typing email (chars don't get from the keyboard to the screen).
I know that's not much of a description, but I don't know where to start looking for this. I'm assuming interrupts are being disabled entirely momentarily. My background says it's time for a bus monitor, but I don't have one handy.
This happens with a 2.6 kernel from the current updated Sarge or a 2.4 from DeMuDi 1.2.1 distro.
Anybody have any idea how to begin tracing this down? Or maybe a better explanation of what's going on?
Signature · 11 lines
Glenn English [email protected] GPG ID: D0D7FF20 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
Quoted 8 lines · Glenn English
I'm trying to make a Digital Audio Workstation (DAW) out of a SUN W2100z (dual AMD64).
Every few seconds, at seemingly random times, everything freezes for ~50ms. Even the mouse. Sometimes. Reliable at the first card moved in Aisle Riot Solitaire and when Jack is running. Often when I'm typing email (chars don't get from the keyboard to the screen).
Quoted 7 lines
I know that's not much of a description, but I don't know where to start looking for this. I'm assuming interrupts are being disabled entirely momentarily. My background says it's time for a bus monitor, but I don't have one handy.
This happens with a 2.6 kernel from the current updated Sarge or a 2.4 from DeMuDi 1.2.1 distro.
Could this be the libc NPTL bug? Sarge has a buggy version of glibc with a broken NPTL implementation (don't know about DeMuDi 1.2.1). If so, threaded apps won't perform properly - I switched to sid for this reason.
Workaround is to set LD_ASSUME_KERNEL=2.4.22 for jackd and other audio apps. In sid it's fixed, and you'll also get the extra benefits of gcc-4.0's better AMD64 optimisation.
John
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
Quoted 10 lines · John Rigg
Quoted 2 lines
This happens with a 2.6 kernel from the current updated Sarge or a 2.4 from DeMuDi 1.2.1 distro.
Could this be the libc NPTL bug? Sarge has a buggy version of glibc with a broken NPTL implementation (don't know about DeMuDi 1.2.1). If so, threaded apps won't perform properly - I switched to sid for this reason.
Workaround is to set LD_ASSUME_KERNEL=2.4.22 for jackd and other audio apps. In sid it's fixed, and you'll also get the extra benefits of gcc-4.0's better AMD64 optimisation.
The prospect of sid is terrifying on a machine I'd like to rely on :-) But I'll try it. Thanks.
DeMuDi, though, runs a 2.4 (.27, I think) and it does the same thing.
Signature · 11 lines
Glenn English [email protected] GPG ID: D0D7FF20 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
Quoted 13 lines · Glenn English
Quoted 10 lines · John Rigg
Quoted 2 lines
This happens with a 2.6 kernel from the current updated Sarge or a 2.4 from DeMuDi 1.2.1 distro.
Could this be the libc NPTL bug? Sarge has a buggy version of glibc with a broken NPTL implementation (don't know about DeMuDi 1.2.1). If so, threaded apps won't perform properly - I switched to sid for this reason.
Workaround is to set LD_ASSUME_KERNEL=2.4.22 for jackd and other audio apps. In sid it's fixed, and you'll also get the extra benefits of gcc-4.0's better AMD64 optimisation.
Quoted 2 lines
The prospect of sid is terrifying on a machine I'd like to rely on :-) But I'll try it. Thanks.
This is almost certainly not your problem. The NPTL bug would not cause the mouse to freeze for 50ms.
Lee
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
Quoted 13 lines · Glenn English
I'm trying to make a Digital Audio Workstation (DAW) out of a SUN W2100z (dual AMD64).
Every few seconds, at seemingly random times, everything freezes for ~50ms. Even the mouse. Sometimes. Reliable at the first card moved in Aisle Riot Solitaire and when Jack is running. Often when I'm typing email (chars don't get from the keyboard to the screen).
I know that's not much of a description, but I don't know where to start looking for this. I'm assuming interrupts are being disabled entirely momentarily. My background says it's time for a bus monitor, but I don't have one handy.
Quoted 6 lines
This happens with a 2.6 kernel from the current updated Sarge or a 2.4 from DeMuDi 1.2.1 distro.
Anybody have any idea how to begin tracing this down? Or maybe a better explanation of what's going on?
Try the -rt kernel and enable latency tracing
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
On Thursday 08 December 2005 18.41, Glenn English wrote:
[...]
Quoted 4 lines
Every few seconds, at seemingly random times, everything freezes for ~50ms. Even the mouse. Sometimes. Reliable at the first card moved in Aisle Riot Solitaire and when Jack is running. Often when I'm typing email (chars don't get from the keyboard to the screen).
[...]
This reminds a bit of something I saw when I made some RTAI latency tests on the Mini-ITX motherboards we're putting in our rheometers. I would get random latency peaks of anything from a few hundred µs through tens of ms.
Turns out the integrated ethernet implementation is a slightly broken, and has the interface send interrupts to the CPU even if you disable it in the BIOS! Linux "handles" it without freezing indefinitely, but even RTAI hard RT kernel threads are locked out for a moment every now and then.
Solution: I just installed the driver for the NIC!
We use ethernet for communicating with the instruments anyway, but as this project haven't been enough of a PITA already, I just *had* to test the RT performance *first*, just so I could discover this scare- the-h*ll-out-of-control-engineers special feature... :-D
So, bottom line: Never trust "disabled" PCI devices.
//David Olofson - Programmer, Composer, Open Source Advocate
.- Audiality -----------------------------------------------.
| Free/Open Source audio engine for games and multimedia. | | MIDI, modular synthesis, real time effects, scripting,... |
`-----------------------------------> http://audiality.org -'
--- http://olofson.net --- http://www.reologica.se ---
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click