Re: Specialized kernel/base system for VM's/VE's

2012-09-25 Thread Emmet Hikory
Enrico Weigelt wrote:
 is anyone currently working on optimized/minimized kernel
 and base packages for VM's ?
 
 My goal is having a really minimized base system for VMs
 and VEs, which don't have anything that's really needed
 there (eg. VEs dont need all the kernel related stuff,
 VMs just only those parts which are really required for
 running in an virtio-based environment, etc, etc).

I suspect you're looking for the linux-virtual metapackage,
and dependencies thereof for your kernel.  You may wish to look
at the available Cloud Images [1], which are likely suitable for
deployment in your target environment with little or no modification.

If the selection of modules in linux-virtual is insuffient
for your target environment, the other modules are also available
in the dependencies of the linux-image-extra-virtual package.

1: http://cloud-images.ubuntu.com/

-- 
Emmet HIKORY

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Specialized kernel/base system for VM's/VE's

2012-09-25 Thread Daniel Hollocher
On Tue, Sep 25, 2012 at 2:17 AM, Emmet Hikory per...@ubuntu.com wrote:
 Enrico Weigelt wrote:
 is anyone currently working on optimized/minimized kernel
 and base packages for VM's ?

 My goal is having a really minimized base system for VMs
 and VEs, which don't have anything that's really needed
 there (eg. VEs dont need all the kernel related stuff,
 VMs just only those parts which are really required for
 running in an virtio-based environment, etc, etc).

 I suspect you're looking for the linux-virtual metapackage,
 and dependencies thereof for your kernel.

I don't know the answer, but it looks like linux-virtual just depends
on the regular kernel:

$ apt-cache depends linux-virtual
linux-virtual
  Depends: linux-image-virtual
  Depends: linux-headers-virtual
$ apt-cache depends linux-image-virtual linux-headers-virtual
linux-image-virtual
  Depends: linux-image-3.5.0-15-generic
linux-headers-virtual
  Depends: linux-headers-generic

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Specialized kernel/base system for VM's/VE's

2012-09-24 Thread Enrico Weigelt
Hi folks,


is anyone currently working on optimized/minimized kernel
and base packages for VM's ?

My goal is having a really minimized base system for VMs
and VEs, which don't have anything that's really needed
there (eg. VEs dont need all the kernel related stuff,
VMs just only those parts which are really required for
running in an virtio-based environment, etc, etc).


cu
-- 
Mit freundlichen Grüßen / Kind regards 

Enrico Weigelt 
VNC - Virtual Network Consult GmbH 
Head Of Development 

Pariser Platz 4a, D-10117 Berlin
Tel.: +49 (30) 3464615-20
Fax: +49 (30) 3464615-59

enrico.weig...@vnc.biz; www.vnc.de 

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Specialized kernel/base system for VM's/VE's

2012-09-24 Thread Nicolas Michel
Hello,

I don't think you'll see a that lightweight kernel in distributions like
Ubuntu. But saying that, you probably don't know how the Linux kernel work:
most of the functions of the kernel (except core functions) can be compiled
directly into the kernel or compiled as a module. Distributions like Ubuntu
are mostly using module when available. With modules, when your computer
need a function that is not in the kernel core it loads the related module
into the memory.

Conclusion: the only thing modules takes is disk space (try a du -sch
/lib/modules to know how much) but not memory or other ressources until
they are loaded.

So, compiling a very lightweight kernel (much more that the Ubuntu one) is
possible. You can do it following tuto on the net. But it doesn't make
sense on a VM. It only makes sense on embeded hardware where each megabytes
is good to save.


2012/9/24 Enrico Weigelt enrico.weig...@vnc.biz

 Hi folks,


 is anyone currently working on optimized/minimized kernel
 and base packages for VM's ?

 My goal is having a really minimized base system for VMs
 and VEs, which don't have anything that's really needed
 there (eg. VEs dont need all the kernel related stuff,
 VMs just only those parts which are really required for
 running in an virtio-based environment, etc, etc).


 cu
 --
 Mit freundlichen Grüßen / Kind regards

 Enrico Weigelt
 VNC - Virtual Network Consult GmbH
 Head Of Development

 Pariser Platz 4a, D-10117 Berlin
 Tel.: +49 (30) 3464615-20
 Fax: +49 (30) 3464615-59

 enrico.weig...@vnc.biz; www.vnc.de

 --
 Ubuntu-devel-discuss mailing list
 Ubuntu-devel-discuss@lists.ubuntu.com
 Modify settings or unsubscribe at:
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss




-- 
Nicolas MICHEL
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss