Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 22 Jul 2014, 13:47
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
CPU FREQUENCY SCALING 1.3-2 - Ondemand (dynamic) - GUI
Post new topic   Reply to topic View previous topic :: View next topic
Page 6 of 6 [81 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6
Author Message
jogreer

Joined: 28 Sep 2010
Posts: 22

PostPosted: Wed 29 Sep 2010, 09:40    Post subject: Battery life
Subject description: No confirmal
 

Hi.

I can't confirm the increased battery life, but I sent a message to Zwane (programmer of the p4clockmod module) asking for a revert to the old setting when it worked. Let's wait for his reply and I'll post it here.

In WinXP the lower throttle decreased the fan noise level because the temperature went down, and that's good enough for me.

Yes I just tested powersave and it worked, though it is really slow.

I can confirm increased battery life from 1hr 20min on performance to 1hr 50min on ondemand when using it in Windows XP.

Now I have found a hack that doesn't require a new compilation of kernel:

cd /lib/modules/2.6.xx.x/kernel/arch/x86/kernel/cpu/cpufreq
cp p4-clockmod.ko p4-clockmod.ko.backup
hexdump -Cv p4-clockmod.ko.backup > p4-clockmod.ko.hex
geany p4-clockmod.ko.hex
Hit search for "81 96 98" and change the "81" to "80".
Now save and exit geany
hexdump -R p4-clockmod.ko.hex > p4-clockmod.ko
Reboot computer

This did the trick for me!

I also added these lines to /root/Startup/start_cpu_freq to make the behaviour of ondemand more responsive (switches up on >20% load and checks load every 0,1 secs):
echo 1000000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
echo 20 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold

Good luck!
Back to top
View user's profile Send private message 
akash_rawal

Joined: 25 Aug 2010
Posts: 232
Location: ISM Dhanbad, Jharkhand, India

PostPosted: Sun 27 Mar 2011, 09:54    Post subject:  How to disable CPU frequency scaling tool  

Respected trio,

How to disable CPU frequency scaling tool?
I am using lucid puppy 511 with CPU frequency scaling tool 1.3-1 installed and enabled by default and that is slowing down my computer. I cannot find any option to disable it. I have also tried deleting /root/Startup/start_cpu_freq file but the tool still doesn't release its control over the CPU ( The first screen does show that CPU frequency scaling is disabled but HardInfo shows CPU speed as 1600MHz instead of normal 2533MHz in puppy 430 ).

My computer doesn't have any CPU overheating problem.
Back to top
View user's profile Send private message 
jogreer

Joined: 28 Sep 2010
Posts: 22

PostPosted: Mon 28 Mar 2011, 14:34    Post subject:  

Add this to a script in /root/Startup/:
bash -c "echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
bash -c "echo performance > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor"
Back to top
View user's profile Send private message 
akash_rawal

Joined: 25 Aug 2010
Posts: 232
Location: ISM Dhanbad, Jharkhand, India

PostPosted: Tue 29 Mar 2011, 00:45    Post subject:  

jogreer wrote:
Add this to a script in /root/Startup/...

That pushes up frequency till 2400MHz, but I discovered a better solution.
Go to Menu>System>BootManager. Then click "Choose which system services to run at startup:", then uncheck "start_cpu_freq" checkbox, click OK button, then reboot.
This pushes up frequency back to normal, 2533MHz.
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sun 20 Nov 2011, 08:49    Post subject:  

I feel so embarrassed. I really need to learn this but it seems my
brain are no on par. I have no idea what to do with the info in the thread.

I have a Asus EeePC 900 with a Celeron M353 most likely.
Not sure how I can find out. Asus changed their mobos very often
and have obscure ways to tell the buyer what is on them.
It gets hotter and hotter and the fan is on the whole time and fail
to lower the tem it goes up and up so I need scaling or something like that.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3953
Location: Kiel,Germany

PostPosted: Thu 05 Jan 2012, 13:53    Post subject:  

Code:
#echo "`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies`" > /tmp/freq_tmp_max
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies |tr -s ' '|tr ' ' '\n'|sort -gr >/tmp/freq_tmp_max

> /tmp/freq_max
for i in `cat /tmp/freq_tmp_max`
do
echo "$i " | awk '{print "<item>"$1"</item>"}' >> /tmp/freq_max
done

#echo "`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies`" > /tmp/freq_tmp_min
sort -g /tmp/freq_tmp_max >/tmp/freq_tmp_min

#> /tmp/freq_min1
#for i in `cat /tmp/freq_tmp_min`
#do
#echo "$i " >> /tmp/freq_min1
#done
#sort -n "/tmp/freq_min1" >  /tmp/freq_min2

> /tmp/freq_min
for i in `cat /tmp/freq_tmp_min`
do
echo "$i " | awk '{print "<item>"$1"</item>"}' >> /tmp/freq_min
done

#echo "/tmp/freq_min" >  /tmp/freq_min

I have simplified the code of cpu_freq_1 script as above , to show the max as max and not min as the max in the max line of the gui at first popup .
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 6 of 6 [81 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0728s ][ Queries: 13 (0.0126s) ][ GZIP on ]