Re: fork speed vs /bin/sh

2003-11-28 Thread Terry Lambert
Peter Wemm wrote: What this shows is that vfork() is 3 times faster than fork() on static binaries, and 9 times faster on dynamic binaries. If people are worried about a 40% slowdown, then perhaps they'd like to investigate a speedup that works no matter whether its static or dynamic? There

fork speed vs /bin/sh

2003-11-27 Thread Peter Wemm
I *know* I'm going to regret posting this, but if people care about the speed of their shell, then perhaps you want to look at this: [EMAIL PROTECTED]:46am]/tmp-149 cc -O -o vforkathon.dynamic vforkathon.c [EMAIL PROTECTED]:46am]/tmp-150 cc -O -static -o vforkathon.static vforkathon.c [EMAIL

Re: fork speed vs /bin/sh

2003-11-27 Thread Matthew Dillon
:What this shows is that vfork() is 3 times faster than fork() on static :binaries, and 9 times faster on dynamic binaries. If people are :worried about a 40% slowdown, then perhaps they'd like to investigate :a speedup that works no matter whether its static or dynamic? There is :a reason that