AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   about 'latency-performance' on Ubuntu 20 (https://forums.alliedmods.net/showthread.php?t=337671)

rsdtt 05-06-2022 11:57

about 'latency-performance' on Ubuntu 20
 
I found that 'tuned-adm profile latency-performance' is not work on Ubuntu 20.

because of latency-performance need to set kernel
sched_min_granularity_ns = 10000000
sched_migration_cost_ns = 5000000

but While with kernel 5.13, these variables is missing.

according to

https://forum.endeavouros.com/t/sysc...5-13-why/17097

and I try to set these on /sys/kernel/debug/sched
but it is useless.

so how can I use latency-performance on Ubuntu 20.

rsdtt 05-06-2022 16:28

Re: about 'latency-performance' on Ubuntu 20
 
may be I was wrong.
I got another server which latency-performance is normal on ubuntu 20.
so I dont know what different between them.

Maxximou5 05-06-2022 16:43

Re: about 'latency-performance' on Ubuntu 20
 
Kernel version differences would do this.
Provide the kernel information and check the differences in the two along with the server specifications, like CPU and such.

rsdtt 05-07-2022 03:12

Re: about 'latency-performance' on Ubuntu 20
 
Quote:

Originally Posted by Maxximou5 (Post 2778802)
Kernel version differences would do this.
Provide the kernel information and check the differences in the two along with the server specifications, like CPU and such.

both are i9 12900k

different:
normal:Linux version 5.13.0-40-generic (buildd@ubuntu)
useless:Linux version 5.13.0-30-generic (buildd@ubuntu)

and now I remake the useless one to Linux version 5.4.0-65-generic (buildd@lcy01-amd64-018)
downloading csgo srcds now.

after remake the system, it is ok now.

lrdmafia 06-14-2023 05:12

Re: about 'latency-performance' on Ubuntu 20
 
hello, I have the same problem,
I use ubuntu 20.04,
kernel installed: Linux version 6.3.7-x64v1-xanmod1 (root@mascote) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 ) #0~20230609.ad1a983 SMP PREEMPT_DYNAMIC Fri Jun 9 21:38:08 UTC

how to solve this problem?
2023-06-14 00:16:42,316 ERROR tuned.utils.commands: Executing sysctl error: sysctl: cannot stat /proc/sys/kernel/sched_min_granularity_ns: No such file or directory
2023-06-14 00:16:42,340 ERROR tuned.utils.commands: Executing sysctl error: sysctl: cannot stat /proc/sys/kernel/sched_migration_cost_ns: No such file or directory

Maxximou5 06-14-2023 20:50

Re: about 'latency-performance' on Ubuntu 20
 
Use an older version or compile the kernel yourself with changes to allow for it. You can also safely ignore those errors.

Make a report here for help regarding the kernel.
https://github.com/xanmod/linux


All times are GMT -4. The time now is 12:20.

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