LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-27-2006, 10:27 AM   #1
post_break
LQ Newbie
 
Registered: Jan 2006
Location: Toledo Ohio
Distribution: Debian/Ubuntu
Posts: 17

Rep: Reputation: 0
toshiba cpu speed


Ok so my 3.4hz cpu runs at full speed if there is flash on a website or there is anything taxing. Windows just pwns this system in battery life due to this. Currently Im running ubuntu dapper drake with xgl and it idles comfortably at 1.87ghz which I would like it to stay there no matter what. Is there a file I can edit to determine the max speed my processor can go?

I know there is this "cat /proc/cpuinfo" but I dont know if that is editable. Please help, this has been the main factor in my not using linux...
 
Old 07-28-2006, 08:03 PM   #2
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
what processor are you using?

if you can compile the kernel with "cpu frequency scaling" enabled in the power management section and have sysfs enabled in /sys, you can look at /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies for the available frequencies you have.

that's only one. i bet there's still more other ways.
 
Old 07-28-2006, 08:42 PM   #3
post_break
LQ Newbie
 
Registered: Jan 2006
Location: Toledo Ohio
Distribution: Debian/Ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by konsolebox
what processor are you using?

if you can compile the kernel with "cpu frequency scaling" enabled in the power management section and have sysfs enabled in /sys, you can look at /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies for the available frequencies you have.

that's only one. i bet there's still more other ways.
Its a "presshot" core mobile P4. It scales to 1.87 but I would like it to stay there ALL the time or at least remove the highest speed from the options.

"ryan@laptop:/sys/devices/system/cpu/cpu0/cpufreq$ cat scaling_available_frequencies
3333000 2933000 2667000 2400000 2133000 1867000"

Can I just nano this file and remove 3333000 from this or will that cause big problems upon boot up? Thanks for the help so far.
 
Old 07-28-2006, 08:52 PM   #4
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
if you have the userspace governor (recompile the kernel if you don't), when you do:
Code:
echo "userspace" > scaling_governor
the file scaling_setspeed should appear.

you can echo the custom frequency you wanted (only use the valid values from scaling_available_frequencies) to this file and it will set your cpu speed.

you can set this as a batch of commands in the local startup if you want to always have that speed.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Processor clock speed vs. CPU speed moxieman99 Linux - General 4 06-24-2005 10:43 AM
howto: control CPU fan speed and Northbridge fan speed? hedpe Linux - Software 2 04-18-2005 02:18 AM
CPU speed? carlosinfl Fedora 2 02-21-2005 01:01 PM
cpu speed WilliamS Slackware 4 02-06-2005 09:27 AM
please help guys, wrong cpu speed shown with a regular non-mobile cpu !! : ( maku Linux - Hardware 1 01-02-2005 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 05:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration