[airstrike] bug in timing code

Eero Tamminen eero.tamminen at netsonic.fi
Mon Sep 5 14:21:29 EDT 2005


On Monday 05 September 2005 11:30, Erik Auerswald wrote:
> > Actually, there is a point in having 30 ms/frame (that is 33.3.. fps),
> > since it plays very well with the linux scheduler (at least with
> > HZ=100). I did some experiments with this, and it turns out that the
> > framerate is much more constant if the time/frame is a multiple of 10
> > ms.
>
> The 2.6 kernel uses HZ=1000, so maybe this effect is gone.

I think it's 250Hz in latest kernel versions... :-)

I'm not sure it makes so much sense to tune the framerate according to a 
particular kernel with a particular scheduler (in newer kernels you can
AFAIK pick which one you use).


> But if anybody wants to change the framerate to 33, I don't object.
>
> BTW The machinegun sounds work better with a framerate of 33...


	- Eero



More information about the airstrike mailing list