Raised This Month: $32 Target: $400
 8% 

Which kernel is best for srcds using Centos ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 05-03-2015 , 08:27   Which kernel is best for srcds using Centos ?
Reply With Quote #1

Currently I'm using Centos 6.5 and current kernel is 2.6.32.
CPU Xeon 8 threads <--- I mean 8 threads not core ) sry
16Gb ram

I'm aware that the usage of CPU is like locked at 10% and causing server lag somtimes when there are more resources on server that have not been use. So I wonder if there a optimized version to run srcds at maximum possible?

On https://www.kernel.org/pub/linux/kernel/v4.x/ I see the latest version is 4.x . any one using ? Please help.
Thanks for reading.
__________________

Last edited by nguyenbaodanh; 05-04-2015 at 01:00.
nguyenbaodanh is offline
Robin955
Veteran Member
Join Date: Jun 2013
Old 05-03-2015 , 12:35   Re: Which kernel is best for srcds using Centos ?
Reply With Quote #2

8 cores 16 threads? that sounds pretty sweeeet

or just 4 core 8 threads?
Robin955 is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 05-03-2015 , 14:34   Re: Which kernel is best for srcds using Centos ?
Reply With Quote #3

Quote:
Originally Posted by Robin955 View Post
8 cores 16 threads? that sounds pretty sweeeet

or just 4 core 8 threads?
Is there even a 4-core Xeon, the lowest I have seen are 6-core Xeons.
__________________
Sarabveer is offline
VoiDeD
AlliedModders Donor
Join Date: Mar 2009
Location: Illinois, USA
Old 05-03-2015 , 15:07   Re: Which kernel is best for srcds using Centos ?
Reply With Quote #4

Quote:
Originally Posted by Sarabveer View Post
Is there even a 4-core Xeon, the lowest I have seen are 6-core Xeons.
The entire E3 series.
__________________
VoiDeD is offline
veli
Senior Member
Join Date: Apr 2012
Location: Netherlands
Old 05-03-2015 , 16:25   Re: Which kernel is best for srcds using Centos ?
Reply With Quote #5

Quote:
Originally Posted by nguyenbaodanh View Post
Currently I'm using Centos 6.5 and current kernel is 2.6.32.
CPU Xeon 8 cores
16Gb ram

I'm aware that the usage of CPU is like locked at 10% and causing server lag somtimes when there are more resources on server that have not been use. So I wonder if there a optimized version to run srcds at maximum possible?

On https://www.kernel.org/pub/linux/kernel/v4.x/ I see the latest version is 4.x . any one using ? Please help.
Thanks for reading.
paste result of this command here pls.

grep -E '^model name|^cpu MHz' /proc/cpuinfo
veli is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 05-03-2015 , 16:46   Re: Which kernel is best for srcds using Centos ?
Reply With Quote #6

Centos is usually really really late in getting the updates out. I would recommend Gentoo, or Ubuntu if you want to test the latest kernel. Debian would be another good choice.

In case, you wanna keep Centos distro. You can always build your own kernel according to your needs. Last I ran CSGO server was on Gentoo 3.2, and it worked really well.
__________________
Spirit_12 is online now
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 05-04-2015 , 00:52   Re: Which kernel is best for srcds using Centos ?
Reply With Quote #7

yes it's the E3 series

model name : Intel(R) Xeon(R) CPU E3-1245 v3 @ 3.40GHz
cpu MHz : 3401.000
model name : Intel(R) Xeon(R) CPU E3-1245 v3 @ 3.40GHz
cpu MHz : 800.000
model name : Intel(R) Xeon(R) CPU E3-1245 v3 @ 3.40GHz
cpu MHz : 3401.000
model name : Intel(R) Xeon(R) CPU E3-1245 v3 @ 3.40GHz
cpu MHz : 800.000
model name : Intel(R) Xeon(R) CPU E3-1245 v3 @ 3.40GHz
cpu MHz : 2100.000
model name : Intel(R) Xeon(R) CPU E3-1245 v3 @ 3.40GHz
cpu MHz : 800.000
model name : Intel(R) Xeon(R) CPU E3-1245 v3 @ 3.40GHz
cpu MHz : 800.000
model name : Intel(R) Xeon(R) CPU E3-1245 v3 @ 3.40GHz
cpu MHz : 800.000
__________________
nguyenbaodanh is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 05-04-2015 , 00:53   Re: Which kernel is best for srcds using Centos ?
Reply With Quote #8

I wonder if this is a CPU problems?
__________________
nguyenbaodanh is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 05-04-2015 , 01:01   Re: Which kernel is best for srcds using Centos ?
Reply With Quote #9

Quote:
Originally Posted by Robin955 View Post
8 cores 16 threads? that sounds pretty sweeeet

or just 4 core 8 threads?
my bad 8 threads
__________________
nguyenbaodanh is offline
veli
Senior Member
Join Date: Apr 2012
Location: Netherlands
Old 05-04-2015 , 02:13   Re: Which kernel is best for srcds using Centos ?
Reply With Quote #10

hello ,

It seems not all of your cpu's working on max performance. Swap memory disabled? If not disable it first with command swapoff -a

and than try this;
for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -f $CPUFREQ ] || continue; echo -n performance > $CPUFREQ; done

Check cpu speed again with this;
grep -E '^model name|^cpu MHz' /proc/cpuinfo

For last check the CONGIF_HZ. 1000 hz must be enabled on your kernel. Command to check that;
cat /boot/config-`uname -r` | grep HZ

This is on my engine;

Last login: Mon May 4 07:55:12 2015 from ip5455565d.speed.planet.nl
[root@xxxxx~]# cat /boot/config-`uname -r` | grep HZ
CONFIG_NO_HZ=y
# 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
CONFIG_MACHZ_WDT=m

CPU = As you can see all of my cpu;s running on max speed.
Last login: Mon May 4 08:109 2015 from ip5455565d.speed.planet.nl
[root@xxxx ~]# grep -E '^model name|^cpu MHz' /proc/cpuinfo
model name : Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz
cpu MHz : 3501.000
model name : Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz
cpu MHz : 3501.000
model name : Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz
cpu MHz : 3501.000
model name : Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz
cpu MHz : 3501.000
[root@xxxx~]#
veli is offline
Reply


Thread Tools
Display Modes

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:57.


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