File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Writing Code for Multi Core CPU
Joined: Jan 28, 2004
Jul 30, 2010 00:43:23
To fully utilise a multi-core CPU, is it simply by writing all codes in as many threads as possible (or at least # of threads matches # of core) and assume the OS will auto allocates the threads and utilise idle CPU cores as much as possible?
I agree. Here's the link:
subject: Writing Code for Multi Core CPU
Multiprocessor JVM Scalability
when not to use thread
Java competing with native code app over resources
Writing Software for Multicore System
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015