Quantcast
Channel: The Old New Thing
Viewing all articles
Browse latest Browse all 24428

re: Sure, I'm supposed to pass WT_EXECUTELONGFUNCTION if my function takes a long time, but how long is long?

$
0
0

@Mike: Doesn't matter how many cores there are.  Thread pools start with 1-2 threads per core.  If your task is CPU bound, then there's no point in running it in parallel with the other tasks, you end up slowing everything down.  This is an elementary result of queueing theory.


Viewing all articles
Browse latest Browse all 24428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>