From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kevin P. Fleming" Date: Sun, 24 Oct 2004 19:27:30 +0000 Subject: Re: udev hangs under high loads Message-Id: <417C0222.3080402@backtobasicsmgmt.com> List-Id: References: <20041023054119.GA11915@kroah.com> In-Reply-To: <20041023054119.GA11915@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Olaf Hering wrote: > I had not time yet to look at the udev locking bugs. I too would be unhappy if udev was wasting this much memory for extra files related to my /dev nodes (I moved to udev precisely to avoid problems like this ). Not having looked at the code my suggestion may be way off-base, but wouldn't a very simple database that supports _only_ append operations (no in-place editing) suffice for udev's needs? There are many applications (BIND, Zope, etc.) that work just fine with databases like this, where any new or changed record is appended to the file, then pointers are updated to reflect the new record's presence. Seems to me that given the very small amount of update activity to udev's database (for most systems it will be 95+% appends when the system boots, and very little activity after that) that the small amount of wasted space due to "dead" records being in the database would be acceptable. Then again, some of the threads about this issue seemed to relate to multiple systems sharing the same /dev directory over NFS, which I don't understand at all... Why would someone even want to do that (i.e. what would the value be)? If changes were made to handle non-locking-capable mounts for /dev, IMHO those changes should be reverted, and the documentation updated to say that if someone wants to use udev in such a situation, they are on their own :-) ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ 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