Page 15 of 51 FirstFirst ... 5131415161725 ... LastLast
Results 141 to 150 of 504

Thread: HowTo: Undervolt your notebook CPU for longer battery life

  1. #141
    Join Date
    May 2008
    Beans
    1

    Lightbulb Re: HowTo: Undervolt your notebook CPU for longer battery life

    Quote Originally Posted by Tao View Post
    yes (I've test it on 2.6.25.8 vanilla), with the Teknohog PHC patch. http://howflow.com/tricks/undervolt_..._kernel_2_6_25

    But I didn't succeed on the intrepid kernel... (2.6.26rc6 with ubuntu patches)
    Today I created a PHC patch for the brand new stable kernel 2.6.26:

    Undervolt your CPU with Linux PHC and kernel 2.6.26

    Andreas

  2. #142
    Join Date
    Feb 2007
    Location
    India
    Beans
    291
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HowTo: Undervolt your notebook CPU for longer battery life

    Quote Originally Posted by M4rotku View Post
    My value on the left went down to 0 and then the script quit after it got to a negative one. But the value on the right stayed at 19 the whole time. I assumed that it was supposed to do that.

    But the script didn't crash the system yet, so it still needs to run a few more times.

    How would I go about fixing this?
    Just set 19 as the VID for everything. The script will never crash as the processor is limiting the value to 19 whenever you put 18, 17..., 0. See my post a few pages back

  3. #143
    Join Date
    Oct 2007
    Location
    Here
    Beans
    479
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: HowTo: Undervolt your notebook CPU for longer battery life

    Quote Originally Posted by aashay View Post
    Just set 19 as the VID for everything. The script will never crash as the processor is limiting the value to 19 whenever you put 18, 17..., 0. See my post a few pages back
    How would I go about doing so without the script doing it for me since the script keeps going lower? can you give me a terminal command to set the VID as such?
    ~ Sanity is the sign of an unused mind.
    ~ I poked a badger with a spoon!

  4. #144
    Join Date
    Nov 2005
    Location
    Uppsala, Sweden
    Beans
    2,180
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: HowTo: Undervolt your notebook CPU for longer battery life

    Quote Originally Posted by M4rotku View Post
    How would I go about doing so without the script doing it for me since the script keeps going lower? can you give me a terminal command to set the VID as such?
    The only thing the script does (when it works) is that it tells you which vid's you can use safely. Even if the script misbehaves, you can still follow the rest of the instructions in the howto, but you'll have to test your vid's manually.

    If your default vid's are as from your post a few pages back:
    Quote Originally Posted by M4rotku View Post
    cat /sys/devices/system/cpu/cpu0/cpufreq/phc_controls
    9:43 6:19
    Then, to set all vid's temporarily to 19, you can use these commands:
    Code:
    sudo bash
    echo "9:19 6:19" > /sys/devices/system/cpu/cpu0/cpufreq/phc_controls
    echo "9:19 6:19" > /sys/devices/system/cpu/cpu1/cpufreq/phc_controls
    exit
    (the second "echo" command is only if you have a dual core cpu...)
    And to really stress the cpu run "burnMMX" in a terminal (or in two terminals to stress both cores of a dual core cpu). Let it run for a while, and if it doesn't freeze the computer within a minute or so, it's probably going to be stable.

    If it seems stable, make it automatically load on boot:
    Code:
    gksudo gedit /etc/rc.local
    And add these lines:
    Code:
    echo "9:19 6:19" > /sys/devices/system/cpu/cpu0/cpufreq/phc_controls
    echo "9:19 6:19" > /sys/devices/system/cpu/cpu1/cpufreq/phc_controls
    (again, the second line is only if you have a dual core cpu...)
    Last edited by jocko; July 14th, 2008 at 11:53 PM.

  5. #145
    Join Date
    Oct 2007
    Location
    Here
    Beans
    479
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: HowTo: Undervolt your notebook CPU for longer battery life

    It didn't freeze the computer when set to 19, but when I tried to run a virtual machine which would've consumed 512 MB of ram, it virtual machine (VirtualBox) aborted. Would this be caused by the low VID or is this a separate problem?
    ~ Sanity is the sign of an unused mind.
    ~ I poked a badger with a spoon!

  6. #146
    Join Date
    Feb 2007
    Location
    India
    Beans
    291
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HowTo: Undervolt your notebook CPU for longer battery life

    I would blame it on something else. This would be an all or nothing. Either everything freezes or it all works fine.

  7. #147
    Join Date
    Nov 2005
    Location
    Cambrils, Catalonia
    Beans
    1,130

    Re: HowTo: Undervolt your notebook CPU for longer battery life

    Thank you!!!

    For me, the originals VID's were 10:43 8:31 6:19 and running the script wouldn't crash the system; I set the VIDs all to 1, and then found, using PHCtool, that it wouldn't run any lower than 19 (probably already discussed, didn't read the whole thread).

    So now I've set all VIDs to 19 and the system seems perfectly stable and so on, hasn't crashed. A very good thing is that I believe that now the system consumes the same power running with the cpu in performance mode or powersave, is that true?

    Sad thing: the battery life won't increase, since the VID was already the lowest possible when running at 1GHz (lowest speed for my proc).

  8. #148
    Join Date
    Nov 2005
    Location
    Cambrils, Catalonia
    Beans
    1,130

    Re: HowTo: Undervolt your notebook CPU for longer battery life

    One more question: whenever I suspend or hibernate, when coming back, phctool won't work. If run in terminal, the message it outputs is this one:
    Code:
    Traceback (most recent call last):
      File "./phctool.py", line 467, in <module>
        app=appgui()
      File "./phctool.py", line 103, in __init__
        self.ShowThrottlingControl()		##display trottling Controls
      File "./phctool.py", line 258, in ShowThrottlingControl
        getattr(self, 'label_TState'+str(cpu)).set_text(self.throttling.data[cpu]['states']['T'+str(tid)]+"%")
    KeyError: 'T8'
    any ideas? anyone getting the same problem?

  9. #149
    Join Date
    Feb 2007
    Location
    India
    Beans
    291
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HowTo: Undervolt your notebook CPU for longer battery life

    I'm not getting any problems running phctool after hibernate

  10. #150
    Join Date
    Oct 2007
    Location
    Here
    Beans
    479
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: HowTo: Undervolt your notebook CPU for longer battery life

    I was wondering if this may've messed up some of my start-up things. The startup music bit plays before I log in, but the music that normally plays after I log in doesn't play anymore. Also, it takes a minute or so longer than usual to log in. These alone aren't really that big of problems. However, my Firefox is also messed up. When I try to start Firefox, it fails the first few times and then finally seems stable. Then, when I try to play a game, it fails as soon as the java starts loading.

    This has only happened since I made the changes to the "/etc/rc.local" script and i was wondering if I added the lines incorrectly somehow:

    #!/bin/sh -e
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.
    echo "9:19 6:19" > /sys/devices/system/cpu/cpu0/cpufreq/phc_controls
    echo "9:19 6:19" > /sys/devices/system/cpu/cpu1/cpufreq/phc_controls

    exit 0
    Does anything look wrong?
    ~ Sanity is the sign of an unused mind.
    ~ I poked a badger with a spoon!

Page 15 of 51 FirstFirst ... 5131415161725 ... LastLast

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
  •