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

AMD Bulldozer Cache Aliasing Issue Fix

Michael Larabel

Published on 4 November 2011
Written by Michael Larabel
Page 1 of 3 - 3 Comments

The "AMD F15h cache aliasing issue" fixes have landed, which address cache aliasing penalties for AMD Bulldozer (Family 15h) processors. This can lead to performance improvements for some workloads.

Merged into the Linux 3.2 kernel is the patch-set that provides the cache aliasing fixes for AMD's new Bulldozer processors. Borislav Petkov, the open-source Linux developer out of AMD's Munich office, has been working on this patch-set for several months. Below is the commit message from Petkov that explains what this work is about.

This patch provides performance tuning for the "Bulldozer" CPU. With its shared instruction cache there is a chance of generating an excessive number of cache cross-invalidates when running specific workloads on the cores of a compute module.

This excessive amount of cross-invalidations can be observed if cache lines backed by shared physical memory alias in bits [14:12] of their virtual addresses, as those bits are used for the index generation.

This patch addresses the issue by clearing all the bits in the [14:12] slice of the file mapping's virtual address at generation time, thus forcing those bits the same for all mappings of a single shared library across processes and, in doing so, avoids instruction cache aliases.

It also adds the command line option "align_va_addr=(32|64|on|off)" with which virtual address alignment can be enabled for 32-bit or 64-bit x86 individually, or both, or be completely disabled.

Borislav Petkov reported on the kernel mailing list back in July that depending upon the situation that the AMD system performance could be improved by a few percent with this patch.

This work has officially landed into the Linux 3.2 kernel. Petkov also provided patches on Friday morning to the mailing list for integration into the stable Linux 3.0 and Linux 3.1 series, thus should appear soon in point releases for those series. This work only affects AMD 15h CPUs by default, which are the Bulldozer processors. The IC aliasing issue patch originally was posted to the Linux kernel mailing list back in July, but back then Linus Torvalds was unhappy with the first version. He referred to the work as a small disaster, but now it's mainline.

Back when receiving the AMD FX-8150 Bulldozer, I ran some tests with the earlier aliasing issue patch on the Linux 3.1 kernel to see if there were performance improvements for the usual Linux benchmarking workload. Those results are on the next pages.

<< Previous Page
1
Latest Linux Hardware Reviews
  1. MSI X99S SLI PLUS On Linux
  2. NVIDIA GeForce GTX 970 Offers Great Linux Performance
  3. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
  4. From The Atom 330 To Haswell ULT: Intel Linux Performance Benchmarks
Latest Linux Articles
  1. Open-Source Radeon 2D Performance Is Better With Ubuntu 14.10
  2. RunAbove: A POWER8 Compute Cloud With Offerings Up To 176 Threads
  3. 6-Way Ubuntu 14.10 Linux Desktop Benchmarks
  4. Ubuntu 14.10 XMir System Compositor Benchmarks
Latest Linux News
  1. Dead Island GOTY Now Available On Linux/SteamOS
  2. Ubuntu 14.04 In The Power8 Cloud From RunAbove
  3. KDE With Theoretical Client-Side Decorations, Windows 10 Influence
  4. Sandusky Lee: Great Cabinets For Storing All Your Computer Gear
  5. Fedora 21 Beta & Final Release Slip Further
  6. Mesa 10.3.2 Has A Couple Bug-Fixes
  7. RadeonSI/R600g HyperZ Support Gets Turned Back On
  8. openSUSE Factory & Tumbleweed Are Merging
  9. More Fedora Delays: Fedora 21 Beta Slips
  10. Mono Brings C# To The Unreal Engine 4
Latest Forum Discussions
  1. HOPE: The Ease Of Python With The Speed Of C++
  2. Use Ubuntu MATE 14.10 Make it an official distro.
  3. Users/Developers Threatening Fork Of Debian GNU/Linux
  4. Debian Is Back To Discussing Init Systems, Freedom of Choice
  5. AMD Radeon VDPAU Video Performance With Gallium3D
  6. Updated and Optimized Ubuntu Free Graphics Drivers
  7. Ubuntu 16.04 Might Be The Distribution's Last 32-Bit Release
  8. Linux hacker compares Solaris kernel code: