Newbie question about using a Cluster: using memory


 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications High Performance Computing Newbie question about using a Cluster: using memory
# 1  
Old 04-23-2009
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  
Old 04-24-2009
check if Hadoop is what you are looking for. maybe its too heavy and your requirement is simpler one
# 3  
Old 04-24-2009
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  
Old 04-24-2009
why don't buy a new mashine with more memory? else you might want to look here:
Grid computing - Wikipedia, the free encyclopedia
# 5  
Old 04-24-2009
# 6  
Old 04-26-2009
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  
Old 04-27-2009
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Sun cluster and Veritas cluster question.

Yesterday my customer told me to expect a vcs upgrade to happen in the future. He also plans to stop using HDS and move to EMC. Am thinking how to migrate to sun cluster setup instead. My plan as follows leave the existing vcs intact as a fallback plan. Then install and build suncluster on... (5 Replies)
Discussion started by: sparcguy
5 Replies

2. Shell Programming and Scripting

perl newbie . &&..programming newbie (question 2)

Hello everyone, I am having to do a lot of perl scripting these days and I am learning a lot. I have this problem I want to move files from a folder and all its sub folders to one parent folder, they are all .gz files.. there is folder1\folder2\*.gz and there are about 50 folders... (1 Reply)
Discussion started by: xytiz
1 Replies

3. UNIX for Dummies Questions & Answers

UNIX newbie NEWBIE question!

Hello everyone, Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware. I hope I am not missing anything! :p (4 Replies)
Discussion started by: Hanamachi
4 Replies

4. Programming

Newbie question

Dear all, I have a question related to parallel programing and if you can give me some hints on how to deal with it, it would be really great. I would like to run a small application on a supercompter of 128 CPUs. Unfortunately, on this machine only jobs which require 32 CPUs are allowed to... (1 Reply)
Discussion started by: Eduard
1 Replies

5. High Performance Computing

newbie in veritas cluster server

Hello, This might not be the right place to post my questions. - I installed VCS 5.0 on the 2 nodes. What's next? I want to test the HA of NFS: i.e. the shared disk always accessible if one node goes down. How to do that? - The management console was not installed. This is the GUI to manage... (2 Replies)
Discussion started by: melanie_pfefer
2 Replies

6. UNIX for Dummies Questions & Answers

Newbie question?

What is the best way to learn UNIX on the web, with out buying books? any link would be much help. Thank you in advance, L (1 Reply)
Discussion started by: lsoria1
1 Replies

7. UNIX for Dummies Questions & Answers

Very new newbie question

sorry if im not asking inthe right spot but, how do you turn the beeping off every time you hit a key onthe keyboard. I tried the click -n but it told me it didnt recognize click any help would be greatly appreciated ( the beeping is not going over well in the surrounding cubicles) thank you... (4 Replies)
Discussion started by: Split100
4 Replies

8. UNIX Desktop Questions & Answers

Newbie Question

I am fairly new to *nix/linux and I have just installed SuSe 8.2. I am wondering what skills would be good to learn. I know that I will need to learn how to write scripts, but what scripting languages should I learn. I greatly appreciate any and all comments. ... (5 Replies)
Discussion started by: Ntalektual
5 Replies

9. UNIX for Dummies Questions & Answers

Newbie Question...

Okay, I succesfully installed Redhat Linux 7.2 on my comp. I got some Linux drivers for my network card off the manufacturers site, but said driver is just some C source code. Does anybody have any idea what I do with it? Sorry for being vague... any help is greatly appreciated. (4 Replies)
Discussion started by: flopper
4 Replies

10. UNIX for Dummies Questions & Answers

newbie question

hi im thinking of getting unix but i have no idea where to start I know that its an OS similar to linux but what hardware does in run on? i've heard of solaris but im not quit sure what it is thankxs (3 Replies)
Discussion started by: ninja
3 Replies
Login or Register to Ask a Question