Re: Specialized kernel/base system for VM's/VE's
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
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 > 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
Re: ext4 recovery/deleted orphans on reboot...
On Mon, Sep 24, 2012 at 7:48 PM, Daniel J Blueman wrote: > In Ubuntu 12.10 pre-release, I've frequently been observing ext4 > recovery has been needed after reboot [1]. > > This clearly isn't expected, however could be a side-effect of eg > incomplete flushing after unmount before the ACPI/cf8 reset vector is > hit. > > So, is this thought to be a kernel issue or userspace? I'm using a > 256GB Samsung 830 SSD, but was seeing this on an OCZ Vertex 3 > (Sandforce) SSD also. Without more information my money would be on a kernel issue, although it may be something very low-level like upstart. Evan -- 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
ext4 recovery/deleted orphans on reboot...
In Ubuntu 12.10 pre-release, I've frequently been observing ext4 recovery has been needed after reboot [1]. This clearly isn't expected, however could be a side-effect of eg incomplete flushing after unmount before the ACPI/cf8 reset vector is hit. So, is this thought to be a kernel issue or userspace? I'm using a 256GB Samsung 830 SSD, but was seeing this on an OCZ Vertex 3 (Sandforce) SSD also. Many thanks, Daniel --- [1] EXT4-fs (sda2): INFO: recovery required on readonly filesystem EXT4-fs (sda2): write access will be enabled during recovery EXT4-fs (sda2): orphan cleanup on readonly fs EXT4-fs (sda2): ext4_orphan_cleanup: deleting unreferenced inode 394069 EXT4-fs (sda2): 1 orphan inode deleted EXT4-fs (sda2): recovery complete EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) -- Daniel J Blueman -- 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
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