Linux serverio fps didinimas.

Forumas skirtas spręsti problemas iškilusias su CS 1.6 serveriais.
Post Reply
Terror
Senbūvis
Posts: 1086
Joined: 2015 Feb 27 19:29
Location: Alytus

Linux serverio fps didinimas.

Post by Terror »

Sveiki, mano serveris ištempia labai mažai FPS ir jis nėra stabilus. Būna 80-300 kaip manau turėtų būt apie 500-512 ir stabilus FPS. Pluginų yra daug,Serveris pajungtas vienas. Kiekvieną rytą daromas restartas ,kad kuo mažiau būtų apkrautas. Sloto skaičius: 24

Code: Select all

cd /root/hlds && screen -A -m -d -S hlds ./hlds_run -game cstrike -pingboost 2 +ip 91.211.246.33 +port 27015 +map fy_pool_day +maxplayers 24 +exec server.cfg 
Server.cfg failas

Code: Select all

// Serverio pavadinimas hostname "*Golden*GunGame +MultiJump 24/7" //sv_lan <0/1> 0=Public/LAN, 1=LAN Default: 0 sv_lan 0 // sv_contact  Kontaktai el.paštas serverio adminsv_contact "[email protected]"// sv_region <1-7> - The region of the world to report the server in.// -1 World// 0 US East coast// 1 US West coast// 2 South America// 3 Europe// 4 Asia// 5 Australia// 6 Middle East// 7 Africasv_region -1 //ROUND// mp_buytime <seconds> - The amount of time to allow purchasing weapons/equipment on round startmp_buytime 0 // mp_c4timer <seconds> - How long before the c4 explodesmp_c4timer 45 // mp_timelimit <minutes> - How long each map should be played before switching levelsmp_timelimit 40 // mp_freezetime <seconds> - Kaip ilgai žaidėjai negali judėti mp_freezetime 0 //mp_roundtime <1-9> Kiek laiko minutėmis round Laikas Default: 5 mp_roundtime 5 // mp_startmoney <money> - Specify how much money players start off withmp_startmoney 0 //mp_friendlyfire <0/1> Turn on/off friendlyfire. Default: Offmp_friendlyfire 0 //mp_footsteps <0/1> Turn on/off footsteps. Default: Onmp_footsteps 1 //mp_flashlight <0/1> Turn on/off the ability for clients to use flashlight. Default: Offmp_flashlight 1 //mp_fraglimit <##> Amount of frags a player can exceed before changing maps. Default: 0 mp_fraglimit 0 //mp_maxrounds <##> Amount of round to play before server changes maps. Default: 0 mp_maxrounds 0 //mp_winlimit <0-20> Max number of rounds one team can win before server changes maps. Default: 0 mp_winlimit 0 // mp_spawnprotectiontime Time in seconds to Kick players who team-kill after round restart. Default: 5 mp_spawnprotectiontime 5 // mp_autoteambalance <0/1> Force clients to auto-join the opposite team if they are not balanced. Default: Onmp_autoteambalance 1 //mp_limitteams <0-20> Max # of players 1 team can have over another. Default: 2 mp_limitteams 2 //mp_autokick <0/1> Kick idle/team-killing players. Default Offmp_autokick 0 //mp_tkpunish <0/1> Punish TK'ers on next round? Default: Onmp_tkpunish 1 //mp_hostagepenalty <##> How many hostages a Terrorist can kill before being kicked, 0 to disable. Default: 5 mp_hostagepenalty 5 // disable autoaimsv_aim 0 // sv_cheats <0/1> - Whether to allow game cheat commands to be used by clients. 0 = off | 1 = onsv_cheats 0 //VOICE-CHATTING//sv_voiceenable <0/1> Allow clients to use mic. Default: 1 sv_voiceenable 1 //sv_alltalk <0/1> Players can hear all other players, no team restrictions. Default: Offsv_alltalk 0 //sv_voicecodec Specifies which voice codec DLL to use in a game. Set to the name of the DLL without the extension.. Default:voice_speex sv_voicecodec voice_speex //sv_voicequality <1-5> the bps of the voice.//1-2400bps//2-6000bps-DEFAULT//3-8000bps//4-11200bps//5-1520bpssv_voicequality 2 //mp_chattime <0-120> amount of time in seconds players can chat after the game is over. Lower value = faster map load change. Default: 10 mp_chattime 10 //RATES-SPEEDS//sv_gravity World Gravity Default: 800sv_gravity 800 //sv_maxvelocity Maximum speed any ballistically moving object is allowed to attain per axis. Default: 3500 sv_maxvelocity 3500 //sv_maxspeed Maximum speed a player can move. Default: 320 sv_maxspeed 320 //CLEINT CVARS//decalfrequency Amount of time in seconds a player can spray their decal. Default: 10 decalfrequency 10 //sv_consistency <0/1> Force cleints to pass consistency check for critical files before joining server? Default: 0sv_consistency 0 //sv_timeout <##> After this many seconds without a message from a client, the client is dropped. Default: 65 sv_timeout 65 //mp_playerid <0/1/2> Controls what information player see in the status bar: 0 all names; 1 team names; 2 no names. Default: 0 mp_playerid 0 // sv_pausable <0/1> - Whether to allow clients to pause the server. 0 = off | 1 = onsv_pausable 0 //sv_allowupload <0/1> Allow clients to upload their custom decals to the server. Default: 1 sv_allowupload 1 //sv_allowdownload <0/1> Allow clients to downnload files. Default: 1 sv_allowdownload 1 //sv_unlag <0/1> Enables player lag compensation. Default: 1 sv_unlag 1 //SPECTATING//mp_allowspectators <0/1> Allow spectators on the server. Default: 1 mp_allowspectators 1 //mp_forcecamera <0/1> Force dead players to first person mode, effectively disabling freelook. Default: Offmp_forcecamera 0 //sv_hltv <0/1> Enables HLTV on the server. Default: 0 sv_hltv 0 //BANDWIDTH RATES//sv_minrate <0-25000> Min bandwidth rate allowed on server. Default: 0 (unlimited) sv_minrate 0 // sv_maxrate <1000-25000> - The maximum bandwidth rate the server is allowed to transmit to clientssv_maxrate 10000 //sv_maxupdaterate Maximum updates per second that the server will allow. Default: 60 sv_maxupdaterate 60 //sv_minupdaterate Minimum updates per second that the server will allow. Default: 10 sv_minupdaterate 10 //sys_ticrate Max FPS (1000 Max) the server is to rendersys_ticrate 300 //SERVER LOGGING// log <on/off> Enable server logging? Default: Off log off //sv_logbans <0/1> Log server bans in the server logs. Default: 0 sv_logbans 0 // sv_logecho <0/1> Echo log information to the console. Default: 1 sv_logecho 1 // sv_logfile <0/1> Log server information in the log file. Default: 1 sv_logfile 1 //sv_log_onefile <0/1> Log server information to only one file. Default: 0 sv_log_onefile 0 //sv_logsdir Folder in the game directory where server logs will be stored. //RECON//rcon_password Set rcon passsword. Leave blank to disable rcon rcon_password "fsafmna,mfsdbjkfahfgafjsahfdsajkfgsdja" //sv_rcon_banpenalty <mins> Number of minutes to ban users who fail rcon authentication. Default: 0 sv_rcon_banpenalty 0 //sv_rcon_maxfailures <0-20> Max number of times a user can fail rcon authentication before being banned. Default: 10 sv_rcon_maxfailures 10 //sv_rcon_minfailures <0-20> Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned. Default: 5 sv_rcon_minfailures 5 //sv_rcon_minfailuretime <1-seconds> Number of seconds to track failed rcon authentications. Default: 30 sv_rcon_minfailuretime 30 // FTP sv_downloadurl "http://maps.wc.lt/"sv_allowupload "1"sv_allowdownload "1" // Text chattext_chat_1 "***********************************************"text_chat_2 "* V.I.P pirkimas say /NoriuVip *"text_chat_3 "* Kalbeti *mikrofon* galima tik nuo +16 metu!:)*"text_chat_4 "* Admin skype: facebook:orginal.golden*" // lists of banned players.// load ban filesexec listip.cfgexec banned.cfg
VPS duomenys VPSNET.LT
VPS-2 (VP21574) OS - Debian-7.0 (Cstrike 1.6), IP - 1, RAM - 1024 MB , CPU - 2 Ghz , SSD - 15 GB , Pralaidumas - 80 Mbps
Attachments
Htop Lentele
Htop Lentele

User avatar
V1LKAS
Flooderis arba specialistas
Posts: 612
Joined: 2012 Nov 08 12:55
Skype: darius489

Re: Linux serverio fps didinimas.

Post by V1LKAS »

Paleidimo eilutėje pridėk

Code: Select all

-pingboost 3
Nuo to išaugs cpu sąnaudos gana daug, bet ir fps boostas bus didelis

User avatar
laimiukas3
Moderatorius
Posts: 4569
Joined: 2012 Aug 03 01:12
Skype: laimiukas3
Location: Vilnius
Contact:

Re: Linux serverio fps didinimas.

Post by laimiukas3 »

V1LKAS wrote:Paleidimo eilutėje pridėk

Code: Select all

-pingboost 3
Nuo to išaugs cpu sąnaudos gana daug, bet ir fps boostas bus didelis
and sys_ticrate 1000
Image
Image
Image

Terror
Senbūvis
Posts: 1086
Joined: 2015 Feb 27 19:29
Location: Alytus

Re: Linux serverio fps didinimas.

Post by Terror »

Round pabaigoje bisk stringa dabar,ir kaip laime komanda irgi,21zaideju buna ir ju ping po 50-180 ir lag ka daryti

luxuks
Jau po truputį tampa savu
Posts: 186
Joined: 2014 Jun 18 17:20
Skype: lukas.luxuks

Re: Linux serverio fps didinimas.

Post by luxuks »

taigi kam visokie tie pingboost nesamones defaulta idedi

Code: Select all

cd /root/servas && screen -A -m -d -S servas ./hlds_run -game cstrike +port 27016 +map de_dust2 +maxplayers 20 +autoupdate -insecure

ir viskas pas mane va ir hns servas kur fps reikia ir visada stabilus.
Last edited by luxuks on 2015 Mar 13 21:13, edited 1 time in total.

Terror
Senbūvis
Posts: 1086
Joined: 2015 Feb 27 19:29
Location: Alytus

Re: Linux serverio fps didinimas.

Post by Terror »

luxuks wrote:taigi kam visokie tie pingboost nesamones defaulta idedi

Code: Select all

cd /root/servas && screen -S servas ./hlds_run -game cstrike +port 27016 +map de_dust2 +maxplayers 20 +autoupdate -insecure

ir viskas pas mane va ir hns servas kur fps reikia ir visada stabilus.

Gerai išbandysiu ja viskas bus gerai tai zjbs ;)

luxuks
Jau po truputį tampa savu
Posts: 186
Joined: 2014 Jun 18 17:20
Skype: lukas.luxuks

Re: Linux serverio fps didinimas.

Post by luxuks »

Paeditinau eilute biski, nes su senaja po rebooto neidavo screeno atsidaryt

User avatar
laimiukas3
Moderatorius
Posts: 4569
Joined: 2012 Aug 03 01:12
Skype: laimiukas3
Location: Vilnius
Contact:

Re: Linux serverio fps didinimas.

Post by laimiukas3 »

ta prasme stabilus prie ko cia tavo ta eilute jaigu server cfg yra cvarai bus sudini ir sokines blt tupai paprasta paleidimo eilute numete
beto turbut zmogus pasidares pagal amxmodx.lt pamoka tai jam reiketu redaguoti start_line
Image
Image
Image

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 2 guests