login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
September
»
11
Re: forcedeth: option to disable 100Hz timer (try 2)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Mikhail Kshevetskiy
Subject:
Re: forcedeth: option to disable 100Hz timer (try 2)
Date: Wednesday, September 10, 2008 - 9:19 pm
On Wed, 10 Sep 2008 17:36:30 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:
quoted text
> On Wed, 10 Sep 2008 18:18:20 -0600 > Robert Hancock <hancockr@shaw.ca> wrote: > > > Andrew Morton wrote: > > > On Tue, 9 Sep 2008 23:34:35 +0400 > > > Mikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com> wrote: > > > > > >> On some hardware no TX done interrupts are generated, thus special > > >> 100Hz timer interrupt is required to handle this situation properly. > > >> Other device do not require that timer interrupt feature. > > >> > > >> Forcedeth has a DEV_NEED_TIMERIRQ flag to mark the broken devices. > > >> Unfortunately, nobody know the actual list of broken devices, so all > > >> device has this flag on. Other problem, this flag is not user visible, > > >> so the kernel recompilation is required to disable timer interrupts and > > >> test a device. > > >> > > >> This patch add a "disable_timerirq" option to disable interrupt > > >> timer mentioned above. This may be extremely useful for laptop users. > > > > > > Why do you feel that the timer-based completions need to be disabled? > > > Is it causing some problem? > > > > 100 unnecessary CPU wakeups per second imposes some power usage cost, > > especially on laptops with CPU C-states.. > > Is that the only reason for the change? We still don't know... > > > > Anyway, it's certainly _sufficient_ reason, however the implementation > is pretty sad - most people won't even know that the option exists so > they'll continue to chew more power than they need to. > > How do we fix this? Perhaps disable the timer by default, then wait > for the first tx timeout and then enable the timer at that stage, while > printing a message saying "add module option <foo> to prevent this > once-off timeout from happening"?
I'll try this --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: forcedeth: option to disable 100Hz timer (try 2)
, Robert Hancock
, (Wed Sep 10, 5:18 pm)
Re: forcedeth: option to disable 100Hz timer (try 2)
, Andrew Morton
, (Wed Sep 10, 5:36 pm)
Re: forcedeth: option to disable 100Hz timer (try 2)
, Mikhail Kshevetskiy
, (Wed Sep 10, 9:19 pm)
Re: forcedeth: option to disable 100Hz timer (try 2)
, Robert Hancock
, (Wed Sep 10, 9:25 pm)
Re: forcedeth: option to disable 100Hz timer (try 2)
, Andrew Morton
, (Wed Sep 10, 10:19 pm)
Re: forcedeth: option to disable 100Hz timer (try 2)
, Mikhail Kshevetskiy
, (Wed Sep 10, 10:31 pm)
Re: forcedeth: option to disable 100Hz timer (try 2)
, Alan Cox
, (Thu Sep 11, 12:14 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Mathieu Desnoyers
[PATCH 01/10] local_t : architecture independant extension
Ingo Molnar
Re: 2.6.20-rc6-mm3
monstr
[PATCH 46/56] microblaze_v2: headers files entry.h current.h mman.h registers.h se...
alan
Re: Versioning file system
Jan Engelhardt
Re: Linux Security *Module* Framework (Was: LSM conversion to static interface)
git
:
Andy Parkins
git-fetch fails with error code 128
Johannes Sixt
Re: [PATCH v2 04/13] Teach rebase interactive the mark command
Yakov Lerner
Re: Autoconf/Automake
Miklos Vajna
Re: [IRC/patches] Failed octopus merge does not clean up
Johannes Sixt
Re: [msysGit] [PATCH 01/12] Fake reencoding success under NO_ICONV instead of retu...
linux-netdev
:
jamal
[net-next-2.6 PATCH 1/7] xfrm: introduce basic mark infrastructure
jamal
[net-next-2.6 PATCH 0/7] xfrm by MARK
Timo Teräs
ip xfrm policy semantics
Jeff Garzik
Re: [PATCH 1/5] sky2: phy setup changes
Ken-ichirou MATSUZAWA
Re: [PATCH] don't touch bridge sysfs in container.
git-commits-head
:
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
MIPS: SMTC: Fix lockup in smtc_distribute_timer
Linux Kernel Mailing List
V4L/DVB (13840): smsusb: Add ISDB-T firmware for Hauppauge WinTV-Nova-T-MiniStick
Linux Kernel Mailing List
Input: gpio-keys - add support for disabling gpios through sysfs
openbsd-misc
:
Marco Peereboom
Re: Defending OpenBSD Performance
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Damon Schultz
Routing iTunes sharing across subnets using OpenBSD
Ashraf Cotu
Je sur comptable a la banque BCB je vais virée $6.million a la etranger
Chris Black
Re: carp, 2 router
Colocation donated by:
Syndicate