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

RE: [MiNT] XaAES / GEM memory issues



> > Yes, I agree. I can't see why Sven sees context switches as such a
> > problem. The only problematic thing is that the MiNT's scheduling timer
> > granularity is quite low (max 25 context switches per second, correct me
> > if I am wrong). So perhaps, before anything else, we should increase the
> > granularity to at least 50 context switches per second, and just then
> > start to complain that IPC is slow... :-)
> > 
> In this case something must be done to improve the performance of the
> scheduler. Lots of context switches is of little use if the CPU doesn't have
> any time left to do real work.

I didn't think about setting the timer to an arbitrary value of 50
switches per second, but keep it configurable. Thus faster machine could
cope with higher timer granularity.

--
Konrad M.Kokoszkiewicz
mail: draco@atari.org
http://draco.atari.org

** Ea natura multitudinis est,
** aut servit humiliter, aut superbe dominatur (Liv. XXIV,25)
*************************************************************
** Taka to juz natura pospolstwa, ze albo sluzy ono unizenie,
** albo bezczelnie sie panoszy.