Re: [linux-audio-dev] TiMidity as a CPU hog

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] TiMidity as a CPU hog
From: Takashi Iwai (tiwai_AT_suse.de)
Date: Fri Jun 11 2004 - 15:46:33 EEST


At Thu, 10 Jun 2004 15:47:07 -0400,
Dave Phillips wrote:
>
> Greetings:
>
> Can someone explain why TiMidity eventually hogs the CPU at 95% or
> more after running for a while (like 12 hours or more) ? I'm talking
> about hogging the chip while TiMidity is idling, not playing. I'm using
> it as a softsynth, it works well, but even in the latest version its CPU
> usage just soars. Here's how I'm invoking 2.13.0 :
>
> timidity -iA -B2,8 -c /home/dlphilp/timidity.cfg -A100 -Oj
> -EFreverb=0 -EFchorus=0
>
> Takashi: Obviously I spoke too soon in my earlier message. I just
> looked at top again and saw that TiMidity was eating up 96% of the CPU. :(

If it constantly hogs CPU even without playing noes, it must be a
bug. My rough guess is that the sample position goes back to 0 or
negative due to the integer overflow.

Are you keeping the MIDI connection for this long time?
What happens if you once disconnect from timidity?

Takashi


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Fri Jun 11 2004 - 15:38:46 EEST