Slashdot Mirror


Kernel 2.6.31 To Speed Up Linux Desktop

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!"

11 of 360 comments (clear)

  1. Re:Obligatory XKCD by marcansoft · · Score: 4, Insightful

    Whichever way you put it, the fact that this "basic thing that everyone else takes for granted" doesn't work is is Adobe's fault, not the Linux community's fault. It would have made a lot more sense if the complaint were about some actual bug in Linux distros, not a problem with a historically shoddy proprietary plugin.

  2. Re:Obligatory XKCD by ScytheBlade1 · · Score: 4, Insightful

    It may seem to imply that, but that isn't the goal. The goal of that comic is to show the difference between linux gurus who can rebuild their kernel six times a day and get it right every time, and "your average XP --> Ubuntu switcher."

    I'm a guy who took gentoo and rebuilt it in my home directory about fifty times with a set of scripts I developed, getting smaller and more specific every time until I could write it to a CF card and drop it in my embedded router that runs at 33MHz, and still run/startup faster than your average home router.

    I have a friend who uses Kubuntu (which really is a terrible KDE distro) who is definitely more adept in linux than your average switcher, but he doesn't spend his time memorizing internals or rebuilding kernels either.

    To me, I can see that comic and go "neat, that's a lot of CPUs" along with pegging Adobe for being a problem: "yeah, adobe sucks at cross platform." My friend goes "neat, that's a lot of CPUs" and "yeah linux is terrible in that area."
    Both pairs of statements are true. (And don't call me on the technicality that "linux is terrible in that area." Quit being hyperliteral; that's my entire point!)

  3. Re:Been using .31, and I'm a fan. by HangingChad · · Score: 4, Insightful

    The kernel team is doing a pretty awesome job of speeding things up. Kudos.

    Seconded. It also says good things about the state of the kernel and development team that they can focus on optimization and the user experience. It wasn't that long ago the focus was on getting wireless to work. We've come such a long way. Very impressive. Well done.

    --
    That's our life, the big wheel of shit. - The Fat Man, Blue Tango Salvage
  4. Re:We just need an alternative to X by the+linux+geek · · Score: 4, Insightful

    I would love to see somebody tell me what's wrong with X without referencing the UNIX Haters Handbook or anything else more than ten years old. I've been using it for a LONG time, in various proprietary and open-source incarnations, and it's come a long way. Xorg generally even works without an xorg.conf these days, and no other windowing system comes close to X's networking/remote-access features.

  5. Re:We just need an alternative to X by impaledsunset · · Score: 4, Insightful

    I disagree. Do you have any reason why you want to get rid of X?

    X's code base is ugly at places, and writing pure-X11 applications isn't the most fun thing in the world, but I can't think of (m)any shortcomings that lead to any trouble in real world usage that can't be fixed. Also, X has to offer a lot of things that any new thing wouldn't have. You might not use many of the features you get for free with X, but some of us do. X's architecture can be seen as a shortcoming, but it's also an advantage in many situation. Remote X for example is a great thing.

    The biggest problem is all the applications that are currently written for X. You can't rewrite everything, and it is not even worth it. Really. X is working fine, and it's getting better. The same goes for the drivers, and everything that's already in.

    And if Google Chrome OS's windowing system doesn't support the X protocol, I can assure you I won't be using it.

  6. Re:Obligatory XKCD by MPAB · · Score: 4, Insightful

    The comic didn't imply the kernel. Purists that wash their hands while saying "Linux is just a kernel, not my fault if it cannot (run x, recognize y or perform z)" are the target of this comic which tries to explain why linux (as a whole OS-and-software alternative) is not ready for the desktop.

  7. Re:Obligatory XKCD by reub2000 · · Score: 5, Insightful

    What's broken here is that a completely closed off format has become standard on the internet.

  8. Re:Obligatory XKCD by centuren · · Score: 4, Insightful

    ScytheBlade1 is right:

    The comic didn't imply the kernel. Purists that wash their hands while saying "Linux is just a kernel, not my fault if it cannot (run x, recognize y or perform z)" are the target of this comic which tries to explain why linux (as a whole OS-and-software alternative) is not ready for the desktop.

    Indeed, the xkcd in question (a link to the page, not the image) doesn't hang on technical accuracy. It's absolutely a commentary on issues with the "Linux Desktop", with developers putting a relatively rare server concern such as support for thousands of CPUs ahead of something that pretty much every PC user expects to have (the ability to watch Hulu smoothly).

    To nit-pick, however, the comic does seem to imply the kernel. In the alt-text you find:

    "I hear many of you finally have smooth Flash support, but me and my Intel card are still waiting on a kernel patch somewhere in the pipeline before we can watch Jon Stewart smoothly."

    The author is waiting on a Linux kernel patch to fix the Flash issues he has with his Intel card.

    That's one of the more annoying XKCDs as far as I'm concerned. It seems to imply that the full-screen Flash video woes are somehow the kernel's fault. I used to like XKCD, but it seems to be getting dumber and dumber each day.

    When Markansoft says the above, it's clear that he prizes technical accuracy in the comic enough to forgo appreciation of the general point of humour. However, is the comic's implication really wrong? I don't know much about how Flash works with hardware, or if it requires any specific support for a chipset. The author seems pretty sure he needs a patch for his hardware set up before he can get the same quality of Flash performance already enjoyed by other Linux users. That certainly doesn't remove Adobe and their cross-platform unfriendliness from the situation, but Linux distros are made from work arounds, and the comic's target is the priorities of developers, not Adobe's open source policies.

  9. Re:We just need an alternative to X by QuoteMstr · · Score: 5, Insightful

    I would like to hear from anyone who disagrees.

    Troll. But I'll bite.

    X11 is a whipping boy for anyone who's ever had a complaint about a Unix GUI. No matter whether it's a badly-designed application, an unstable driver, or poor kernel scheduling, or a deranged toolkit drag-and-drop model, people always fault X11. And no matter what the root cause of the problem, the solution is always to throw out the X protocol and design something else. People like you fail to account for the possibility that there's actually very little wrong with X, and that it can certainly be the basis for a modern, functional GUI.

    There was a very interesting comment on Slashdot a few years ago by Mike Paquette (who wrote Apple's Quartz) explaining why Apple didn't use X11 for OS X. The funny thing, in retrospect, is that every single feature mentioned in Paquette's post has now been implemented for X11, and that's with volunteer work. If Apple had invested resources into making this happen for X instead of reinventing the wheel, everyone would have been better off. Yet despite these additional features, we still retain full network transparency along with full compatibility stretching back to the 80s.

    Don't confuse "newer" and "better". X11's architecture is quite good, and is among one of the better designs for a windowing system ever created. It's clean, extensible, fast, and network-transparent. It defines mechanism, not policy, and does its job extremely well. That it's been extended to support all kinds of modern features is a testament to the strength of its original design.

    If it weren't for the soul-crushing stupidity, it'd be hilarious that people claim X is slow. X ran quickly on computers with 1/000 the performance of even a modest desktop system today, but it's slow on these modern computers? That makes no sense. People claim that X's network transparency puts it at a performance disadvantage, but neglect that Unix Sockets, used for local communication, are among the faster IPC mechanisms in existence. Criticism of X as a platform is baseless.

  10. Re:Obligatory XKCD by causality · · Score: 4, Insightful

    I wish there were a Greasemonkey script for Slashdot that would remove from visibility any and all posts containing "XKCD". That way my view of the discussion would look like no such posts existed. While I'd love to endlessly debate the intended message of a guy who draws stick figure comics, it really doesn't have much to do with the latest improvements to the Linux kernel other than mentioning the words. That, and I just don't find XKCD to be endlessly interesting the way a lot of folks here do. It doesn't help that most of the ones mentioned here are quite stereotypical (like the whole "geeks care about things that average users don't, whodathunkit?!" theme). Even if I did find XKCD to be endlessly interesting, I wouldn't bring it up at every possible opportunity. Now go ahead and flame me because I don't think your trendy (around here, anyway) comic is all that clever.

    --
    It is a miracle that curiosity survives formal education. - Einstein
  11. Re:Obligatory XKCD by jmorris42 · · Score: 5, Insightful

    > As someone who uses Windows but has an open mind, I don't care who is at fault.

    Fair enough on one level but totally unfair on the one that matters here. If the criticism of the Linux community is they concentrate their effort on things that mortals care little for this one doesn't work since the performance of Flash Player is entirely out of their hands.

    Flash sucks everywhere, just to varying degrees depending on platform. Go watch the fun in the netbook space as the Intel Atom is being unfairly blamed by clueless pundits for the inability of netbooks with the newer 1280x720 and 1388x768 displays to play full screen Flash video (on Windows XP btw.). We nerds on slashdot know better of course, the problem is Adobe being mindless idiots who can't figure out how to properly use a scaled video surface.

    I'd like some green group to calculate how many YouTube videos have been played and how many GigaWatt Hours of electricity have been wasted on software colorspace conversion and scaling because Adobe can't figure out how to use well documented and commonly available features on every video card made in the last fifteen years.

    --
    Democrat delenda est