Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
affinity, a processor affinity lib for Java on Linux
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
pilla
Administrator
Administrator


Joined: 07 Aug 2002
Posts: 7693
Location: Pelotas, BR

PostPosted: Wed Jul 08, 2009 12:40 pm    Post subject: affinity, a processor affinity lib for Java on Linux Reply with quote

I've stumbled in the issue of declaring thread affinity to processors in multicores, so I've developed a small, simple lib using JNI that access sched_{get,set}affinity in Linux. Criticisms and suggestions are welcome. You will need a JDK, make and gcc. Before compiling, fix the JAVAHOME in the Makefile.

It can be downloaded from my homepage, http://minerva.ufpel.edu.br/~pilla/

It should work with both 32 and 64 bit flavours of Linux.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum