Stories
Slash Boxes
Comments

News for nerds, stuff that matters

One-Machine Linux Cluster

Posted by chrisd on Wed Nov 07, 2001 12:00 AM
from the chroot-is-so-old-skool dept.
An AC wrote: Forget Beowulf ? clusters, Jacques Gelinas has made available a kernel patch to enable many virtual servers running on the same machine, even the same kernel. Read his original message posted to the Linux kernel list." Imagine what this will mean for hosting companies...
This discussion has been archived. No new comments can be posted.
One-Machine Linux Cluster | Log In/Create an Account | Top | 260 comments (Spill at 50!) | Index Only | Search Discussion
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • by havardi (122062) on Wednesday November 07 2001, @12:08AM (#2531355)
    haha.. better read the fine print and make sure you actuallu get your own *computer* including box and powersuppy, and motherboard-- or you may end up sharing your box with 100 other ppl :-P
  • *BSD Jail? by TheRealDamion (Score:2) Wednesday November 07 2001, @12:10AM
    • Re:*BSD Jail? by Anonymous Coward (Score:2) Wednesday November 07 2001, @02:13AM
      • Re:*BSD Jail? by InvisibleCraterFunk (Score:2) Wednesday November 07 2001, @07:25AM
        • 1 reply beneath your current threshold.
    • Re:*BSD Jail? by lamontg (Score:1) Wednesday November 07 2001, @03:00AM
    • 3 replies beneath your current threshold.
  • wat r the implications for mainframes? by deadmantalking (Score:2) Wednesday November 07 2001, @12:11AM
  • I can hear the trolls now... by Scoria (Score:1) Wednesday November 07 2001, @12:11AM
    • 1 reply beneath your current threshold.
  • Very Useful (Score:5, Insightful)

    by Gregg Alan (8487) on Wednesday November 07 2001, @12:12AM (#2531374) Homepage
    Slashdotted before I could read the whole thing. :( But, as a sysadmin for a smallish web devolopment/hosting company I could REALLY use some separation between certain clients. Sure, this isn't ready for production systems but one day it may be.

    The patcher is right...modern CPUs (for my industry) have PLENTY of power. What I hate is having to run some third party app for a client (even in a Linux environment) that *might* affect the whole machine. This patch holds the promise that I won't have as much to worry about.

    Yes, this is a good thing.
  • don't forget user mode linux by Anonymous Coward (Score:1) Wednesday November 07 2001, @12:12AM
  • Basically Like OpenVMS' Galaxy? (Score:4, Informative)

    by inhalent (88094) on Wednesday November 07 2001, @12:15AM (#2531383) Homepage
    Basically the same idea as Galaxy. Check it out for ideas.... http://www.openvms.compaq.com/availability/galaxy. html
  • Finally catching up by Ekman (Score:1) Wednesday November 07 2001, @12:16AM
  • Beaowulf not the target audience (Score:4, Interesting)

    by Genady (27988) <gary.rogers@NOspAM.mac.com> on Wednesday November 07 2001, @12:19AM (#2531396)
    This has just about zero to do with clustering, if anything this is the opposite of clustering. However this IS very very interesting for Web Hosts and just about anyone else that wants to create and maintain multiple environments for developement, test, etc. Image, being able to carve up a mid-range machine like you can an S390 (or other Mainframe class machine Like Sun's E10/15K). So suppose IBM takes this an runs with it. Linux is already ported to RS/6000 and AS/400, now you could get 8 processors of RS/6000 goodness, run production on 4 processors, Test on 2 processors, and Dev on 2 processors.

    The devil will be in how you refresh test and dev from production, but that can probably be done inside Logical Volume Manager.

    This is very very cool stuff it will be very ineresting to see how it stacks up against the big boys in Virtual machine space.
    • Re:Beaowulf not the target audience by justin.warren (Score:2) Wednesday November 07 2001, @01:01AM
    • Re:Beaowulf not the target audience (Score:4, Interesting)

      by Doktor Memory (237313) on Wednesday November 07 2001, @01:10AM (#2531480) Journal
      now you could get 8 processors of RS/6000 goodness, run production on 4 processors, Test on 2 processors, and Dev on 2 processors.

      What you're suggesting is pretty much the opposite of how this package works. As the author himself states, you cannot dedicate hardware resources to a vserver. Only one kernel is ever running, and you use all of your cpus or none. Process- and user-space isolation is provided, but if a process in one vserver tickles a kernel bug that crashes the system, the whole ball of wax will come down with that vserver. (Likewise, it's very likely that a kernel-level root exploit will allow you to break out of the vserver and attack the whole system.)

      Essentially, vserver is to the process space what chroot is to the filesystem layer.

      This is not inherantly better or worse than the "system partitioning" approach; it's just a different approach, and will have different uses.
      [ Parent ]
    • Re:Beaowulf not the target audience by Xanni (Score:3) Wednesday November 07 2001, @01:45AM
    • Re:Beaowulf not the target audience by AftanGustur (Score:2) Wednesday November 07 2001, @01:55AM
    • Re:Beaowulf not the target audience by wokie-bug (Score:1) Thursday November 08 2001, @07:17AM
    • 1 reply beneath your current threshold.
  • by josquint (193951) on Wednesday November 07 2001, @12:19AM (#2531397) Homepage
    ... of clustering. Its... slicing your box up...
  • Why ask why? by Mdog (Score:1) Wednesday November 07 2001, @12:20AM
    • Re:Why ask why? by OmegaDan (Score:1) Wednesday November 07 2001, @01:49AM
    • FLW ? by AftanGustur (Score:2) Wednesday November 07 2001, @01:59AM
    • Insightful? by xant (Score:1) Wednesday November 07 2001, @02:43AM
    • I'd also like to point out by Mdog (Score:1) Wednesday November 07 2001, @10:30AM
    • 1 reply beneath your current threshold.
  • Is it similar to ensim? by aD docwolf (Score:2) Wednesday November 07 2001, @12:21AM
  • User Mode Linux? (Score:4, Informative)

    by jmv (93421) on Wednesday November 07 2001, @12:23AM (#2531414) Homepage
    Can anyone tell me how this is different than User Mode Linux [sourceforge.net]?
    • Re:User Mode Linux? (Score:4, Informative)

      by dispari (457014) <shadoi1@hom e . com> on Wednesday November 07 2001, @01:07AM (#2531474)
      User Mode Linux is basically a VM. It uses virtual devices for hardware multiplexing. Read the "Alternative technolgoies/Virtual Machines" and "Alternative technologies/Limitations of those technologies" for why this is a different (and better in some instances) solution.

      The vunify tool has significance when differentiating between VM's and this.
      [ Parent ]
    • Re:User Mode Linux? (Score:5, Insightful)

      by Florian Weimer (88405) <fw@deneb.enyo.de> on Wednesday November 07 2001, @01:31AM (#2531524) Homepage
      At the moment, User Mode Linux does separate the processes in a VM from the host system. That's because the kernel image itself is writable for the processes running in a UML virtual machine, which means that processes can break out of the virtual machine pretty easily and gain access to the account running UML on the host system. In addition, even if this is corrected (perhaps it has been during the last few weeks, I haven't checked), the kernel memory would still be read-only for the processes run by it, so different processes in the virtual machine could snoop each other. This means that User Mode Linux is great for testing stuff, but it only moderately increases security.

      The patches for compartmentalization which mimic FreeBSD's jail(8) feature are completely different. If they are done properly (and checking this will require some time), they can provide complete separation of the processes running in different compartments. Performance is probably a bit better, too, because only one kernel is running, and not a stack of two.

      Again, if you need compartmentalization now, and you have security concerns, you should either use FreeBSD, or GNU/Linux on S/390. This new kernel feature will need a bit of time to settle down and work correctly (from a security point of view).
      [ Parent ]
      • 1 reply beneath your current threshold.
    • Can or User Mode be used as a better chroot? by dpilot (Score:2) Wednesday November 07 2001, @08:13AM
  • Actually this is kind of an old idea (Score:3, Informative)

    by Ghostx13 (255828) on Wednesday November 07 2001, @12:27AM (#2531426)
    Hostpro, now Interland has this sort of thing for freeBSD. It used to be called vserver. The new improved version is called Freedom. It's been out for years.
  • Virtual Servers by MontyP (Score:1) Wednesday November 07 2001, @12:29AM
  • mosix (Score:5, Interesting)

    by morcheeba (260908) on Wednesday November 07 2001, @12:31AM (#2531430) Journal
    I wonder how this would work with mosix [mosix.com]... it could be a dream system!

    You could use mosix to combine the compute resources of several boxes to look like one box. And then, you could use this divy up the space so that people don't step on each other. When anyone (working in thier own space) kicks off a large compile, the load would transparently be distributed among all the boxen.

    Of course, I have zippy experience with any of this, but it sounds possible.
    • Re:mosix by Buck2 (Score:1) Wednesday November 07 2001, @01:11AM
      • Re:mosix by morcheeba (Score:1) Wednesday November 07 2001, @01:41AM
        • Re:mosix by bn557 (Score:1) Wednesday November 07 2001, @01:45AM
        • Re:mosix by Buck2 (Score:1) Wednesday November 07 2001, @09:47AM
    • Re:mosix by Antoshka (Score:1) Wednesday November 07 2001, @01:32AM
    • Re:mosix by vidarh (Score:2) Wednesday November 07 2001, @06:42AM
      • Re:mosix by DrSkwid (Score:2) Wednesday November 07 2001, @10:58AM
      • Re:mosix by lophophore (Score:1) Wednesday November 07 2001, @01:13PM
  • ensim by tsuki777 (Score:1) Wednesday November 07 2001, @12:31AM
    • 1 reply beneath your current threshold.
  • what would happen.... by L-Wave (Score:2) Wednesday November 07 2001, @12:32AM
  • This is... by keepper (Score:1) Wednesday November 07 2001, @12:32AM
    • Re:This is... by Anonymous Coward (Score:1) Wednesday November 07 2001, @12:55AM
      • Re:This is... by keepper (Score:1) Wednesday November 07 2001, @05:41AM
    • Re:This is... by psamuels (Score:2) Wednesday November 07 2001, @01:19AM
      • Re:This is... by realdpk (Score:1) Wednesday November 07 2001, @01:36PM
        • Re:This is... by psamuels (Score:1) Wednesday November 07 2001, @10:30PM
    • 1 reply beneath your current threshold.
  • *Extends arm, palm face up* by lightware (Score:2) Wednesday November 07 2001, @01:04AM
    • 1 reply beneath your current threshold.
  • Hasn't IBM Been Doing This for Some Time? by GroundBounce (Score:2) Wednesday November 07 2001, @01:14AM
    • Re:Hasn't IBM Been Doing This for Some Time? by jooniqzb1tch (Score:1) Wednesday November 07 2001, @04:02AM
    • It's not the processing power (Score:4, Informative)

      by KMSelf (361) <kmself@ix.netcom.com> on Wednesday November 07 2001, @04:08AM (#2531726) Homepage

      It's the control over it.

      Mainframes have insane amounts of control over user processes (a Linux image essentially becomes same), as well as the ability to allocate more resources, fewer, provide fine-grained process accounting, shut down processes, migrate them elsewhere (part of the IBM dataceter Linux concept is the ability to migrate nodes around the country as needed).

      What a mainframe doesn't have to offfer is insane amounts of processor power or memory. Disk, and disk I/O are quite another matter -- the amount of aggregate bandwidth a z390 has to offer is impressive.

      PC-based virtualization clearly has some advantages, through not all of those offered by a mainframe. A rack of virtualized PCs probably does offer a higher processor density than the equivalent mainframe, however.

      [ Parent ]
    • 1 reply beneath your current threshold.
  • Think about restricting services by mendepie (Score:2) Wednesday November 07 2001, @01:20AM
    • 1 reply beneath your current threshold.
  • possible security vulnerability? by WiPEOUT (Score:1) Wednesday November 07 2001, @01:25AM
  • Too late. You already can! by wrinkledshirt (Score:1) Wednesday November 07 2001, @01:26AM
  • Save money on hosting? by BrookHarty (Score:2) Wednesday November 07 2001, @01:33AM
  • binding 2 servers to the same port? by graveyhead (Score:2) Wednesday November 07 2001, @01:36AM
  • user-mode-linux by swifticus (Score:1) Wednesday November 07 2001, @01:39AM
  • Humm, multi-proc boxes. by BrookHarty (Score:2) Wednesday November 07 2001, @01:41AM
  • Virtual Machine by AnimeFreak (Score:1) Wednesday November 07 2001, @01:52AM
  • Isn't this a Virtual Private Server? by Ian Bicking (Score:2) Wednesday November 07 2001, @02:13AM
  • How might this impact Linux SMP scaling? by Anonymous Coward (Score:1) Wednesday November 07 2001, @02:34AM
  • Security flaws by BuGless (Score:2) Wednesday November 07 2001, @02:45AM
  • by the frizz (242326) on Wednesday November 07 2001, @02:58AM (#2531641)
    My particular interest was to find virtual hosting solutions that would (1) not allow one runaway virtual server to deny the others of at least a predefined minimum level of CPU, RAM and I/O (disk and network) resources and (2) give any one virtual server extra resources if they were available. From my reading of other slashdotter's posting and the info on the web I've summarized below the various virtual server hosting solutions mentioned. Someone who actually has used these products should actually correct me.

    Linux can natively be configured to enforce disk quotas and (with more difficulty) [linuxdoc.org] manage network bandwidth [linuxjournal.com] without any special virtual server software. Also the native unix process scheduling algorithm does reduce the priority of CPU bound tasks. The getrlimit(2) system call can be used to set various limits per process (not per virtual server unless the virtual server runs as one process I guess.) I know of no way to specifically limit disk bandwidth on Linux.

    Freeware such as s_context [solucorp.qc.ca] and user mode linux [sourceforge.net] provide no control over how much resources one virtual server gets over another besides disk usage. Other limited resources like CPU, disk and network bandwidth (RAM?) are shared just like they would be shared by separate processes under a single Linux system.

    FreeVSD [freevsd.org] is not a virtual server, but a collection of scripts, binaries and multiple copies of hard-linked read-only filesystems for the common system environment. It is has the best chance for winning the total performance award but has no extra features for resource limits between systems.

    True virtual machines. (E.g., vmware [vmware.com]) provide very good isolation, but this leads to little sharing of excess unused resources between virtual servers I believe. They also have poorer performance in general because so much emulation is done.

    The commercial, proprietary Private Server [ensim.com] product from Ensim [ensim.com] seems good from the marketing blurbs which say that they have "their own guaranteed share of the servers resources, including CPU, memory and bandwidth". I wonder what the performance penalty for this is and how much does it cost? Can anyone comment?

  • Ensim kernel virtualization by dkumpozr (Score:1) Wednesday November 07 2001, @03:12AM
  • Read this article commenting this patch by lekter1 (Score:2) Wednesday November 07 2001, @03:25AM
  • freevsd by salingpusa (Score:1) Wednesday November 07 2001, @03:34AM
  • *This* is why open source works (Score:5, Insightful)

    by mubes (115026) on Wednesday November 07 2001, @04:15AM (#2531736) Homepage
    Much respect to this guy. He's taken something thats big, hairy and complex and looked at it from a different direction. Because he's got access to the source he's been able to do something novel with it in what appears to be an efficient and simple way...you couldn't do that with any of the closed source OSes out there today!

    The beauty of this is that there's *one* kernel running so, apart from any overhead of selecting the environment, you pretty much get the same performance as running native. This has got to have 1001 applications.

    One of the things I'd personally like to see is some kind of overlaid filesystem so each image by default gets /bin /lib etc. from a generic set but users can modify them if they need to - this would allow a sysadmin to keep the default system current while not preventing 'owners' of an individual image from being able to change things if they need to....I vaguely remember something like this for CDs - anyone got the details? Time for a bit of experimentation ;-)
  • by kris (824) on Wednesday November 07 2001, @06:40AM (#2531970) Homepage
    I wonder if it would be practical to associate absolute CPU time limits or CPU usage percentages with a security context id in order to prevent a certain security context from hogging all CPU ressources.

    A similar thing would be desireable for resident set size (real RAM usage) and virtual size (process size) per security context.
  • It's called.. by Evan Sarmiento (Score:2) Wednesday November 07 2001, @06:54AM
  • Not cluster, partition! by noz (Score:2) Wednesday November 07 2001, @07:25AM
  • Kickin stuff by CDWert (Score:1) Wednesday November 07 2001, @08:07AM
  • one cpu cluster.... by jlemmerer (Score:1) Wednesday November 07 2001, @08:33AM
  • umm. BSD has had this for a long time by gskouby (Score:1) Wednesday November 07 2001, @08:51AM
  • chroot safe? by tal197 (Score:2) Wednesday November 07 2001, @09:23AM
  • give every app a virtual machine? by aozilla (Score:2) Wednesday November 07 2001, @09:36AM
  • freevsd by rangerx (Score:1) Wednesday November 07 2001, @09:46AM
  • Yet another use by Fjord (Score:2) Wednesday November 07 2001, @10:08AM
  • Good for Intranet sites by satanami69 (Score:1) Wednesday November 07 2001, @10:21AM
  • vps.verio.com by seichert (Score:1) Wednesday November 07 2001, @10:58AM
  • Advantages of Clusters by ncon (Score:2) Wednesday November 07 2001, @12:16PM
    • 1 reply beneath your current threshold.
  • Desktop Kernel Upgrades by lostchicken (Score:1) Wednesday November 07 2001, @01:49PM
  • Gee, just like Solaris. And... by swordgeek (Score:2) Wednesday November 07 2001, @02:57PM
  • My hopeful use for this... by Loligo (Score:2) Wednesday November 07 2001, @03:06PM
  • Well. by mindstrm (Score:2) Wednesday November 07 2001, @03:48PM
  • Root access for $10/mo? by Girf (Score:1) Wednesday November 07 2001, @03:57PM
  • Big Deal by Motheius (Score:1) Wednesday November 07 2001, @04:06PM
  • wow! by Cinematique (Score:1) Thursday November 08 2001, @12:23AM
  • Real world use - vserver and usermodelinux by mattr (Score:2) Thursday November 08 2001, @01:27AM
  • Next week at Linux-Québec :) by alexandre (Score:1) Thursday November 08 2001, @03:30PM
  • Re:bah by man_ls (Score:2) Wednesday November 07 2001, @12:05AM
    • Re:bah by pyite (Score:2) Wednesday November 07 2001, @12:07AM
      • Re:bah by man_ls (Score:2) Wednesday November 07 2001, @12:14AM
    • Re:bah (Score:4, Insightful)

      by talonyx (125221) <mike.sollanych@g ... m minus language> on Wednesday November 07 2001, @12:12AM (#2531375)
      Well hey, on a multiprocessor machine it might be interesting. Dedicate a processor for each node and you have four beowulf nodes in one box.

      Not only would it be cool for developers to test Beowulf-enabled code, but it would be awesome to have each node independantly accessible from the network.
      [ Parent ]
      • Re:bah by utahjazz (Score:2) Wednesday November 07 2001, @02:40AM
        • Re:bah by afidel (Score:1) Wednesday November 07 2001, @10:49AM
      • Re:bah by Birdie-PL (Score:1) Wednesday November 07 2001, @06:48AM
  • Re:Machines.. by man_ls (Score:2) Wednesday November 07 2001, @12:08AM
    • Re:Machines.. by man_ls (Score:2) Wednesday November 07 2001, @12:11AM
    • Re:Machines.. by MrHat (Score:1) Wednesday November 07 2001, @09:42AM
    • 1 reply beneath your current threshold.
  • Someone doesn't read the article before commenting by A Commentor (Score:1) Wednesday November 07 2001, @12:15AM
  • Re:Pointless? by A Commentor (Score:1) Wednesday November 07 2001, @12:17AM
  • Re:who the crap is chrisd? by SquierStrat (Score:1) Wednesday November 07 2001, @12:17AM
  • Re:Machines.. by morcheeba (Score:2) Wednesday November 07 2001, @12:23AM
    • 1 reply beneath your current threshold.
  • by fanatic (86657) on Wednesday November 07 2001, @12:25AM (#2531423)
    Someone doesnt understand the reason for a cluster

    I think that was whoever wrote the headline. This doesn't buy you what a cluster buys you, which is more MIPS and RAM working on the same problem. This buys you multiple relatively independent environments on one machine. Hence the reference in the /. article to hosting companies. This is like the Sandinavian ISP that replaced a bunch of Sun boxen with a much smaller number of larger IBM mainframes. The mainframes run IBM's VM (stands for Virtual Machine), which is roughly analogous to the "root-kernel" dicussed in the linked-to articles, then runs many independent copies of Linux under VM. Each user gets his own copy of Linux to screwup^H^H^H^H^H^H^H do as wishes with. VM 'fools' the copies of Linux into thinking they each have their own machine. Here we have Linux replacing VM, so now a Free product can do some of this (assuming it works, which, being brand new, I wouldn't bet my income on. But I'll bet it will work well soon.), though not all: VM lets you run multiple OS's on the box, which this doesn't. But it does a lot - separate root logins/passwords and process lists for the 'vurtual Linuxen', for example.
    [ Parent ]
  • parallel file systems by Alien54 (Score:2) Wednesday November 07 2001, @12:31AM
  • Re:Machines.. by psamuels (Score:2) Wednesday November 07 2001, @01:06AM
    • Re:Machines.. by Buck2 (Score:1) Wednesday November 07 2001, @01:18AM
  • Re:Pointless? by ThatComputerGuy (Score:2) Wednesday November 07 2001, @01:09AM
    • Re:Pointless? by mabinogi (Score:1) Wednesday November 07 2001, @01:51AM
    • 1 reply beneath your current threshold.
  • Re:wow (Score:3, Offtopic)

    by foobar104 (206452) on Wednesday November 07 2001, @01:16AM (#2531490) Journal
    (Goodbye, karma.)

    I know this is completely off-topic, but here it is anyway.

    Your understanding of the prefix "meta-" is incomplete. In addition to indicating syntactic self-reference (see Hofstader), it can also indicate semantic self-reference (see... well, Hofstader; he talks about this, too, in his discussion of GOD: God Over Djinn).

    SGI has a device for connecting crossbar routers together to form large single-system-image computers. It's called a metarouter:a router for routers.

    Likewise, a cluster of clusters would be properly called a metacluster. Since "Beowulf" is commonly synonymous with "cluster," the term "meta-beowulf" is pretty much correct, even though it makes me cringe.
    [ Parent ]
    • meta- by Zilya (Score:1) Wednesday November 07 2001, @01:36PM
  • Re:What this means for hosting companies... by wolverine1999 (Score:1) Wednesday November 07 2001, @04:18AM
  • Re:kernel dev? by FrankBough (Score:2) Wednesday November 07 2001, @05:00AM
  • Re:What? by kkenn (Score:1) Wednesday November 07 2001, @05:08AM
  • Re:Too bad none of those useful itches get scratch by Araneas (Score:1) Wednesday November 07 2001, @06:48AM
  • offtopic: Re:Behold, the power of Open Source... by fanatic (Score:2) Wednesday November 07 2001, @09:07AM
  • Tradeoffs by smartfart (Score:1) Wednesday November 07 2001, @01:09PM
  • Re:The obligatory by crazy_ape (Score:1) Wednesday November 07 2001, @02:55PM
  • 38 replies beneath your current threshold.