At 12:31 AM 11/6/2006, Kennycom wrote:
Not that this will help much but Gary's post had me wanting to do a little
looking at stuff myself.
I threw up a quick server.. box is an AthlonXP 2800, 2gb DDR400 Running FC4
cat /proc/version = Linux version 2.6.19-rc1KC2 ([EMAIL PROTECTED]) (gcc
version 4.0.2 20051125 (Red Hat 4.0.2-8)) #2 Sun Oct 8 01:35:36 PDT 2006
The KC2 at the end of the kernel is my own stuff for testing tracking.
The server I ran was a tick 100 css lan server with -nomaster set map was
dust2. I connected with my client..
strace output..
Process 2730 detached
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
98.72 0.001999 2 827 nanosleep
1.28 0.000026 0 169 sendto
0.00 0.000000 0 1 restart_syscall
0.00 0.000000 0 2 read
0.00 0.000000 0 2 open
0.00 0.000000 0 2 close
0.00 0.000000 0 2 time
0.00 0.000000 0 3514 gettimeofday
0.00 0.000000 0 2 munmap
0.00 0.000000 0 2 sysinfo
0.00 0.000000 0 828 select
0.00 0.000000 0 2 mmap2
0.00 0.000000 0 2 fstat64
0.00 0.000000 0 171 171 accept
0.00 0.000000 0 206 171 recvfrom
------ ----------- ----------- --------- --------- ----------------
100.00 0.002025 5732 342 total
nanosleep is called often, and it's very expensive if you have HZ => 1000
sendto is normal :)
If you want to spring some more stuff, try and load the server with
clients then strace it again. I'm curious to see the results.
G. Stanley
[EMAIL PROTECTED]
http://leaf.dragonflybsd.org/~gary
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux