making "test" an ash built-in

Natanael Copa natanael.copa at gmail.com
Thu Jun 8 08:33:34 UTC 2006


On Wed, 2006-06-07 at 22:03 -0400, Paul Fox wrote:
> nathaniel.copa wrote:
>  >
>  > FYI. busybox ash have been unacceptable slow for me. I have eneded
>  > using /bin/sh -> dash and entering /bin/ash as shell for root (the
>  ...
>  > Someone in LEAF said the same. They also use dash because busybox ash is
>  > way too slow, but they miss the autocompletion. I think we calculated
> 
> i'm a little confused by this, since busybox ash and dash both
> come from the same origins, and, in fact, vodz has been keeping
> ash in sync with dash on a fairly regular basis.  but maybe they're
> more different than i thought.
> 
> how are you measuring the speed difference, and what version of dash
> are you running?

Coldplugging the pcibus (/etc/hostplug/pci.rc) takes 2 minutes and 3.8
seconds using ash and 5.84 seconds using dash. I can tell you that you
notice the difference without measure anything.

the version is dash-0.5.2.7

I checked it out and the critical code is in /etc/hotplug/pci.agent in
function pci_map_modules There is the modules.pcimap (2211 lines here)
parsed for every pci device.

Scripts are here:
http://www.kernel.org/pub/linux/utils/kernel/hotplug/hotplug-2004_09_23.tar.gz

The patch did no noticeable difference.

I had to merge it manually. I have attatched a new patch against current
svn (revision 15335).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bb-ash-test.patch
Type: text/x-patch
Size: 27291 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060608/b9702100/attachment.bin 


More information about the busybox mailing list