From: Ian Pilcher <i.pilcher@comcast.net>
To: "Randy.Dunlap" <rddunlap@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] sysctl equivalent of "idle=poll"
Date: Fri, 09 Jan 2004 16:06:20 -0600 [thread overview]
Message-ID: <3FFF25DC.4070206@comcast.net> (raw)
In-Reply-To: <20040109133518.59c44790.rddunlap@osdl.org>
Randy.Dunlap wrote:
> I don't see any problems with this patch itself, other than its
> justification.
>
> Why is a sysctl needed instead of using idle=X as a boot parameter?
>
> Does this fix a bug/oops that you were having?
> Or does it cover up a bug somewhere?
Using "idle=poll" allows me to boot 2.4.x on my Abit VP6 with ACPI
turned on. (Remember the "Plea for help" thread on acpi-devel?) I
need ACPI-based IRQ routing to get the built-in USB controllers working.
Once the system is booted, however, I have no desire to cook my CPUs.
This allows me to set polling back to regular mode. (I just add an
entry to /etc/sysctl.conf.) I have no idea if any other hardware will
benefit from this, but it's always possible.
So that's why I'm interested in it.
More generally, if people are booting with "idle=poll" for performance
reasons, many of them probably don't need it turned on all the time.
This would allow a simple user-level program to turn on idle polling
when the load is high and turn it off the rest of the time, saving
power and possibly extending the life of the hardware.
So if there's value in having it as a boot parameter, I think there's
value in having it tunable at runtime.
BTW, although I don't need "idle=poll" to boot 2.6 with ACPI, I will
create a 2.6 version of this patch if its accepted into 2.4.
> MOTD: Always include version info.
Should I have generated the patch differently?
Thanks for the feedback!
--
========================================================================
Ian Pilcher i.pilcher@comcast.net
========================================================================
prev parent reply other threads:[~2004-01-09 22:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-07 6:39 [PATCH] sysctl equivalent of "idle=poll" Ian Pilcher
2004-01-09 21:35 ` Randy.Dunlap
2004-01-09 22:06 ` Ian Pilcher [this message]
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=3FFF25DC.4070206@comcast.net \
--to=i.pilcher@comcast.net \
--cc=linux-kernel@vger.kernel.org \
--cc=rddunlap@osdl.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