SRCDS Steam group


Show fps
#1
How do you get it to tell you the server fps and tick rate and stuff like that.
Reply
#2
I dont think it will display the ticrate automatically. You can set up an advert to display the ticrate during play. to get the fps to show type stats in the console.
Reply
#3
You can see the tickrate by entering the game with a client.
client must have rate set to 30000, so you allow enough bandwidth to come in. Then type net_graph 3 inside the client console, go back to the game and you will see fps stats, ping, and other networking stuff.

Look where it says In: <number> <number/k> <number/s>
The third one, number/s is the tickrate the server is currently running on.

you can see fps by typing stats via rcon on the client or on the server
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#4
oops i thought he meant server side.
Reply
#5
in console type the following commands:

rcon_password yourpasswordhere
rcon stats

stats will return something that looks like this:

12:26:02 CPU In Out Uptime Users FPS Players
2.20 0.00 0.00 322 0 501.00 0

In the example above, 501.00 is the server side FPS.

The only way to tell what Tickrate the server is, is to type net_graph 3 in console. The far right numbers should be around 100, if they are not, then you don't have your rates set correctly. cl_updaterate 101 and cl_cmdrate 101. Set those and see if they are around 100. To enable your server to run at 100tickrate, just add -tickrate 100 to the command line when you start it.

Let me know if you have any other questions.
Reply
#6
hexitnow Wrote:oops i thought he meant server side.

He did but I just explained the client side Cool
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#7
Ok cool thanks guys, I only get like 50fps server side. Its kind of sad.
Reply
#8
You can increase Timer stuff or something to get your FPS up.
I've read a few threads about it, I'm not a Linux guy so i'm not sure how to do it. Just look in a few threads about FPS on Linux and you will find out.

If not ask again Toungue
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#9
what kernel are you using? sounds like you have to recompile to to 1000hz to get higher fps.
Reply
#10
Idk what kernel its the most resent one. I really dont know much about recompiling.
Reply
#11
If you type "uname -r" in the shell, it should show the kernel version.
Reply
#12
i used this guide (blatently stolen from webhostingtalk.com and i give the original poster full credit), i've done it on 5 machines running either fedora or centos without issues. but i take no responsibility if you jack up your machine doing this. Big Grin

Quote:cd /usr/src/
http://www.kernel.org/pub/linux/kern....6.16.1.tar.gz
tar -zxf linux-2.6.16.1.tar.gz
cd linux-2.6.16.1

cp /boot/config-2.6.9-22.0.2.EL .config
make clean (only necessary if you compile more than once)
make oldconfig

somewhere in the following section will be a question about your cpu timing, just select the 1000hz option, the others will be 250hz (where you are probably at now) and 500hz.

keep hitting enter and take the defaults until you get to the CPU type. Select your CPU. Also in the SMP section select SMP if you have multiple CPUs. Oh, and select "(No Forced Preemption (server))" under that section. Everything else, just hit enter to take the defaults.

(this is the "quick and dirty" method. You can also run "make menuconfig" instead, go to the bottom of the menu, load your old config file, and then select everything in a menu individually if you wish. For most systems, the "make oldconfig" method works fine.)


Then to compile and install:

make bzImage
make modules
make modules_install
make install


Then to configure your boot loader in case of disaster:

nano /boot/grub/grub.conf

Code:

default=1 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.16.1) root (hd0,0) kernel /vmlinuz-2.6.16.1 ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.16.1.img title CentOS (2.6.9-22.0.2.EL) root (hd0,0) kernel /vmlinuz-2.6.9-22.0.2.EL ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.9-22.0.2.EL.img title CentOS_ServerCD (2.6.9-22.EL) root (hd0,0) kernel /vmlinuz-2.6.9-22.EL ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.9-22.EL.img


..make sure it looks something like this with default=1 and the new kernel (2.6.16.1) on top. (Grub starts at 0, so "default=1" is still your old kernel. You change this later if it works out ok)




..then configure grub to boot to the new kernel one time. This way if it panicks or you can't get to the machine because the network service blows up, you can have the data center do a reboot and it will default back to the last kernel. If it does boot ok and everything looks good, edit grub.conf again and change it to "default=0" and it will boot the new kernel by default after that.

grub
savedefault --default=0 --once
quit

Reboot and see what happens. If it hangs, reboot again and you'll be back to your previous kernel.
Good luck.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)