SRCDS Steam group


happy x-mas: more than 1000 fps :-)
#1
As an x-mas present for all of you:
http://wiki.fragaholics.de/index.php/BEpingboost.c

have fun :-)
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#2
[Image: ScarySanta.jpg]

Santa, got questions:

1)
Does it work for TF2 as well, or just CS:S? (I will try, but in case it doesn't, then I can just skip it Cool )

2)
So to use it, I should prefix my normal startup command, with:

LD_PRELOAD=/path/to/libBEpingboost.so.1.0.1 FPS=4000

Am I correct?


Thanks again for this and your kernel howto.
Reply
#3
I got it working with Day of Defeat: Source which also uses orangebox, so i guess it will work with tf2 too.
I have a question: How do I use LD_PRELOAD= in combination with screen?
I can start a screen run the server in this screen with it. But I neither get it working with
LD_PRELOAD=blabla screen -d -m -S name ./srcds_run (...)
Nor with
screen -d -m -S name LD_PRELOAD=blabla ./srcds_run (...)
Reply
#4
(12-23-2009, 06:58 PM)Terrorkarotte Wrote:  I got it working with Day of Defeat: Source which also uses orangebox, so i guess it will work with tf2 too.
I have a question: How do I use LD_PRELOAD= in combination with screen?
I can start a screen run the server in this screen with it. But I neither get it working with
LD_PRELOAD=blabla screen -d -m -S name ./srcds_run (...)
Nor with
screen -d -m -S name LD_PRELOAD=blabla ./srcds_run (...)

Actually I think we can run it as a separate process, like the idler.

So try running this app and SRCDS as two separate screens?

I am not home now so I can't try it myself.

By the way, how is the performance and stability of it?
Reply
#5
I figured it out myself and wrote down the answer in my wiki: http://serverwiki.sp12.speed-hoster.eu/index.php/Screen%2BLD_PRELOAD

The most of you like me are running hl2 servers in a detached screentab by starting it like
"screen parameters name ./srcds_run gameparameters"
Using this startcommand with LD_PRELOAD does not work. What works is to start a script that includes the LD_PRELOAD and works as a relay for the scrds_run startparamters

@Hi I am John Smith: No its a hack for the hl2 engine. It alters some funktion in the engine so that you have to preload it with each server you want to have >1000fps

@ BehaartesEtwas: Thx for this lib! I added my script to your wiki also Wink
Reply
#6
Terrorkarotte,

Got a question for you since you have tried using it.

Which FPS value did you use? Did you use FPS=4000 as BehaartesEtwas is showing in his example?

How much performance you gain from it?


Thanks.
Reply
#7
(12-23-2009, 08:56 AM)Hi I am John Smith Wrote:  1)
Does it work for TF2 as well, or just CS:S? (I will try, but in case it doesn't, then I can just skip it Cool )
I didn't try since I don't have a TF2 server running anymore...

Quote:2)
So to use it, I should prefix my normal startup command, with:

LD_PRELOAD=/path/to/libBEpingboost.so.1.0.1 FPS=4000

Am I correct?
correct, unless you use screen. In that case, use Terrorkarottes script (@Terrorkarotte: thanks!).

Quote:How much performance you gain from it?
probably nothing Toungue I seriously doubt that fps > 1000 will increase the server quality. I keep my servers running at 1000 fps, I only tried 2000 fps for 1 or 2 weeks. The quality was even slightly decreased, because it increases the chance of fps drops if you run more servers than cpus :-)

this whole lib is only for fun. I would not use it in a productive environment... maybe I should make that clear in the wiki :-)
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#8
where can i found libBEpingboost.so.1.0.1 ???
Reply
#9
I have the script saved as BEpingboost.c located in /

I run:
root:
gcc -m32 -c -fPIC BEpingboost.c -o BEpingboost.o
In file included from /usr/include/features.h:352,
from /usr/include/stdio.h:28,
from BEpingboost.c:34:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
BEpingboost.c:104:2: warning: no newline at end of file
Reply
#10
(12-23-2009, 10:45 PM)BehaartesEtwas Wrote:  ...this whole lib is only for fun.

...maybe I should make that clear in the wiki :-)

You got me all excited. [Image: banghead.gif]

It is still interesting to run such experiment though. Big Grin

By the way, for a smoother connection, I have been trying to twist those settings in sysctl.conf, and would like to check with you guys about your experiences with it.

Happy Holidays, and see you guys in a few days.
Reply
#11
(12-24-2009, 08:45 AM)Hi I am John Smith Wrote:  You got me all excited. [Image: banghead.gif]

It is still interesting to run such experiment though. Big Grin
I wrote that, because > 1000 fps are more or less nonsense. The lib itself doesn't do any damage or problems (as far as I know :-)). It just doesn't do any good to run at more than 1000 fps. I always said that.

Quote:By the way, for a smoother connection, I have been trying to twist those settings in sysctl.conf, and would like to check with you guys about your experiences with it.
I don't think that can possibly help. If your connection isn't smooth it's because of your actual connection, not because of any settings of your server. Unfortunaltely there is no magic trick to fix those things. Change your provider or buy a better connection. Everything else is even more a myth than > 1000 fps would help :-)

Ah and: I added a link to download the binary in the wiki, in case you have trouble compiling it...
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#12
If I put the server on its own core would I put taskset -c 0 ./srcds_tk as the start command or put taskset -c 0 in the front inside the srcds_tk file and just start command srcds_tk
Reply
#13
probaby doesn't matter. in doubt put it inside srcds_tk in front of the actual srcds command.
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#14
omg now it starts .... the fps fight of the hosting companys....
Reply
#15
(12-26-2009, 06:10 PM)Peter_Pan123 Wrote:  omg now it starts .... the fps fight of the hosting companys....

It already runs :-) That's why I decided to make this public.
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply


Forum Jump:


Users browsing this thread: 12 Guest(s)