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. 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. New Group Calls For Boycotting Systemd
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. Stop grabbing my keyboard :(
  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