So what is the secret to achieving 2000 fps if I dump the real time patch?
I've never tried this but am now thinking about it.

------------------------------------------

On Sat, Sep 5, 2009 at 9:50 AM, Joseph Laws <[email protected]> wrote:

> I've never cared for the RT patches...but the hi-res timers pre 2.6.24
> are very solid.
>
> John wrote:
> >>> You need high res timers (HPET), on a newer kernel (2.6.24)
> >>>
> >>> -M
> >>>
> >> I hated that kernel version. I'm running 2.6.26.5-rt8. And even with
> hpet
> >> enabled you still want the higher kernel frequency wouldn't you?
> >>
> >
> > I think Gary meant that you'd need a 2.6.24 or later kernel. HPET and
> > hrtimers are a rather new addition to Linux.
> >
> > If you run something beyond 2.6.26 or so, make sure to also flag the
> server
> > as a "real-time" process to remove the kernel's built-in SCHED_OTHER
> timer
> > slack, which defaults to 50 usec and makes the FPS a bit less stable.
> This
> > can be done with the "chrt" utility.
> >
> > With high resolution timers enabled, your machine doesn't need to run at
> > 1000hz, because processes will be woken up at the right times regardless.
> In
> > fact, a lower hz rate like 100 generally works out better; the lower
> number
> > leads to less flipping of processes between CPUs, fewer unnecessary
> context
> > switches to the kernel, etc. The only real advantage to a high hz might
> be
> > in more accurate process accounting.
> >
> > In my testing, the "-rt" kernel patchset led to an overall reduction in
> > performance, due to the additional context switching. YMMV.
> >
> > -John
> >
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> > ------------------------------------------------------------------------
> >
> >
> > No virus found in this incoming message.
> > Checked by AVG - www.avg.com
> > Version: 8.5.409 / Virus Database: 270.13.77/2346 - Release Date:
> 09/04/09 17:51:00
> >
> >
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to