Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm getting new VMs built for development and staging environments, and was wondering whether there are compelling reasons for or against using the linux-virtual package on all of these images.

Do the -virtual kernels have different tuning? Do they have tools that make the suspend/wake-up better/safer?

share|improve this question
add comment

1 Answer 1

up vote 21 down vote accepted
+50

Since 12.04, there is no difference between the Desktop linux-generic and Server linux-server kernels; they have been merged. (Source; see here for why this was done.)

The virtual kernel differs only in the number of included drivers. It only includes "the necessary drivers to run inside popular virtualization technologies such as KVM, Xen, and VMWare. ... Other than that, all other options are identical between the generic and the virtual kernels."

In practice, this means the -virtual kernel image is smaller, and may also take up somewhat less room in memory (fewer built-in modules/drivers). The savings are probably in the single-digit megabyte range, so it won't make a difference for most VMs.


Server and Desktop kernel differences before 12.04:

Before 12.04, the differences were:

  • The Server Edition uses the Deadline I/O scheduler instead of the CFQ scheduler used by the Desktop Edition.

  • Preemption is turned off in the Server Edition.

  • The timer interrupt is 100 Hz in the Server Edition and 250 Hz in the Desktop Edition.

share|improve this answer
    
Does this mean that, if I have linux-kernel-virtual I don't need to install open-vm-tools package to get VMWare advantages, or is that separate from the kernel drivers? I'm assuming this only impacts thing like NIC card drivers and doesn't get into deeper things like memory utilization, etc. –  flickerfly Jun 30 at 21:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.