Main Co Linux

download Main Co Linux

of 15

Transcript of Main Co Linux

  • 8/3/2019 Main Co Linux

    1/15

    COOPERATIVE LINUX

    Prepared By:

    PRERNA KHARBANDA11082235

    INFORMATION TECHNOLOGY

  • 8/3/2019 Main Co Linux

    2/15

    Introduction

    Cooperative Linux utilizes the underused concept of aCooperative Virtual Machine (CVM), in contrast totraditional VMs that are unprivileged and being under thecomplete control of the host machine.

    The term Cooperative is used to describe two entitiesworking in parallel.

    In that sense the most plain description of CooperativeLinux is turning two operating system kernels into two bigcoroutines. In that Mode, each kernel has its own complete

    CPU context and address space, and each kernel decideswhen to give control back to its partner.

  • 8/3/2019 Main Co Linux

    3/15

    HISTORY

    Dan Aloni originally started thedevelopment of Cooperative Linux basedon similar work with User-mode Linux andLINE.

    He open sourced the software under theGNU General Public License.

    Other developers have since contributedvarious patches and additions to thesoftware.

  • 8/3/2019 Main Co Linux

    4/15

    coLinux

    Allows the Linux kernel to run natively. As a Windows device driver.

    No bridge between the host kernel and the guestkernel. Guest can run at near native speeds.

    Allocate memory only for kernel and its forkedprocesses.

    Windows service for guest OS startup.

    Requires manual configuration.

  • 8/3/2019 Main Co Linux

    5/15

    Windows Monitoring Service

    Monitors CPU load and coLinux load.

    Monitors Keyboard/Mouse idle time.

    Makes this information available tocoLinux.

  • 8/3/2019 Main Co Linux

    6/15

    coLinux Networking

    Bridged Networking

    Uses WinPcap.

    Advantage: Simple setup.

    Disadvantage: Requires a real IP. NAT

    Uses a TAP-Win32 networking device.

    Windows performs the NAT.

    coLinux does not have a real IP.

  • 8/3/2019 Main Co Linux

    7/15

    coLinux Networking

    All coLinux installs have the same local IP

    e.g 192.168.0.40.

    How to identify nodes in a large install? Change MAC address of TAP-Win32 device to

    contain real hosts IP. E.g. 00:11:81:5D:44:04

    on host 129.93.68.4.

    Set hostname on coLinux based on MAC

    address. E.g. node-68-4 on 129.93.68.4.

  • 8/3/2019 Main Co Linux

    8/15

    Automation of Installs

    gen_xml.exe

    Determines the name of the required real network adapter.

    Generates MAC address for virtual network device based on

    hosts IP. Writes coLinuxs XML file.

    Can perform complete install by popping in an install CD.

    Template of this CD will be made available.

  • 8/3/2019 Main Co Linux

    9/15

    USES

    Relatively effortless migration path from

    Windows.

    Adding Windows machines to Linux clusters. Running an otherwise-dual-booted Linux system

    from the other OS.

    Using Linux as a Windows firewall on the same

    machine.

    Linux kernel development / debugging / research

    and study on another operating systems.

  • 8/3/2019 Main Co Linux

    10/15

    FEATURES

    SUSPENSION

    On User Mode Linux suspending is easier only the state of a few processesneeds saving, and no hardware is involved.

    USER MODE LINUX INSIDE COOPERATIVE LINUX

    Combining UML and Cooperative Linux cancels the security downside thatrunning Cooperative Linux could incur.

    LIVE COOPERATIVE DISTRIBUTIONS

    Live-CD distributions can be used to boot on top of another operating system

    INTEGRATION WITH REACTOS

    ReactOS, the free Windows NT clone, will be incorporating Cooperative

    Linux as a POSIX subsystem. MISCELLANEOUS

    Virtual frame buffer support.

    Incorporating features from User Mode Linux, e.g. humfs 3.

    Support for more host operating systems

  • 8/3/2019 Main Co Linux

    11/15

    CURRENT STATUS

    Version: 0.6.4

    Released on date:July 02, 2006

    Supported architectures: o Intel-compatible 386 and above Supported operating

    systems:

    ? Windows 2000

    ? Windows XP ? Linux 2.6.x

    Supported guest Linux kernel versions: o 2.6.11

  • 8/3/2019 Main Co Linux

    12/15

    DISADVANTAGES

    The biggest disadvantage is that coLinux runs aside theWindows kernel.

    Inside this CPU abstraction layer, there is no hardware

    memory protection. This is the same situation as betweenthe Linux or Windows kernel and their device drivers.

    To load and use coLinux the user has to have administratorrights.

  • 8/3/2019 Main Co Linux

    13/15

    Performance

    Platform Time (min:sec)

    Native Linux 39:23

    coLinux 39:26

    VMWare 40:53

    POV-Ray execution time

    Source: Build a heterogeneous cluster with coLinux and

    openMosix - IBM developerWorks

  • 8/3/2019 Main Co Linux

    14/15

    CONCLUSION

    The coLinux is an economical and efficient

    possibility to program embedded Linux

    systems directly from a Windows PC. Cooperative Linux has the potential to

    become an alternative to User Mode Linux

    that enhances on portability andperformance, rather than on security.

  • 8/3/2019 Main Co Linux

    15/15

    Thank You