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 <[EMAIL PROTECTED]> 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 - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list > _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
