PDA

View Full Version : PREVIEW: Hotplug time halved! Or better!



jdong
December 16th, 2004, 09:36 PM
http://sourceforge.net/forum/forum.php?forum_id=430876

I backported Hoary's insanely fast Hotplug and grepmap.



--A quick comparison on time to restart Hotplug--
Before Backport:

real: 11.6s
user: 6.64s
sys: 0.51s

After backport:
real: 3.77s
user: 1.22s
sys: 0.51s

The numbers speak for themselves!

As stated in the article, you have to update hotplug and install grepmap to get the benefits!

flibblesan
December 16th, 2004, 10:13 PM
http://sourceforge.net/forum/forum.php?forum_id=430876

I backported Hoary's insanely fast Hotplug and grepmap.



The numbers speak for themselves!

As stated in the article, you have to update hotplug and install grepmap to get the benefits!
Whoah! I'm trying this out! My system tends to go slow at the hotplugging stage since I installed the Speedtouch stuff

flibblesan
December 16th, 2004, 10:35 PM
Ok I've just upgraded hotplug and installed grepmap as you said. Now hotplug is RAPID. However one slight problem. Hotplug is so fast my ADSL modem doesn't have a chance to initialise in time before ubuntu tries to access the ntp server. Any was of removing the ntp update from the startup script?

Great work again jdong!

jdong
December 16th, 2004, 10:57 PM
rm /etc/rcS.d/S51ntpdate

Better, do a similar symlink to rc2.d:
/etc/init.d/ntpdate -> /etc/rc2.d/S99ntpdate

This way, Ntpdate runs after GDM starts, so you can still get your time updated!