LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-14-2016, 10:55 AM   #16
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465

Thinking about it more, the best performance would be from a combination of RAMboot with nfs shared tmpfs swapfiles. I put together a how-to on nfs tmpfs swapfile discussed here:

http://www.linuxquestions.org/questi...ap-4175591353/

Basically, if you use nfsroot on tmpfs, then you are bottlenecked by the ~100MB/sec speed of nfs (gigabit ethernet). But if you use the RAMboot technique to put the OS file system in a local tmpfs ram disk, then you get blazing fast speeds. But of course, you're eating up a chunk of your local RAM to do this.

However, less used files will be offloaded to swap. As you run low on RAM, less used files will start to be transferred to swap, freeing up RAM. That takes place at ~100MB/sec. If, later on, you need to access those files, then they'll be loaded back from swap as needed - also at ~100MB/sec. The bottom line is that access for offloaded files is the same speed as the alternative of an nfsroot.

Note that you can have more than one swapfile, so you could use multiple tmpfs swapfiles on different computers. However, to make this work nicely with RAMboot you'll have to do something to make sure the initial OS tarball fits entirely within RAM (less than 8GB). A way to do this is by putting /home into a separate tmpfs file system, that gets loaded separately by /etc/rc.local...
 
Old 10-19-2016, 03:57 AM   #17
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
Going back to the original question, I just found out about mhddfs (and a newer alternative, mergerfs). It looks like you can simply have an nfs share on each of the six computers, and then combine them together with mhddfs on a client computer.

http://zornsoftware.codenature.info/...or-mhddfs.html
https://romanrm.net/mhddfs
http://www.tecmint.com/combine-parti...-using-mhddfs/
https://www.maketecheasier.com/mhddf...titions-linux/
http://manpages.ubuntu.com/manpages/.../mhddfs.1.html
 
1 members found this post helpful.
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Older pcs -- down for the count? bg368 Linux - Hardware 17 09-25-2011 08:08 AM
New Seagate 1TB USB ext HDD stiffs Linux boot sequence but older 230MB ditto is fine Richard Molton Linux - Hardware 11 06-29-2009 06:36 PM
Best use for several older PCs? robogymnast Linux - General 8 08-14-2008 07:23 AM
why 1tb hard drive has 878mb space only? pleasehelpme Linux - Newbie 2 12-10-2007 10:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration