points by evilotto 7 years ago

That's true, it's not the only reason. Dealing with threads and buffers and pthread_atfork and the associated heartbreak is a biggie also. But the performance is nothing to laugh at.

I just did a quick test, a 100mb process generally takes >2ms to fork, while a 1mb or less process takes 70us. It seems like its pretty much linear with process size.

megous 7 years ago

Does using hugepages help?

  • evilotto 7 years ago

    It probably would, but I don't have a system I can test it on.