rgalopo
October 5th, 2007, 10:50 AM
Hi all !
I’m developing a multithreading C# application in which one I invoke several web service methods in the same machine. Those web services have been developed with java / Apache web server, and I can’t change them.
The multithreaded application has a heavy CPU percent usage.
It runs perfect in W2000, but in XP it has big performance problems, it seems to have a queue of threads and the second thread don't perform any task until the first thread is doing nothing.
The CPU usage is equal in both O.S. and I'm using .net 2 platform in both O.S.
Do you know what it’s different in multithreading / multiapp management between both O.S.?
Any idea to reduce the cpu usage percent?. Somebody told me about use timers to launch short life threads, avoiding while(true) threads.
Advanced Thanks!
I’m developing a multithreading C# application in which one I invoke several web service methods in the same machine. Those web services have been developed with java / Apache web server, and I can’t change them.
The multithreaded application has a heavy CPU percent usage.
It runs perfect in W2000, but in XP it has big performance problems, it seems to have a queue of threads and the second thread don't perform any task until the first thread is doing nothing.
The CPU usage is equal in both O.S. and I'm using .net 2 platform in both O.S.
Do you know what it’s different in multithreading / multiapp management between both O.S.?
Any idea to reduce the cpu usage percent?. Somebody told me about use timers to launch short life threads, avoiding while(true) threads.
Advanced Thanks!