OpenArena Message Boards

OpenArena => Technical Snafus => Topic started by: sprfrkr on December 21, 2008, 01:58:48 PM



Title: Server Tuning
Post by: sprfrkr on December 21, 2008, 01:58:48 PM
Hey All,
I have my server up and running. I plan on eventualy running 10 concurrent games. I have an 8 CPU machine with a 250MB connection available.
I am testing on a single core, 1.7GHz machine with 2GB of RAM. The server is located on teh east coast. I am noticing high ping times and near 100% cpu usage with 4 people playing.

I am looking for help fine tuning the server using console commands. If anyone has a proven and test server cfg file, that would help greatly. I have a very basic cfg file in use.


Title: Re: Server Tuning
Post by: Cacatoes on December 21, 2008, 03:11:16 PM
Hello,

Normally there is not much to tune it.

Your CPU usage is weird, I've read here that bots can be responsible of high CPU usage.
Which OS are you running ?

I think you can set sv_maxrate to 25000.
But I'm no expert with playing with these network cvars.


Title: Re: Server Tuning
Post by: sprfrkr on December 21, 2008, 03:44:53 PM
Thanks for the reply. The OS is Windows Server 2003. Bare bones.


Title: Re: Server Tuning
Post by: Cacatoes on December 21, 2008, 04:25:32 PM
Then I'm less surprised :P

Windows OA servers are not the majority I think, and maybe not many efforts have been made to make the server engine run well with it.
Or maybe it has to do with the compilation process, or more probably some bug introduced in the engine ...

I'm not sure what you can do with it, some other Windows users may confirm if they experience similar problems.

Good luck ;)


Title: Re: Server Tuning
Post by: fufinha on December 21, 2008, 04:39:06 PM
There are quite a few windows servers. Some people even prefer windows, I've never understood why myself :D

My friend runs a few servers on windows and has the most active UT server (or at least on of them) http://www.gametracker.com/server_info/193.34.68.150:22222/

I think knowing how to operate/maintain the servers might be the key. He has loads of additional net hardware and stuff. I dunno how he manages it :D



Title: Re: Server Tuning
Post by: fufinha on December 22, 2008, 04:54:04 AM
If anyone has a proven and test server cfg file, that would help greatly. I have a very basic cfg file in use.


Set..
pmove_fixed 1

all the servers I checked have it off :O Set this at 1 and crappy fps doesnt affect movement so much



Title: Re: Server Tuning
Post by: sittingduck on December 22, 2008, 06:31:17 PM
sv_hostname "Duckpond Customs *set auto download ON*"
sv_maxclients 32
sv_master1 "dpmaster.deathmask.net"
sv_maxPing 0
sv_minPing 0
sv_pure 1
sv_maxRate 25000
sv_allowdownload 1
set sv_wwwDownload "1" // enables the http redirect
set sv_dlURL "http://quakefour.net" // sets the location of the files
set sv_wwwDlDisconnected "1" // disconnects the client while it's downloading the files
set cl_wwwDownload "1" // connects the client again when the download is finished

sv_privateClients "0" // slots substracted from sv_maxclients
sv_privatePassword "<privpass for privclients>"

set g_doWarmup "1"
set g_warmup "13"
bot_minplayers 2
seta bot_challenge "1"
seta bot_rocketjump "1"
seta bot_visualizejumppads "1"
set g_spSkill "1"
set bot_nochat "1"
seta g_quadfactor 0

capturelimit 8
timelimit 15
fraglimit 30

set rconPassword "changethis" // for remote ingame servercontrol

g_motd "<Welcome to the DuckPond>"
g_inactivity 0
g_allowvote 1

//Gametypes
// 0 = Free For All
// 1 = Tourney
// 3 = Team Deathmatch
// 4 = Capture The Flag

g_gametype 0

set d1 "map addict; set nextmap vstr d2"
set d2 "map distonic_small; set nextmap vstr d3"
set d3 "map bal3dm2; set nextmap vstr d4"
set d4 "map jaxdm8; set nextmap vstr d5"
set d5 "map quack lord fivede12; set nextmap vstr d6"
set d6 "map 16+; set nextmap vstr d7"
set d7 "map dvd3dm1; set nextmap vstr d8"
set d8 "map tm3_systemkrash;set nextmap vstr d9"
set d9 "map blitzkrieg;set nextmap vstr d10"
set d10 "map pro-nodm9;set nextmap vstr d11"
set d11 "map tfzse1; set nextmap vstr d12"
set d12 "map ztn3dm2; set nextmap vstr d13"
set d13 "map charon3dm12; set nextmap vstr d14"
set d14 "map htourney1; set nextmap vstr d15"
set d15 "map storm3tourney5; set nextmap vstr d16"
set d16 "map tm3_grudge; set nextmap vstr d17"
set d17 "map schism-b2; set nextmap vstr d18"
set d18 "map bal3dm5; set nextmap vstr d19"
set d19 "map freakdm5beta; set nextmap vstr d20"
set d20 "map fff; set nextmap vstr d1"
wait
vstr d1 // start loop at d1
// EOF


Title: Re: Server Tuning
Post by: sprfrkr on December 22, 2008, 06:50:55 PM
Thanks! Much improved.