[airstrike] bug in timing code

Erik Auerswald auerswal at unix-ag.uni-kl.de
Mon Sep 5 04:30:30 EDT 2005


Hi,

> 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. 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...

Erik



More information about the airstrike mailing list