>> does this need to be wrapped by ovsthread_once?
>
> I think so, looking at all the places count_cpu_cores() is called
> from. I am probably missing what you are pointing at.
it seems that i misremembered what GetSystemInfo was.
sorry for noise.
YAMAMOTO Takashi
>
>>
>> YAMAMOTO Takashi
>>
>
>
> does this need to be wrapped by ovsthread_once?
I think so, looking at all the places count_cpu_cores() is called
from. I am probably missing what you are pointing at.
>
> YAMAMOTO Takashi
>
>> +#endif
>> ovsthread_once_done(&once);
>> }
>>
>> --
>> 1.7.9.5
>>
>> ___
> We use the number of cpu cores to determine the number
> of threads that we spawn. We are not yet sure what is
> the ideal number of OVS userspace threads that can run
> on Hyper-V. Till we figure that out, use the same logic
> of counting CPU cores in Windows too.
>
> Signed-off-by: Gurucharan
On Mon, Mar 10, 2014 at 10:56:41AM -0700, Gurucharan Shetty wrote:
> We use the number of cpu cores to determine the number
> of threads that we spawn. We are not yet sure what is
> the ideal number of OVS userspace threads that can run
> on Hyper-V. Till we figure that out, use the same logic
> of
We use the number of cpu cores to determine the number
of threads that we spawn. We are not yet sure what is
the ideal number of OVS userspace threads that can run
on Hyper-V. Till we figure that out, use the same logic
of counting CPU cores in Windows too.
Signed-off-by: Gurucharan Shetty
---
l