Process Creation Speed
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]
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 byexecve()). 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