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

Yeah, figuring out the optimal thread count has always seemed like a bit of a black art to me. I can pretty reliably figure it out for my system (which has 8 physical cores, 16 logical), but it's hard to generalize that to others.

-j3 will spawn 3 workers for searching while the main thread does directory traversal. It sounds like I should do `num_cpus - 1` for the default `-j` instead of `num_cpus`.



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

Search: