DeepMarket,Quote from DeepMarket:
Can you help me out and point to which programming languages you can do this? I cannot do this in Java. Years and years ago when I wrote C++ for Solaris - I couldn't do it with C++.
Granted, I have not done any threaded applications for Windows, but I thought all the that was taken care of by the OS.
Thanks!
Quote from bl33p:
DeepMarket what is it that you want to accomplish? Java supports threads natively across all platforms.
Quote from wilburbear:
Someone in this thread showed how to assign one processor, in an AMD dual-processor system, to just one program that you are running - so that different programs don't all load just one chip (Task Manager always maxes out at just 50%, with just one chip working at a time). Windows XP has a way to do this. But now I can't find this post!
Help?
Quote from bl33p:
DeepMarket what is it that you want to accomplish? Java supports threads natively across all platforms.
Quote from nononsense:
canyonman,
That's exactly what I observed too. Looking at multiprocessor configurations, it is very obvious that windoz XP doesn't take care of this. The programmer has to get involved here. Very little run of the mill software has been written in the past for true multiprocessor configurations.
If the latest Dual Core processors will change anything at this? I doubt it, the OS must still intervene unless a completely revamped OS version would be released. In spite of all the hype and hullabaloo surrounding Dual Core, this question is carefully sidestepped by the manufacturers.
![]()
Quote from lilboy716:
java thread is not native... its done in the VM. thats why java threads are so portable, and most of all, more predictable
java VM is managing your threads, the OS is manging the VM process.
The only good answer to all this is benchmarking. I have not done this for the dualcore chips, but from intensive testing of dual processors under non-server loads, it's quite frustrating to see that total processor load almost never exceeds 50%. In my experience, the OS and driver processes you are alluding to indeed run on the other processor but constitute typically only a fraction of your application loads.Quote from lilboy716:
windows does handle multi core processor fairly well.
just like linux, unix, and mach (osx)
for the record, a dual core 2.0ghz does not mean it is twice as fast as a solo 2.0ghz.
dual core can perform better in multiprocess, multhreaded environment compare to a solo core. but it is upto the OS to manage the context switches, and also any of the traditional bottlenecks only got worse in the dual core environment. (mem, caches.... etc)
if you have a dual core running in windows, you are deriving its power every time you run any program. dont think of your program should be multithread in order to take advantage of have a "duo core". because there are countless processes in your OS are also running and utilizing either core at any given moment.