Skip to main content

Multicore support

3 replies [Last post]
jguerra
Offline
Joined: 2005-09-01
Points: 0

I was messing a bit with OpenMP and Sun Studio 11, and that technology is absolutely brilliant working on multicore CPUs !!!. The performance on T2000 boxes is massive on simple algorithms for crunching data.
I would like to see a widely multicore support for the most immediate JVM's. Leave funny language semantic away and concentrate in getting better performance on multcore CPUs. That would be a great step forward to the concurrent Java API.

It would be great, just kind of flags for the JVM to activate or deactivate multicore support.

-Dsun.xxx.OpenMP=[true|false]
-J-XX:NumberCPUCores=

and why not, java.util.parallell would be a great complement to java.util.concurrent. :)))

Cheers

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jguerra
Offline
Joined: 2005-09-01
Points: 0

Hi all,
Glad to heard from this:
http://java.sun.com/javaone/sf/2008/articles/concurrency.jsp

It looks pretty cool stuff!!. I went through jsr-166y framework on JSE 1.6 and it looks very good stuff. I think Java needs urgently this kind of new approaches to improve speed in certain algorithms.

Wouldn't be better java.util.parallel package to keep the framework??
Can not be interesting a global flag to override the number of available physical cores to the JVM ???

I looking forward to see more improvements in the area ...

Cheers

jguerra
Offline
Joined: 2005-09-01
Points: 0

Hi,

This is not my blog :))

Anyway, Course-Grain support for multicore cpu is essential. Especially for all the Thread pools available on java.util.concurrent.*.
Also improvements embedded into the Java compiler, at bytecode level. The compiler should have options (flags) to enable optimizations for multicore cpu as well.

Cheers,
Jose

jguerra
Offline
Joined: 2005-09-01
Points: 0

Hi
Looks like Python is taking good notes about multicore processing. Rationale is quite good !!

http://www.python.org/dev/peps/pep-0371/

I certainly think that Java 7 should have a stronger support for multicore CPUs.

Cheers