public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Toralf Förster" <toralf.foerster@gmx.de>
To: Dirk Brandewie <dirk.brandewie@gmail.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: 3.9.0 + CONFIG_X86_INTEL_PSTATE=y  -> ThinkPad T420 with i5 lost ACPI functionality
Date: Tue, 28 May 2013 20:11:47 +0200	[thread overview]
Message-ID: <51A4F363.2040003@gmx.de> (raw)
In-Reply-To: <51913E0A.6060402@gmail.com>

On 05/13/2013 09:24 PM, Dirk Brandewie wrote:
> On 05/13/2013 12:13 PM, Toralf Förster wrote:
>> On 05/13/2013 07:57 PM, Dirk Brandewie wrote:
>>>      cd /sys/fs/cgroup/cpu
>>>      mkdir bonic
>>>      echo 400 > boinc/cpu.shares
>>>      boinc &
>>>      echo $! > boinc/tasks
>>
>> In many places of my scripts for automated testing I use currently the
>> "nice -n" prefix at my ThinkPad to keep a long battery life, quiet fan,
>> cool CPU. The CPU just runs with minimal frequency but will give
>> med/max. power on demand.
>>
>> If the P-State governor will be the replacement the old behaviour -
>>
>> the kernel menu config says "will become the perferred ... (sic!)
>> ...scaling driver for Sandy bridge processors" -
>>
>> is there a nifty user space tool which replaces "nice" and do all cgroup
>> stuff for the user ?
>>
> 
> cgexec from the libcgroup-tools package (fedora name) look like it will
> place
> a process in a group for you.
> 
> https://wiki.archlinux.org/index.php/Cgroups
> 
> Has some useful examples.
> 
> --Dirk
> 

I'm not really convinced about using P-State in favour of ondemand -
with the cpu ondemand governor my freshly booted system with just KDE
started stays here around 39°C - with pstate I do have 53°C.

Even more if I run BOINC the temperature is around 92° even with these
settings :

 tail -v /sys/fs/cgroup/cpu/groupname/boinc/*
==> /sys/fs/cgroup/cpu/groupname/boinc/cgroup.clone_children <==
0

==> /sys/fs/cgroup/cpu/groupname/boinc/cgroup.event_control <==
tail: error reading
‘/sys/fs/cgroup/cpu/groupname/boinc/cgroup.event_control’: Invalid argument

==> /sys/fs/cgroup/cpu/groupname/boinc/cgroup.procs <==
3411
3415
3416
3417
3419
3421
3422
3423
3434
3435

==> /sys/fs/cgroup/cpu/groupname/boinc/cpu.cfs_period_us <==
100000

==> /sys/fs/cgroup/cpu/groupname/boinc/cpu.cfs_quota_us <==
-1

==> /sys/fs/cgroup/cpu/groupname/boinc/cpu.shares <==
2

==> /sys/fs/cgroup/cpu/groupname/boinc/cpu.stat <==
nr_periods 0
nr_throttled 0
throttled_time 0

==> /sys/fs/cgroup/cpu/groupname/boinc/notify_on_release <==
0

==> /sys/fs/cgroup/cpu/groupname/boinc/tasks <==
3417
3418
3419
3420
3421
3422
3423
3424
3434
3435


-- 
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

  reply	other threads:[~2013-05-28 18:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-03 16:55 3.9.0 + CONFIG_X86_INTEL_PSTATE=y -> ThinkPad T420 with i5 lost ACPI functionality Toralf Förster
2013-05-03 19:36 ` Rafael J. Wysocki
2013-05-03 21:10   ` Dirk Brandewie
2013-05-03 21:26     ` Toralf Förster
2013-05-03 21:43       ` Dirk Brandewie
2013-05-04  7:57         ` Toralf Förster
2013-05-10 13:10           ` Rafael J. Wysocki
2013-05-13 16:43   ` Dirk Brandewie
2013-05-13 17:20     ` Toralf Förster
2013-05-13 17:57       ` Dirk Brandewie
2013-05-13 19:13         ` Toralf Förster
2013-05-13 19:24           ` Dirk Brandewie
2013-05-28 18:11             ` Toralf Förster [this message]
2013-07-07  8:44               ` Toralf Förster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51A4F363.2040003@gmx.de \
    --to=toralf.foerster@gmx.de \
    --cc=dirk.brandewie@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox