[sldev] Linux 64 bit framerate stutter (0.5 - 2.0 second frame periodically [every 5 to 60 seconds])

Argent Stonecutter secret.argent at gmail.com
Fri Mar 14 09:03:20 PDT 2008


> BTW using a local cacheing DNS improves this problem by a factor of  
> 10,
> i now get 1 second stutters that i hardly notice instead of 10 second.

That sounds like it's in a call to gethostbyname() somewhere. That's  
a notorious blocking call with a lot of internal complexity.

The fix would be to replace gethostbyname(), or at least grab the  
source and insert callbacks inside it. The most portable thing would  
be to use a separate name server process and isolate the whole lookup.



More information about the SLDev mailing list