linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] reliability and scalability
@ 2004-02-07  8:01 Chris Friesen
  2004-02-07  8:57 ` Olaf Hering
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Chris Friesen @ 2004-02-07  8:01 UTC (permalink / raw)
  To: linux-hotplug


I've got a couple more ideas for improving udevd, but before I go crazy
with this I wanted to get some opinions from people more experienced
than me.

First, how paranoid should we be about reliability?  Right now there is a
(low) possibility of udevd crashing with unhandled messages on its rx
buffer, thus losing one or more hotplug events.  Is this a problem?
Would people welcome a patch that closes the loop by sending an ack back
to udevsend?

Second, how many udev instances are we expecting to have outstanding at
a time?  There are a couple of places in udevd (specifically the devpath
check and the udev_done code) that with the current data structures end
up being worst case ofO(n^2).  Is this a problem?  The average user will
never have an issue, but if we suddenly plug in a few thousand disks (a
number that's been mentioned before), is it a big deal if it takes a
bit longer to add them all?  I see ways of getting around this, but
it may be overkill.

Comments, anyone?

Chris



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-02-21  1:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-07  8:01 [RFC] reliability and scalability Chris Friesen
2004-02-07  8:57 ` Olaf Hering
2004-02-07  9:49 ` Kay Sievers
2004-02-07 19:30 ` Greg KH
2004-02-07 19:31 ` Greg KH
2004-02-07 20:20 ` Olaf Hering
2004-02-09  3:59 ` Kay Sievers
2004-02-21  1:01 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).