Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: overclocking

  1. #1
    Join Date
    Dec 2012
    Location
    Canada
    Beans
    60
    Distro
    Ubuntu 13.04 Raring Ringtail

    Cool overclocking

    I have always woundering if there is a program for overclocking cpu or gpu on ubuntu or if it would work with my hardware. does anyone know anything about this subject.computer specs in my signature
    loving the lemur ultra

  2. #2
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    2,518
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: overclocking

    If your computer has variable clock rates, and if it is enabled in the BIOS, then linux should use it. Two examples are below, one from a computer that has it and one from a computer that doesn't:
    Code:
    doug@doug-64:~$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
    cat: /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor: No such file or directory
    Code:
    doug@s15:~/temp$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
    ondemand
    ondemand
    ondemand
    ondemand
    ondemand
    ondemand
    ondemand
    ondemand
    Now, on my computer that has variable clock rates, the rated freqcuency is 3.4 GHz. and if it is not busy, the clock is slowed:
    Code:
    doug@s15:~/temp$ grep MHz /proc/cpuinfo
    cpu MHz         : 1600.000
    cpu MHz         : 1600.000
    cpu MHz         : 1600.000
    cpu MHz         : 1600.000
    cpu MHz         : 1600.000
    cpu MHz         : 1600.000
    cpu MHz         : 1600.000
    cpu MHz         : 1600.000
    But if I load down a cpu, then it will speed up:
    Code:
    doug@s15:~/temp$ grep MHz /proc/cpuinfo
    cpu MHz         : 3401.000     <<<<< The "1" on the end indicates that CPU is running overclocked, actually well above 3.4 GHz
    cpu MHz         : 1600.000
    cpu MHz         : 1600.000
    cpu MHz         : 1600.000
    cpu MHz         : 1600.000
    cpu MHz         : 1600.000
    cpu MHz         : 1600.000
    cpu MHz         : 1600.000
    Any follow-up information on your issue would be appreciated. Please have the courtesy to report back.

  3. #3
    Join Date
    Dec 2012
    Location
    Canada
    Beans
    60
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: overclocking

    unfurtonatly macbook do not have bios on it i was hopping there was a linux program for over clocking

    isaac@isaacs-MacBookPro:~$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
    ondemand
    ondemand
    isaac@isaacs-MacBookPro:~$ /temp$ grep MHz /proc/cpuinfo
    bash: /temp$: No such file or directory
    isaac@isaacs-MacBookPro:~$ grep MHz /proc/cpuinfo
    cpu MHz : 800.000
    cpu MHz : 800.000

    isaac@isaacs-MacBookPro:~$ grep MHz /proc/cpuinfo
    cpu MHz : 800.000
    cpu MHz : 800.000
    loving the lemur ultra

  4. #4
    Join Date
    Nov 2011
    Beans
    442
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: overclocking

    isn't cpu clock controlled by efi? I doubt there would be linux programs to manipulate it from a ui but what do I know.

  5. #5
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    2,518
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: overclocking

    So, you have it. You just need to load a CPU 100% to see the max clock rate.
    Any follow-up information on your issue would be appreciated. Please have the courtesy to report back.

  6. #6
    Join Date
    Dec 2012
    Location
    Canada
    Beans
    60
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: overclocking

    what do you mean load it as in run a run a lot of programs to max out the cpu
    loving the lemur ultra

  7. #7
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    2,518
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: overclocking

    Quote Originally Posted by kurja View Post
    isn't cpu clock controlled by efi? I doubt there would be linux programs to manipulate it from a ui but what do I know.
    there are programs. I do not recall the name(s), as I do everything via primative commands from the terminal.
    Any follow-up information on your issue would be appreciated. Please have the courtesy to report back.

  8. #8
    Join Date
    Jan 2010
    Location
    UK
    Beans
    58
    Distro
    Kubuntu 12.10 Quantal Quetzal

    Re: overclocking

    It's normal for your CPU to vary its clock speed according to load. This keeps the temperature down, saves energy and reduces fan noise. 3401 MHz is not overclocked. I wouldn't recommend overclocking in a laptop as your build won't have the ability to deal with the additional heat generated.

    Also for overclocking a CPU it is recommended that you only increase the CPU multiplier, which is locked on many processors. Increasing the base clock is risky because it also increases the clock on your memory.
    Last edited by ZombieApocalypse; April 30th, 2013 at 04:53 PM.

  9. #9
    Join Date
    Dec 2012
    Location
    Canada
    Beans
    60
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: overclocking

    grep MHz /proc/cpuinfo
    cpu MHz : 800.000
    cpu MHz : 2200.000
    loving the lemur ultra

  10. #10
    Join Date
    Feb 2011
    Location
    Coquitlam, B.C. Canada
    Beans
    2,518
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: overclocking

    Quote Originally Posted by Isaacmarritt View Post
    what do you mean load it as in run a run a lot of programs to max out the cpu
    Yes, However, I just use one program that just uses the CPU at maximum. The other thing you can do is just force the cpu to max frequency. Example (run as "sudo"):
    Code:
    doug@s15:~/sguide-1304/doug_check$ cat ~/temp/set_cpu_performance
    #! /bin/bash
    cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governorfor file in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do echo "performance" > $file; done
    cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
    However, you should set is back to "ondemand" mode afterwards, or your computer might get hot, as it will always be running at max clock rate. There is also a list of available clock frequencies somewhere, but I didn't find it yet.

    If you are interested, and for intel CPU's, which you have, there is another way to know the real clock frequency, even when in turbo (overclocked mode). Let me know and I'll do another posting (after I try to remember the details).
    Any follow-up information on your issue would be appreciated. Please have the courtesy to report back.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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