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

Oracle Does Some Open-Source Good With TTM

Hardware

Published on 25 August 2011 04:59 PM EDT
Written by Michael Larabel in Hardware
7 Comments

While Oracle is most often criticized since their acquisition of Sun Microsystems for shafting the open-source community, in particular for OpenOffice, MySQL, OpenSolaris, and other projects, not everything they do is bad for open-source and Linux. They have VirtualBox, various kernel developers, Chris Mason works for them on Btrfs, etc. They also still employ some graphics developers. One of these developers for some time now has been working on improving the GPU memory management situation in virtualized environments.

In early January I mentioned that an Oracle developer made open-source GPU drivers work with Xen virtualization. In particular, TTM (Translation Table Maps) had to be cleaned up within the kernel as this GPU memory management system used by the Radeon and Nouveau drivers (among others) wasn't playing well with Xen.

These patches by Oracle's Konrad Rzeszutek Wilk were merged back in January. However, later testing revealed that it messed things up for those on ARM, PowerPC, and when swapping out pages to disk. As a result, some of the patches had to be reverted.

Konrad disappeared for a half-year, but he's now back with a new patch-set to clean-up the earlier code and make it work with these other conditions. They're entitled the TTM DMA pool v1 patch-set and are up for review. These new patches create a TTM DMA pool, which is a DMA pool but with extra features. This will then be merged back into the Linux kernel's main DMA pool code, assuming it doesn't cause any performance regressions.

These TTM patches work for the Nouveau and Radeon drivers and under PowerPC, IGPs, PCI-E GPUs, various IOMMUs, and other system features that caused breakage back in January. So far, so good.

For those wanting to know what's possible with graphics cards and Xen virtualization, here is a demo from Ubisoft that they did using Xen and the NVIDIA binary drivers. It's quite interesting.

Now if only Oracle ported TTM and its drivers (Radeon and Nouveau) to their own Solaris operating system... Or they might have, but with barely any communication to what's left of their open-source Solaris community, who knows?

In related Linux graphics news, but not quite deserving of its own news post at the moment, are Mesa patches that rework the G3DVL interface and provide a new MPEG-2 bit-stream parser. The G3DVL interface is used for the generic GPU video acceleration while also introducing a new MPEG-2 bitstream decoder. This is more good news in the Gallium3D video land. See the mailing list thread.

Latest Linux Hardware Reviews
  1. Mini-Box M350: A Simple, Affordable Mini-ITX Case
  2. Overclocking The AMD AM1 Athlon & Sempron APUs
  3. AMD Athlon 5350 / 5150 & Sempron 3850 / 2650
  4. Upgraded Kernel & Mesa Yield A Big Boost For Athlon R3 Graphics
Latest Linux Articles
  1. Ubuntu 12.04.4 vs. 13.10 vs. 14.04 LTS Desktop Benchmarks
  2. AMD OpenCL Performance With AM1 Kabini APUs
  3. A Quick Look At GCC 4.9 vs. LLVM Clang 3.5
  4. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
Latest Linux News
  1. Ubuntu 14.04 LTS "Trusty Tahr" Officially Released
  2. Ubuntu 12.04 LTS vs. 14.04 LTS Server Benchmarks
  3. QEMU 2.0 Released With ARM, x86 Enhancements
  4. Running The Unity 8 Preview Session On Ubuntu 14.04 LTS
  5. R600 Gallium3D Disables LLVM Back-End By Default
  6. Fedora 21 Gets GNOME 3.12, PHP 5.6, Mono 3.4
  7. Fedora Workstation Is Making Me Quite Excited
  8. Maynard: A Lightweight Wayland Desktop
  9. Chromium Browser Going Through Growing Pains In Ubuntu 14.04
  10. KDE 4.13 Is Being Released Today With New Features
  11. Trying Out Radeon R9 290 Graphics On Open-Source
  12. Intel Broadwell GT3 Graphics Have Dual BSD Rings
Latest Forum Discussions
  1. Updated and Optimized Ubuntu Free Graphics Drivers
  2. The GNOME Foundation Is Running Short On Money
  3. After Jack Keane, RuseSoft will briing Ankh 3 to Linux through Desura
  4. Suspected PHP Proxy Issue
  5. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  6. Change installation destination from home directory
  7. Bye bye BSD, Hello Linux: A Sys Admin's Story
  8. New tool for undervolt/overclock AMD K8L and K10 processors