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 Sat 21 Oct 2017, 15:59
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
wcpufreq CPU Frequency Scaling 1.1
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 3 [43 Posts]   Goto page: Previous 1, 2, 3
Author Message
playdayz


Joined: 25 Apr 2008
Posts: 3794

PostPosted: Wed 12 Oct 2011, 12:43    Post subject:  

Hey tazoc, I am about to add wcpufreq 0.8 to Instant Update 002 for Lucid 5.2.8. Please let me know if you see any issues with that. I had already added it to Three-Headed Dog with no apparent problems. Thank you.
Back to top
View user's profile Send private message 
playdayz


Joined: 25 Apr 2008
Posts: 3794

PostPosted: Sun 03 Feb 2013, 14:31    Post subject:  

http://www.murga-linux.com/puppy/viewtopic.php?p=682210#682210
Hello again tazoc. wcpufreq does not seem to be working correctly in Lxpup. Best, Larry
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8282
Location: Perth, Western Australia

PostPosted: Thu 07 Feb 2013, 21:28    Post subject:  

linuxcbon posted a bug report for wcpufreq, in Precise Puppy:
http://murga-linux.com/puppy/viewtopic.php?t=82092&start=255

I fixed it, bumped the version to 0.8.1 (40K):
http://distro.ibiblio.org/quirky/pet_packages-noarch/wcpufreq-0.8.1.pet

_________________
http://barryk.org/news/
Back to top
View user's profile Send private message Visit poster's website 
tazoc


Joined: 11 Dec 2006
Posts: 1157
Location: Lower Columbia Basin WA US

PostPosted: Sun 10 Feb 2013, 14:22    Post subject: wcpufreq-1.0 released  

Hi Playdayz and BarryK,
Thank you for your feedback. New Pet is updated for recent kernels.

Changelog
wcpufreq-1.0 130210
Precise bugfix: Expand driver search to new kernel module locations.
More info on the first panel. Support Woof in pinstall.sh.

-TaZoC

_________________
lhpup.org Lighthouse 64 6.02
Back to top
View user's profile Send private message Visit poster's website 
tazoc


Joined: 11 Dec 2006
Posts: 1157
Location: Lower Columbia Basin WA US

PostPosted: Fri 08 Mar 2013, 16:54    Post subject: wcpufreq CPU Frequency Scaling 1.1 released  

1.1 Bugfixed pinstall.sh for Woof build, thanks to 01micko.
gtkdialog icon tweak.

-TaZoC

_________________
lhpup.org Lighthouse 64 6.02
Back to top
View user's profile Send private message Visit poster's website 
sindi

Joined: 16 Aug 2009
Posts: 731
Location: Ann Arbor MI USA

PostPosted: Sat 25 Jan 2014, 01:25    Post subject: wcpufreq in wary 5.5 won't let me change minimum cpu freq  

DELL D600 max cpu freq 1.6GHz min 600Mhz which because of a broken wire on the board runs at minimum all the time unless you use acpi-cpufreq to set it to min 1.6GHz. In puppy 4.1.2 and 4.3.1 and 4.3.2 I can modprobe acpi-cpufreq and echo the correct minimum frequency to a file created by acpi-cpufreq (which is what the scripts do) and it changes the minimum to 1.6GHz and the computer runs at at full speed all the time. (No point in running it slowly since the same broken wire keeps it from charging the battery - Dell's way of forcing you to buy their OEM power supply with the matching wire). In wary 5.5 with wcpufreq the file does not change value - I cannot change either min or max frequencies using the wizard (it tells me I have a fixed frequency 600MHz) or with echo 1600 > /..... (on a different computer right now, don't have the file).

The BIOS is somehow involved. Maybe wcpufreq consults it and refuses to go above 600MHz?

What do I need to replace to get cpufreq working as in 4.3.1?
Back to top
View user's profile Send private message 
peebee


Joined: 21 Sep 2008
Posts: 2932
Location: Worcestershire, UK

PostPosted: Fri 22 Sep 2017, 04:09    Post subject:  

CPU frequency determination changes in kernel 4.13

The attached .pets include a fix developed by @radky for PupSysInfo.

The woof-ce noarch-official repo currently has version 0.8.1 and has been updated to 0.8.2

Version 1.1 never seems to have got out into the wider world - version 1.2 is attached for testing and possible inclusion in the woof-ce repo and builds.
wcpufreq-0.8.2.pet
Description 
pet

 Download 
Filename  wcpufreq-0.8.2.pet 
Filesize  39.17 KB 
Downloaded  14 Time(s) 
wcpufreq-1.2-noarch.pet
Description 
pet

 Download 
Filename  wcpufreq-1.2-noarch.pet 
Filesize  41.01 KB 
Downloaded  20 Time(s) 

_________________
LxPup = Puppy + LXDE
Back to top
View user's profile Send private message Visit poster's website 
sheldonisaac

Joined: 21 Jun 2009
Posts: 681
Location: Philadelphia, PA

PostPosted: Fri 22 Sep 2017, 09:34    Post subject: version 1.2 question  

peebee (in part) wrote:
CPU frequency determination changes in kernel 4.13

peebee or others, will this work correctly with tahr 6.0.6? I usually use that 32-bit tahr.
Quote:
Version 1.1 never seems to have got out into the wider world - version 1.2 is attached for testing and possible inclusion in the woof-ce repo and builds.

I installed the 1.2 no-arch. Its help says 1.1.
Seems to work; how could I tell whether it's working correctly?

Thanks a lot,
Sheldon

_________________
Dell E6410: Slim Slacko 6, LuPu Super 2, Tahr
Dell D610: Windows XP, Puppy Linux 5.2
Intel D865GBF: Tiny Windows 7, Puppy Linux 5.2
Acer Aspire One: Windows XP, Puppy Linux 5.2
Back to top
View user's profile Send private message 
Marv


Joined: 04 May 2005
Posts: 901
Location: SW Wisconsin

PostPosted: Fri 22 Sep 2017, 11:02    Post subject:  

Installed the 1.2 no-arch. As sheldonisaac said its help says 1.1.
Switched governors back and forth and checked CPU speeds with my cpuwatch script, wcpufreq itself, and PupSysInfo while running glxgears on my i5 based laptop. Operation seems normal, as did the patched 0.8.1. It would be nice to get a test by someone with LOTS of cores.

@sheldonisaac The changes in the patched versions just (in bash) test for the kernel version and read the cpu speed from a different location if a kernel newer than 4.13.x is detected. Since the information at both those locations is kernel written it should work on all the pups that the unpatched versions worked on. All Question

_________________
Pups currently in kennel Very Happy X-slacko 4.4 and X-tahr 2.0 for my users; LxPupSc,LxPupXenial & XFCE_XenialPup64 for me. All good pups indeed, and all running browsers, office etc. solely from SFS.
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 1533
Location: lincoln, uk

PostPosted: Fri 22 Sep 2017, 12:32    Post subject:  

lenovo x230 running xenialpup64, unable to set scaling using either 0.8x or 1.2

Smile
Back to top
View user's profile Send private message Visit poster's website 
Marv


Joined: 04 May 2005
Posts: 901
Location: SW Wisconsin

PostPosted: Fri 22 Sep 2017, 12:48    Post subject:  

ally wrote:
lenovo x230 running xenialpup64, unable to set scaling using either 0.8x or 1.2

Smile


Hi ally, What is packaged with xenialPup64 wrt setting cpu freq? I don't have a copy downloaded to check. Were you able to set with that? When the versions above failed what did you see... were any governors displayed etc?

Update: I just downloaded and installed Battleshooters XFCE_XenialPup64 r2 and booted into it. The stock version of wcpufreq in /usr/sbin is the same as the unpatched 0.8 version above. I set several governors with it on my i5 laptop and then manually copied in the patched 0.8.1. Able to install and change governors with that as well. The patch for the 4.13 and newer kernels is invoked as the kernel is 4.13.0 on this install and my core speeds are correctly displayed. Crosschecked that with the unpatched PupSysInfo in this install and indeed it displays the cpu speed incorrectly. Could it be a hardware issue? If so we need to pursue it.

Idea Do you see Intel_Pstate as your governor? If so, to use the acpi_cpufreq governors you need to pass intel_pstate=disable as a kernel parameter to disable the intel governor. Otherwise it takes precedence.

_________________
Pups currently in kennel Very Happy X-slacko 4.4 and X-tahr 2.0 for my users; LxPupSc,LxPupXenial & XFCE_XenialPup64 for me. All good pups indeed, and all running browsers, office etc. solely from SFS.
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 1533
Location: lincoln, uk

PostPosted: Fri 22 Sep 2017, 18:37    Post subject:  

hi marv

yes to Intel_Pstate, set to performance and unable to modify I will try the kernel switch and report back

Smile

edit: kernel parameter added to menu.1st, now able to run cpu scaling...nice!

thank you

Smile
Back to top
View user's profile Send private message Visit poster's website 
Marv


Joined: 04 May 2005
Posts: 901
Location: SW Wisconsin

PostPosted: Fri 22 Sep 2017, 20:16    Post subject:  

Great.

Maybe we can test for the Intel_Pstate governor in wcpufreq 1.2 and put a note in to that effect.

I cobbled in an explicit intel_pstate warning to 1.2. Tain't especially pretty yet but I think it is fairly clear. I've tested it in Battleshooters XFCE_XenialPup64 r2 by toggling the kernel parameter and both cases seem ok. I also added support for the cpu current frequency when in intel_pstate. It writes to a different file in the sysfs. I'll attach the script labelled as 1.2a and a diff from 1.2 below. Try it and pretty it up please. Both files are true gzips.

Update: 1.2b does two things. One is (as 1.2a) to support the reading of current speeds from the intel_pstate driver and the other is to clean up a bit (I think) the warning/instructions wrt that driver. I'll replace the 1.2a with it below and pull the diff since there were 0 downloads.
wcpufreq_1.2b.gz
Description  Supports intel_pstate current speeds and clearner warning & instructions wrt that driver.
gz

 Download 
Filename  wcpufreq_1.2b.gz 
Filesize  8.01 KB 
Downloaded  7 Time(s) 

_________________
Pups currently in kennel Very Happy X-slacko 4.4 and X-tahr 2.0 for my users; LxPupSc,LxPupXenial & XFCE_XenialPup64 for me. All good pups indeed, and all running browsers, office etc. solely from SFS.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 3 [43 Posts]   Goto page: Previous 1, 2, 3
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.2097s ][ Queries: 13 (0.0207s) ][ GZIP on ]