TF2 desperately needs multi-threading, even at 24 players a server will just sit on one core losing tick, 32 players even worse. DoDS isn't as nasty but can get pretty cpu intensive.
Adam Nowacki wrote: > msleeper wrote: > >> Are you talking about TF2? I am pretty sure L4D's server is already >> multithreaded. >> > > $ ps m -p 25096 > PID TTY STAT TIME COMMAND > 25096 pts/0 - 1:06 ./srcds_i486 +map l4d_hospital01_apartment > +hostport 27015 +clientport 27115 -fork +map l4d_hospital01_apartment > -game left4dead > - - Sl+ 0:52 - > - - Sl+ 0:00 - > - - Sl+ 0:09 - > > Sure, there are 3 threads but only one is running the simulation (see > cpu time). Multithreaded but with no performance benefits over single > thread. > > >> # mpstat -P ALL >> Linux 2.6.25.10-grsec (sc-002) 04/23/09 >> >> 20:09:48 CPU %user %nice %sys %iowait %irq %soft %steal >> %idle intr/s >> 20:09:48 all 25.09 0.00 2.39 0.18 0.03 0.75 0.00 >> 71.56 1898.72 >> 20:09:48 0 26.49 0.00 2.48 0.97 0.05 0.90 0.00 >> 69.11 242.07 >> 20:09:48 1 27.04 0.00 2.39 0.14 0.03 0.88 0.00 >> 71.20 236.66 >> 20:09:48 2 25.88 0.00 2.46 0.08 0.03 0.82 0.00 >> 72.17 236.66 >> 20:09:48 3 26.03 0.00 2.35 0.05 0.03 0.76 0.00 >> 71.79 236.66 >> 20:09:48 4 24.63 0.00 2.45 0.06 0.03 0.70 0.00 >> 72.82 236.66 >> 20:09:48 5 24.58 0.00 2.34 0.05 0.02 0.67 0.00 >> 72.81 236.66 >> 20:09:48 6 23.81 0.00 2.44 0.05 0.02 0.66 0.00 >> 73.39 236.66 >> 20:09:48 7 23.79 0.00 2.35 0.05 0.02 0.64 0.00 >> 73.51 236.66 >> > > How is that supposed to show multithreading? A single thread can be > migrated many times a second between different cpus and many threads can > be executed serially on the same cpu. Thats also most likely not one but > many separate processes. > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlds > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds

