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
Win a copy of
Android Security Essentials Live Lessons
this week in the
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
Java competing with native code app over resources
Writing Software for Multicore System
Multiprocessor JVM Scalability
when not to use thread
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014