[Mono-list] Dual-Core Cpu-Usage

Glen Ford glen.a.ford at gmail.com
Sat Nov 24 11:38:54 EST 2007


I found if I am using a thread pool all threads are bound to one CPU -
if I use thread start it uses all CPU's - not sure why this is the
case.


On Nov 24, 2007 10:04 AM, Marek Wyborski <marek.wyborski at arcor.de> wrote:
> Hello!
>
> I have a Dual-Core Processor, and i have written a RayTracer. To divide
> the work for the two processors i am starting two threads. Everything
> works wonderful on Windows. CPU-Usage goes to 100% and i need only
> nearly the half of the time than just running on one core. When i run
> the same program with Mono on Linux it never goes above 70% Cpu-Usage.
> So the difference between one and two cores is very small. What do i
> have to do to make Mono use all the CPU-Time there is available?
>
> Thanks for any answers!
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>


More information about the Mono-list mailing list