Raised This Month: $12 Target: $400
 3% 

about 'latency-performance' on Ubuntu 20


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rsdtt
Senior Member
Join Date: Oct 2009
Old 05-06-2022 , 11:57   about 'latency-performance' on Ubuntu 20
Reply With Quote #1

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.
__________________
I am learning sm now
rsdtt is offline
rsdtt
Senior Member
Join Date: Oct 2009
Old 05-06-2022 , 16:28   Re: about 'latency-performance' on Ubuntu 20
Reply With Quote #2

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.
__________________
I am learning sm now
rsdtt is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 05-06-2022 , 16:43   Re: about 'latency-performance' on Ubuntu 20
Reply With Quote #3

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.
Maxximou5 is offline
rsdtt
Senior Member
Join Date: Oct 2009
Old 05-07-2022 , 03:12   Re: about 'latency-performance' on Ubuntu 20
Reply With Quote #4

Quote:
Originally Posted by Maxximou5 View Post
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-01
downloading csgo srcds now.

after remake the system, it is ok now.
__________________
I am learning sm now

Last edited by rsdtt; 05-07-2022 at 09:42.
rsdtt is offline
lrdmafia
New Member
Join Date: Jun 2023
Old 06-14-2023 , 05:12   Re: about 'latency-performance' on Ubuntu 20
Reply With Quote #5

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 218: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
lrdmafia is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 06-14-2023 , 20:50   Re: about 'latency-performance' on Ubuntu 20
Reply With Quote #6

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
Maxximou5 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 02:29.


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