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

Linux Kernel Still Picking Up AVX Optimizations

Linux Kernel

Published on 19 December 2012 01:04 AM EST
Written by Michael Larabel in Linux Kernel
2 Comments

Advanced Vector Extensions (AVX) have been present in Intel and AMD hardware since last year with Sandy Bridge and Bulldozer processors, respectively, but their use isn't too very widespread at this point. Fortunately, the Linux kernel has been receiving some AVX1/AVX2 optimizations.

The AVX instruction set extensions are designed to better floating-point-intensive applications, increased parallelism for floating-point SIMD calculations, and reduce register loads in certain conditions (You can find additional information via Wikipedia). The Linux kernel has had basic AVX support going back to 2009, but it hasn't been until recently that there's been more AVX-optimized functions appearing within the kernel.

Already for the Linux 3.8 kernel merge window there were the Intel cryptography performance improvements. Intel added an AVX implementation for the Camellia cipher along with AVX optimizations for CAST5/CAST6/Serpent/Twofish. That's not all but today in a different part of the kernel there's now some AVX2 optimizations.

Sandy Bridge CPUs with AVX1 support are nearly two years old while just a few months out is Advanced Vector Extensions 2 (AVX2). AVX2 builds upon AVX1 by making most integer instructions 256-bit, three-operand bit manipulation and multiply, Gather support, vector shifts, and other new features.

The AVX2 work today comes via the MD layer pull that provides AVX2-optimized functions for RAID6 calculations with disks. The commits are "lib/raid6: Add AVX2 optimized gen_syndrome functions" and "lib/raid6: Add AVX2 optimized recovery functions."

Let's hope other prominent open-source projects also continue to pick-up support for these newer CPU instruction set extensions to enhance Linux performance.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Scythe Mugen MAX
  2. Intel Core i7 5960X Haswell-E On Linux
  3. Intel 80GB 530 Series M.2 SSD On Linux
  4. With A New Motherboard, The Core i7 5960X Haswell-E Lights Up
Latest Linux Articles
  1. Intel P-State vs. CPUFreq Benchmarks On The i7-5960X
  2. RadeonSI GLAMOR Benchmarks With X.Org Server 1.16
  3. RadeonSI Gallium3D vs. Catalyst At 4K UHD On Linux
  4. MSAA RadeonSI Gallium3D Performance Preview
Latest Linux News
  1. X.Org Server Shatter Project Fails
  2. X.Org Women Outreach Program Only Turns Up Two Applicants So Far
  3. Fedora 21 Alpha Finally Coming Next Week
  4. Ubuntu Touch/Phone Reaches Its First RTM Image
  5. The KMS Mode-Setting Driver Was Imported For X.Org Server 1.17
  6. SNA & UXA Intel Benchmarks With X.Org Server 1.16
  7. Graphics Driver Changes Coming In The Linux 3.18 Kernel
  8. Tropico 5 Being Released For Linux Gamers This Week
  9. Eclipse IDE Starts Firing Up On Wayland's Weston
  10. OpenSUSE Announcement On SUSE's Recent Merger
Latest Forum Discussions
  1. Stop grabbing my keyboard :(
  2. New Group Calls For Boycotting Systemd
  3. Updated and Optimized Ubuntu Free Graphics Drivers
  4. Best Radeon for a Power Mac G5?
  5. New stress testing utility for GPU's
  6. Hd 6850
  7. support for first generation UVD blocks (RV6xx, RS780, RS880 and RV790)
  8. Nvidia joins the ranks of Apple and Microsoft