* Re: [Powertop] Fwd: Suggested tunables addition: sysctl kernel.core_pattern
@ 2016-01-05 1:11 Arjan van de Ven
0 siblings, 0 replies; 4+ messages in thread
From: Arjan van de Ven @ 2016-01-05 1:11 UTC (permalink / raw)
To: powertop
[-- Attachment #1: Type: text/plain, Size: 216 bytes --]
On 1/4/2016 4:49 PM, George Barrett wrote:
> I primarily use my laptop for hacking on my own little projects, so this occurs fairly frequently
hmm but wouldn't you WANT the core dumps?
(I know I do ;-) )
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Powertop] Fwd: Suggested tunables addition: sysctl kernel.core_pattern
@ 2016-01-05 0:49 George Barrett
0 siblings, 0 replies; 4+ messages in thread
From: George Barrett @ 2016-01-05 0:49 UTC (permalink / raw)
To: powertop
[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]
I primarily use my laptop for hacking on my own little projects, so
this occurs fairly frequently
On Tue, Jan 5, 2016 at 11:47 AM, Magnus Fromreide
<magfr(a)lysator.liu.se> wrote:
> On Sat, Jan 02, 2016 at 09:00:57PM +1100, George Barrett wrote:
>> Hi, first off thanks for the great tool!
>>
>> I currently rely on a systemd unit file present in the Fedora
>> package for
>> powertop to do most of my laptop's power saving config on boot, and
>> it works
>> great. However, I've noticed a missing tunable which might be
>> helpful for
>> some folks: setting the kernel.core_pattern sysctl parameter to
>> |/dev/null
>> or similar. On my x220, this parameter set to it's default causes
>> systemd-coredump to peg a single core, sometimes for quite an
>> extended
>> period of time. On many devices this would cause substantially
>> greater heat
>> output, and most importantly substantially higher power consumption.
>
> I have to ask, why do you get enough core dumps for this to be a
> problem?
> Wouldn't a better solution be to fix the application that dumps core?
>
> /MF
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Powertop] Fwd: Suggested tunables addition: sysctl kernel.core_pattern
@ 2016-01-05 0:47 Magnus Fromreide
0 siblings, 0 replies; 4+ messages in thread
From: Magnus Fromreide @ 2016-01-05 0:47 UTC (permalink / raw)
To: powertop
[-- Attachment #1: Type: text/plain, Size: 874 bytes --]
On Sat, Jan 02, 2016 at 09:00:57PM +1100, George Barrett wrote:
> Hi, first off thanks for the great tool!
>
> I currently rely on a systemd unit file present in the Fedora package for
> powertop to do most of my laptop's power saving config on boot, and it works
> great. However, I've noticed a missing tunable which might be helpful for
> some folks: setting the kernel.core_pattern sysctl parameter to |/dev/null
> or similar. On my x220, this parameter set to it's default causes
> systemd-coredump to peg a single core, sometimes for quite an extended
> period of time. On many devices this would cause substantially greater heat
> output, and most importantly substantially higher power consumption.
I have to ask, why do you get enough core dumps for this to be a problem?
Wouldn't a better solution be to fix the application that dumps core?
/MF
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Powertop] Fwd: Suggested tunables addition: sysctl kernel.core_pattern
@ 2016-01-02 10:00 George Barrett
0 siblings, 0 replies; 4+ messages in thread
From: George Barrett @ 2016-01-02 10:00 UTC (permalink / raw)
To: powertop
[-- Attachment #1: Type: text/plain, Size: 994 bytes --]
Hi, first off thanks for the great tool!
I currently rely on a systemd unit file present in the Fedora package
for powertop to do most of my laptop's power saving config on boot, and
it works great. However, I've noticed a missing tunable which might be
helpful for some folks: setting the kernel.core_pattern sysctl
parameter to |/dev/null or similar. On my x220, this parameter set to
it's default causes systemd-coredump to peg a single core, sometimes
for quite an extended period of time. On many devices this would cause
substantially greater heat output, and most importantly substantially
higher power consumption.
I had a quick browse of the source code to see if this addition was
trivial enough for me to submit a patch over, but from what I could see
the existing tunables seem to work exclusively with sysfs.
Unfortunately I don't write much C++, so I apologise for sending this
particular email rather than submitting a patch for y'all.
Thanks
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-01-05 1:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-05 1:11 [Powertop] Fwd: Suggested tunables addition: sysctl kernel.core_pattern Arjan van de Ven
-- strict thread matches above, loose matches on Subject: below --
2016-01-05 0:49 George Barrett
2016-01-05 0:47 Magnus Fromreide
2016-01-02 10:00 George Barrett
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.