I looked into it: calling gettimeofday() in recent glibc versions uses the kernel's vgettimeofday() call, and thus isn't really a problem. See my other email about sleep() usage though.
- Neph On Tue, May 20, 2008 at 1:20 AM, Thomas Hjorth <[EMAIL PROTECTED]> wrote: > On Mon, 2008-05-19 at 19:02 -0700, Nephyrin Zey wrote: >> calling gettimeofday() is somewhat sickening - I might try and put >> together a plugin that re-implements it in userland via a timer and >> re-routes the call. > > That would be great, though I havent cracked open orangebox yet, but im > guessing you would probably make it work for srcds as well? > >> The server's play quality is still steady, i get >> ~100fps in heavy action at 66tic, which despite what some people may >> say is completely impossible to differentiate from 1000fps. > > Im guess you are talking about serverside FPS? 100 FPS seems low to me. > All my servers are 500 max. and drops in steps like 333, 250, 200, 166, > 125 and similar, but I still have "perfect" 100tickrate up until about > 16 players, after that the engine takes a lot more hits and the > tickrates degrades a lot at times, but the FPS is doing about the same > FPS drops... especially with deathmatch plugins and stuff. > Im working on some monitoringscripts to make it easier for me to spot > where and when issues accrue. > > For the record I use a stripped Debian etch, 32bit, non-tickless, > 1000hz, preemptive and have stripped just about everything from the > kernel not need on the particular gameserver. > > Regards, Thomas @ DSRack.dk > >> Though >> it's still pretty crap performance overall. >> >> I'll see what else I can find >> >> - Neph >> >> On Mon, May 19, 2008 at 12:33 PM, Kveri <[EMAIL PROTECTED]> wrote: >> > Hello >> > >> > Have you noticed any quality changes? I never tested tickless system, >> > but I'm using HPET and 1000Hz timer, but kernel 2.6.24-rc3 and >> > srcds_i686 not i486. This can be good thing, I actually think about >> > that, that about 90% of srcds calls are gettimeofday(). Good work and >> > keep your posts comming. >> > >> >> _______________________________________________ >> 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 > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux