lkml.org 
[lkml]   [2007]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/3] cxacru: Poll for device status more frequently.
On 31/01/07 14:27, Duncan Sands wrote:
>> The device is only polled for status every 5 seconds yet status updates
>> occur as often as every second - when the line is down the status changes
>> between "down" and "attempting to activate" every 2 seconds.
>
> How much overhead does polling involve? [A particularly problematic case
> is when polling is failing - I've occasionally seen speedtouch modems
> where polling fails every time (not sure why) and for some reason this
> increases system load considerably, which is why the speedtch driver has
> a dynamic polling interval]. If polling overhead is basically nothing,
> then this change is OK with me. Otherwise the next simplest thing to do
> is to have a short polling interval when the line is down, and a longer
> one when the line is up.
>

I've had it polling every 200ms on a dual ppro200 since november, and it has never failed to poll the status.


> Ciao,
>
> Duncan.


--
Simon Arlott

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2007-01-31 19:23    [W:0.057 / U:4.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site