If code has never been testing in a dual CPU machine before, new bugs may surface from the more complex interactions between the threads, but so long as you have done your locks correctly, everything just works.
To find out how many CPUs you have in Java version 1.4 or later you can use java.lang.Runtime.availableProcessors()
In earlier versions you could examine the windows SET environment variable NUMBER_OF_PROCESSORS
Sun tested Java spreadsheet engine project I worked on using a machine with 256 CPU s and boy did it fly! No code changes were need from running in on a desktop machine.
This page is posted |
http://mindprod.com/jgloss/dualcpu.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\dualcpu.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[3.147.64.187] |
| |
Feedback |
You are visitor number | |