dreamstalker / rehlds

Reverse-engineered HLDS
GNU General Public License v3.0
656 stars 168 forks source link

Unstable FPS #415

Open Adukas opened 7 years ago

Adukas commented 7 years ago

00:49:21 ReGameDLL version: 5.2.0.180-dev Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/bf8bda0

      [ 1] Reunion          RUN   -    reunion_mm_i386.  v0.1.75   ini   Start Never
      [ 2] AMX Mod X        RUN   -    amxmodx_mm_i386.  v1.8.3-R  ini   Start ANY  
      [ 3] ReAuthCheck      RUN   -    reauthcheck_mm_i  v0.1.5    ini   Start Never
      [ 4] Rechecker        RUN   -    rechecker_mm_i38  v2.3      ini   Chlvl ANY  
      [ 5] ReSemiclip       RUN   -    resemiclip_mm_i3  v2.3.8    ini   Chlvl ANY  
      [ 6] Revoice          RUN   -    revoice_mm_i386.  v0.1.26   ini   Start Never
      [ 7] VoiceTranscoder  RUN   -    VoiceTranscoder.  v2017 RC  ini   ANY   ANY  
      [ 8] WHBlocker        RUN   -    whblocker_mm_i38  v1.5.672  ini   Chlvl ANY  
      [ 9] MySQL            RUN   -    mysql_amxx_i386.  v1.8.3-R  pl2   ANY   ANY  
      [10] Fun              RUN   -    fun_amxx_i386.so  v1.8.3-R  pl2   ANY   ANY  
      [11] Ham Sandwich     RUN   -    hamsandwich_amxx  v1.8.3-R  pl2   ANY   ANY  
      [12] CStrike          RUN   -    cstrike_amxx_i38  v1.8.3-R  pl2   ANY   ANY  
      [13] FakeMeta         RUN   -    fakemeta_amxx_i3  v1.8.3-R  pl2   ANY   ANY  
      [14] CSX              RUN   -    csx_amxx_i386.so  v1.8.3-R  pl2   ANY   ANY  
      [15] ReAPI            RUN   -    reapi_amxx_i386.  v5.1.0.1  pl2   ANY   Never
      [16] ReAimDetector    RUN   -    reaimdetector_am  v0.1.6    pl2   ANY   Never
      [17] hackdetector     RUN   -    hackdetector_amx  v0.15.32  pl2   ANY   ANY  
      [18] Engine           RUN   -    engine_amxx_i386  v1.8.3-R  pl2   ANY   ANY  
      [19] GeoIP            RUN   -    geoip_amxx_i386.  v1.8.3-R  pl2   ANY   ANY  

sys_ticrate 1000 (I try with 300-500-800-10000 same problem) FPS drop 30-40-50 then 400-800-900 then 30-50-70, when play 20 more players FPS range is 30-90 :/ When i try off AMXX (amx_off) fps range is about 90-150 but no more when play more 20players. 5.40 GHz (3 x 1.80 GHz) 3 GB ram 250 Mbps OS Debian 8.0

justgo97 commented 7 years ago

why both ?

      [ 6] Revoice          RUN   -    revoice_mm_i386.  v0.1.26   ini   Start Never
      [ 7] VoiceTranscoder  RUN   -    VoiceTranscoder.  v2017 RC  ini   ANY   ANY  

5.40 GHz (3 x 1.80 GHz) = 3 cpu's 1.80 ghz ? cause re/hlds is single threaded so it will only use one cpu.

Adukas commented 7 years ago

I remove VoiceTrancoder.

I use 1 CPU on 1 server with: taskset -c 0 ./server1_command taskset -c 1 ./server2_command taskset -c 2 ./server3_command

1 cpu 1.8Ghz 1 server.

In-line commented 7 years ago

Revoice isn't updating. Does problem happen with HLDS?

Raiz3n1312 commented 7 years ago

Try it start the server with -pingboost 2 and sys_ticrate 1000 The server fps is mooving on 750 - 800 on hungarian vps. This is the best way for a high server fps. The pingboost 3 is overflow the cpu not recommended for use. Or try the server start without pingboost command line.

maxpain commented 5 years ago

I remove VoiceTrancoder.

I use 1 CPU on 1 server with: taskset -c 0 ./server1_command taskset -c 1 ./server2_command taskset -c 2 ./server3_command

1 cpu 1.8Ghz 1 server.

Maybe other processes run on same threads? And try to use renice -n -19 PID