At 05:28 PM 9/2/2008, Alfred Reynolds wrote:
>We compile against glibc-2.3.2 and that abstracts the details of any
>kernel level calls for us (we never directly sysctl), so it should be
>old.
>
>- Alfred
A couple of other questions.
How are you doing your memcpy/memset in the srcds_{i686,amd}? letting
gcc generate the code or did you write your own? I'm trying to reduce
L1 cache usage on source by replacing some memcpy functions (whatever
gcc decides to create) with memcpy that uses
movnti instructions. I might even use movntq for more savings but
that's an overkill..
Why don't you use clock_gettime() instead of gettimeofday() for the
Linux binaries? gettimeofday has alot of know problems considering it
best guesses wallclock time and can go backwards..
clock_gettime(CLOCK_MONOTONIC) is a little better, considering the
former is old and nonstandard.
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux