Posts: 8
Threads: 3
Joined: May 2006
Reputation:
0
Here is the deal, I have read numerous posts about increasing the FPS on server side. Here are the specs for the machine I am running it on:
-Redhat EL 4.0-U2-32-ES (Kernel Version: 2.6.9-22.ELsmp)
-Intel Pentium D 930 [3GHz] (Dual Core)
-Generic 1GB DDR2 [1GB]
-Mainboard Onboard SATAII IDE Controller
-Hitachi DeskStar SATAII HDT722525DLA380 [250GB]
-Hitachi DeskStar SATAII HDT722525DLA380 [250GB]
-Uplink speed: 1000Mbps
I have read that the default HZ for 2.6 is 1000. My problem is that it looks like my server is capped at 333.33FPS on the server side.
CPU In Out Uptime Users FPS Players
1.75 0.00 0.00 0 0 330.91 0
Is there something that I am doing wrong? I have fps_max 1000. And here is the line that I use to run the server:
./srcds_run -console -game cstrike -secure +map de_dust2 +maxplayers 12 -tickrate 100 -pingboost 1 +fps_max 1000 -ip ***.***.***.*** -autoupdate
I have tried using pingboost 1-3 (all give me the same server side FPS). I also have fps_max set in my server.cfg file. All I really want it to make my server run around 500FPS server side. Please help me, this has been bugging me for awhile!
Thanks,
-DiSTANT-
#nofatties
Posts: 459
Threads: 11
Joined: Oct 2005
Reputation:
0
If your pullin 333 fps from linux then your doin good. Most people complain about only bein able to get like 64. I get about the same FPS as you. But i use +fps_max 600. If you wanna run a server thats maxin out at 500+ fps then your gonna want the windows dedicated server. Someone here might know somethin I dont tho....so we'll see.
Posts: 8
Threads: 3
Joined: May 2006
Reputation:
0
I have actually read through that guide a few times. The only problem, I am not able to change the HZ with menu config. That option doesn't exist in my version. I have yet to try the param.h change (I am a bit hesitant to rebuild the kernel due to the fact that its a remote server and if I mess up anything at all I will have to completely rebuild the system). If anyone thinks they can assist me in the rebuild, I would gladly accept the help. Please be an expert with Red Hat. Any other suggestions are welcome.
Thanks againg for all the replies,
-DiSTANT-
#nofatties
Posts: 8
Threads: 3
Joined: May 2006
Reputation:
0
***UPDATE***
I rebuilt the server Kernel with the HZ=1000 (turns out the default for 2.6.** is only 250HZ. After I got the server up and running with the 1000HZ, everything seems to be working fine.
12:26:02 CPU In Out Uptime Users FPS Players
2.20 0.00 0.00 322 0 501.00 0
Got my server running with the FPS that I wanted. If you have any questions please feel free to ask.
Posts: 459
Threads: 11
Joined: Oct 2005
Reputation:
0
which version of the kernel are you using.
Posts: 1
Threads: 0
Joined: Jun 2006
Reputation:
0
06-11-2006, 02:55 AM
(This post was last modified: 06-11-2006, 07:06 AM by dmarkd.)
I'm using 2.6.16 on Fedora Core 5. I rebuilt the kernel with the frequency set to 1000hz, which has lifted my server fps from 125 to 330, but I know this system is capable of more and it seems like I'm running into configuration issues. Can anyone make suggestions regarding command line options for srcds_run ? I'm presently using -tickrate 100, -pingboost 1, and +fps_max 1000. Anything for server.cfg or other command line options I should try?
The server is an AMD 64 3800+ X2 dual core with 2gb of ram and a SATA raid 0 set.
Thanks.
Posts: 3
Threads: 1
Joined: Jun 2006
Reputation:
0
hey guys,,,
im runnin slack 10.2 with 2.4 kernel. im only getting 50fps with all correct parameters +fps_max 600 -tickrate 100
i tried looking for include/asm-<arch>/param.h.
but found alot of similar files with all lines commented out.
Still the HZ shoudl be default 100 ,, why am I only getting 50fps
im runnin P4 3.2 with 1G ram
Posts: 22
Threads: 5
Joined: Jun 2006
Reputation:
0
06-26-2006, 04:45 PM
(This post was last modified: 06-26-2006, 08:45 PM by iha81.)
Hello,
I'm a newbie in Linux so I'm pretty hesitant to proceed without a bit of clarification. I decided to use the better/easy way to change the "Linux Kernel Timer" which is buy editing param.h that is in "/usr/include/asm"
but after reading the instructions carefully I find out there is HZ and USER_HZ. What should I change exactly ? Here are the contents of param.h by default:
#ifndef _ASMi386_PARAM_H
#define _ASMi386_PARAM_H
#include <unistd.h>
#ifndef HZ
#define HZ sysconf(_SC_CLK_TCK)
#endif
#define EXEC_PAGESIZE 4096
#ifndef NGROUPS
#define NGROUPS 32
#endif
#ifndef NOGROUP
#define NOGROUP (-1)
#endif
#define MAXHOSTNAMELEN 64 /* max length of hostname */
#endif
system specs
Intel p4 3.4
2gb ram
centOS kernel 2.6.9-34.0.1.ELsmp
Thanks.