Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Upgrades X Linux

Kernel 2.6.31 To Speed Up Linux Desktop 360

Dan Jones writes "As the Linux community looks forward to another kernel release, the kernel hackers have been working on improving the memory management so that the X desktop responsiveness is doubled under high memory pressure. The result is an improved desktop experience. Benchmarks on memory-tight desktops show clock time and major faults reduced by 50 per cent, and pswpin numbers (memory reads from disk) are reduced to about one-third. Another improvement coming with 2.6.31 is kernel mode-setting support for ATI Radeon graphics cards, enabling faster user switching and a more seamless startup experience. Peripheral developments that will also improve the Linux desktop experience include support for the new USB 3.0 specification and a new Firewire stack. Even minor Linux releases have heaps of new features these days!"
This discussion has been archived. No new comments can be posted.

Kernel 2.6.31 To Speed Up Linux Desktop

Comments Filter:
  • by Anonymous Coward on Saturday September 05, 2009 @01:30PM (#29324291)

    MS takes the drivers back to user mode after touting the kernel-mode as a performance plus.

    Based on my experience with 2008/Win 7 and ATI, I think the display drivers belong firmly in user mode.

    I've never had my OS punk out because of a graphics bluescreen. The desktop manger and explorer may have needed a restart, but no data ever stopped streaming or got corrupted.

  • by armanox ( 826486 ) <asherewindknight@yahoo.com> on Saturday September 05, 2009 @01:33PM (#29324321) Homepage Journal
    I don't have the link handy, but, Linus has said before that a kernel 2.8 or 3.0 doesn't matter to him.
  • Benchmarks (Score:5, Interesting)

    by pm_rat_poison ( 1295589 ) on Saturday September 05, 2009 @01:36PM (#29324353)
    Phoronix [phoronix.com] has published benchmarks of an ubuntu system with kernel 2.6.31-rc5
  • by bogaboga ( 793279 ) on Saturday September 05, 2009 @01:39PM (#29324373)

    Just like folks at Apple realized with their OS X, we in the Linux world, need an alternative to X. I heard that Google Chrome OS will get rid of it entirely. I would like to hear from anyone who disagrees.

  • by eyepeepackets ( 33477 ) on Saturday September 05, 2009 @01:58PM (#29324485)

    X works really good for what it's designed for and I'd hate to have to live without it. That said, what I also would like is a custom version for gaming which turns down or off features not needed for gaming. Wouldn't it be nice if users could build a custom X as easy as custom kernels?

  • Re:Obligatory XKCD (Score:5, Interesting)

    by d3vi1 ( 710592 ) on Saturday September 05, 2009 @02:07PM (#29324557)

    Actually the fault is split. 2D acceleration in Linux for most video drivers is shabby at best.

    On the other hand, Adobe doesn't really put that much engineering force into X11 optimizations. Adobe Flash on a non-accelerated Mac OS X (hackintosh using the included Vesa 3.0 driver) is still faster than on X11/Linux.

    I can't really blame Adobe for this. There are quite a lot of ways in which you can accelerate SOME drawing operations, but they are not available on all desktops. Clutter comes to mind right now, but it's not really the best option for QT/KDE users. It's hard to create an accelerated, desktop environment independent piece of software.

  • Re:Obligatory XKCD (Score:4, Interesting)

    by marcansoft ( 727665 ) <hector AT marcansoft DOT com> on Saturday September 05, 2009 @02:27PM (#29324703) Homepage

    Linux isn't broken because Flash sucks, the "Ready For the Desktop" moniker is broken if people consider it to imply Flash support. Flash is a closed technology (the spec is only open if you're not writing a player), which puts any problems with Flash playback anywhere squarely into Adobe's hands. If being "ready for the desktop" implies "Adobe plays nice with you" and there is nothing you can do if they don't, something is really wrong. What is the Linux community supposed to do, hold Adobe at gunpoint until they fix Flash?

    I'm not saying Linux is otherwise ready for the desktop (and complaints about issues with Linux desktops themselves are perfectly okay), but Flash brokenness is a silly example.

  • Re:Obligatory XKCD (Score:3, Interesting)

    by MPAB ( 1074440 ) on Saturday September 05, 2009 @02:49PM (#29324943)

    The same way mp3 became a standard and "linux" users must install codecs "at their own risk".
    The same way linux-verboten WinModems became a standard that faded only when they couldn't keep up with ADSL.
    The same way Realtek and Broadcom WiFi cards have become a standard in most notebooks (and some desktops) and they still perform very poorly under "linux".
    The same way NVidia and ATI have become the video adapter standards and none has yet got full support (not even mentioning double screens) under Linux.

    I'm not blaming linux for any of this, but I do blame those that cry over the fact the rest of the world has accepted and can get along with those de facto "standards".

    With the right kexts and a couple of clicks, my Leopard hackintosh install gets a much better grab of my hardware than both my Ubuntu and Debian installs, over which I'm endlessly trying new drivers and recompiling the kernel.

  • Re:Obligatory XKCD (Score:3, Interesting)

    by marcansoft ( 727665 ) <hector AT marcansoft DOT com> on Saturday September 05, 2009 @03:25PM (#29325285) Homepage
    • MP3 is an open format, just a patented one. Big difference. There are tons of MP3 implementations and they can talk to each other. And Fluendo makes a free-as-in-beer fully legal MP3 codec for Linux.
    • Some WinModems had drivers for Linux that worked decently. It varied from vendor to vendor. And you could always buy a real modem.
    • As far as I know, WiFi support for most chipsets is quite decent on Linux these days. But that's irrelevant, because you have a choice - you can buy another vendor's card, and they all interoperate with the same open WiFi specification. This is very different from the Flash issue.
    • NVidia has relatively great drivers for Linux, including multiple screens. I'm using xinerama right now and all I had to do was plug the second monitor in and open nvidia-settings to tell it how the monitors should be arranged. It was about the same, if not easier, than doing the same thing under Windows. And at least you get to pick between NVidia, Intel, or ATI

    Users have a choice with every one of those 4 examples. They do not have a choice with Flash, as there is only one vendor with a half-decent implementation and they block any potential competitors from using their specification.

  • by centuren ( 106470 ) on Saturday September 05, 2009 @03:26PM (#29325293) Homepage Journal

    X works really good for what it's designed for and I'd hate to have to live without it. That said, what I also would like is a custom version for gaming which turns down or off features not needed for gaming. Wouldn't it be nice if users could build a custom X as easy as custom kernels?

    I agree that X works well for it's designed purpose, and that said I agree that we have further need as we move beyond what it was designed to do (and into the issues we run into with a modern desktop, such as gaming).

    I find I struggle a bit with X on each new install (I like to switch around and use different Linux distros as the mood to tinker comes and goes). After working in an OSX-based development shop with Logitech MX1000s at each desk, I became spoiled on the 12 buttons (10 if you don't count the wheel's scroll up and scroll down), especially combined with Expose. The same features are available in an X desktop environment using Compiz Fusion, and as is usually the case, the Linux equivalent of Expose can be configured to do a whole lot more.

    The first issue with X is getting my mouse configured. I can get all mouse buttons to work, but I usually find myself searching and coming to the xbindkeys method after making minor changes to X's config file. I never remember just what I did to get it working the last time, and have to play around for a while to first figure out what the buttons are, and have to resort to assigning key bindings to them (which I also do for some of them in OSX, as something like ctrl-alt-right and ctrl-alt-left get the job done for switching desktops since I already have that shortcut in place).

    There are desktop-environment specific issues (Compiz refusing to take a click to toggle all windows, for example, instead required the button be held down), but the main annoyance was the bindings not being captured by video games (WoW was the game at the time). WoW ran great on my Linux system, but to use my mouse properly (which was important for in-game macros), I had to exit X, swap the .xinitrc files, and start up my "WoW-configured" X, which launched the game and allowed me to use my mouse bindings without anything else competing for them. I didn't get around to including ventrillo into that setup.

    Now these are two different things:

    1) It's been a major pain to set up my fancy-pants mouse to be fully recognised in X.

    2) Once set up, there are conflicts between the non-X desktop environments that use the bindings and any applications launched.

    The first could be made easier, but as the mouse is supported by evidence of me getting it working, repeating the process each time is no one's fault but my own. If it's a serious enough complaint I should even write a tool to do the configuration. I suspect that it would be useful to some, but not all, due to the main issue seen in #2.

    There seems to be structural functionality lacking in X that applications can use to share resources, such as input devices. I don't expect X to have been designed expecting a KDE / Compiz Fusion environment to compete with WoW running from Wine, and the last thing I'd like to see is X development push entirely in that direction, since obviously we still need it's server/network features without bloating it with features that won't be used in most cases where those are needed. Still, I'd like the option for universal recognition of mouse buttons beyond the 3+scroll model in all applications that use X, with rules about which applications one wants to take the input. Perhaps that's a window manager issue, but with so many window managers out there, it seems like there should be a solid framework written into X that provides a standard way for the different desktop environments to handle such things.

  • Re:Obligatory XKCD (Score:3, Interesting)

    by TheSunborn ( 68004 ) <mtilsted.gmail@com> on Saturday September 05, 2009 @03:30PM (#29325325)

    Not anymore. (From http://en.wikipedia.org/wiki/Adobe_Flash [wikipedia.org])

    In May 2008, Adobe launched the Open Screen Project (Adobe link), which made the SWF specification available without restrictions. Previously, developers couldn't use the specification for making SWF-compatible players, but only for making SWF-exporting authoring software. The specification remains incomplete, however, as it does not include any details regarding RTMP or Sorenson Spark,[27] both of which are widely used to distribute video through Flash.

    So the only missing piece is the video encoding and that can be handled by mplayer already.

  • Re:Obligatory XKCD (Score:3, Interesting)

    by Blakey Rat ( 99501 ) on Saturday September 05, 2009 @08:26PM (#29327681)

    As an ex-Mac user, and a video game fan, the rule is that the Mac version of the number 1 game usually comes out about 3 months after everybody else has already gotten sick of playing it to death.

  • by dbIII ( 701233 ) on Saturday September 05, 2009 @09:01PM (#29327913)
    You just don't know what X can do. As an example, I have a router that can only be configured from the office (as it should). This morning one of the links was down. I logged into my work machine from home, opened a web browser there which appeared on my home computer screen, went to the page for the router configuration and fixed it with a few clicks. Now while VNC or remote desktop could do that it is slower and harder to use than just having the application you want appear on the screen you want as if it was running on the local machine. That's just the window you want and not an entire desktop full of what is really irrelevant crap to what you want now. That is what X gives you above everything else - and yes, I do use X on to of MS Windows as well on occasion.
    Now if you look at the aspects of it to just put pixels on the screen from things running locally it performs just as well as other display methods (eg. nvidia drivers on X vs nvidia drivers on XP - same performance). If you can think of real examples instead of dredging up the stuff from the people that were complaining about how they didn't need this slow GUI thing when text was fast from twenty years ago then please share. If the stuff running on top (eg. gnome) is slow then you ditch that for something that isn't.
  • Re:Obligatory XKCD (Score:3, Interesting)

    by abigor ( 540274 ) on Sunday September 06, 2009 @01:45AM (#29329275)

    You're sure about that?

    http://koji.fedoraproject.org/koji/buildinfo?buildID=126369 [fedoraproject.org]

    * Fri Aug 07 2009 Kristian HÃgsberg - 2.8.0-4
    - Add dri2-page-flip.patch to enable full screen pageflipping.
        Fixes XKCD #619.

"Money is the root of all money." -- the moving finger

Working...