Ubuntu on AWS gets serious performance boost with AWS-tuned kernel

Ubuntu and AWS

Canonical and Amazon Web Services have been working closely together to create the best experience of the world’s most popular cloud OS, on the world’s most popular public cloud. Official Ubuntu guest images have been available on AWS for years, and underlie the majority of workloads on the service—whether you use the EC2 Quickstart, Marketplace, or Lightsail. This week, and for the first time on the public cloud, Canonical, in collaboration with Amazon, is delighted to announce the availability of an AWS-tuned Ubuntu kernel for the Ubuntu 16.04 LTS release.

Thanks to our public cloud and kernel teams, as of March 29th, Ubuntu Cloud Images for Amazon have been enabled with the AWS-tuned Ubuntu kernel by default. The AWS-tuned Ubuntu kernel will receive the same level of support and security maintenance as all supported Ubuntu kernels for the duration of the Ubuntu 16.04 LTS.

The kernel itself is provided by the linux-aws kernel package.  The most notable highlights for this kernel include:

  • Up to 30% faster kernel boot speeds, on a 15% smaller kernel package
  • Full support for Elastic Network Adapter (ENA), including the latest driver version 1.1.2, supporting up to 20 Gbps network speeds for ENA instance types (currently I3, P2, R4, X1, and m4.16xlarge)
  • Improved i3 instance class support with NVMe storage disks under high IO load
  • Increased I/O performance for i3 instances
  • Improved instance initialization with NVMe backed storage disks
  • Disabled CONFIG_NO_HZ_FULL to eliminate deadlocks on some instance types
  • Resolved CPU throttling with AWS t2.micro instances

Any Ubuntu 16.04 LTS image brought up from EC2 Quickstart or AWS Marketplace on March 29th or later will be running on this AWS-tuned kernel. You can also query the EC2 API to confirm that these AMIs are ENA-enabled:


Instances using the AWS-tuned Ubuntu kernel will, of course, be supportable through Canonical’s Ubuntu Advantage service, available for purchase on an hourly metered basis on the AWS-Marketplace (Standard or Advanced) tiers, or at an annual price on our Shop. The AWS-tuned Ubuntu kernel will not support the Canonical Livepatch Service at the time of this announcement, but investigation is underway to evaluate delivery of this service for users of the AWS-tuned Ubuntu kernel.

If, for now, you prefer stability over speed, you can get still get going with Livepatch by reverting to the old kernel, using the following commands:

Watch this space for more developments from Amazon and Canonical throughout the year, as we continue to optimize performance on a host of AWS services, and to make it easy to deploy and operate complex workloads in production.

About the author

Udi's photo

At Canonical, Udi heads up the Ubuntu Certified Public Cloud program, which aims to bring the best of Ubuntu Guest (VMs and containers) to users of Ubuntu partner clouds. Most of Udi's career to date has been focused on bringing transformative technologies from inception to commercialization - both with startups and large corporates. Apart from his day job, Udi enjoys running, yoga, reading and startup mentorship. Having previously lived and/or worked in Israel, the US, Japan and France, since 2011 Udi resides in London, UK with his family.

More articles by Udi

Posted in: