lkml.org 
[lkml]   [2004]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] hotplug resource limitation
On 16-Aug-04, Hannes Reinecke wrote:
> Greg KH wrote:
> >On Tue, Aug 10, 2004 at 10:10:02AM +0200, Hannes Reinecke wrote:
> >
> >>Greg KH wrote:
> >>
> >>>On Mon, Aug 09, 2004 at 03:07:15PM +0200, Hannes Reinecke wrote:
> >I'd be very supprised if you could actually measure the hit of adding 2
> >more lines of bash to those hotplug scripts. They aren't exactly the
> >fastest thing in the world in the first place, nor do they need to be.

On several architectures (most notably s390, but also IPF and PPC) the
load generated by hotplug during boot can in actual practice become
quite high. The bus scans can generate events of the order of 100 to
1000.

These machines are more I/O-focused and handle many devices in parallel.
So having a quick and lean hotplug becomes very desirable.

Since these machines also tend to be used in HA situations, problem
recovery time and therefore reboot time becomes an essential factor to
decrease periods of unavailability.

> But we want to keep the initial 'hotplug' script as small/fast as
> possible, as this script is called by _every_ event.
> Any subsequent script (e.g. agents) do not really matter, as they are
> called much more infrequently (here on my local desktop machine I have a
> ration of 10:1).

--
Olaf Dabrunz (od/odabrunz), SUSE Linux AG, Nürnberg

-
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/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.069 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site