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

KDE's KWin To Receive Performance Improvements

KDE

Published on 07 September 2012 09:02 AM EDT
Written by Michael Larabel in KDE
10 Comments

Next month's KDE SC 4.9.2 release will be slightly faster with the KWin compositing window manager while more performance optimizations for KWin will land in KDE SC 4.10 come late January of 2013.

Martin Gräßlin, the German maintainer of KWin, has been working on some performance work for KWin, which he's documented in a blog post.

Gräßlin has found several areas for improvement, some of which are bug-fixes that will land for the KDE 4.9.2 point release while the other changes aren't acceptable until KDE SC 4.10. Some of his key work includes:

- "Now looking at the results I saw that the translucency effect is rather expensive and that by default the effect is not doing anything unless you are moving windows. This is of course a rather unpleasant behavior to have an expensive effect doing nothing. So I looked at the implementation and found a way to better track when the effect should be active. Unless you have enabled the effect to set decorations or inactive windows to translucent the effect is now disabled by default. Just when you start moving a window the effect gets active. And even then the effect performs better."

- "I noticed that there is supposed to be an animation when a window starts to move, but personally I have never seen it. Looking closer at the code I noticed that this could have never worked. I decided that an animation added to 4.1 which has never worked can be dropped which again improves a little bit the performance. We might add a better translucency effect for 4.10 which adds the animation again, but for 4.9.x there is no user visible change by removing the animation."

- Finding multiple hacks to remove.

- The big one: "But the main optimization of this method will be available in 4.10. The output of callgrind showed that this method was causing quite some expensive dynamic casts. In fact each call caused two dynamic casts to check whether it is a specific sub class and basically the method contained two interwoven implementations for the two specific sub classes. The logical step was to make the method pure virtual and implement it in the sub classes. According to the callgrind logs after the change this improves the performance quite a lot."

This is nice that the KWin compositing window manager continues to be improved and the KDE desktop becomes faster while other desktops / window managers are moving in the wrong way.

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 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. RadeonSI GLAMOR Benchmarks With X.Org Server 1.16
  2. RadeonSI Gallium3D vs. Catalyst At 4K UHD On Linux
  3. MSAA RadeonSI Gallium3D Performance Preview
  4. Intel Core i7 5960X CPU Core Scaling Under Linux
Latest Linux News
  1. The KMS Mode-Setting Driver Was Imported For X.Org Server 1.17
  2. SNA & UXA Intel Benchmarks With X.Org Server 1.16
  3. Graphics Driver Changes Coming In The Linux 3.18 Kernel
  4. Tropico 5 Being Released For Linux Gamers This Week
  5. Eclipse IDE Starts Firing Up On Wayland's Weston
  6. OpenSUSE Announcement On SUSE's Recent Merger
  7. Valve Begins Publicly Tracking AMD Catalyst Linux Issues
  8. Digia Qt Spinoff Is Called "The Qt Company"
  9. GNOME 3.14 Makes More Progress In Running Natively On Wayland
  10. Minix 3.3 Released With Cortex-A8 ARM Support, NetBSD Userland Compatibility
Latest Forum Discussions
  1. Updated and Optimized Ubuntu Free Graphics Drivers
  2. Stop grabbing my keyboard :(
  3. New Group Calls For Boycotting Systemd
  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