1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Testing The Different Ubuntu 10.04 Kernels

Michael Larabel

Published on 14 March 2010
Written by Michael Larabel
Page 1 of 5 - 19 Comments

The release of Ubuntu 10.04 LTS "Lucid Lynx" is quickly approaching next month and it will arrive with a whole set of new features and improvements including a faster boot process, a long-awaited new theme, the Nouveau driver to replace the crippled xf86-video-nv driver, the unveiling of the Ubuntu One Music Store, integration of Plymouth, Ubuntu ARM advancements, and many other advancements for this Linux distribution. While it may not be as exciting as looking at these new end-user features, in this article we are testing out the available kernels for Ubuntu 10.04. Besides the standard Linux 2.6.32 kernel used in the Lucid release, there is also a specialized server kernel as well as a new -preempt kernel is now available. We are looking at how these different kernels perform and how they compare to the mainline Linux kernels with the 2.6.32, 2.6.33, and 2.6.34-rc1 releases.

When it comes to the kernel configurations, several items separate the Ubuntu server kernel from the default. Among the configuration changes is the server kernel uses the Deadline scheduler (CONFIG_DEFAULT_DEADLINE) rather than CFQ (CONFIG_DEFAULT_CFQ), no forced preemption (CONFIG_PREEMPT_NONE) rather than voluntary preemption with the default kernel (CONFIG_PREEMPT_VOLUNTARY), support for memory hot-plugging and removal (CONFIG_MEMORY_HOTPLUG, CONFIG_MEMORY_HOTPLUG_SPARSE, CONFIG_MEMORY_HOTREMOVE, CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE, CONFIG_ACPI_HOTPLUG_MEMORY), the VirtIO drivers being built into the kernel rather than a module (CONFIG_VIRTIO_BLK, CONFIG_VIRTIO_NET, CONFIG_VIRTIO, CONFIG_VIRTIO_RING, CONFIG_VIRTIO_PCI), and Parallel SCSI Transport Attributes being built into the kernel (CONFIG_SCSI_SPI_ATTRS). Other configuration items built into Ubuntu's server kernel include CONFIG_ARCH_MEMORY_PROBE and CONFIG_SCSI_SYM53C8XX_2.

Changed between the default kernel and the preempt kernel is enabling CONFIG_PREEMPT for making much of the kernel preemptible rather than the default kernel using CONFIG_PREEMPT_VOLUNTARY, changing the default timer to 1000Hz (CONFIG_HZ_1000), and enabling CONFIG_DEBUG_PREEMPT in the kernel. This -preempt kernel is new in Ubuntu 10.04 and is not available in earlier Ubuntu releases. The -generic, -preempt, and -server kernels were all at version 2.6.32-16 at the time of testing. There is also a Realtime (RT) kernel available in Ubuntu Lucid, but it is currently based on the older Linux 2.6.31 kernel. We were unable to test out this real-time kernel due to DRM problems with the Linux 2.6.31 kernel and our newer ATI Radeon graphics card. The only other kernel available in Ubuntu Lucid is for virtual machines and it is a 2.6.32 kernel that is designed for EC2 machines. There was talk recently of a new low-latency kernel where the CPU frequency scaling support (such as Enhanced Intel SpeedStep Technology and AMD Cool 'n Quiet) would be disabled along with the CPU idle governor, but those changes are not present in any kernel within the Lucid repository at this time.

We compared these three kernels from the Ubuntu Lucid repository against the mainline Linux kernels offered through Ubuntu's mainline kernel PPA. We benched the Linux 2.6.32.9, 2.6.33, and 2.6.34-rc1 releases for comparison. Between the mainline 2.6.32 kernel package and the Ubuntu 2.6.32-16-generic kernel, some of the configuration in the latter include enabling support for user name-spaces (CONFIG_USER_NS), kernel same-page merging (CONFIG_KSM), recovery from hardware memory errors (CONFIG_MEMORY_FAILURE), run-time power management core functionality (CONFIG_PM_RUNTIME), support for large single files (CONFIG_SFI), and driver modules for many more hardware components than what is found enabled in the mainline package. The additional modules being built represent most of the configuration differences.

For testing out the three Ubuntu kernels and three latest mainline kernels we used one of our test systems that had an AMD Opteron 2384 Quad-Core 2.7GHz "Shanghai" processor, a Tyan Thunder n3600B (S2927) motherboard, 4GB of ECC Registered memory, a 64GB OCZ Agility EX SSD, and an ATI Radeon HD 4870 graphics card driving a Dell S2409W 24-inch LCD display. We performed a clean installation of Ubuntu 10.04 using a daily development snapshot from 2009-03-13 that was running with GNOME 2.29.92, X.Org Server 1.7.5, xf86-video-radeon 6.12.191, GCC 4.4.3, and the default EXT4 file-system. All testing was done with 64-bit kernels and using the Ubuntu amd64 installation.

We ran the kernel tests available through the Phoronix Test Suite with the Lyngen 2.6 Alpha 1 release for providing these kernel benchmarks. On the following pages are the results from Tremulous, OpenArena, Urban Terror, Apache, PostgreSQL, Apache compilation, 7-Zip compilation, Parallel BZIP2 compression, GnuPG encryption, IOzone, Dbench, FS-Mark, Bullet Physics, and dcraw image conversion.

<< Previous Page
1
Latest Linux Hardware Reviews
  1. Trying The Configurable 45 Watt TDP With AMD's A10-7800 / A6-7400K
  2. Sumo's Omni Gets Reloaded
  3. AMD A10-7800 & A6-7400K APUs Run Great On Linux
  4. Radeon Gallium3D Is Running Increasingly Well Against AMD's Catalyst Driver
Latest Linux Articles
  1. AMD's RadeonSI Driver Sped Up A Lot This Summer
  2. Intel's Latest Linux Graphics Code Competes Against OS X 10.9
  3. Intel Sandy Bridge Gets A Surprise Boost From Linux 3.17
  4. Open-Source Radeon Graphics Have Some Improvements On Linux 3.17
Latest Linux News
  1. A New First-Person Mystery Game Might Be Coming To Linux
  2. Patch By Patch, LLVM Clang Gets Better At Building The Linux Kernel
  3. VC4 Gallium3D Driver Now Handles X With GLAMOR
  4. Opera 25 Development Release For Linux
  5. Steam Now Supports VA-API For In-Home Game Streaming
  6. GNOME 3.14 Beta Released
  7. Mesa 10.3 Branched & RC1 Released, Mesa 10.4 On Master
  8. Intel Sandy Bridge Gains On Linux 3.17 Extend Beyond Graphics
  9. LinuxCon: What's Going On With Fedora.Next
  10. Canonical Joined The Khronos Group To Help Mir/Wayland Drivers
Latest Forum Discussions
  1. Btrfs Gets Talked Up, Googler Encourages You To Try Btrfs
  2. Systemd 216 Piles On More Features, Aims For New User-Space VT
  3. American Citizens running AMOK for food stamps
  4. What Linux Distribution Should Be Benchmarked The Most?
  5. OSS radeon driver for A10-7850K (Kaveri)
  6. Company I work for is looking to contribute to Open Source projects... but wrongly?
  7. Microsoft vs. Campaign
  8. Updated and Optimized Ubuntu Free Graphics Drivers