[ale] compiled system calls versus shell scripts

Geoffrey esoteric at 3times25.net
Wed Oct 22 16:46:44 EDT 2003


Christopher Bergeron wrote:
> Does anyone know if I would get a speed increase in my startup scripts
> by converting them to a binary?  Essentially, I'm trying to reduce my
> boot time by running my startup commands in parallel.  I stripped my
> startup scripts down to 1 file and I've appended the & on most of the
> commands (modprobes, ifconfig eth0 up, etc) in an attempt to speed
> things up.  But what I'm wondering is if I create a simple C program
> that just does:
> void main() {
>  system("modprobe whatever &");
>  system("ifconfig eth0 192.168.0.4 &");

All this is going to do is invoke a shell for you.  You're adding 
overhead, not reducing it.

-- 
Until later, Geoffrey	esoteric at 3times25.net

Building secure systems inspite of Microsoft



More information about the Ale mailing list