Re: CPU default frequency is at 75%

2009-11-02 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Johnson ba...@ursamundi.org writes:

 On Sat, 2009-09-19 at 10:45 +0200, Merciadri Luca wrote:

 However, the whole problem is that it does *not* automatically adjust
 the CPU freq, according to its load.

 cpufreqd installed?
Thanks, Paul: I had to install cpufreqd. It now works as desired.

(Sorry for my late answer.)

- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAkrurnwACgkQM0LLzLt8MhxrtwCdEhVNQ9eZNfEobDDnyKgzSK0d
sGYAnRJYduQSqP5sJytZlEO6Rq9L3qw3
=vTkJ
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: CPU default frequency is at 75%

2009-11-02 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tixy debianu...@tixy.myzen.co.uk writes:

 On Sat, 2009-09-19 at 10:45 +0200, Merciadri Luca wrote:
 However, the whole problem is that it does *not* automatically adjust
 the CPU freq, according to its load.

 When doing some video transcoding a while ago, on a Lenny install, I
 noticed that it was using 100% CPU time with the CPU running at only
 1/3rd of its maximum frequency - this was with it set to 'on demand'.

 Changing the process 'niceness' to less than zero made the CPU crank up
 to full speed and the video transcoding doubled in speed. So its
 possible that 'on demand' also means 'but only if you're not too
 nice' :-)
I can feel the difference too, now that I use it conjointly with
cpufreqd. Thanks.
- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAkrurpcACgkQM0LLzLt8MhzaDACfSgP6k/b1TgSBaIhg/2+L6YVn
iIoAni/AfF42wHk5Tpp30dFwUSgrXzx8
=2UML
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: CPU default frequency is at 75%

2009-11-02 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul Johnson ba...@ursamundi.org writes:

 On Fri, 2009-09-18 at 12:10 +0200, Merciadri Luca wrote:

 I am using GNOME with Debian Lenny, with a 2.6.26-2-686 kernel. I have
 added to one of my panels the GNOME's default CPU scaling applet. It
 allows me to modify CPUs' frequency (not independently, as I have 4
 CPUs on the same machine) easily.

 What's the default applet?  I'm not familiar, I chose the laptop task
 and didn't get it.
I do not know the name of the default applet, but it is a built-in in GNOME.

- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAkrurh0ACgkQM0LLzLt8Mhw+fgCfdgjG8Cm89fXUpt4z0xkMb31r
LNsAn2Xi9v367OW+8OtBhVi4yEPnjX+7
=Y66l
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: CPU default frequency is at 75%

2009-09-30 Thread Paul Johnson
On Sat, 2009-09-19 at 10:45 +0200, Merciadri Luca wrote:

 However, the whole problem is that it does *not* automatically adjust
 the CPU freq, according to its load.

cpufreqd installed?


signature.asc
Description: This is a digitally signed message part


Re: CPU default frequency is at 75%

2009-09-30 Thread Paul Johnson
On Fri, 2009-09-18 at 12:10 +0200, Merciadri Luca wrote:

 I am using GNOME with Debian Lenny, with a 2.6.26-2-686 kernel. I have
 added to one of my panels the GNOME's default CPU scaling applet. It
 allows me to modify CPUs' frequency (not independently, as I have 4
 CPUs on the same machine) easily.

What's the default applet?  I'm not familiar, I chose the laptop task
and didn't get it.



signature.asc
Description: This is a digitally signed message part


Re: CPU default frequency is at 75%

2009-09-30 Thread Paul Johnson
On Fri, 2009-09-18 at 13:48 +0200, Merciadri Luca wrote:

 Aioanei Rares debian.dev.l...@gmail.com writes:
 
  Try kpowersave.
 It works with kpowersave (I just tried), but it would show the
 supremacy of KDE versus GNOME...

Just because they do one thing right doesn't mean that it's overall
right.  Eventually even Microsoft realizes this and starts playing
catchup with Windows.



signature.asc
Description: This is a digitally signed message part


Re: CPU default frequency is at 75%

2009-09-21 Thread Stefan Monnier
 Ondemand, the same as what appears in the applet, after boot.
 However, despite Ondemand, even a huge CPU load does not make Debian
 asking for more CPU resources, such as 100%.

Notice that ondemand and such are completely implemented inside the
kernel.  So all the relevant parameters are in
/sys/devices/system/cpu/cpu0/cpufreq/.

 As I explained before, there is no modification about CPU frequency,
 even with a maximum load.

That's odd.  Unless your load is niced, in which case it's not
considered as speed critical and will not cause the CPU frequency to
be increased.

 I suggest you use just the ondemand governor and stop caring about the
 issue at all. You will get full CPU power when you need it and save a
 little power when you don't.
 My aim is not to save power. I am running many scientific-purpose
 applications, and they need full CPU power. As I often switch between
 many OSes, manually modifying manually governor is tedious. I
 installed kpowersave, and it works, but I am pretty deceived that it
 does not work with GNOME's utils.

There are lots of different scripts/programs/packages that can control
your CPU's frequency.  If you set your system's frequency via the
cpufrequtils package, then just create or edit the file
/etc/default/cpufrequtils and put:

  GOVERNOR=performance

in it.  I personally put MIN_SPEED=2.2GHz in mine instead, because
I want to save energy but my system seems to have a problem which makes
it crash occasionally (more specifically I see memory corruption) for
any CPU frequency lower than 2.2GHz.

 A question that comes to my mind: how do you measure the current clock
 frequency? Only by looking at the Gnome applet?
 On one hand, by looking at the GNOME applet.  On the other hand, by
 hearing fans, which are really noisy when I use Performance rather
 than Ondemand.

Obviously, you disagree, but personally I'd prefer my long-running
calculations to take up 33% more time (by running at only 75%), if that
saved me from suffering through noisy fans.
Unless of course the machine is far away and you can't hear it. ;-)


Stefan



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: CPU default frequency is at 75%

2009-09-19 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jochen Schulz m...@well-adjusted.de writes:

 Merciadri Luca:
 Jochen Schulz m...@well-adjusted.de writes:
 
 What does
 
 # cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
 
 say after bootup?

 Ondemand, the same as what appears in the applet, after boot. However,
 despite Ondemand, even a huge CPU load does not make Debian asking
 for more CPU resources, such as 100%.

 Then have a look at
 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

 It should contain the highest frequency your processor supports.
It is the case.
 That would be the kernel's default behaviour if your
 current governor is either ondemand or conservative.

 How could I modify it?

 Modify what? -Most probably, cpufrequtils will contain all the tools
 you need. It allows you to select a governor and set min/max frequency
 limits, for cases where they are mis-reported by default.

 I suggest you use just the ondemand governor and stop caring about the
 issue at all. You will get full CPU power when you need it and save a
 little power when you don't.

 My aim is not to save power. I am running many scientific-purpose
 applications, and they need full CPU power.

 Sure, no problem. The ondemand governor is all about saving power
 without sacrificing performance. If nothing's wrong with your
 configuration, this is exactly what you should get by default.
Something must be wrong, as CPU freq. is never modified, even with
there is a huge load.
 A question that comes to my mind: how do you measure the current clock
 frequency? Only by looking at the Gnome applet?
On one hand, by looking at the GNOME applet. On the other hand, by
hearing fans, which are really noisy when I use Performance rather
than Ondemand.
 I would take a look into
 /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq, just to be
 sure.
It exactly gives the same values as GNOME's applet does.
- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAkq0md0ACgkQM0LLzLt8MhwehwCfRK3zOCWHkMIuglzWholiZNcb
FKoAoJvlVEFEG/6WwIAvMU5DJlcvE6WN
=vONc
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: CPU default frequency is at 75%

2009-09-19 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Steve Lamb g...@dmiyu.org writes:

 Stefan Monnier wrote:
 Nowadays, power management is important for all machines nowadays, and

 Not to the point where it overrides user preference or causes problems
 with the machine.  I've got one machine where every time the power manager
 decided to adjust my CPU speed the entire machine froze for 2-3 seconds until
 the power manager got the word my CPU doesn't scale.  So 15s later it tried
 again.  Having your machine freeze every 15s for 2-3s is not usable.  The
 lengths I went to to rip out power management was excessive.  There aught to
 be a simple Shut up, Mr. Scott and give me all she's got! button, period.

 -- 
  Steve C. Lamb | But who decides what they dream?
PGP Key: 8B6E99C5   |   And dream I do...
 ---+-


Agree (but it is not my case).
- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAkq0mlcACgkQM0LLzLt8MhwG9gCfT/8r3KmpO7bVWskHtXHka9fY
htEAoJKl6EaDHD34y6CxT3HKQ9jRmytS
=s6jP
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: CPU default frequency is at 75%

2009-09-19 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Stefan Monnier monn...@iro.umontreal.ca writes:

 How could I manage to make the process of using Performance
 automatically?

 Most likely the setting you currently have is one which automatically
 adjusts the frequency based on the amount of work there is for the CPU:
 if it's busy, the frequency will climb to 100%.

 The computer I am speaking about is not a laptop, and there is no
 reason to choose a different setting than Performance, except for
 power issues, but that is not a problem.

 Nowadays, power management is important for all machines nowadays, and
 the experience gained with laptops taught us how to save energy wihout
 impacting the performance.  Also reducing the frequency when the load is
 sufficiently low will not only reduce your electricity bill, but also
 the temperature of your CPU and the speed at which the fans spin.

However, the whole problem is that it does *not* automatically adjust
the CPU freq, according to its load.
- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAkq0mh4ACgkQM0LLzLt8MhxPPgCfbMKPVdCjF2Kj4T/r57qT1aYK
td0An2dJrk+kcQOPFKZAD+bFdZN32C9I
=Hb7k
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: CPU default frequency is at 75%

2009-09-19 Thread Tixy
On Sat, 2009-09-19 at 10:45 +0200, Merciadri Luca wrote:
 However, the whole problem is that it does *not* automatically adjust
 the CPU freq, according to its load.

When doing some video transcoding a while ago, on a Lenny install, I
noticed that it was using 100% CPU time with the CPU running at only
1/3rd of its maximum frequency - this was with it set to 'on demand'.

Changing the process 'niceness' to less than zero made the CPU crank up
to full speed and the video transcoding doubled in speed. So its
possible that 'on demand' also means 'but only if you're not too
nice' :-)

-- 
Tixy


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: CPU default frequency is at 75%

2009-09-19 Thread Jochen Schulz
Tixy:
 On Sat, 2009-09-19 at 10:45 +0200, Merciadri Luca wrote:

 However, the whole problem is that it does *not* automatically adjust
 the CPU freq, according to its load.
 
 When doing some video transcoding a while ago, on a Lenny install, I
 noticed that it was using 100% CPU time with the CPU running at only
 1/3rd of its maximum frequency - this was with it set to 'on demand'.

That's a good hint: ondemand con be configured to ignore niced
processes. You can get/set the current setting from 

/sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load

J.
-- 
I enjoy shopping, eating, sex and doing jigsaw puzzles of idealised
landscapes.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature


CPU default frequency is at 75%

2009-09-18 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I am using GNOME with Debian Lenny, with a 2.6.26-2-686 kernel. I have
added to one of my panels the GNOME's default CPU scaling applet. It
allows me to modify CPUs' frequency (not independently, as I have 4
CPUs on the same machine) easily.

However, when booting Debian, it is put at 75%, and keeps using this
value until I change it (by clicking on the applet, and choosing
Performance or 2.66Ghz, or 100%). I thought it would not have
had any repercussions not to change this value (I thought it had no
effect), but it *really* works. As I often use apps which need the
*full* cpu power, I would like to use it, directly from the boot, at
100%.

How could I manage to make the process of using Performance
automatically? The computer I am speaking about is not a laptop, and
there is no reason to choose a different setting than Performance,
except for power issues, but that is not a problem.

Thanks.
- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAkqzXI4ACgkQM0LLzLt8MhyFmACdHLa57JCKSy/b7dGy/V2U4i5V
P08An1pIePyi5VnHRX4xzD+PW6yM7cvH
=azfB
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: CPU default frequency is at 75%

2009-09-18 Thread Aioanei Rares

Merciadri Luca wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I am using GNOME with Debian Lenny, with a 2.6.26-2-686 kernel. I have
added to one of my panels the GNOME's default CPU scaling applet. It
allows me to modify CPUs' frequency (not independently, as I have 4
CPUs on the same machine) easily.

However, when booting Debian, it is put at 75%, and keeps using this
value until I change it (by clicking on the applet, and choosing
Performance or 2.66Ghz, or 100%). I thought it would not have
had any repercussions not to change this value (I thought it had no
effect), but it *really* works. As I often use apps which need the
*full* cpu power, I would like to use it, directly from the boot, at
100%.

How could I manage to make the process of using Performance
automatically? The computer I am speaking about is not a laptop, and
there is no reason to choose a different setting than Performance,
except for power issues, but that is not a problem.

Thanks.
- -- 
Merciadri Luca

See http://www.student.montefiore.ulg.ac.be/~merciadri/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAkqzXI4ACgkQM0LLzLt8MhyFmACdHLa57JCKSy/b7dGy/V2U4i5V
P08An1pIePyi5VnHRX4xzD+PW6yM7cvH
=azfB
-END PGP SIGNATURE-


  

Try kpowersave.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: CPU default frequency is at 75%

2009-09-18 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Aioanei Rares debian.dev.l...@gmail.com writes:

 Try kpowersave.
It works with kpowersave (I just tried), but it would show the
supremacy of KDE versus GNOME...

- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAkqzc3AACgkQM0LLzLt8Mhz0bgCdEy9xUhiI/ZEb7GDmt6S+PRKD
zrUAn1dykriGn6sMvk4FlTPwJZqgyhV9
=lIkq
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: CPU default frequency is at 75%

2009-09-18 Thread Aioanei Rares

Merciadri Luca wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Aioanei Rares debian.dev.l...@gmail.com writes:

  

Try kpowersave.


It works with kpowersave (I just tried), but it would show the
supremacy of KDE versus GNOME...

- -- 
Merciadri Luca

See http://www.student.montefiore.ulg.ac.be/~merciadri/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAkqzc3AACgkQM0LLzLt8Mhz0bgCdEy9xUhiI/ZEb7GDmt6S+PRKD
zrUAn1dykriGn6sMvk4FlTPwJZqgyhV9
=lIkq
-END PGP SIGNATURE-


  

Let's not go there, please


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: CPU default frequency is at 75%

2009-09-18 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I do not want to go there, as GNOME suits my needs better than
KDE. However, I deeply think that one must use an interface from the
beginning to the end. It is nonsense to use parts of an interface and
parts of another. Sometimes, installing KDE packages forces you to
install the whole KDE.
- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAkqzenIACgkQM0LLzLt8MhzwIACfZc5KCZay+ehAVCkT1Kwk9lLJ
iiQAoJ0PAIwJ0MlZkBJIz3z4z0Bqlab3
=shJ8
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: CPU default frequency is at 75%

2009-09-18 Thread Aioanei Rares

Merciadri Luca wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I do not want to go there, as GNOME suits my needs better than
KDE. However, I deeply think that one must use an interface from the
beginning to the end. It is nonsense to use parts of an interface and
parts of another. Sometimes, installing KDE packages forces you to
install the whole KDE.
- -- 
Merciadri Luca

See http://www.student.montefiore.ulg.ac.be/~merciadri/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAkqzenIACgkQM0LLzLt8MhzwIACfZc5KCZay+ehAVCkT1Kwk9lLJ
iiQAoJ0PAIwJ0MlZkBJIz3z4z0Bqlab3
=shJ8
-END PGP SIGNATURE-


  

Then write upstream or try coding it yourself


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: CPU default frequency is at 75%

2009-09-18 Thread Jochen Schulz
Merciadri Luca:
 
 However, when booting Debian, it is put at 75%, and keeps using this
 value until I change it (by clicking on the applet, and choosing
 Performance or 2.66Ghz, or 100%).

What does

# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

say after bootup?

 I thought it would not have had any repercussions not to change this
 value (I thought it had no effect), but it *really* works. As I often
 use apps which need the *full* cpu power, I would like to use it,
 directly from the boot, at 100%.

Have you observed whether the frequency changes automatically when the
CPU is under load? That would be the kernel's default behaviour if your
current governor is either ondemand or conservative.

That said, I don't know which governor is used by default by Debian's
kernels.

 How could I manage to make the process of using Performance
 automatically? The computer I am speaking about is not a laptop, and
 there is no reason to choose a different setting than Performance,
 except for power issues, but that is not a problem.

I suggest you use just the ondemand governor and stop caring about the
issue at all. You will get full CPU power when you need it and save a
little power when you don't. Just install cpufrequtils and folle the
instructions in README.Debian.

J.
-- 
I lust after strangers but only date people from the office.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature


Re: CPU default frequency is at 75%

2009-09-18 Thread Aioanei Rares

Jochen Schulz wrote:

Merciadri Luca:
  

However, when booting Debian, it is put at 75%, and keeps using this
value until I change it (by clicking on the applet, and choosing
Performance or 2.66Ghz, or 100%).



What does

# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

say after bootup?

  

I thought it would not have had any repercussions not to change this
value (I thought it had no effect), but it *really* works. As I often
use apps which need the *full* cpu power, I would like to use it,
directly from the boot, at 100%.



Have you observed whether the frequency changes automatically when the
CPU is under load? That would be the kernel's default behaviour if your
current governor is either ondemand or conservative.

That said, I don't know which governor is used by default by Debian's
kernels.

  

ondemand.

How could I manage to make the process of using Performance
automatically? The computer I am speaking about is not a laptop, and
there is no reason to choose a different setting than Performance,
except for power issues, but that is not a problem.



I suggest you use just the ondemand governor and stop caring about the
issue at all. You will get full CPU power when you need it and save a
little power when you don't. Just install cpufrequtils and folle the
instructions in README.Debian.

J.
  



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: CPU default frequency is at 75%

2009-09-18 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jochen Schulz m...@well-adjusted.de writes:

 What does

 # cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

 say after bootup?
Ondemand, the same as what appears in the applet, after boot. However,
despite Ondemand, even a huge CPU load does not make Debian asking
for more CPU resources, such as 100%.

 Have you observed whether the frequency changes automatically when the
 CPU is under load?
As I explained before, there is no modification about CPU frequency,
even with a maximum load.

 That would be the kernel's default behaviour if your
 current governor is either ondemand or conservative.
How could I modify it?

 That said, I don't know which governor is used by default by Debian's
 kernels.
Ondemand, okay, but how to modify this?

 I suggest you use just the ondemand governor and stop caring about the
 issue at all. You will get full CPU power when you need it and save a
 little power when you don't.
My aim is not to save power. I am running many scientific-purpose
applications, and they need full CPU power. As I often switch between
many OSes, manually modifying manually governor is tedious. I
installed kpowersave, and it works, but I am pretty deceived that it
does not work with GNOME's utils.

- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAkqzhnIACgkQM0LLzLt8MhzB8wCffq7UeEMMu8TVPrjEuZXPvfAQ
MFYAn0N6Nfv4/A6rCXNfCzIIE0y8X/tx
=Vci5
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: CPU default frequency is at 75%

2009-09-18 Thread Merciadri Luca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Aioanei Rares debian.dev.l...@gmail.com writes:


 Then write upstream or try coding it yourself
Mmh, I think you did not understand me... No matter.

- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iEYEARECAAYFAkqzhWwACgkQM0LLzLt8MhyCPQCfZ2NT3WCkiZR4Y+uNXDYHylUA
WfQAoJo9At4hM9rWW1i/G+I2gvCFZ1ZN
=AAZ1
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: CPU default frequency is at 75%

2009-09-18 Thread Stefan Monnier
 How could I manage to make the process of using Performance
 automatically?

Most likely the setting you currently have is one which automatically
adjusts the frequency based on the amount of work there is for the CPU:
if it's busy, the frequency will climb to 100%.

 The computer I am speaking about is not a laptop, and there is no
 reason to choose a different setting than Performance, except for
 power issues, but that is not a problem.

Nowadays, power management is important for all machines nowadays, and
the experience gained with laptops taught us how to save energy wihout
impacting the performance.  Also reducing the frequency when the load is
sufficiently low will not only reduce your electricity bill, but also
the temperature of your CPU and the speed at which the fans spin.


Stefan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: CPU default frequency is at 75%

2009-09-18 Thread Steve Lamb
Stefan Monnier wrote:
 Nowadays, power management is important for all machines nowadays, and

Not to the point where it overrides user preference or causes problems
with the machine.  I've got one machine where every time the power manager
decided to adjust my CPU speed the entire machine froze for 2-3 seconds until
the power manager got the word my CPU doesn't scale.  So 15s later it tried
again.  Having your machine freeze every 15s for 2-3s is not usable.  The
lengths I went to to rip out power management was excessive.  There aught to
be a simple Shut up, Mr. Scott and give me all she's got! button, period.

-- 
 Steve C. Lamb | But who decides what they dream?
   PGP Key: 8B6E99C5   |   And dream I do...
---+-



signature.asc
Description: OpenPGP digital signature


Re: CPU default frequency is at 75%

2009-09-18 Thread Jochen Schulz
Merciadri Luca:
 Jochen Schulz m...@well-adjusted.de writes:
 
 What does
 
 # cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
 
 say after bootup?

 Ondemand, the same as what appears in the applet, after boot. However,
 despite Ondemand, even a huge CPU load does not make Debian asking
 for more CPU resources, such as 100%.

Then have a look at
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

It should contain the highest frequency your processor supports. If not,
then something strange is happening.

 That would be the kernel's default behaviour if your
 current governor is either ondemand or conservative.

 How could I modify it?

Modify what? -Most probably, cpufrequtils will contain alle the tools
you need. It allows you to select a governor and set min/max frequency
limits, for cases where they are mis-reported by default.

 I suggest you use just the ondemand governor and stop caring about the
 issue at all. You will get full CPU power when you need it and save a
 little power when you don't.

 My aim is not to save power. I am running many scientific-purpose
 applications, and they need full CPU power.

Sure, no problem. The ondemand governor is all about saving power
without sacrificing performance. If nothing's wrong with your
configuration, this is exactly what you should get by default.

A question that comes to my mind: how do you measure the current clock
frequency? Only by looking at the Gnome applet? I would take a look into
/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq, just to be sure.

J.
-- 
I want to look younger than my friends so I will fight ageing as long as
I can.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature