Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Does using hugepages help?


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: