Results 1 to 2 of 2

Thread: how to forbid the slowest cpu frequency

  1. #1

    Default how to forbid the slowest cpu frequency

    my pb :

    if the cpu power management uses "ondemand" governor and "on demand" governor uses the slowest cpu frequency 1 GHz then the pc freeze

    when opensuse boots cpu power management must at boot use 1.8 GHz as the slowest cpu frequency

    if not during boot or when kdm template is displayed or after a while just afrer opening kde session
    then
    pc freezes

    with my mandriva 2010.1 i use laptopmode tools to set the slowest cpu frequency to 1.8 GHZ
    but
    with opensuse it does not work

    i tried to put in boot.local , before.local , afer.local files these statements

    echo 1800000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
    echo 1800000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq

    result : 1/5 time pc boots without freeze

    i check in this case in scaling_min_freq file there is 1800000

    where is the pb ?
    is there anyone who knows how to well use .local files ?
    in what .local file to put the statements ?

    thanks
    OpenSuse Argon 15.3 x86_64,Asus Prime 250M-A, Intel Core i5-7400, 16 GB, Intel HD Graphics 630, Plugable usb-bt4le bluetooth 4.0 usb adapter, multicard reader USB 3.0 startech.com 35fcreadbu3, Epson XP-7100, Headset bluetooth 3.0 Philips SHQ7300

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: how to forbid the slowest cpu frequency

    On 2013-12-30 09:46, promeneur wrote:

    > i tried to put in boot.local , before.local , afer.local files these
    > statements


    I'm not sure that all those files are supported :-?

    I would try creating a different file from each one to see if they run. Or use "logger" to dump a
    statement to syslog and see how early they run.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" (Elessar))

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •