Mosix on Linux running Java app causes Segmentation Fault.
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Josh_Marquart
Posted On:   Wednesday, July 11, 2001 02:23 PM


So we get our Linux machines up and running with Mosix installed and we're going to run a Java program on Linux through Mosix so it gets distributed. Nope - Segmentation Fault. Is this because the java program threads all share the same memory space (per this question about memory) or is my answer more likely the same answer to this question , which essentially translates to NO YOU CAN't USE MOSIX.


Thanks.

Re: Mosix on Linux running Java app causes Segmentation Fault.

Posted By:   Josh_Marquart  
Posted On:   Friday, July 13, 2001 11:21 AM

That didn't help at all.

Actually, we uncovered a solution to a problem: Run java with the "-classic" option to use the green threads mode where java threads are not bound to linux threads, which prohibits migration.

Re: Mosix on Linux running Java app causes Segmentation Fault.

Posted By:   Nathan_Meyers  
Posted On:   Wednesday, July 11, 2001 06:32 PM

Interesting question. I can't find any discussion on whether Mosix supports kernel threads - which look like processes but, as you mention, share process-private space. I suggest your quickest answer will come from writing a test C/C++ program using the pthreads API and checking for consistent views of process-private (non-shared) memory between the threads across machines.
About | Sitemap | Contact