Virtual Distro Dispatcher A costless distributed virtual environment from Trashware Flavio BERTINI – Davide LAMANNA – Robe...
User – Mode – Linux and Linux Terminal Server Project - Joining LTSP service with  User-Mode-Linux virtualization technique
LTSP LTSP (Linux Terminal Server Project) is a Linux package which allows to connect several diskless thin clients to a Li...
UML UML ( User Mode Linux) “ is a safe, secure way of running Linux versions and Linux processes”. (Jeff Dike – User Mode ...
Research's Targets <ul><li>Set up Gentoo Linux onto a last generation Server </li></ul><ul><li>LTSP Terminal Server checko...
Execution modes <ul><li>tt-mode : </li></ul><ul><li>Shared address space used by: </li></ul><ul><li>a) UML Kernel </li></u...
Main differences Address space UML Processes <ul><li>SKAS3 advantages: </li></ul><ul><li>Faster than tt-mode </li></ul><ul...
LTSP “inside” UML LTSP UML . . Host Machine How to realize VDD 1/3 Process 1 Process 2 . . Process n UML Process 1 Process...
UML “inside” LTSP 1/2 The Terminal Server decides services and distributions to be sent to clients (Graphical sessions are...
UML “inside” LTSP 2/2 Clients ask for the distribution they want to display and other needed services Gentoo Linux Server ...
LTSP+UML purposes UML already supplies for a valid distributions testing and buggy software support The UML-LTSP system is...
Who may need UML+LTSP? <ul><li>Virtual Distro Dispatcher may have good consequences both on teaching and business circumst...
Performances issue <ul><li>There are possibilities to speed up VDD: </li></ul><ul><li>Try another virtualization system (X...
Future work <ul><li>Starting point for the following aspects: </li></ul><ul><li>HPC clustering system integration </li></u...
Future laboratory prototype
Links and Contacts The official Virtual Distro Dispatcher website: e-mail: info@vdd-project.org www: http://www.vdd-projec...
Upcoming SlideShare
Loading in …5
×

Virtual Distro Dispatcher - A costless distributed virtual environment from Trashware

619 views

Published on

Presentation at ISPA07

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
619
On SlideShare
0
From Embeds
0
Number of Embeds
11
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Virtual Distro Dispatcher - A costless distributed virtual environment from Trashware

  1. 1. Virtual Distro Dispatcher A costless distributed virtual environment from Trashware Flavio BERTINI – Davide LAMANNA – Roberto BALDONI Dipartimento di Informatica e Sistemistica “Antonio Ruberti” Università degli studi di Roma “La Sapienza”
  2. 2. User – Mode – Linux and Linux Terminal Server Project - Joining LTSP service with User-Mode-Linux virtualization technique
  3. 3. LTSP LTSP (Linux Terminal Server Project) is a Linux package which allows to connect several diskless thin clients to a Linux Terminal Server Each thin client forwards its requests to the Server. The Server satisfies their requests on each display LTSP consist in the following services: 1) DHCP Server (Dynamic Host Configuration Protocol) 2) TFTP (Basic FTP – Trivial File Transfer Protocol) 3) NFS (Network FileSystem) 4) XDMCP (Remote accesses manager)
  4. 4. UML UML ( User Mode Linux) “ is a safe, secure way of running Linux versions and Linux processes”. (Jeff Dike – User Mode Linux, Bruce Perence Open Source) It allows to obtain a fully working Linux Distribution like a normal one Easy to restore in case of virtual system failures because of its Filesystem logic. UML is contained into a simple file.
  5. 5. Research's Targets <ul><li>Set up Gentoo Linux onto a last generation Server </li></ul><ul><li>LTSP Terminal Server checkout </li></ul><ul><li>Set up User-Mode-Linux to run it locally </li></ul><ul><li>Research of the contact point between UML and LTSP </li></ul>The User-Mode-Linux study has brought us to highlight both important security and execution modes aspects (to be continued...)
  6. 6. Execution modes <ul><li>tt-mode : </li></ul><ul><li>Shared address space used by: </li></ul><ul><li>a) UML Kernel </li></ul><ul><li>b) UML internal processes </li></ul><ul><li>Skas3-mode : </li></ul><ul><li>Separate Kernel Address Space </li></ul><ul><li>The UML kernel is completely isolated from processes and threads </li></ul><ul><li>No Tracing Thread. System calls are intercepted by the UML kernel. </li></ul><ul><li>Skas0-mode : </li></ul><ul><li>Skas3 is not always supported (by UML or host – e.g. x86_64 arch.) </li></ul><ul><li>The host kernel patch is not necessary </li></ul><ul><li>The address space is only partially shared with processes </li></ul><ul><li>UML kernel is mapped into the memory in read-only mode </li></ul><ul><li>∀ guest process ∃ 1 host process like for the tt-mode </li></ul><ul><li>The UML kernel process lies in a separated address space like in skas3-mode </li></ul>
  7. 7. Main differences Address space UML Processes <ul><li>SKAS3 advantages: </li></ul><ul><li>Faster than tt-mode </li></ul><ul><li>Guest kernel separated from UML processes </li></ul><ul><li>No memory wasting </li></ul><ul><li>Protection from “False processes” </li></ul><ul><li>It's a simple patch to be applied to the host kernel </li></ul><ul><li>tt-mode disadvantages : </li></ul><ul><li>Memory waste (∀ guest process ∃ 1 host process) </li></ul><ul><li>Very slow </li></ul><ul><li>Absolutely unsafe respect of attacks coming from inside UML </li></ul><ul><li>Memory is shared between kernel and processes </li></ul>
  8. 8. LTSP “inside” UML LTSP UML . . Host Machine How to realize VDD 1/3 Process 1 Process 2 . . Process n UML Process 1 Process 2 DHCP Server TFTP NFS XDMCP Thin Client 1 Thin Client 2 Thin Client n
  9. 9. UML “inside” LTSP 1/2 The Terminal Server decides services and distributions to be sent to clients (Graphical sessions are sent) Gentoo Linux Server Static Assignation Thin client 1 Thin client 2 Thin client n . . . . How to realize VDD 2/3 LTSP UML Other Services UML 1 (Debian) UML 2 (Slackware) UML n (Gentoo)
  10. 10. UML “inside” LTSP 2/2 Clients ask for the distribution they want to display and other needed services Gentoo Linux Server DYNAMIC Assignation Thin client 1 Thin client 2 Thin client n . . . . Request 1 Request 2 Request n How to realize VDD 3/3 LTSP UML Other Services UML 1 (Debian) UML 2 (Slackware) UML n (Fedora)
  11. 11. LTSP+UML purposes UML already supplies for a valid distributions testing and buggy software support The UML-LTSP system is just a diffusion or an extension of this possibility Thanks to this technique we can use UML on several thin clients in a very easy way Each thin client allows users and/or developers to use their favourite UML distribution
  12. 12. Who may need UML+LTSP? <ul><li>Virtual Distro Dispatcher may have good consequences both on teaching and business circumstance </li></ul><ul><li>Public schools (computer laboratory) </li></ul><ul><li>Internet points </li></ul><ul><li>Research groups (distributions testing) </li></ul><ul><li>Computer courses Linux based ( BinarioEtico - Rome) </li></ul><ul><li>Public/private places where new PCs are not affordable </li></ul>
  13. 13. Performances issue <ul><li>There are possibilities to speed up VDD: </li></ul><ul><li>Try another virtualization system (XEN) </li></ul><ul><li>Add a HPC clustering system (what we will try soon) </li></ul><ul><li>Looking for methods to optimize UML more than ever </li></ul>Compilation times are longer respect to the host VDD must be completed Despite that, VDD doesn't show any significant slow down (KDE runs quickly)
  14. 14. Future work <ul><li>Starting point for the following aspects: </li></ul><ul><li>HPC clustering system integration </li></ul><ul><li>Look for clustering systems (like OpenMosix) also working on 2.6.X kernels </li></ul><ul><li>VDD LAN extension to a large quantity of thin clients </li></ul>
  15. 15. Future laboratory prototype
  16. 16. Links and Contacts The official Virtual Distro Dispatcher website: e-mail: info@vdd-project.org www: http://www.vdd-project.org Flavio BERTINI e-mail: flavio.bertini@dis.uniroma1.it D. Davide LAMANNA e-mail: davide.lamanna@dis.uniroma1.it www: http://www.dis.uniroma1.it/~lamanna Roberto BALDONI e-mail: roberto.baldoni@dis.uniroma1.it www: http://www.dis.uniroma1.it/~baldoni

×