Recommend kernel

Сообщения
18
Реакции
3
Hello,

Can someone please recommend a kernel version that lowers the CPU usage?
Currently with pingboost 3 and sys_ticrate 1030, the server takes 25%CPU usage when it's empty in a 2.9GHz CPU. Can this be lowered?
 
Сообщения
18
Реакции
3
Well.. I don't agree here.
On a worse processor (2.6GHz), but with an older version of Debian (7.6 or 7.9), CPU usage with pingboost 3 is at around 10%:

uname -a -> 3.2.0-4-amd64

CPU result:
Код:
CPU   In    Out   Uptime  Users   FPS    Players
10.50  0.00  0.00  126595  9790  998.14       0
With Debian 10, on a better processor from a newer Xeon generation (@3.2GHz), the usage is significantly higher.

Код:
CPU   In    Out   Uptime  Users   FPS    Players
25.00  0.00  0.00       0     0  996.23       0
Same build, rehlds version, regamedll version, etc.
What is the explanation for that?
 
Сообщения
18
Реакции
3
@fantom - I'm not sure it's a good idea to put an old kernel version on a newer operating system.
@AleXr - X5650 @ 2.67GHz (6 cores, 12 threads) vs E5-2690 v2 @ 3.00GHz (10 cores, 20 threads) (+ Turbo frequency @3.60).

I just don't see the logic, how a much better processor gets much worse results.
In theory, a newer kernel/OS should also have better performance.

There are a lot of benefits in upgrading Debian 7 to Debian 10 - security updates, up-to-date packages, etc.
 
Сообщения
28
Реакции
1
Disable CPU patches. Just add this line to /etc/default/grub (in GRUB_CMDLINE_LINUX_DEFAULT="quiet" - after quiet):
noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off mitigations=off

Result: GRUB_CMDLINE_LINUX_DEFAULT="quiet noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off mitigations=off"

And update grub config:
apt install --reinstall grub-legacy
apt install grub-common
grub-mkconfig -o /boot/grub/grub.cfg

reboot
 
Сообщения
18
Реакции
3
Thanks. There was a slight improvement. It dropped from average 25% CPU usage, to 21%.
I have also tried recompiling the existing kernel, changing CPU frequency, timer settings, etc, but that also didn't work for some reason.
When i patched older kernels, there were significant improvements...
 
Сообщения
432
Реакции
409
Помог
14 раз(а)
I just don't see the logic, how a much better processor gets much worse results.
Because they have completely different architecture and, for example, E5-2690 can decrease clocks while idle, so:
1. Make tests on same CPU
2. Measure CPU loading with top/htop/etc, not "stats"
 
Сообщения
256
Реакции
12
Disable CPU patches. Just add this line to /etc/default/grub (in GRUB_CMDLINE_LINUX_DEFAULT="quiet" - after quiet):
noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off mitigations=off

Result: GRUB_CMDLINE_LINUX_DEFAULT="quiet noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off mitigations=off"

And update grub config:
apt install --reinstall grub-legacy
apt install grub-common
grub-mkconfig -o /boot/grub/grub.cfg

reboot
Can you please explain this in details ? Like for Latest 5.6 kernel
 
Сообщения
3
Реакции
0
Hello Sorry for posting here couldn't find where to post thread to Operating System -
Processor: Intel i5-661 (4 x 3.33 GHz)
RAM: 10GB DDR3
Disk(-s): 1TB HDD
Added: GPU Intel HD Graphics
This is specs for my DEDICATED SERVER - And i would like to ask dev-cs.ru members to suggest a kernel optimization i am hosting a MIX SERVER For CS 1.6! Thanks in advance.
 
Сообщения
121
Реакции
31
this thread is quite old and since the topic is about recommending a linux kernel .. . in case you are running debian/ubuntu rootserver - check https://liquorix.net/
liquorix is built from the zen-kernel sources.
it has multiple patches included which boost the overall performance compared to the default kernel and also is a good substitution for a client and not only for gameservers.
i run a rehlds/regamedll_cs and tweaked the (re)hlds with schedtool -R -p 10 hlds_linux-pid and it uses 75% (1core) while being empty - pingboost 3 and sys_ticrate 10001 are set.
the cpu-usage doesnt really increase when users are playing - cpu is a i3-4130T @ 2.90GHz.
 
  • Нравится
Реакции: ssx
Сообщения
65
Реакции
1
how many servers can i run with this:

OVH
Essential Processor 2 vCore Memory 4 GB Storage 80 GB SSD NVMe Public bandwidth 500Mbps
ubuntu
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу