From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrey Borzenkov Date: Sun, 29 Jan 2006 12:24:52 +0000 Subject: Re: sd_mod load is delayed. Message-Id: <200601291524.53176.arvidjaar@mail.ru> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 29 January 2006 14:18, Hai Zaar wrote: > > On Sunday 29 January 2006 13:12, Andrey Borzenkov wrote: > > > As far as I can tell, SCSI subsystem is using scan mutex; so only one > > > HBA can do scanning at a time. Or so it appears. May be LSI is the frst > > > one to kick in. > > > > Oops sorry ignore this, what I meant is per-host mutex. > > Anyway, it does not seem to help. > Here are some numbers. > Working directory is /sys/bus/pci/devices. > 0000:00:1f.2 is SATA controller (ata_piix modalias) > 0000:02:09.0 is LSI logic controller (mptspi modalias) > Each command was run by /bin/bash, that was spawned right after 'udev > --deamon' in initramfs. After each command, the system was rebooted: > > Emitting only SATA event > echo add > 0000:00:1f.2/uevent; time while ! grep -q sda > /proc/partitions; do sleep 0.1; done > real 0m0.209sec > ----------------------------- > > Emitting both SATA and LSI events > echo add > 0000:00:1f.2/uevent; echo add > 0000:02:09.0; time > while ! grep -q sda /proc/partitions; do sleep 0.1; done > real 0m12.244s > ----------------------------- > As you may see there is significant increase. And for LSI only? - -andrey -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD3LQVR6LMutpd94wRAvotAJ4wYa8hrr5Aisy8R/RerdU2mQF2hwCfTyCR qvFzPnr9aklyzEanaaQVz6Q=3pBi -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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