Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


how to disable the CPU Frequency Scaling on the 2euro Online Server?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

how to disable the CPU Frequency Scaling on the 2euro Online Server?

hotsnowhotsnow Veteran
edited March 2015 in Help

the cpu is 1.6G, but I have found the "cat /proc/cpuinfo" is show as 800Mhz only,

processor   : 0
vendor_id   : CentaurHauls
cpu family  : 6
model       : 15
model name  : VIA Nano processor U2250 (1.6GHz Capable)
stepping    : 3
cpu MHz     : 800.000
cache size  : 1024 KB
fpu     : yes
fpu_exception   : yes
cpuid level : 10
wp      : yes
flags       : 
bogomips    : 3191.60
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 48 bits virtual
power management:

and "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" is show as "ondemand",

although I can modify this value to "performance", and it's effective immediately, but after reboot, the value changed back to "ondemand" again :(

Comments

  • MunMun Member

    This does no harm and the cpu will auto clock to the full speed when needed, so why do you need it changed?

    Thanked by 1hotsnow
  • @Mun said:
    This does no harm and the cpu will auto clock to the full speed when needed, so why do you need it changed?

    thanks, I know, I have several such servers, only one have this "CPU Frequency Scaling", so I'm curious how to disable it :p

  • What would purpose of disabling it be?

  • MunMun Member

    @hotsnow said:
    thanks, I know, I have several such servers, only one have this "CPU Frequency Scaling", so I'm curious how to disable it :p

    Is there a reason for the need to change it?

    you could setup a bash script in /etc/rc.local

    -or-

    contact your provider and ask them to disable scaling in the bios.

  • rm_rm_ IPv6 Advocate, Veteran
    edited March 2015

    Mun said: contact your provider and ask them to disable scaling in the bios.

    If you don't even have a clear reason to, then better don't.

    I don't think that's even possible in the first place (as the scaling will be enabled by your OS anyways), but that aside, it'd be one of those "very important and highly thought out requests" that makes me feel sorry for them for even offering those servers at 2 EUR.

    As said above, there's a number of ways you can change it yourself
    1) /etc/rc.local
    2) installing and configuring cpufrequtils (what is your OS??);
    3) rebuilding a kernel to use a different default frequency governor.

    Thanked by 1hotsnow
  • MunMun Member

    @rm_ said:
    If you don't even have a clear reason to, then better don't.

    Read my first post, I am asking why he wanted it changed as well. I don't see any purpose either.

  • hotsnowhotsnow Veteran
    edited March 2015

    @rm_ said:
    3) rebuilding a kernel to use a different default frequency governor.

    yep, I also think so, because I'm using a self-installed clean debian on this server, but my several other servers are all using the online.net image, so it seems the kernel of the online.net debian image have already disabled the CPU Frequency Scaling, but the offical debian image support it by default.

  • DBADBA Member

    The main reason to disable it these days is to reduce support tickets from people who see the current frequency the processor is running at and wonder why it's less than the maximum. The cost of servicing those tickets outstrips the power savings in a lot of cases like a VPS host node.

  • murataimuratai Member
    edited March 2015

    [root@fr ~]# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    ondemand

    [root@fr ~]# cat /proc/cpuinfo
    processor : 0
    vendor_id : CentaurHauls
    cpu family : 6
    model : 15
    model name : VIA Nano processor U2250 (1.6GHz Capable)
    stepping : 3
    cpu MHz : 1600.000
    cache size : 1024 KB
    physical id : 0
    siblings : 1
    core id : 0
    cpu cores : 1
    apicid : 0
    initial apicid : 0
    fpu : yes
    fpu_exception : yes
    cpuid level : 10
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush acpi mmx fxsr sse sse2 ss tm pbe syscall nx lm constant_tsc rep_good nopl pni monitor vmx est tm2 ssse3 cx16 xtpr rng rng_en ace ace_en ace2 phe phe_en lahf_lm
    bogomips : 3192.00
    clflush size : 64
    cache_alignment : 128
    address sizes : 36 bits physical, 48 bits virtual
    power management:

    You need to put some stress on your cpu if you want it to run at max frequency, it is that simple!

Sign In or Register to comment.