The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > High Performance Computing
.
google unix.com



High Performance Computing Message Passing Interface (MPI) programming and tuning, MPI library installation and management, parallel administration tools, cluster monitoring, cluster optimization, and more HPC topics.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
UNIX newbie NEWBIE question! Hanamachi UNIX for Dummies Questions & Answers 4 03-28-2009 04:10 PM
Aix hacmp cluster question (oracle & sap) filosophizer AIX 4 02-01-2009 05:22 PM
patch cluster question. sotich82 SUN Solaris 0 12-22-2008 07:29 AM
newbie in veritas cluster server melanie_pfefer High Performance Computing 2 05-28-2008 09:53 AM
Newbie question? lsoria1 UNIX for Dummies Questions & Answers 1 05-09-2008 07:22 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-23-2009
joespr joespr is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 2
Question Newbie question about using a Cluster: using memory

Newbie question about clusters and memory.

Is there a way using a cluster (or any other Linux feature/technology) where I can link up a bunch of PCs such that an app thinks it has more memory than available on just one local machine?

For example, we have multiple surplus PCs with 512MB RAM (which is the max that that hw supports). Is there a way to cluster or link them up in some way such that an app would think that it has more than the 512MB RAM available, say 1GB or anything else?

I am fully aware that the speed in such a hypothetical situation would be less than ideal, but speed is not the primary concern at the moment. The primary concern is available memory.

I (think I) know how to link up machines such that disk space on several PCs could be available to an app such that the disk space for the app exceeds the available space on the local machine. But is there a way to do this with memory... using cluster or any other Linux feature or technology?

Thanks for your replies (and don't beat me up too much if this is an insane question, I'm just a newbie :-) ).
  #2 (permalink)  
Old 04-24-2009
Yogesh Sawant's Avatar
Yogesh Sawant Yogesh Sawant is offline Forum Staff  
Part Time Moderator and Full Time Dad
  
 

Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 1,086
check if Hadoop is what you are looking for. maybe its too heavy and your requirement is simpler one
  #3 (permalink)  
Old 04-24-2009
joespr joespr is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 2
Thanks Yogesh for the suggestion.

Hadoop does indeed looks very powerful, and somewhat overwhelming. It seems to have the ability to handle larger memory requirements than locally available, but in looking at the doc, I think it is overkill.

Also, it requires writing the application to meet Hadoop's requirements. Which won't fly in my situation.

The app I am dealing with is already written. What I get to start with is an executable, with no possibility of it being rewritten. So the environment needs to be standard Linux (there is a Windows version too, so that's a possibility too I guess, but I am trying to avoid the Windows world...).

Maybe I made an incorrect assumption that a possible use of a cluster might solve the problem. Perhaps there is an easier way?

Is there some Linux feature that would allow use of, say, local disk space that could be used to 'fake out' the application so the app sees that disk space as if it were memory (like maybe swap space)? That way if I had say a 1GB free amount of disk space, I could use it as if it was memory for an application that needed/required 1GB of memory even if the local machine only had 512MB of memory?

(Is this possible? Am I deluding myself about this as a possibility?)

Thanks for any advice.
  #4 (permalink)  
Old 04-24-2009
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is online now Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,953
why don't buy a new mashine with more memory? else you might want to look here:
Grid computing - Wikipedia, the free encyclopedia
  #5 (permalink)  
Old 04-24-2009
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,665
GridCafe - Links

http://www.unix.com/links/high-perfo...-computing-15/
  #6 (permalink)  
Old 04-26-2009
fabtagon fabtagon is offline
Registered User
  
 

Join Date: Apr 2008
Location: European Union/Germany
Posts: 189
Assuming your machines have 100 Mbit nics you'll get a remote access bandwidth of about 10 MB/s and a latency about 1 ms. That's not much better than using traditional swap space on a local hard drive (say 30 MB/s and 8 ms for a drive of that age) and still way below local memory (hundreds of MB/s and latencies in the micro second range).
  #7 (permalink)  
Old 04-27-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,884
In the early late 90's, early part of this decade, there was a set of kernel patches and supporting tools called "MOSIX", which transparently handled migrating memory blocks from one cluster node to another. As Fabtagon noted, however, this kind of thing was severely hampered by network bandwidth. Further, unless you are using a 64-bit OS, the amount of memory a single process can use is very limited (3GB). Most modern hardware can handle 4 times that much on a single board.
Reply

Bookmarks

Tags
cluster, memory

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:09 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0