MAJOR BUG: Puppy 4.0 is Burning the CPU

Please post any bugs you have found
Message
Author
User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#21 Post by HairyWill »

ARAN wrote:For me it looks like that Puppy dont support CPU scalling
Are you saying it doesn't work on your machine or that you have found information to suggest that cpu scaling doesn't work at all in puppy (not true, where?)?
If you need help configuring cpu scaling a forum search for "frequency and scaling" reveals these amongst others
http://www.murga-linux.com/puppy/viewtopic.php?t=28443
http://www.murga-linux.com/puppy/viewtopic.php?t=12019
the instructions are quite straightforward and if you cannot get them to work on your machine I suggest you add a post on one of those threads.
ARAN
Posts: 113
Joined: Fri 21 Oct 2005, 12:47

#22 Post by ARAN »

If i go to the following path
cd /sys/devices/system/cpu/cpu0
in ubuntu linux i can find a directory named "cpufreq" that provide
information about the enabled CPU Scaling on the Machine.

In Puppy Linux this directory dont exist.
Its pretty clear that Puppy Linux dont support CPU scalling on my Mashine.
It runs my CPU in full Speed Modus.

In the following Path i can also not find any modules for CPU Scalling
like described in the above thread.
the Arch folder is mising.

cd /lib/modules/2.6/kernel/
cd /lib/modules/2.6.25/kernel/

What for CPU Scalling modules support Puppy Linux 4.0 native.

The Kernel 2.6.25 and 2.6 dont support any !
What about the other Kernels or better what for modules do you have in what for a path if you ran puppy linux in ram as a example?
Do you have the cpufreq directory ?
User avatar
SirDuncan
Posts: 829
Joined: Sat 09 Dec 2006, 20:35
Location: Ohio, USA
Contact:

#23 Post by SirDuncan »

ARAN wrote:Do you have the cpufreq directory ?
Yes, I do. Puppy does not load the modules needed by default, so there is no folder. You need to modprobe the correct driver for your CPU. See the first link Will posted for full directions.
Be brave that God may help thee, speak the truth even if it leads to death, and safeguard the helpless. - A knight's oath
User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#24 Post by Pizzasgood »

As for the missing modules, this is because of Puppy's quirks. Most kernel modules are actually stored outside the normal filesystem, in the zdrv_xxx.sfs file. When you try to load one with modprobe, Puppy will first check to see if the module is in its normal place, and if so loads it. Otherwise, Puppy will mount the zdrv_xxx.sfs file and see if the module is in that. If it is, the module will be copied out into the normal filesystem and then loaded. From then on that module will always reside in your filesystem.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#25 Post by BarryK »

This will all change with 4.1, as I have abandoned the zdrv concept.
Now, more modules get detected and loaded automatically, including when hotplugging.
[url]https://bkhome.org/news/[/url]
ARAN
Posts: 113
Joined: Fri 21 Oct 2005, 12:47

#26 Post by ARAN »

With the Puppy 4.1 Alpha Version the CPU isnnt getting any more such hot.
Running puppy more than 30 Minutes produce now a constantly maximal CPU Temperature Amount of 57 Celsius Degree.
The System Temperature Amount is maximal 44 Celsius Degree.

That is a reduction of more than 20 Celsius Degree !

One problem still exist and that is the CPU Scalling.
I am asking my self why Puppy 4.1 Alpha still dont support CPU Scalling.
The Fan is also running allways 100% in full mode.

For me Puppy still dont work very good with the Hardware at the Moment.
I am asking now my self what for a cpu speed do i have !
# ls
THRC THRS
# cat */*
0 - Active; 1 - Passive
<polling disabled>
state: ok
temperature: 57 C
<polling disabled>
state: ok
temperature: 44 C
User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#27 Post by Aitch »

@Aran

Try this:-

http://www.murga-linux.com/puppy/viewto ... 172eacfa01

I have had success with several posts using eriksons thread

Aitch
ARAN
Posts: 113
Joined: Fri 21 Oct 2005, 12:47

#28 Post by ARAN »

Hello Aitch !

Thank you very much for the Info !

I have found now why Puppy Linux 4.1 Alpha dont support CPU Scalling for my PC.

The File /etc/rc.local contain the Commands for enabling CPU Scalling.
If you look that file you would see that nearly everything is commented out there.
The only one modul that is loaded is
speedstep-centrino
all others will never be prooved !

With CPU Scalling now Puppy Linux 4.1 Alpha run my PC extremly Cool and the Noise is also nearly Zero :-))

The CPU Temperature Amount is also amazing cool.
Once Again the CPU Internal Temp is 10 Celsius Degree lesser.
# cat */*
<polling disabled>
state: ok
temperature: 49 C
<polling disabled>
state: ok
temperature: 41 C
Would Puppy Linux enable CPU Scalling as default for every CPU ?
linuxcbon
Posts: 1312
Joined: Thu 09 Aug 2007, 22:54

#29 Post by linuxcbon »

I AGREE !
I NOTICED THE SAME HEAT ON MY PC !
PUPPY URGENTLY NEEDS CPU SCALING !
I noticed a big difference in my pc , with and without it.
Now with it, cooler and quieter. And the performances are not much different.
User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#30 Post by Aitch »

I suspect the 'on-demand' setting instead of 'performance' may suit some laptops & could be preferable - Barry?

Aitch :)
User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#31 Post by trio »

User avatar
Aitch
Posts: 6518
Joined: Wed 04 Apr 2007, 15:57
Location: Chatham, Kent, UK

#32 Post by Aitch »

Thanks Trio
Should help a few folks :wink:

Aitch :)
User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#33 Post by trio »

Aitch wrote:Thanks Trio
Should help a few folks :wink:

Aitch :)
You're welcome... well we should always make it easier for new users to use puppy :)
ARAN
Posts: 113
Joined: Fri 21 Oct 2005, 12:47

#34 Post by ARAN »

For some strange Reason CPU Scalling dont work for me in the new Puppy Linux Release 4.3.

I have now the same Problems like before.

I dont know exactly what the problem is but everything works perfect in the new Linux Release just CPU Scalling make me drive crazy !

Hmmm does anybody have instructions how this can be solved now with the new Kernel ?

It looks like that the Kernel Modules are missing but i cant really imagine that as all the stuff that Barry has written in the Change Log works great but only the cpu scalling wont working.
User avatar
broomdodger
Posts: 279
Joined: Sat 10 May 2008, 02:38
Location: Santa Cruz, CA

#35 Post by broomdodger »

Code: Select all

20090923 acer TravelMate 4670
~# cat /proc/acpi/thermal_zone/THRM/*
<setting not supported>
<polling disabled>
state:                   ok
temperature:         48 C
critical (S5):           97 C
passive:                 93 C: tc1=2 tc2=3 tsp=40 devices=CPU0 
~# 
ARAN
Posts: 113
Joined: Fri 21 Oct 2005, 12:47

#36 Post by ARAN »

Just wanted to tell you that i have solved the problem with the cpu scaling in the new release.

Now my Laptop is running very Cool and Quiet !
For some reason on my Laptop the modules aren't copied from the zdrive sfs. I needed them to copy extra from the ISO to pupsave file other wise it wouldn't work.

Here are my instructions if you have the same problem.

First don't use the small iso that is around 97 M.
Second use and download only the ISOS from ibiblio.
Third after the boot make sure that the modules are loaded
in puppy linux inside the folder "/lib/modules/kernel/arch/x86/cpu/..."
If you dont have any modules there copy them from the zdrive sfs on the cdrom.

After this just use the GUI Programm that was here posted and reboot.
# cat /proc/acpi/thermal_zone/THRC/*
0 - Active; 1 - Passive
<polling disabled>
state: ok
temperature: 49 C
critical (S5): 97 C
passive: 90 C: tc1=2 tc2=5 tsp=300 devices=CPU0
# cat /proc/acpi/thermal_zone/THRS/*
0 - Active; 1 - Passive
<polling disabled>
state: ok
temperature: 43 C
critical (S5): 80 C
passive: 75 C: tc1=2 tc2=5 tsp=300 devices=CPU0
ARAN
Posts: 113
Joined: Fri 21 Oct 2005, 12:47

#37 Post by ARAN »

broomdodger what for a output do you get if you execute this here ?

cat /sys/devices/system/cpu/cpu0/cpufreq/*


For me it output this here !
0
1600000
1600000
800000
109000
0
1600000 800000
performance
1600000
powernow-k8
performance
1600000
800000
<unsupported>
cat: /sys/devices/system/cpu/cpu0/cpufreq/stats: Is a directory
User avatar
broomdodger
Posts: 279
Joined: Sat 10 May 2008, 02:38
Location: Santa Cruz, CA

#38 Post by broomdodger »

broomdodger what for a output do you get if you execute this here ?

cat /sys/devices/system/cpu/cpu0/cpufreq/*

Code: Select all

~# cat /sys/devices/system/cpu/cpu0/cpufreq/*
cat: /sys/devices/system/cpu/cpu0/cpufreq/*: No such file or directory
~# 
ARAN
Posts: 113
Joined: Fri 21 Oct 2005, 12:47

#39 Post by ARAN »

can you say me what for folders and files do you have inside

/sys/devices/system/cpu/

It looks like that your CPU Scalling is not working and your cpu is running in full speed.

The Temperature that you have posted in this case is the Motherboard Temperature and the CPU Temperature could in this case be around 80 to 95 Celsius Degree.

Depending on your CPU this can damage your CPU !
User avatar
broomdodger
Posts: 279
Joined: Sat 10 May 2008, 02:38
Location: Santa Cruz, CA

#40 Post by broomdodger »

Puppy has been running for hours, no fans and feels cool.
I see no problem.

Puppy Menu > System > HardInfo hardware information > Sensors > THRM 43 C

cpu# cat /proc/acpi/thermal_zone/THRM/*
<setting not supported>
<polling disabled>
state: ok
temperature: 43 C
critical (S5): 97 C
passive: 93 C: tc1=2 tc2=3 tsp=40 devices=CPU0
cpu#

cpu# la -R
.:
total 0
drwxr-xr-x 4 root root 0 2009-09-24 03:17 ./
drwxr-xr-x 10 root root 0 2009-09-24 03:17 ../
drwxr-xr-x 5 root root 0 2009-09-24 03:17 cpu0/
drwxr-xr-x 2 root root 0 2009-09-24 11:22 cpuidle/
-r--r--r-- 1 root root 4096 2009-09-24 11:22 kernel_max
-r--r--r-- 1 root root 4096 2009-09-24 11:22 offline
-r--r--r-- 1 root root 4096 2009-09-24 11:22 online
-r--r--r-- 1 root root 4096 2009-09-24 11:22 possible
-r--r--r-- 1 root root 4096 2009-09-24 11:22 present

./cpu0:
total 0
drwxr-xr-x 5 root root 0 2009-09-24 03:17 ./
drwxr-xr-x 4 root root 0 2009-09-24 03:17 ../
drwxr-xr-x 5 root root 0 2009-09-24 11:22 cache/
drwxr-xr-x 6 root root 0 2009-09-24 03:17 cpuidle/
drwxr-xr-x 2 root root 0 2009-09-24 11:22 topology/

./cpu0/cache:
total 0
drwxr-xr-x 5 root root 0 2009-09-24 11:22 ./
drwxr-xr-x 5 root root 0 2009-09-24 03:17 ../
drwxr-xr-x 2 root root 0 2009-09-24 12:07 index0/
drwxr-xr-x 2 root root 0 2009-09-24 12:07 index1/
drwxr-xr-x 2 root root 0 2009-09-24 12:07 index2/

./cpu0/cache/index0:
total 0
drwxr-xr-x 2 root root 0 2009-09-24 12:07 ./
drwxr-xr-x 5 root root 0 2009-09-24 11:22 ../
-rw-r--r-- 1 root root 4096 2009-09-24 12:07 cache_disable
-r--r--r-- 1 root root 4096 2009-09-24 12:07 coherency_line_size
-r--r--r-- 1 root root 4096 2009-09-24 12:07 level
-r--r--r-- 1 root root 4096 2009-09-24 12:07 number_of_sets
-r--r--r-- 1 root root 4096 2009-09-24 12:07 physical_line_partition
-r--r--r-- 1 root root 4096 2009-09-24 12:07 shared_cpu_list
-r--r--r-- 1 root root 4096 2009-09-24 12:07 shared_cpu_map
-r--r--r-- 1 root root 4096 2009-09-24 12:07 size
-r--r--r-- 1 root root 4096 2009-09-24 12:07 type
-r--r--r-- 1 root root 4096 2009-09-24 12:07 ways_of_associativity

./cpu0/cache/index1:
total 0
drwxr-xr-x 2 root root 0 2009-09-24 12:07 ./
drwxr-xr-x 5 root root 0 2009-09-24 11:22 ../
-rw-r--r-- 1 root root 4096 2009-09-24 12:07 cache_disable
-r--r--r-- 1 root root 4096 2009-09-24 12:07 coherency_line_size
-r--r--r-- 1 root root 4096 2009-09-24 12:07 level
-r--r--r-- 1 root root 4096 2009-09-24 12:07 number_of_sets
-r--r--r-- 1 root root 4096 2009-09-24 12:07 physical_line_partition
-r--r--r-- 1 root root 4096 2009-09-24 12:07 shared_cpu_list
-r--r--r-- 1 root root 4096 2009-09-24 12:07 shared_cpu_map
-r--r--r-- 1 root root 4096 2009-09-24 12:07 size
-r--r--r-- 1 root root 4096 2009-09-24 12:07 type
-r--r--r-- 1 root root 4096 2009-09-24 12:07 ways_of_associativity

./cpu0/cache/index2:
total 0
drwxr-xr-x 2 root root 0 2009-09-24 12:07 ./
drwxr-xr-x 5 root root 0 2009-09-24 11:22 ../
-rw-r--r-- 1 root root 4096 2009-09-24 12:07 cache_disable
-r--r--r-- 1 root root 4096 2009-09-24 12:07 coherency_line_size
-r--r--r-- 1 root root 4096 2009-09-24 12:07 level
-r--r--r-- 1 root root 4096 2009-09-24 12:07 number_of_sets
-r--r--r-- 1 root root 4096 2009-09-24 12:07 physical_line_partition
-r--r--r-- 1 root root 4096 2009-09-24 12:07 shared_cpu_list
-r--r--r-- 1 root root 4096 2009-09-24 12:07 shared_cpu_map
-r--r--r-- 1 root root 4096 2009-09-24 12:07 size
-r--r--r-- 1 root root 4096 2009-09-24 12:07 type
-r--r--r-- 1 root root 4096 2009-09-24 12:07 ways_of_associativity

./cpu0/cpuidle:
total 0
drwxr-xr-x 6 root root 0 2009-09-24 03:17 ./
drwxr-xr-x 5 root root 0 2009-09-24 03:17 ../
drwxr-xr-x 2 root root 0 2009-09-24 03:17 state0/
drwxr-xr-x 2 root root 0 2009-09-24 03:17 state1/
drwxr-xr-x 2 root root 0 2009-09-24 03:17 state2/
drwxr-xr-x 2 root root 0 2009-09-24 03:17 state3/

./cpu0/cpuidle/state0:
total 0
drwxr-xr-x 2 root root 0 2009-09-24 03:17 ./
drwxr-xr-x 6 root root 0 2009-09-24 03:17 ../
-r--r--r-- 1 root root 4096 2009-09-24 12:07 desc
-r--r--r-- 1 root root 4096 2009-09-24 12:07 latency
-r--r--r-- 1 root root 4096 2009-09-24 12:07 name
-r--r--r-- 1 root root 4096 2009-09-24 12:07 power
-r--r--r-- 1 root root 4096 2009-09-24 12:07 time
-r--r--r-- 1 root root 4096 2009-09-24 12:07 usage

./cpu0/cpuidle/state1:
total 0
drwxr-xr-x 2 root root 0 2009-09-24 03:17 ./
drwxr-xr-x 6 root root 0 2009-09-24 03:17 ../
-r--r--r-- 1 root root 4096 2009-09-24 12:07 desc
-r--r--r-- 1 root root 4096 2009-09-24 12:07 latency
-r--r--r-- 1 root root 4096 2009-09-24 12:07 name
-r--r--r-- 1 root root 4096 2009-09-24 12:07 power
-r--r--r-- 1 root root 4096 2009-09-24 12:07 time
-r--r--r-- 1 root root 4096 2009-09-24 12:07 usage

./cpu0/cpuidle/state2:
total 0
drwxr-xr-x 2 root root 0 2009-09-24 03:17 ./
drwxr-xr-x 6 root root 0 2009-09-24 03:17 ../
-r--r--r-- 1 root root 4096 2009-09-24 12:07 desc
-r--r--r-- 1 root root 4096 2009-09-24 12:07 latency
-r--r--r-- 1 root root 4096 2009-09-24 12:07 name
-r--r--r-- 1 root root 4096 2009-09-24 12:07 power
-r--r--r-- 1 root root 4096 2009-09-24 12:07 time
-r--r--r-- 1 root root 4096 2009-09-24 12:07 usage

./cpu0/cpuidle/state3:
total 0
drwxr-xr-x 2 root root 0 2009-09-24 03:17 ./
drwxr-xr-x 6 root root 0 2009-09-24 03:17 ../
-r--r--r-- 1 root root 4096 2009-09-24 12:07 desc
-r--r--r-- 1 root root 4096 2009-09-24 12:07 latency
-r--r--r-- 1 root root 4096 2009-09-24 12:07 name
-r--r--r-- 1 root root 4096 2009-09-24 12:07 power
-r--r--r-- 1 root root 4096 2009-09-24 12:07 time
-r--r--r-- 1 root root 4096 2009-09-24 12:07 usage

./cpu0/topology:
total 0
drwxr-xr-x 2 root root 0 2009-09-24 11:22 ./
drwxr-xr-x 5 root root 0 2009-09-24 03:17 ../
-r--r--r-- 1 root root 4096 2009-09-24 12:07 core_id
-r--r--r-- 1 root root 4096 2009-09-24 12:07 core_siblings
-r--r--r-- 1 root root 4096 2009-09-24 12:07 core_siblings_list
-r--r--r-- 1 root root 4096 2009-09-24 12:07 physical_package_id
-r--r--r-- 1 root root 4096 2009-09-24 12:07 thread_siblings
-r--r--r-- 1 root root 4096 2009-09-24 12:07 thread_siblings_list

./cpuidle:
total 0
drwxr-xr-x 2 root root 0 2009-09-24 11:22 ./
drwxr-xr-x 4 root root 0 2009-09-24 03:17 ../
-r--r--r-- 1 root root 4096 2009-09-24 12:07 current_driver
-r--r--r-- 1 root root 4096 2009-09-24 12:07 current_governor_ro
cpu#
Post Reply