Re: [PATCH] Preemption Latency Measurement Tool

Roger Larsson
2001-09-21T01:43:53Z

On Friday 21 September 2001 03.03, Alan Cox wrote:
> > If this analysis is correct:
> > We really need to run RT processes with RT priorities!
> >
> > It is also possible that multimedia applications needs to be rewritten =
> > to
>
> I dont believe this is an application problem. Applications allocating
> memory can end up doing page outs for other people. Its really important
> they dont get stuck doing a huge amount of pageout work for someone else.
> Thats one thing I seem to be seeing with the 10pre11 VM.
>
> Sound cards have a lot of buffering, we are talking 64-128Kbytes + on card
> buffers. Thats 0.25-0.5 seconds at 48Khz 16bit stereo
>

Hmm..

The yield we do in __alloc_pages is it really correct?
1. Suppose it is not we that are the problem.
2. Suppose there are lots of other processes that gets to run.
3. If kswapd had higher prio, it would start to run without us giving up...

I have to try...

/RogerL

--
Roger Larsson
Skellefteå
Sweden