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 Benchmarking Platform
Phoromatic Test Orchestration

The Cost Of Running Compiz

Michael Larabel

Published on 21 May 2010
Written by Michael Larabel
Page 1 of 5 - 73 Comments

Earlier this week we published benchmarks comparing Arch Linux and Ubuntu. There were only a few areas where the two Linux distributions actually performed differently with many of their core packages being similar, but one of the areas where the results were vastly different was with the OpenGL performance as Ubuntu uses Compiz by default (when a supported GPU driver is detected) where as Arch does not. This had surprised many within our forums so we decided to carry out a number of tests with different hardware and drivers to show off what the real performance cost is of running Compiz as a desktop compositing manager in different configurations.

Even when OpenGL games and benchmarks are running full-screen, in some configurations there still is a penalty imposed by Compiz. Compiz does not stop itself when a game or application is running full-screen even though you are not using any Compiz plug-ins or desktop effects and as such, indirect rendering is still being used. Albeit using a compositing window manager can be of some benefit when running a full-screen OpenGL program as it can lead to faster alt-switching and some other advantages, but for most users running Compiz with a full-screen application is not needed and can simply lead to a drop in performance due to the indirect rendering and additional steps taken with the compositing window manager on Linux.

Our test system was running an Intel Core i3 530 processor clocked at 3.32GHz, an ECS H55H-M motherboard, 2GB of system memory, and a 65GB OCZ Vertex SSD. When testing the Intel graphics we used the integrated Clarkdale graphics, for the ATI graphics we used a Radeon HD 4830 graphics card, and for the NVIDIA graphics was a GeForce 9800GT.

All of our testing was done on a stock Ubuntu 10.04 installation with the Linux 2.6.32-21-generic x86_64 kernel, GNOME 2.30.0, X.Org Server 1.7.6, Mesa 7.7, xf86-video-intel 2.9.1, xf86-video-ati 6.13.0, Catalyst 10.4, and NVIDIA 195.36.15 drivers. With each configuration and driver, we tested when Compiz was running via the "Normal" desktop effects setting and then again, when it was set to "None", in which case Metacity is just the window manager.

We tested the Intel Clarkdale graphics, the ATI graphics with the proprietary Catalyst driver, the NVIDIA graphics with the proprietary NVIDIA Linux driver, and the open-source ATI Radeon driver stack when it was using kernel mode-setting with DRI2 and also when it was using user-space mode-setting along the DRI1 code-paths. Unlike the Intel driver, the open-source AMD developers have not yet dropped support for their user-space mode-setting support. The AMD driver also only implements DRI2 support when using the newer KMS code-path.

The games we ran for this Compiz testing included Warsow, OpenArena, World of Padman, Tremulous, Urban Terror, Nexuiz, VDrift, Unigine Sanctuary, Unigine Tropics, Unigine Heaven, and Lightsmark. Some of the games could only be run with the proprietary ATI/NVIDIA drivers as the open-source drivers atop Mesa do not support them.

Latest Linux News
  1. Mesa Git OpenGL Tests With Intel Ivy Bridge Graphics
  2. Blender 2.75 Allows For AMD OpenCL Support
  3. GNOME's Mutter 3.17.2 Adds X11/Wayland Clipboard Interoperation
  4. Wayland 1.8 RC2 Arrives Along With New Weston Compositor Release
  5. LLVM 3.7 Is Planned For A Late August Release
  6. The OpenGL ES 3.1 Foundation Is Being Laid In Mesa
  7. There Are 140k Benchmark Results So Far On LinuxBenchmarking.com
  8. LLVM 3.6.1 Brings R600 & MIPS Fixes
  9. Friction Building Around An Ubuntu Community Council Decision
  10. Bye Bye Mandriva, She's Being Liquidated
Latest Articles & Reviews
  1. Opening The Gates To Our Daily Open-Source Linux Benchmark Results
  2. The Latest Features For Linux Performance Management + Benchmark Monitoring
  3. Noctua NH-U12DX i4 + NF-F12
  4. Btrfs RAID 0/1 Benchmarks On The Linux 4.1 Kernel
Most Viewed News This Week
  1. The Linux 4.0 EXT4 RAID Corruption Bug Has Been Uncovered
  2. NVIDIA's Proprietary Driver Is Moving Closer With Kernel Mode-Setting
  3. Systemd 220 Has Finally Been Released
  4. Microsoft Open-Sources The Windows Communication Foundation
  5. Zapcc Claims To Be A "Much Faster C++ Compiler"
  6. LibreOffice 5.0 Beta 1 Released
  7. Another HTTPS Vulnerability Rattles The Internet
  8. LibreOffice 5.0 Open-Source Office Suite Has Been Branched