mardi 3 mars 2015

How many threads I should create for IOCP?


I have read that the ideal number to pass to the NumberOfConcurrentThreads parameter of the CreateIoCompletionPort() function is 0, which will translate to the number of cores.


However, how many threads I should actually create that waits on the completion port, should it also be the same as the number of cores?




Aucun commentaire:

Enregistrer un commentaire