[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] XaAES / GEM memory issues



Hello!

> I can't believe MiNT only does context switches 25 times per second in
> the case of synchronization/IPC/IO. That would be terrible!

No, that don't work this way.

A process get the processor for maximal a time slice. If the time slice
expires mint schedules (and the process priority is lowered because the
process is CPU intensive).

But most process are I/O based and are waiting for something to happen.
Also such I/O based processes give up the processor if they wait (this
increase their priority). So you get a much higehr rate of context
switchs (as long as something happen). If nothing happen all processes are
waiting and the CPU idle (except there run CPU based job).


Tschuess
   ...Frank

--
ATARI FALCON 040 // MILAN 060
-----------------------------------------
http://www.cs.uni-magdeburg.de/~fnaumann/
e-Mail: fnaumann@freemint.de