aspose file tools*
The moose likes Java in General and the fly likes Has anyone used Java with a Xeon Phi coprocessor? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Has anyone used Java with a Xeon Phi coprocessor?" Watch "Has anyone used Java with a Xeon Phi coprocessor?" New topic
Author

Has anyone used Java with a Xeon Phi coprocessor?

Joe Areeda
Ranch Hand

Joined: Apr 15, 2011
Posts: 318
    
    2

I just found out I have access to a few systems with dual Xeon PHI 5110p and have just started read up on them.

These are pretty interesting devices. The have 60 cores running 4 threads per core using x86 architecture.

It seems like compute intensive tasks that can run multiple threads (like hundreds) can really take advantage. I do have some embarrassingly parallel problems that use Java code. I haven't done the parallelization of them yet but if all I have to do is crank up the number of threads in the pool it might be worth it.

I'm interested in any experience you can share.

Thanks,
Joe


It's not what your program can do, it's what your users do with the program.
Jayesh A Lalwani
Bartender

Joined: Jan 17, 2008
Posts: 2402
    
  28

Are you looking for advise pertainingto the processor? Or are you looking for tips for parallelizing you java program?
Joe Areeda
Ranch Hand

Joined: Apr 15, 2011
Posts: 318
    
    2

Hi Jayesh,

I'm pretty comfortable paralellizing the project. I may come back when I run into trouble but I've gone through the process successfully a few times and I'll start with the easiest problem.

My question is more how effective is Java 7 at taking advantage of this thing. It sounds like all I have to do is generate a lot of compute bound threads. Working out a thread pool, set to 8 to test on my desktop workstation and set it to 240 to run on the PHI (tweaking those numbers is expected). That sounds just too good to be true. I'm hoping for some confirmation.

I just learned this resource is available on one of the clusters I use and started on the Intel tutorials for C++ programming, so any comments about experience with Java running on a PHI coprocessor are more than welcome.

Joe

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14268
    
  21

What operating system is running on those machines, and is there a JVM for it? I would like to play with a machine like that


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Joe Areeda
Ranch Hand

Joined: Apr 15, 2011
Posts: 318
    
    2

Jesper de Jong wrote:What operating system is running on those machines, and is there a JVM for it? I would like to play with a machine like that


The host is running Scientific Linux (a Red Hat 6.4 enterprise derivative) and the coprocessor is running Intel's MPSS (http://software.intel.com/en-us/articles/intel-manycore-platform-software-stack-mpss) which I haven't been able to log into yet.

Right now the sys admin is having trouble with NFS so ssh is disabled. I expect to be able to answer the JVM question soon.

This is a university cluster with something like 5000 cores, I believe 20 nVidia K10's and 10 Xeon Phi. I'm not sure how many clusters are actually in the collaboration but I have login privileges on 5 that are similar in specs. It's an amazing amount of resources.

In case your interested this is the LIGO project (http://www.ligo.org). We're currently in year 3 of a 4 year upgrade to the instruments. When we go into Science mode late 2014 or early 2015 we expect to be recording data at the rate of something like 2PB/yr.

Boggles my mind.

Joe
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Has anyone used Java with a Xeon Phi coprocessor?