LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Manjaro
User Name
Password
Manjaro This forum is for the discussion of Manjaro Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 06-25-2021, 04:39 PM   #1
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Rep: Reputation: 36
CPUFREQ ondemand governor settings?


Hi there,

im looking for the ondemand governer settings for the cpu frequency stepping as i want to set the ignore_nice_load setting to 1 to stop boinc from keeping the cpu in max freq and making my cooler sound like a C17 taking off!

using acpi-cpufreq as my kernel module with a AMD Ryzen 5 3400G (for now until GPUs stop being made from solid
unobtainium)

I would have expected to find them at /sys/devices/system/cpu/cpufreq/ondemand but that folder dosn't even exist (i just have Policy0, Policy1 through Policy7 folders in the cpufreq directory above.)

any idea where this setting may hide now?
 
Old 06-30-2021, 10:01 AM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,141
Blog Entries: 6

Rep: Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828
You want to lower the frequency that the cpu runs at?
Look at cpupower. I use it.

It's in the arch repo. I'll let you run Manjaro.

https://wiki.archlinux.org/title/CPU_frequency_scaling
https://archlinux.org/packages/commu...6_64/cpupower/
 
Old 07-01-2021, 03:59 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
I'd rather try to limit boinc.

I haven't had to mess with CPU frequency settings for years.
 
Old 07-07-2021, 01:36 PM   #4
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by ondoho View Post
I'd rather try to limit boinc.

I haven't had to mess with CPU frequency settings for years.
yeh Boinc by its nature uses all your spare CPU cycles for grid research projects

what i want to do is allow it to do this but not to throttle up the processor to achieve this:
it runs its jobs with nice level 19 and automatically shuts off when the non boinc load is greater than 20% but dosnst have any way of changing the CPU governer
 
Old 07-08-2021, 08:53 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by dasy2k1 View Post
yeh Boinc by its nature uses all your spare CPU cycles for grid research projects

what i want to do is allow it to do this but not to throttle up the processor to achieve this:
it runs its jobs with nice level 19 and automatically shuts off when the non boinc load is greater than 20% but dosnst have any way of changing the CPU governer
But you can't throttle the CPU only for BOINC.
Basically what you want is BOINC doing less, so your CPU doesn't get hot. There's no 2 ways about it.
The fan comes on when the CPU gets hot, not when it goes into maximum frequency mode.
Are you sure you read BOINC documentation and are aware of all possible settings that might help you with that???
 
Old 07-09-2021, 05:26 PM   #6
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by ondoho View Post
But you can't throttle the CPU only for BOINC.
Basically what you want is BOINC doing less, so your CPU doesn't get hot. There's no 2 ways about it.
The fan comes on when the CPU gets hot, not when it goes into maximum frequency mode.
Are you sure you read BOINC documentation and are aware of all possible settings that might help you with that???


I am aware of this.
I used to run boinc exactly this way for years.
The way it has always worked was setting the CPU to not step up for any process with a nice level greater than 0

The flag I want to find is available on my laptop which currently runs mint.

Under /sys/devices/system/cpu/cpufreq/ondemand/ignore_nice_load

I just can't find this flag file on manjaro anywhere
 
Old 07-10-2021, 02:50 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
things change...
Try this search.
First result: https://bbs.archlinux.org/viewtopic.php?id=167818
 
Old 07-14-2021, 12:18 AM   #8
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Manjaro, Debian64 stable
Posts: 528

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by ondoho View Post
I'd rather try to limit boinc.

I haven't had to mess with CPU frequency settings for years.
I think cpulimit would be what you want.
 
Old 07-23-2021, 02:48 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ Good tip.
But it doesn't change frequencies.
Also IIRC from my superficial glances at the docs, BOINC has this functionality built in mor or less, but OP seems to think it doesn't work, and wants to change frequencies instead. But it's been 2 weeks, I don't really remember anymore. Maybe they'll come back and tell us the solution, or provide further information.

edit:

OP's actual problem seems to be this:
Quote:
Originally Posted by dasy2k1 View Post
Under /sys/devices/system/cpu/cpufreq/ondemand/ignore_nice_load

I just can't find this flag file on manjaro anywhere
Now either the functionality has been removed in newer kernels, or replaced by something else. I have not delved that deep tbh, but extensive kernel documentation exists, and is at OP's disposal.

Even so I maintain that fiddling around with kernel flags to influence the behaviour of a single software is the wrong approach.

Last edited by ondoho; 07-23-2021 at 02:52 AM.
 
1 members found this post helpful.
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
OnDemand Governor is not found in scaling available governors MonikaGShah Linux - Kernel 4 06-22-2019 05:25 PM
LXer: Linux's Ondemand Governor Is No Longer Fit LXer Syndicated Linux News 0 05-18-2013 09:12 PM
[SOLVED] Using the "powersave" governor on battery and "ondemand" governor on AC power piratesmack Slackware 5 01-21-2010 12:54 PM
Ondemand governor won't work, processor always stuck in high P-state mslzr Linux - Laptop and Netbook 2 11-03-2009 08:22 AM
anyone know how to setup 'ondemand' governor with cpufreq ? -=Graz=- Ubuntu 3 05-15-2006 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Manjaro

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration