Skip to contentSkip to conversation

Process Creation Speed

DISCUSSION Andi Kleen 1 participant 1 message Apr 19, 2004 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Andi Kleen

author
#2 lore raw
Quoted 8 lines · Stephan T. Lavavej

I changed my measurement strategy, and I now get about 110 microseconds for creation and termination of a do-nothing process (fork() followed by execve()). Statically linking everything gave a significant speedup, which allowed me to reach that value. This was on a 2.6.x kernel. 110 microseconds is well within my "doesn't suck" range, so I'm happy - CGI will be fast enough for my needs, and I can always turn to FastCGI later if necessary.

This just means ld.so is too slow for you. Perhaps you should complain to the glibc people about that?

-Andi