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

Radeon Gallium3D LLVM Now Uses VLIW Scheduler

Mesa

Published on 21 June 2012 08:14 PM EDT
Written by Michael Larabel in Mesa
6 Comments

With a commit this afternoon to Mesa, the R600 Gallium3D driver with the LLVM back-end is now using the performance-boosting VLIW scheduler.

With the R600g LLVM back-end the register pressure scheduler has now been replaced by the VLIW (Very Long Instruction Word) scheduler. The VLIW scheduler for supporting the Radeon HD 2000 through HD 6000 series graphics cards is far from being ideal in terms of being optimally efficient as it ignores some complicated instructions right now, but it should be an improvement over the status quo.

According to Tom Stellard, the AMD employee that has been working on open-source OpenCL as of late for Gallium3D, reports that switching to the new scheduler resulted in a 50% performance boost for a SHA1 compute shader test. However, he has yet to see the performance impact of the VLIW scheduler on complicated graphics shaders.

From the commit:
It's not optimal, but it's better than the register pressure scheduler that was previously being used. The VLIW scheduler currently ignores all the complicated instruction groups restrictions and just tries to fill the instruction groups with as many instructions as possible. Though, it does know enough not to put two trans only instructions in the same group.

We are able to ignore the instruction group restrictions in the LLVM backend, because the finalizer in r600_asm.c will fix any illegal instruction groups the backend generates.

Enabling the VLIW scheduler improved the run time for a sha1 compute shader by about 50%. I'm not sure what the impact will be for graphics shaders. I tested Lightsmark with the VLIW scheduler enabled and the framerate was about the same, but it might help apps that use really big shaders.
It looks like it's time for me to start some new R600g benchmarks!

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 Articles & Reviews
  1. AMD FX-8320E Performance On Linux
  2. Linux Compiler Benchmarks Of LLVM Clang 3.5 vs. LLVM Clang 3.6-rc1
  3. Intel Broadwell HD Graphics 5500: Windows 8.1 vs. Linux
  4. Linux Benchmarks Of NVIDIA's Early 2015 GeForce Line-Up
  5. NVIDIA GeForce GTX 960: A Great $200 GPU For Linux Gamers
  6. Disk Encryption Tests On Fedora 21
Latest Linux News
  1. Intel Broadwell On Linux Has Working OpenCL 1.2, VP8 Video Acceleration
  2. GParted 0.21 Brings ReFS Detection, EXT4 For RHEL5, Reiser4 For Linux 3.x
  3. Wine Staging Update Has Better CUDA Support, Driver Testing Framework
  4. Nouveau In Linux 3.20 Will Have A Lot Of Code Cleaning
  5. Compare Your Linux System To The i7-5600U Broadwell X1 Carbon ThinkPad
  6. Debian 8.0 "Jessie" Installer RC1 Released
  7. Chromebook "Rush" With 64-bit Tegra SoC Support Lands In Coreboot
  8. 2015 X.Org Elections Get Underway For Board Members, SPI Merger
  9. Linux 3.19-rc6 Kernel Released: LInux 3.19 Final In Two Weeks
  10. Ubuntu's Mir Gains Server-Side Platform Probing
Most Viewed News This Week
  1. Windows 10 To Be A Free Upgrade: What Linux Users Need To Know
  2. Google Admin Encourages Trying Btrfs, Not ZFS On Linux
  3. TraceFS: The Newest Linux File-System
  4. My Initial Intel Broadwell Linux Experience With The ThinkPad X1 Carbon
  5. Keith Packard Leaves Intel's Linux Graphics Work
  6. Interstellar Marines On Linux With Catalyst: Bull S*#@
  7. NetworkManager Now Supports WiFi Power Savings
  8. Intel's Open-Source Graphics Team Poaches A Top Nouveau Driver Developer