Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Intel Turbo Boost with Ubuntu 12.04
New Posts  All Forums:Forum Nav:

Intel Turbo Boost with Ubuntu 12.04

post #1 of 14
Thread Starter 
Hey guys, so I just installed ubuntu on my ultrabook, an asus UX21e. And I am wondering if there is a way to toggle the Intel turbo? In windows I can run it at 1.8Ghz or turbo it up to 2.6. But in ubuntu its automatically running full blast, which kills by battery and makes the ultrabook get super hot

thanks ahead of time guys
post #2 of 14
Hmm...I thought by now this little bug should have been long dead. Guess not. Try to see if you can run the following commands
Code:
sudo cpufreq-set -rg powersave
cpufreq-info

And then post the out put from a the terminal.

Almost forgot to mention that you should run the first command twice. For some reason it never works the first time.
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
post #3 of 14
Thread Starter 
I had to install it, no big deal tho, heres what I got

The governor "powersave" may decide which speed to use
within this range.
current CPU frequency is 800 MHz.
cpufreq stats: 1.60 GHz:43.48%, 1.60 GHz:0.47%, 1.50 GHz:0.11%, 1.40 GHz:0.16%, 1.30 GHz:0.24%, 1.20 GHz:0.22%, 1.10 GHz:0.22%, 1000 MHz:0.12%, 900 MHz:0.50%, 800 MHz:54.47% (872)
analyzing CPU 3:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0 1 2 3
CPUs which need to have their frequency coordinated by software: 3
maximum transition latency: 10.0 us.
hardware limits: 800 MHz - 1.60 GHz
available frequency steps: 1.60 GHz, 1.60 GHz, 1.50 GHz, 1.40 GHz, 1.30 GHz, 1.20 GHz, 1.10 GHz, 1000 MHz, 900 MHz, 800 MHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance
current policy: frequency should be within 800 MHz and 1.60 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency is 800 MHz.
cpufreq stats: 1.60 GHz:40.68%, 1.60 GHz:0.21%, 1.50 GHz:0.38%, 1.40 GHz:0.15%, 1.30 GHz:0.19%, 1.20 GHz:0.07%, 1.10 GHz:0.12%, 1000 MHz:0.30%, 900 MHz:0.21%, 800 MHz:57.69% (857)
post #4 of 14
Grr...I wish I had time to dig through my bookmarks but there should be a fix for this. I'm curious though if you can post the output of the second command after a few hours. Basically, I'm just checking to see if your manual change is actually working or if something is over-ridding it. Maybe you can ask some members like Shrak or Plan9 or Transhour if they know the fix or another work around. I'm surprised no one else answered here.
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
post #5 of 14
Can you disable turbo in the bios, force full speed and see if the governors can pick apart the speeds for ya? You should be able to force said speed, though I don't have an Intel nor do I have any experience with it's boost. I disable anything like that on my desktop, if I could run CnQ I would but allas I can't (unlocked cores). That's prob the best you'll get outside of seeing if it's a distro specific issue and doing some testing. Unless somebody else has info, I'll do a quick google-foo since I have NO experience with this.

http://luisjdominguezp.tumblr.com/post/19610447111/disabling-turbo-boost-in-linux

https://code.google.com/p/i7z/

Best option might be to disable and see if you can default speeds to be "max", then use a governor to get control over what frequencies you want at what stages (800/1.6/3.2 for example). Other than that, turbo boost should work automatically from what I've read and gathered. If it isn't working correctly it might be a kernel glitch, an update/downgrade might fix.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #6 of 14
Cornoyrange basically gave the awnser you have to load the proper modules of the kernel wich is the acpi pstate driver, and the given govener you want to use like the choises performance powersave conservertaive etc.

If the modules are build into the kernel the settings for the default behavier can be changed in the /proc filesystem, or sysfs filesystem.

or via kernel command line consult kernel doc. http://www.mjmwired.net/kernel/Documentation/cpu-freq/governors.txt .

And no you dont have to disable it in bios Linux basically knows every wierd sick case and has a workaround for it.

You want the ondemand govenor if i read this up. I´ll try google and read up how to set it.

Here is some info but not the right yet. https://wiki.archlinux.org/index.php/CPU_Frequency_Scaling

More info not clear yet tho http://www.thinkwiki.org/wiki/How_to_make_use_of_Dynamic_Frequency_Scaling .

Well actually # echo conservative > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

so # echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

should do the trick for dynamic frequency.

More http://www.mjmwired.net/kernel/Documentation/cpu-freq/cpu-drivers.txt

So make sure you load driver acpi-cpufreq and ondemand govenor and there you go pstate jumping like you want.
Edited by erniv2 - 3/28/13 at 5:20pm
post #7 of 14
Quote:
Originally Posted by erniv2 View Post

Cornoyrange basically gave the awnser you have to load the proper modules of the kernel wich is the acpi pstate driver, and the given govener you want to use like the choises performance powersave conservertaive etc.

If the modules are build into the kernel the settings for the default behavier can be changed in the /proc filesystem, or sysfs filesystem.

or via kernel command line consult kernel doc. http://www.mjmwired.net/kernel/Documentation/cpu-freq/governors.txt .

And no you dont have to disable it in bios Linux basically knows every wierd sick case and has a workaround for it.

You want the ondemand govenor if i read this up. I´ll try google and read up how to set it.

Here is some info but not the right yet. https://wiki.archlinux.org/index.php/CPU_Frequency_Scaling

More info not clear yet tho http://www.thinkwiki.org/wiki/How_to_make_use_of_Dynamic_Frequency_Scaling .

Well actually # echo conservative > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

so # echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

should do the trick for dynamic frequency.

More http://www.mjmwired.net/kernel/Documentation/cpu-freq/cpu-drivers.txt

So make sure you load driver acpi-cpufreq and ondemand govenor and there you go pstate jumping like you want.

The thread owner knows that, the thread owner is? =(
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #8 of 14
Thread Starter 
Hey guys sorry for the long reply, Ive been busy, thanks for all the help with this, but in the end I gave up and went back to windows -_-
post #9 of 14
Quote:
Originally Posted by cornoyrange View Post

Hey guys sorry for the long reply, Ive been busy, thanks for all the help with this, but in the end I gave up and went back to windows -_-

Well to be honest...I don't see what was the problem...after you did what I said your output from terminal indicated that it was using the 800MHz clockstate. I know it would be annoying but you probably were just going to have to set the governor yourself every time you turned on the laptop and that looked to be about it. However, it does seem that Ubuntu specifically...or more specifically a Unity issue. Also...I think you would have been better off with a 12.10 spin as I'm not sure if support was that good for the kernel that 12.04 had for what I'm guessing was a Sandy Bridge ULV CPU?

I'm sorry you went back to windows if you thought Linux was bad...it just happens that likely the combination of hardware and Ubuntu LTS were a bad choice.
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
post #10 of 14
Thread Starter 
Its just I use the laptop for school and its kind of annoying to have to do that. But I still use Ubuntu on 3 of my other PC's. I really life it, it just seems silly that there wouldnt be native support for Turbo's, considering how popular they are.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Intel Turbo Boost with Ubuntu 12.04