Raised This Month: $ Target: $400
 0% 

Linux server Kernel optimization (Counter Strike 1.6)


Post New Thread Reply   
 
Thread Tools Display Modes
WaSaAa1
Senior Member
Join Date: Dec 2011
Location: Andalusia (Spain)
Old 10-01-2013 , 03:54   Re: Linux server Kernel optimization (Counter Strike 1.6)
Reply With Quote #11

I advise if possible choose a Xeon processor are higher quality and greater stability than an i7 or other processor and at least 8-core processor.

• 1000fps @ hlds = 1ms, Server Response (excellent)
• 300fps @ hlds = 3ms, server response (normal)
• 100fps @ hlds = 10ms, Server Response (bad)

The response time is in addition to your ping, affecting registration and accuracy of the bullets, the higher the better but more CPU consuming.
__________________
Being admin is not power, is responsibility.
WaSaAa1 is offline
boris11
Junior Member
Join Date: Jul 2013
Old 10-02-2013 , 11:28   Re: Linux server Kernel optimization (Counter Strike 1.6)
Reply With Quote #12

Do you know a good tutorial for beginners to install kernel lowlatency ?
boris11 is offline
Phant
Veteran Member
Join Date: Sep 2009
Location: New Jersey
Old 10-02-2013 , 12:10   Re: Linux server Kernel optimization (Counter Strike 1.6)
Reply With Quote #13

Quote:
Originally Posted by boris11 View Post
Do you know a good tutorial for beginners to install kernel lowlatency ?
I use this (Ubuntu):
http://commons.oreilly.com/wiki/inde...the_Ubuntu_Way
Best tutorial about Kernel build (I use translated, Russian version for me).
(you should use "make menuconfig" as configuration method)
Phant is offline
Send a message via ICQ to Phant
RanzQ
New Member
Join Date: Oct 2013
Old 10-03-2013 , 04:03   Re: Linux server Kernel optimization (Counter Strike 1.6)
Reply With Quote #14

I have a low-cost virtual server and I first had Ubuntu on it. Recently swapped to Debian since the memory usage is much lower (I don't need the Ubuntu stuff on a simple server). It's a 1-core 2,66ghz with 512MB ram. I was testing if I could run a 1000fps hlds (DOD 1.3) on it, but I only got about 500-700. After a couple of matches I thought the hit reg wasn't so good.

What I did to achieve low latency kernel was this:

First I upgraded the kernel to a RT version, which has PREEMPT already configured (you want this with 1000hz):
https://wiki.debian.org/HowToUpgradeKernel

For me the search found this:
linux-image-3.2.0-4-rt-amd64 - Linux 3.2 for 64-bit PCs, PREEMPT_RT

After installing and booting to the new kernel, I downloaded source and compiled it:
http://kernel-handbook.alioth.debian...mon-tasks.html (Part 4.5)

At 'make menuconfig', just exit it immediately and it should generate a file '.config'. Edit it and look for these lines and change them like this:

# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
CONFIG_HZ_1000=y
CONFIG_HZ=1000

Save it and follow the rest of the instructions. After successfully booting to the new kernel, you can check the current config:

cat /boot/config-$(uname -r) | grep HZ

This didn't help me to get 1000fps since the server is too poor, but I made it run with ticrate and fps as 500. Now the hit reg is awesome compared to servers we usually use on this scene.
RanzQ is offline
boris11
Junior Member
Join Date: Jul 2013
Old 02-13-2014 , 06:13   Re: Linux server Kernel optimization (Counter Strike 1.6)
Reply With Quote #15

Hello,

its me again after couple months.
I have still not found the right solution.

Finally,which OS is better: ( according to your experience )

- Ubuntu server 12.04 lts + kernel lowlatency
- Debian nad RT kernel version
boris11 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode