Slashdot Mirror


The ~200 Line Linux Kernel Patch That Does Wonders

An anonymous reader writes "There is a relatively miniscule patch to the Linux kernel scheduler being queued up for Linux 2.6.38 that is proving to have dramatic results for those multi-tasking on the desktop. Phoronix is reporting the ~200 line Linux kernel patch that does wonders with before and after videos demonstrating the much-improved responsiveness and interactivity of the Linux desktop. While compiling the Linux kernel with 64 parallel jobs, 1080p video playback was still smooth, windows could be moved fluidly, and there was not nearly as much of a slowdown compared to when this patch was applied. Linus Torvalds has shared his thoughts on this patch: So I think this is firmly one of those 'real improvement' patches. Good job. Group scheduling goes from 'useful for some specific server loads' to 'that's a killer feature.'"

603 comments

  1. Compiling the kernel by suso · · Score: 2, Funny

    Compiling the kernel isn't a useful benchmark. How well does it deal with running Adobe Air?

    1. Re:Compiling the kernel by spiffmastercow · · Score: 3, Funny

      Obviously you're not running Gentoo.

    2. Re:Compiling the kernel by suso · · Score: 5, Funny

      I used to. For 3 years. But I wanted my time back.

    3. Re:Compiling the kernel by fuzzyfuzzyfungus · · Score: 5, Informative

      They aren't compiling the kernel to see how long it will take(which, as you say, is rarely of all that much interest, few people do it and a fast build-box isn't going to break the budget of a serious project), they are using a multithreaded kernel compilation as an easy way to generate lots of non-interactive system load to see how much that degrades the performance, actual and perceived, of the various interactive tasks of interest to the desktop user.

      This isn't about improving performance of any one specific program; but about making a reasonably heavily-loaded system much more pleasant to use. Compiling the kernel is just a trivial way to generate a large amount of non-interactive CPU load and a bit of disk thrashing...

    4. Re:Compiling the kernel by laffer1 · · Score: 4, Interesting

      Compiling the kernel doesn't prove true userspace improvements, but it does show an improvement with scheduling.

      I see. It creates "groups" based on the tty and then tries to even out the CPU utilization between groups. This helps if there is a crazy background process eating up CPU and it might even help control flash crushing system performance a bit.

    5. Re:Compiling the kernel by Anonymous Coward · · Score: 0

      obviously you're not a golfer

    6. Re:Compiling the kernel by ArsenneLupin · · Score: 2, Interesting

      It creates "groups" based on the tty and then tries to even out the CPU utilization between groups.

      Works fine if there are groups than can be distinguished by tty (such as the kernel compilation which has one, versus most interactive apps, which don't, or have a different one).

      But it won't necessarily work if the task creating the load is also a ttyless GUI task (such as programs such as dvdstyler)

    7. Re:Compiling the kernel by arivanov · · Score: 4, Insightful

      The answer is very very very badly.

      This is a "NERD Feature" patch which does very little to the improve the way Joe Average Luser uses his desktop. In fact it leads to some seriously goofy allocation artefacts.

      What it does (if I read it right) is that it puts all processes with the same controlling TTY into the same group. Well, anything launched in X has no controlling TTY. So it all gets lumped into one group. Now you open a xterm and you launch something from there. Miracle, halleluyah, that actually got into a separate schedule group which can now hog a CPU while the rest of apps will fight for the other one on a two core machine. So what am I supposed to do? Start every one of my X applications from a different Xterm so they have a different controlling TTY (and do not close any of them)?

      Screw that for laughs.

      Process grouping is too difficult to be done based on such simplistic criteria. It is best to provider an interface through which a user can group all of the processes with his UID and leave the Desktop environment do the grouping. Or put something on the dbus which listens and follows who talks to whom to do the same. This will provide much better results than putting yet another simplistic euristic in the kernel.

      --
      Baker's Law: Misery no longer loves company. Nowadays it insists on it
      http://www.sigsegv.cx/
    8. Re:Compiling the kernel by Albanach · · Score: 5, Funny

      I used to. For 3 years.

      Wow, I think my K6 pentium clone could compile the kernel faster than that!

    9. Re:Compiling the kernel by suso · · Score: 1

      So what am I supposed to do? Start every one of my X applications from a different Xterm so they have a different controlling TTY (and do not close any of them)?

      Screw that for laughs.

      Don't you use twm?

    10. Re:Compiling the kernel by MBGMorden · · Score: 0, Redundant

      Of course not. It's not finished compiling yet . . .

      --
      "People who think they know everything are very annoying to those of us who do."-Mark Twain
    11. Re:Compiling the kernel by digitalhermit · · Score: 2, Informative

      I know exactly what the problem is. Try passing different elevator options to the kernel at boot time. It helps with clock skew on virtual environments.

    12. Re:Compiling the kernel by Runaway1956 · · Score: 1

      What the other guys have all said. Compiling the kernel wasn't MEANT to be any kind of a benchmark. The idea is to load the system - notice that they were also playing back a movie WHILE compiling, and they were still able to do meaningful work with yet more windows. Basically, we're talking about the sort of improvement that one used to see when he upgraded from insufficient memory to enough memory to do all the work he requires to be done. Multi-tasking. My machines all run BOINC, full time. Thanks to rather poor scheduling, I find myself waiting for the system, sometimes. This patch should solve that little problem. Make full use of the cores, make full use of all the CPU cycles, but ensure that the system is RESPONSIVE!!!

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    13. Re:Compiling the kernel by visualight · · Score: 1

      I'm right with you after reading this, it does seem too simplistic and intuitively I think it would 'get it wrong' too often. But the people who have actually tested this patch seem to love it so I'm going to reserve judgment until I've experienced this myself.

      If what you say is true, that I would need to start every task from a shell and keep it open, I think I could manage that very well with yakuake.

      --
      Samsung took back my unlocked bootloader because Google wants me to rent movies. They're both evil.
    14. Re:Compiling the kernel by morgan_greywolf · · Score: 5, Informative

      Yep. For those that haven't tried it without the patch, a multithreaded kernel compile will typically peg a modern multicore CPU at 100% and will even give you drunken mouse syndrome. Just being able to scroll around a browser window while doing a lengthy make -j64 is impressive. Being able to watch 1080p video smoothly is ... astounding. Especially when you consider the minimum CPU requirement for 1080p H.264 playback is a 3 GHz single core or a 2 GHz dual core.

       

    15. Re:Compiling the kernel by Inda · · Score: 5, Funny

      If it takes less than 3 years, you're doing it wrong.

      --
      This post contains benzene, nitrosamines, formaldehyde and hydrogen cyanide.
    16. Re:Compiling the kernel by Crudely_Indecent · · Score: 1

      You should've automated the updates and set up distcc. Have your power and time too.

      --


      "Lame" - Galaxar
    17. Re:Compiling the kernel by ArsenneLupin · · Score: 2, Informative
      Maybe this could be improved upon by grouping process by process group (setpgrp), and have the window manager set the pgrp (a different one) for each new app it launches?

      Or better: use a combined key of both tty and pgrp , so that we already see a benefit right now for the compilation example, and benefits later for all other cases (when window manager will start doing this, if they don't already)

      This will still leave the "firefox with many facebook tabs open slows down webmail within firefox" case though, but maybe that case could be solved by taking a baseball bat to Mark Zuckerberg's head :-)

    18. Re:Compiling the kernel by ArsenneLupin · · Score: 1

      If what you say is true, that I would need to start every task from a shell and keep it open

      Only those tasks that are reaonably likely to become performance hogs... (dvdstyler, kvm, ...).

      Btw, many "desktop slows down to a crawl"-scenarios are actually not due to CPU hogs, but rather to IO- or memory hogs. Does the patch address these too?

    19. Re:Compiling the kernel by Greyfox · · Score: 2, Funny

      Ahh you kids with your "I don't care how fast the kernel compiles!" Back in my day it used to take overnight on a 386SX/16 with a whopping 4MB of RAM! And that was AFTER spending hours downloading it across our 1200kbps modems! That connected to PHONE lines! And we LIKED it that way! Well... We really didn't. At some point the kernel source grew to over 10 mb (Remember when we predicted that it doing so would kill the Internet?) and started taking less than 10 minutes or so to compile, and the internet is still not dead! Anyway my point was I was wearing an onion in my belt, as was the fashion back in the day. Get off my lawn you damn kids!

      --

      I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

    20. Re:Compiling the kernel by Anonymous Coward · · Score: 0

      Thousands have had ideas and theories for a better way to handle scheduling on a user workstation over the last ten years. Your opinion and reasons are no different and have been mentioned and discussed MANY times. What makes this method different from yours is I can compile this idea and use it. Where is yours?

    21. Re:Compiling the kernel by Anonymous Coward · · Score: 0

      Yeah. And if you read it right, you also know who proposed the idea.

    22. Re:Compiling the kernel by Anonymous Coward · · Score: 5, Funny

      recompile the Gentoo kernel using --mph=88

    23. Re:Compiling the kernel by morgan_greywolf · · Score: 1

      You could always use gdmflexiserver, which runs a new X session on a new TTY.

    24. Re:Compiling the kernel by ArsenneLupin · · Score: 1

      But what if I prefer my existing window system (KDE, Gnome, ...).
      Better just start the occasional CPU hog from the konsole and be done with it.

    25. Re:Compiling the kernel by xda · · Score: 1

      Simpsons did it

    26. Re:Compiling the kernel by morgan_greywolf · · Score: 5, Insightful

      1) There are no 1200 kbps dialup modems. The fastest ones do 56 Kbps under specialized conditions.

      2) If you meant to say 1200 bps modems, well, by the Linus wrote and released the first versions of the Linux kernel, 1200 bps modems and the 386SX were both well obsolete. The most common systems of that day were 486DXs running at 33 MHz at the sweet spot and 50 MHz at the high end. Most people had modems capable of greater than 9600 BPS (many around 14.4Kbps and 28.8Kbps)

      3) Now quit making fun of us real old-timers and get off my lawn .

    27. Re:Compiling the kernel by morgan_greywolf · · Score: 1

      Does this work with PTYs?

    28. Re:Compiling the kernel by h00manist · · Score: 2, Insightful

      Indeed everyone that asks me about migrating to Linux is asking about "can I run xyz programs". The answer to that question is generally what matters most. It's not an easy question, there are no easy answers to it, but it's the most relevant.

      --
      Build your own energy sources from scratch. http://otherpower.com/
    29. Re:Compiling the kernel by TheLink · · Score: 1

      Run a separate instance of firefox for facebook? Might even be a good idea to launch it as a separate user, so if you get pwned on facebook it doesn't affect your email, or your banking etc.

      --
    30. Re:Compiling the kernel by ArsenneLupin · · Score: 4, Informative
      Even a pty has a tty name associated with it, and which tags all processes run from it, and that is all that is needed in this case.

      So no, it doesn't have to be a physical RS232 serial line like in the seventies :-)

    31. Re:Compiling the kernel by rtb61 · · Score: 1

      Fast compile times, now will that bring joy to wage slave coders or really piss them off. Gone will be compile coffee breaks, the extended internet 'er' research periods and, for those few remaining nicotine addicts, the extended smoke break. A much enjoyed era in computers coming to an end.

      --
      Chaos - everything, everywhere, everywhen
    32. Re:Compiling the kernel by Joey+Vegetables · · Score: 3, Insightful

      Only 3 years? How can you call that a fair chance? It's not even enough time to compile KDE!! :) (disclaimer: mostly happy Gentoo user here, but yes, like many other worthwhile things, it can come at a cost, mainly in hopefully unattended compile time, and occasionally, if you want the latest stuff, some user/administrator time as well trying to figure out what the ebuild maintainers were smoking when they did certain things.)

    33. Re:Compiling the kernel by lethalwp · · Score: 1

      Hey! i was in that case, but later: used a 486 (i think it was DX2-66Mhz?) as router with dialup, when it wasn't connected it acted as a BBS

      So it was not "on demand" internet, but still ppp connection, with a 14k4 modem (got one of those to replace a 2400bauds, that was a real pita =) )

      Anyway, i didn't know enough of linux those days, and thought it was required to recompile the kernel (iirc it was a redhat 5), to enable the gateway/routing feature.

      All i can say: after 24H of compile, you notice you forgot some option
      and there you go again for another 24H....

      Now i've grown up & live with a standard kernel, only compile it when really needed for debugging purposes or so

    34. Re:Compiling the kernel by TheRaven64 · · Score: 4, Informative

      Linux has had I/O scheduling for a long time, which ought to address this. In practice, I/O scheduling is actually very hard to get right for nontrivial use cases, so your milage may vary. The real problem is identifying the programs that are 'important' (for some value of important). Windows has (had?) a simple heuristic, where the program with the currently active window got a scheduling boost, but this was problematic when you were running Word in the foreground and Windows Media Player in the background - Word's background spell check would get priority over WMP's video decoder. FreeBSD's ULE scheduler tries to prioritise processes that spend a lot of time blocking for I/O, but again this doesn't help with things like H.264 playback which use lots of CPU, lots of I/O, and really don't want to drop frames.

      --
      I am TheRaven on Soylent News
    35. Re:Compiling the kernel by HermMunster · · Score: 1

      Did you read the article there? They explain everything that was happening (which included compiling the kernel). Look at everything else that was going on and you'll understand.

      I figured before reading the comments having watched the videos first and reading the article that there would be a number of people here that didn't actually understand what was happening.

      This is a major if not extreme load on the system. Videos and other program execution performance has always been better than Windows boxes in Linux. That's a major benefit of it. Sure, flash videos were/are problematic but that's flash, not video under Linux.

      I wonder how long it will be before these get into the repos for the favorite distros.

      --
      You can lead a man with reason but you can't make him think.
    36. Re:Compiling the kernel by tom17 · · Score: 1

      That's fine & dandy, until packages start breaking on you all of a sudden. This happened to me with Apache years ago. The problem? I wasn't reading all the update readme files, I should have known better than to upgrade it!

    37. Re:Compiling the kernel by HermMunster · · Score: 1

      We all, young and old, knew what he was talking about.

      --
      You can lead a man with reason but you can't make him think.
    38. Re:Compiling the kernel by Zider · · Score: 1

      You forgot --omg-optimize

    39. Re:Compiling the kernel by Anonymous Coward · · Score: 2, Funny

      Wow, I bet everything but Flash is fast and smooth as silk.

      But won't 200 lines cause a nosebleed?

    40. Re:Compiling the kernel by BrokenHalo · · Score: 1

      Heh. Now that is pretty nearly the fugliest windowing system I have ever used. But it's still useful from time to time, if only for debuggery...

    41. Re:Compiling the kernel by autocracy · · Score: 1

      You know, back in the pre-Gentoo days I discovered Linux From Scratch. I compiled EVERY bit (literally) of executable code from tarballs. KDE took 24 hours on my 400Mhz box.

      --
      SIG: HUP
    42. Re:Compiling the kernel by kefler · · Score: 1

      I agree. The GP was not accurate.

      I recall visiting an older friend in college in 1994. We both had TI DLC486-40 CPU's at the time, and he was compiling this new thing called "lie-nucks" and it scrolled some messages on the screen. I ran a BBS then under DOS 5, and I believe I had a "softmodem" card that theoretically could do 33.6Kbps but I never saw better than 28.8 and that was only a few times with my crappy phonelines.

    43. Re:Compiling the kernel by gknoy · · Score: 1

      Or you're not installing Gentoo ...

    44. Re:Compiling the kernel by Anonymous Coward · · Score: 1, Informative

      If you meant to say 1200 bps modems

      Well, if we're going to be really pedantic old-timers, we called it "1200 baud" in those days. ;)

    45. Re:Compiling the kernel by OneAhead · · Score: 1

      Uh... in what way is parent a troll? Is Flash held in such high respect that one cannot poke fun at its slowness? Or is someone simply not getting the "lines" joke?

    46. Re:Compiling the kernel by OneAhead · · Score: 2, Informative

      OK, I'll bite.
      http://en.wikipedia.org/wiki/AMD_K6
      "The AMD K6 is based on the Nx686 microprocessor that NexGen was designing when it was acquired by AMD. Despite the name implying a design evolving from the K5, it is in fact a totally different design that was created by the NexGen team"

      Also, it was more than competitive with the Intel processors of its time.
      http://www.tomshardware.com/reviews/intel,22-10.html
      The K6 was a turning point in the x86 wars, after which AMD slowly started taking the performance lead away from Intel with the Athlon, Athlon XP and Athlon 64, the latter having total dominance over Intel's competing Pentium 4.

      For the record (and to avoid starting a flame war), the Core2 was the turning point where Intel started coming back, and Intel is currently firmly holding the performance lead with the Core i7.

    47. Re:Compiling the kernel by Joey+Vegetables · · Score: 1

      I considered that (LFS) as well and would love to try it sometime. What I like about Gentoo is that, for the most part, I can keep the system up to date with relatively little effort, while still retaining most of the advantages of compiling from source. It's kind of like an automated LFS.

    48. Re:Compiling the kernel by godrik · · Score: 1

      "But it won't necessarily work if the task creating the load is also a ttyless GUI task (such as programs such as dvdstyler)"

      well a terminal as a tty. You could set up the window manager to start each application through an hidden terminal so that it belongs to an other tty and got group scheduled.

    49. Re:Compiling the kernel by strokerace · · Score: 1

      I'm afraid to try this out. It might just work.

    50. Re:Compiling the kernel by numbski · · Score: 1

      You could just work less. :)

      http://www.timeday.org/

      --

      Karma: Chameleon (mostly due to the fact that you come and go).

    51. Re:Compiling the kernel by eln · · Score: 3, Informative

      Not all of us had money to keep upgrading our equipment. I was running on a 2400 baud modem until 1995. Of course, I installed Linux on my home box in those days by downloading Slackware to a ton of 3.5" floppy disks at the computer lab at the local university and bringing them all home. If one of the floppies was corrupted, I had to wait until the next day to go back and re-download and copy it.

      I also had to walk 10 miles, in the snow. Uphill both ways.

    52. Re:Compiling the kernel by autocracy · · Score: 1

      LFS is rather impractical for almost everything, but when it comes to learning.... nothing better.

      --
      SIG: HUP
    53. Re:Compiling the kernel by swillden · · Score: 1

      So what am I supposed to do? Start every one of my X applications from a different Xterm so they have a different controlling TTY (and do not close any of them)?

      Umm, no, that would effectively place every program in a different group, which is the same as not having any grouping.

      The point of this patch is to group related processes together and schedule them as a unit, rather than individually, effectively putting the whole set on an even footing with other individual processes with regard to scheduling fairness. That way a single very aggressive group can't starve the rest of the processes on the system.

      You're right that to some degree this is a nerd feature, since it won't address situations of low responsiveness that "normal" desktop users might suffer -- but those situations aren't caused by a group of aggressively CPU-hungry processes. Generally they're I/O-related. But for people who do the sorts of things this patch addresses, it's a valuable improvement, and it's unlikely to have any negative effects for those who don't.

      It is best to provider an interface through which a user can group all of the processes with his UID and leave the Desktop environment do the grouping. Or put something on the dbus which listens and follows who talks to whom to do the same. This will provide much better results than putting yet another simplistic heuristic in the kernel.

      Maybe. It's not clear to me how grouping will help in general for desktop usage. Desktop usage tends to be a bunch of single-process programs which all need to be scheduled individually, and fairly, with preference given to interactive processes. I think perhaps something like Con Kolivas' BFS might be a better approach for the desktop, and BFS doesn't have the concept of groups at all. I wonder if BFS couldn't be improved by finding a way to identify and boost interactive tasks, rather than rigid fairness, but perhaps CK is right about focusing on rigid fairness in the scheduler, and we should then have the desktop environment automatically manage nice levels, moving the question of scheduling entirely out of the kernel.

      However, I don't see how the DE could usefully make use of grouping. Perhaps as our desktop applications move more to multi-threaded implementations to take advantage of the exploding number of processor cores we will want the DE to automatically group the processes within a single program -- effectively extending the TTY-based grouping notion to pure GUI apps. But I really don't think enough applications are multi-threaded enough yet that we'll see significant benefit from that in the short term.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    54. Re:Compiling the kernel by Anonymous Coward · · Score: 0

      Only it works, and your little rant is derailed by good 'ol reality.

    55. Re:Compiling the kernel by Z00L00K · · Score: 2

      Eh? 300bps acoustic coupler using a Z80 based computer with 16k RAM and a tape recorder as secondary storage device.

      That was interesting times.

      And hacking on an ASR33 teletype with a paper roll and punch tape. Been there done that... Errors preserved permanently on the input device (paper roll). Earplugs were recommended.

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    56. Re:Compiling the kernel by Bing+Tsher+E · · Score: 1

      Not all of us obsess over appearances. twm is installed as part of the X11 distribution, and anything more is optional and a resource sink. I usually install FVWM and use that because it's got a slightly nicer config file to work with. But what you call 'fugly' I call small and function. Probably what you call 'nice looking' I call an obscene resource waste.

    57. Re:Compiling the kernel by m85476585 · · Score: 1

      Why is it astounding to be able to watch 1080p video while the system is working in the background? Isn't that how priority is supposed to work? 1080p video is interactive and realtime, so it should get a high priority, and the background tasks should get a low priority. It doesn't matter how much CPU time the video takes; the background task should just use the rest. There's no reason a pegged CPU should ever slow down something with a higher priority.

    58. Re:Compiling the kernel by Bing+Tsher+E · · Score: 0, Offtopic

      The best choice is just to never, ever, sign up for a Facebook account.

      Or if you insist on poking around in it a little, sign up for a totally fake account for a few hours. It's only interesting for that amount of time anyway.

    59. Re:Compiling the kernel by Z00L00K · · Score: 2, Informative

      To continue:

      Baud != bps.

      Baud is modulation changes per second, and in each modulation change there may be a representation of one or more bits which means that the modem may be 1200 baud but you got 9600 bps out of it due to the modulation (phase and amplitude of tone)

      And the old Telebit Trailblazer modems with PEP protocol - they were fantastic in crappy conditions. Multi-carrier technology so that even if there were interference at least a few got through anyway and the only effect was that the bandwidth was quenched. Things to do datacom over barbed wire with! :)

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    60. Re:Compiling the kernel by Anonymous Coward · · Score: 0

      Us REAL old timers were sharing UNIX sources using tapes and snailmail way long before you youngsters started this 'lunix' fad..

    61. Re:Compiling the kernel by halltk1983 · · Score: 1

      I would bet that once this becomes more widespread, Gnome and KDE at least will begin assigning TTY groups to applications, as now doing so has a purpose.

      --
      Watch for Penguins, they eat Apples and throw rocks at Windows.
    62. Re:Compiling the kernel by yuhong · · Score: 1

      If I had mod points, I would mod this off-topic, because it is.

    63. Re:Compiling the kernel by psyclone · · Score: 2, Interesting

      Whatever happened to "nice-ing" processes? Couldn't the menu icon that launches VLC or mplayer or whatever re-nice itself a few negative steps?

    64. Re:Compiling the kernel by Anonymous Coward · · Score: 0

      When I was your age I had to compile my kernel in the snow, up hill, both ways. I did a lot of chores so I could earn a nickle and pay for my dial up access.

      Now, get off my lawn. :)

    65. Re:Compiling the kernel by TheRaven64 · · Score: 1

      Not easily. Nice can lower the priority of a process. It can only raise the priority of a process if it is run with superuser privilege. I suppose the launcher could nice -5 everything except VLC, but that wouldn't really help much. And the interaction between nice and the I/O scheduler is not particularly well defined.

      --
      I am TheRaven on Soylent News
    66. Re:Compiling the kernel by Tetsujin · · Score: 1

      Compiling the kernel doesn't prove true userspace improvements, but it does show an improvement with scheduling.

      I see. It creates "groups" based on the tty and then tries to even out the CPU utilization between groups. This helps if there is a crazy background process eating up CPU and it might even help control flash crushing system performance a bit.

      So basically the improvement here is coming from the fact that the whole make -j64 is being run under one TTY, and hence under one process group. The whole question of what process groups, if any, the windowed programs are in is pretty much incidental in this case, right?

      --
      Bow-ties are cool.
    67. Re:Compiling the kernel by sjames · · Score: 1

      Of course downloading all those SLS floppy images at 14.4 from a BBS took a few nights...

    68. Re:Compiling the kernel by Anonymous Coward · · Score: 0

      Some of us actually want more function than twm provides. Luckily, even extremely slim customizable window managers look better than twm. XMonad is a nice example.

    69. Re:Compiling the kernel by sheehaje · · Score: 1

      Hahahahah, kids...

      I ran a BBS on a 300 baud modem that didn't have auto answer. I had to hit the damn button every time the phone rang. My first BBS was also on tape (yes tape), and I had to rewind it after each caller was finished so it could reload the session for the next caller.

      Hmmm... What was my point? Oh yeah, I had absolutely no life as a kid.

      You can all come over to my lawn, but you probably wouldn't want to, or you will hear more depressing old timer crap like this.

    70. Re:Compiling the kernel by Kehvarl · · Score: 1

      You won't benefit from --mph=88 unless you add 'fluxcapacitor' and 'plutonium' or 'mrfusion' to your USE in make.conf

    71. Re:Compiling the kernel by CAIMLAS · · Score: 3, Interesting

      I remember, about 8-10 years ago, how this wasn't the case. It was quite evidently better than Windows in this regard, particularly if you didn't upgrade your hardware on a 2-year cycle (eg. waiting until it died) or tried running on significantly older hardware. Performance, on the desktop, was great. 2.6 seems to have progressively nixed it.

      The first time I tried compiling a kernel, I was astounded at how I was still able to play fullscreen 600Mb encoded DVDs (can't remember what they were encoded in, but the quality was decent).

      I remember building a kernel in '99-2000 or so on a P133 with 64Mb of RAM (running Stormix). Netscape was still responsive. Switching to a different application did't really take all that long.

      These days, Linux performance on the desktop, this regard, is worse than Windows. It's a fucking travesty. Using the anticipatory scheduler helps significantly (or did, until they removed it from the kernel), but it was hardly much more than a stopgap measure.

      I am pleased as fucking punch that this is finally 'fixed'. Like, I'm giddy to the point where I doubt I'm going to get any work done today.

      Where can I download prebuilt kernels for my distro of choice? Surely someone is building them.

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    72. Re:Compiling the kernel by Anonymous Coward · · Score: 0

      1) There are no 1200 kbps dialup modems. The fastest ones do 56 Kbps under specialized conditions.

      2) If you meant to say 1200 bps modems, well, by the Linus wrote and released the first versions of the Linux kernel, 1200 bps modems and the 386SX were both well obsolete. The most common systems of that day were 486DXs running at 33 MHz at the sweet spot and 50 MHz at the high end. Most people had modems capable of greater than 9600 BPS (many around 14.4Kbps and 28.8Kbps)

      3) Now quit making fun of us real old-timers and get off my lawn .

      If you're looking to get the lingo right, I think you're looking for 1200 baud. Nobody that I knew called them "1200 bps modems" they were always "1200 baud modems". Likewise, it was "14.4k modem", "28.8k modem", and "56k modem".

      And 386SXes were still around and in use when I bought my first 486DX4-100 (fast!) w. 56k modem in 1995, though they were starting to disappear. Now, I didn't know about Linux back then (not for a year or two yet), but wikipedia puts Linux kernel version 1.0.0 at March 1994. Granted, I understand it was very primitive at that point, but if he had happened to get involved in the first two years or so after 1.0.0 was released it, it would be quite reasonable for him to try it out on the expendable machine that he just replaced with a newer 486 or pentium. Which would quite reasonably have been an old 386 with a 1200 baud modem. (And 4MB of RAM on that? Wow. Nice!)

      Now git that costume off, sonny... pretending to be an old fogey when yer a young whipper-snapper is only allowed on Halloween.

    73. Re:Compiling the kernel by CAIMLAS · · Score: 1

      Eh, he's got a fairly low UID. He joined probably sometime in '97 or '98, so assuming he was at least 15 at the time (making him 27, and at least old enough to have gotten into this stuff when he was younger), he might remember that archaic stuff, too. :)

      I think your time schedule is off, by the way. By '94 (Linux 1.2), sure, those things were around, but they were really, really expensive. More realistically, most people were still on 9600 baud and low-end 486 equipment, I'd think. (Most people I knew, were. Many still using 386s, too.)

      Starting in '95 or so, things started changing rapidly, though.

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    74. Re:Compiling the kernel by toofishes · · Score: 1

      I must have missed where you described how to tell the compile from the 1080p decode in the kernel scheduler.

    75. Re:Compiling the kernel by Crudely_Indecent · · Score: 1

      The problem is that you didn't read the documentation for the distribution. /etc/portage/package.mask - for the packages you want to protect.

      It really is fine and dandy.

      Then one day you spend a few hours with a testing server running and testing updates on the IMPORTANT packages before temporarily removing the package mask and running them on the production machines.

      If it's worth doing more than once, it's worth automating (as much as safe/possible) so I can work on personal stuff on someone elses dime.

      --


      "Lame" - Galaxar
    76. Re:Compiling the kernel by ConceptJunkie · · Score: 1

      I tried it and ended up booting BIFFOS Linux running kernel 3.8.67, copyright 2015.

      --
      You are in a maze of twisty little passages, all alike.
    77. Re:Compiling the kernel by yuhong · · Score: 1

      Don't forget the AMD 386DX-40 too.

    78. Re:Compiling the kernel by Anonymous Coward · · Score: 0

      Not entirely true. In late 1992 I had a 386DX and my friend had just gotten a new 486 (DX, I'm pretty sure) and the system cost him some $2500 (with printer, presumably). My modem was a 2400 baud, though the 9600s had been out for a while. The first Linux kernels were released in 1991. Calling the 486DX the "most common" system at this time is grossly inaccurate. The 386SX was likely the most common at the time.

    79. Re:Compiling the kernel by Anonymous Coward · · Score: 0

      gentoo is actually very easy to use and doesn't take long to get running as long as your not ricing like that. it also has all the tools needed to get hardware working where i can't count on my hands how many times the binary distro's crap their pants when i install things like the kernel sources and gcc just to get something to work.

    80. Re:Compiling the kernel by hrimhari · · Score: 1

      You should have tried rebooting... oh wait, wrong thread.

      --
      http://dilbert.com/2010-12-13
    81. Re:Compiling the kernel by Zoxed · · Score: 1

      > ...
      > I also had to walk 10 miles, in the snow. Uphill both ways.

      And you try and tell the young people of today that ..... they won't believe you.

    82. Re:Compiling the kernel by ultranova · · Score: 1

      1080p video is interactive and realtime, so it should get a high priority, and the background tasks should get a low priority. It doesn't matter how much CPU time the video takes; the background task should just use the rest.

      Except that the 1080p video isn't interactive and, unless the decoder specifically requests it, realtime. Why would it be? As far as the kernel is concerned, it's just another IO-bound job. Why should that magically result in being upgraded to a high-priority job?

      You are asking for the operating system to heuristically switch priorities of various tasks around. It's a really bad idea to put such heuristics into the kernel. However, the per-TTY heuristic does seem reasonable, so fine, let's use it.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    83. Re:Compiling the kernel by tibman · · Score: 1

      I was still using a 28.8Kbps hardware (serial port) modem in 1999 because all i could find in stores was shitty winmodems. On the plus side it was hooked up to a 2nd phoneline and ran 24/7.

      --
      http://soylentnews.org/~tibman
    84. Re:Compiling the kernel by ultranova · · Score: 1

      Fast compile times, now will that bring joy to wage slave coders or really piss them off.

      Don't worry, C++ isn't going anywhere.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    85. Re:Compiling the kernel by Anonymous Coward · · Score: 0

      1200BPS? I wished I had 1200BPS, when I was running 300BPS, acoustically coupled, both ways!

    86. Re:Compiling the kernel by Anonymous Coward · · Score: 0

      Yes. I've now tested this patch build on 2.6.37-git2 and am typing this while using blender to create an animation at 1920x1080 with full anti-aliasing, motion blur and all the bells and whistles. Before typing in this, I download a new version of blender, and copied it to the new directory (all while the old version still in memory is doing the animation). Everything is super smooth (and silky even). Nothing slows down. Nothing sputters. This is *NICE*.

    87. Re:Compiling the kernel by dgriff · · Score: 2, Insightful

      Yep. For those that haven't tried it without the patch, a multithreaded kernel compile will typically peg a modern multicore CPU at 100% and will even give you drunken mouse syndrome. Just being able to scroll around a browser window while doing a lengthy make -j64 is impressive. Being able to watch 1080p video smoothly is ... astounding.

      For an OS that has been around for nearly 20 years and has had thousands of very bright programmers poring over it, it's quite astounding that only now has someone finally figured out how to let gui-related activity have top priority.

    88. Re:Compiling the kernel by Threni · · Score: 1

      Yes, but will VLC still stutter and pause a few times during the first couple of seconds of playback of an audio file, like it always has for me on every version of Ubuntu I've ever used? Is it really so hard to just buffer it before starting to play it (assuming it's a buffering problem)?

    89. Re:Compiling the kernel by turgid · · Score: 1

      PCs were a lot more expensive in real terms in those days than they are now. You had to be pretty rich to afford a 486DX. The sort of people who would have been interested in Linux back then (i.e. university students) would have struggled to afford such a computer. A 386sx was much more affordable.

      I had a summer job at a PC dealers in 1992, and I remember setting up many 386sx machines for a large customer. I also remember that Shell had hundreds of 386sx machines running Windows 3.0. I put network cards in many of them, and installed mice.

      One customer we went to see had an IBM PC/XT with an 8088 processor and CGA! We went to install a mouse (8-bit ISA slots) but there we no free IRQs.

    90. Re:Compiling the kernel by timothy · · Score: 2, Interesting

      Wondered this myself -- a very strange bug, since playing MP3s has been a solved since the days of (IIRC) 100Mhz Pentiums :)

      I figured there was some option to prebuffer that I've never had the time to google for ... but I look forward lazily to the day when it's fixed ;)

      timothy

      --
      jrnl: http://tinyurl.com/c2l8yr / foes: http://tinyurl.com/ckjno5
    91. Re:Compiling the kernel by kwabbles · · Score: 1

      You call a 386 with a 1200 baud modem "well obsolete" in 1992? Most of us didn't start getting our 486's until 1992 or 1993. I was reading about 80502 Pentiums in late '93/early '94 oooohing and aaaahing at the growth of that monstrosity of an architecture...if you had a high end 486 there was no reason to upgrade to the 80501 anyway. The 386SX's and DX's were still everywhere. I didn't upgrade my 2400 to a 14.4k until '93. Connecting to BBS's and seeing others on with 1200 or 2400 modems was the norm. In fact, I'd say that a 386 with either a 1200 or a 2400 modem was the most common type of hardware amongst Intel users back in the very early 90's.

      --
      Just disrupt the deflector shield with a tachyon burst.
    92. Re:Compiling the kernel by Lanteran · · Score: 1

      I didn't know there was an HD video minimum requirement. I recall running 1080p videos comfortably on a P4 2.8Ghz single core. Of course, it may or may not have been 264.

      --
      "People don't want to learn linux" hasn't been a valid excuse since '03.
    93. Re:Compiling the kernel by X0563511 · · Score: 1

      ... you haven't tried starting BOINC with 'nice' have you?

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    94. Re:Compiling the kernel by jonwil · · Score: 1

      What I want to know is how this new kernel performs when you do a full Gentoo emerge update

    95. Re:Compiling the kernel by Anonymous Coward · · Score: 0

      I must have missed where you described how to tell the compile from the 1080p decode in the kernel scheduler.

      The process group whose responsiveness is most important to me is often associated with the window or terminal that has input focus.

      Solaris does a pretty good job of assigning the currect active window to a priority-boosted "interactive" scheduling class.

    96. Re:Compiling the kernel by Runaway1956 · · Score: 1

      Actually, the BOINC process uses very little CPU - or any other resources. It's the child processes that are resource hogs. They are assigned their nice priorities via the GUI interface, under preferences. Yeah, I know, a real Linux guru would do it all from the command line - but I'm not that guru, LOL Unless I'm very mistaken, it's a scheduling problem. From my point of view, it's not a real serious problem, but it does become a problem from time to time. If this patch fixes that problem, great. And, if it can become a selling point with which to lure more people into the Linux community, even better!

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    97. Re:Compiling the kernel by LingNoi · · Score: 1

      So you're comparing playing DVDs with compiling to playing HD content while compiling and wondering why performance is so bad?

    98. Re:Compiling the kernel by LingNoi · · Score: 1

      I didn't realise that windows 95 could compile the linux kernel while playing HD video at the same time with no slow downs. Thanks for your insightful comment.

    99. Re:Compiling the kernel by kainosnous · · Score: 1

      What do you mean? Gentoo is so much faster than Linux From Scratch, or so I've been told. I still don't have the CD burner working in LFS yet.

      --
      There are 10 commandments: 01)Thou shalt love the Lord Thy God 10)Thou shalt love thy neighbour as thyself.Matt22:34-40
    100. Re:Compiling the kernel by Anonymous Coward · · Score: 0

      Baud != bps.

      True. Although for 300 bps and below, Baud == bps. And anyway lots of people were not careful about the terminology; it is correct to say "300 Baud modem" and they would then just say "2400 Baud modem" even though it was technically correct to say "2400 bps modem".

      And! You used to have to transfer files with a protocol like XMODEM. The truly sucky thing about XMODEM was that if you lost your connection, it would have to start all over again. ZMODEM was so much better. If it took half an hour to download a file, and you got a fatal line error on average once every 20 minutes, ZMODEM would let you get the file in slightly over half an hour, while XMODEM would never let you get the file done ever.

      I don't feel all that old, but get off my lawn anyway, KTHXBAI.

    101. Re:Compiling the kernel by bingoUV · · Score: 2, Interesting

      Even a somewhat power-user can do this. A distro can do it trivially.

      1. Menu item can run as root by default, then assume the identity of the logged in user. Might need to play with sudoers file a bit, possibly remove "requiretty" option.

      2. Use ionice if you are worried about I/O and running linux > 2.6.13.

      --
      Bingo Dictionary - Pragmatist, n. A myopic idealist.
    102. Re:Compiling the kernel by drinkypoo · · Score: 1

      The K6 is the processor that needs gentoo the most. Everyone else gets OK performance running i386 code but the K6 is shit at it. It's a wonderful processor otherwise, though. The last time I ran gentoo, I owned a K6. (These days there's pretty much no reason to... Even a Geode is faster)

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    103. Re:Compiling the kernel by drinkypoo · · Score: 1

      Per-TTY is useless. It won't work with ttyless processes. Two queues, per-user and per-login, is the only way to go, with slices saved for root, just as disk use is handled. At least, by default.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    104. Re:Compiling the kernel by drinkypoo · · Score: 1

      He's comparing to the machine of 8-10 years ago, too. So it's a valid comparison, and your snark is actually stupid.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    105. Re:Compiling the kernel by drinkypoo · · Score: 1

      If you meant to say 1200 bps modems, well, by the Linus wrote and released the first versions of the Linux kernel, 1200 bps modems and the 386SX were both well obsolete.

      Uh, when Linux wrote and released the first versions of the Linux kernel, the 386 was very much the prevalent PC processor. By the time it was in any kind of widespread, easy use (say, kernel 1.1 days) it was the 486. Yet I was just getting my 386DX40, which would run rings around the slowest 486s until it came to fp math.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    106. Re:Compiling the kernel by ultranova · · Score: 1

      Two queues, per-user and per-login, is the only way to go, with slices saved for root, just as disk use is handled.

      How many people do you have logged in on your desktop system at once?

      Anyway, maybe autogrouping by the program being run might work? All compiler instances in a single group, all Firefox instances in another, etc.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    107. Re:Compiling the kernel by drinkypoo · · Score: 1

      How many people do you have logged in on your desktop system at once?

      Multiseat is becoming more popular as it becomes less of a PITA, so this will become a problem again.

      Anyway, maybe autogrouping by the program being run might work? All compiler instances in a single group, all Firefox instances in another, etc.

      I don't want that because I want to be able to have each firefox instance separate so that a flash video doesn't crap on a javascript game or vice versa. I insist that two queues, per-user and per-login, with the per-login queue within the per-user queue, are the answer. This keeps everyone happy. If you're the only user on the box then it achieves the same thing as this. With more users it prevents one user from taking over the hardware. It's a complete solution.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    108. Re:Compiling the kernel by lordmetroid · · Score: 1

      I wonder how this will affect my desktop performance, I and similar minded people who use a lightweight window manager.

      I use openbox and simply launches a terminal for every application I want to start. It is very convienent and I have the CLI present whenever I would so feel I need it. However how would the scheduler react with a dousin terminals each having started one application?

    109. Re:Compiling the kernel by Bryson · · Score: 1

      laffer1 wrote: "This helps if there is a crazy background process eating up CPU and it might even help control flash crushing system performance a bit."

      Well, sort of, but not really. A competent video player is fine running along with CPU intensive background processes. The problem is competing for attention with new-born babies.

      A parallel 'make' will fork() and exec() short-running processes at the rate of dozens per second. The scheduler will find that each new-born processes has used up zero CPU so far, and therefor put them ahead of the video player and browser, which have already sucked major CPU without completing their work.

      A task group for each TTY fixes that particular problem. Each child process has to wait and share the CPU time allocated to its group. Immoral as charging children with debts of their parents may seem, in this case it smooth out our video and web browsing so that's that.

    110. Re:Compiling the kernel by Z8 · · Score: 1

      Linux was originally developed on a 386. 4MB of RAM was about right I think.

    111. Re:Compiling the kernel by Delkster · · Score: 1

      The three years are used for experimenting with different kernel configs and compilation flags so that you can make the server all of 100 kilobytes smaller and 0.1% faster.

      But hey, you save 100 KiB and several microseconds for each day you spend doing that!

    112. Re:Compiling the kernel by Delkster · · Score: 1

      so that you can make the server

      Note to self: if you're trying to sound like a smartass, it's better to check that you don't mix server with kernel yourself.

    113. Re:Compiling the kernel by MarcQuadra · · Score: 1

      If I recall, the K6 was pretty weak, clock-for-clock. The K6-2 was better, but still not as good as comparable Intel offerings of the time. The K6-III was pretty awesome, but only if you couldn't afford a Pentium III, and the Athlon totally dominated for quite a while, probably until the Core 2 architecture arrived.

      I think what pissed me off the most about my K6-2 was that the L2 cache was on the motherboard. The K6-2+ and K6-III were much faster because they had it on-die.

      --
      "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
    114. Re:Compiling the kernel by MarcQuadra · · Score: 1

      I concur. One of the reasons I switched from Mac OS 8 to Windows 95 was the multitasking being smoother. When I saw Linux in 1998 I was totally blown away and moved to that (I really wanted to go to BeOS, but it was obviously going nowhere). Somewhere over the last decade, something has gone awry with Linux. I still use it, but it -really sucks- when I kick off a low-priority backup with rsync and can no longer browse the web, play audio, or even use the command line. Waiting over a minute for 'top' to load is a travesty. Doing the same thing used to work Just Fine back with Linux 2.4.

      I feel like they squeezed-out so much performance for server tasks that there are no time slices left for actually using a desktop, or there's something fundamentally wonky with the scheduling, or they're prioritizing disk cache over apps that should stay in RAM. Whatever it is, it's definitely related to I/O, and it makes using Linux really un-fun.

      Of course, it used to be that X was given scheduler priority by the distributions, 'improvements' to the kernel ended that practice. Maybe the two are related?

      --
      "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
    115. Re:Compiling the kernel by MarcQuadra · · Score: 1

      "300bps acoustic coupler using a Z80 based computer with 16k RAM and a tape recorder as secondary storage device."

      You had the 16K expansion pack? No fair! I had the same beast, but with only 1K of RAM, there wasn't any point in trying to load those tapes in, the apps were too big to fit in memory. All I could do was write one-page BASIC apps.

      Eventually my Dad got his hands on a spare 16K piggyback cartridge and let me have his old one, so I could play MINOTAUR.

      --
      "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
    116. Re:Compiling the kernel by MarcQuadra · · Score: 1

      Would adding 'air holes' to the CPU and I/O scheduler help? What if the CPU and I/O air holes were synchronized, so when I'm rsync'ing and Firefoxing at the same time, the system allows other apps to simultaneously get the CPU and the I/O?

      I think the disk schedulers are great, and so is the CPU one, but don't they need to be synced-up to provide a good desktop experience? What's the point of giving Firefox some CPU if it can't use the disk during it?

      Maybe there should be a sysctl for this, 'server' or 'interactive' I/O scheduling, 'server' for maximum I/O, 'interactive' for a scheduler that suits desktops best.

      --
      "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
    117. Re:Compiling the kernel by Anonymous Coward · · Score: 0

      >Well, anything launched in X has no controlling TTY. So it all gets lumped into one group.

      This is where you got it wrong. The processes without a TTY is each given a new group.

    118. Re:Compiling the kernel by emt377 · · Score: 1

      Whatever it is, it's definitely related to I/O, and it makes using Linux really un-fun.

      Of course, it used to be that X was given scheduler priority by the distributions, 'improvements' to the kernel ended that practice. Maybe the two are related?

      What I suspect they did was bump the temporary scheduling priority of a processes when it blocked for I/O. On a tick-based system with fast I/O this means a single process will monopolize the CPU when an I/O operation takes less than a tick and I/O completion forces rescheduling. Looks great on benchmarks, but sucks in real use. For non-tick schedulers this is less of a problem because a temporary boost in priority can be accompanied by a very short life span - a fraction of the length of a tick. Like Solaris. I suspect the autogroups patch works because the temporary boost only applies within a scheduling group. (But it's hard to tell because the autogroups patch is devoid of comments even on what functions do and their expected side effects, while the code looks rather unfinished.)

    119. Re:Compiling the kernel by cromar · · Score: 1

      Dammit! I wanted to be the most pedantic! I want my frist pedancy!

    120. Re:Compiling the kernel by cromar · · Score: 1

      Man, those were the days. It's funny to think of hanging out on BBSs and how slow even raw ASCII was. Going to the campus or the library because it was the only place with "blazing fast" internet. War dialing and playing moria in VMS. Endless stacks of floppies...

    121. Re:Compiling the kernel by cromar · · Score: 1

      Tell us another story grandpa! Please?

    122. Re:Compiling the kernel by Adm.Wiggin · · Score: 1

      If I had mod points, I would mod this funny, because it is.

    123. Re:Compiling the kernel by julesh · · Score: 1

      by the Linus wrote and released the first versions of the Linux kernel, 1200 bps modems and the 386SX were both well obsolete

      While you're clearly right about the modems, it's worth noting that the 386SX40 CPU that I had in my second PC wasn't released until March '91, which is to say only 5 months before the first version of the Linux kernel was released. I presume it wasn't obselete within 5 months of release (and, I believe, about 6 months before I bought it).

      I believe Linus's own PC at the time was 386-based, too.

    124. Re:Compiling the kernel by Anonymous Coward · · Score: 0

      If I had mod points, I would mod this off-topic, because it is.

      Mark Zuckerberg! What are you doing up at this hour? Mommy's gonna spank you!

      Too bad there's not a -1, Zuckerberg
      Or maybe, -1, Retarded, defending slimy billionaire.

    125. Re:Compiling the kernel by morgan_greywolf · · Score: 1

      The post I was replying to mentioned a 386SX/16. What I should have said to be clear was the "16 MHz 386SX", which was released in 1988, about 3 years earlier, was well obsolete, but instead everyone had to harp on the specific thing I said rather than taking the comment in context.

      So instead of taking my post at face value, I get 10 replies telling me I don't know the difference between "baud" and "bps" (nevermind that I deliberately avoided using the term "baud" to avoid such discussions), and another 10 telling me that the 386 wasn't obsolete, which I didn't say at all.

      *sigh*

      I guess I'm expecting too much for Slashdot.

    126. Re:Compiling the kernel by wolrahnaes · · Score: 1

      To me, this seems like an easy problem to solve. Provide some method to set up overrides for processes which may not be properly recognized. Distros can edit the override list as part of package installation so their users don't have to deal with it if they don't want to and the power users and/or odd use cases can easily make it fit their needs.

      I'd be surprised if something like this doesn't exist, though there may not yet be a decent interface for the specific use I suggest.

      --
      I used to get high on life, but I developed a tolerance. Now I need something stronger.
  2. teh snappy!!!! by schmidt349 · · Score: 5, Insightful

    Considering that UI lag was always my big problem with anything Linux-based (hell, it even seems to affect Android phones), this might be one small patch for the kernel, one giant leap for userspace...

    1. Re:teh snappy!!!! by ArsenneLupin · · Score: 5, Funny

      Good luck, Mister Gorsky!

    2. Re:teh snappy!!!! by mcvos · · Score: 1

      I agree. From what I understand, scheduling has always been an issue for Linux, and no solution was ever good enough to be accepted. I'm glad we're finally seeing a big move forward here.

    3. Re:teh snappy!!!! by jellomizer · · Score: 1

      Now is it too late?
      Probably not for android phones. But the UI choppiness has been a real barrier to desktop performance and acceptance.

      I know some people are touting this as proof that open source works (We saw a problem and we fixed it!). But the fact that Windows and OS X and many other lesser OS have fixed this problem years ago could also be used to show that Open Source is not quite as up on the times as you would like to think.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    4. Re:teh snappy!!!! by walshy007 · · Score: 3, Informative

      Or rather, that there are different priorities.

      The problem was with finer grained scheduling you wound up sacrificing server performance for desktop responsiveness. Linux does not want to sacrifice performance really.

      To be fair I've been using linux on my desktop for over ten years now and even without this patch mostly fail to see an issue.

    5. Re:teh snappy!!!! by pinkeen · · Score: 1

      You don't have to sacrifice server performance - the answer is "pluggable scheduler architecture" which was already proposed but didn't get through.

    6. Re:teh snappy!!!! by Anonymous Coward · · Score: 0

      Considering that UI lag was always my big problem with anything Linux-based (hell, it even seems to affect Android phones), this might be one small patch for the kernel, one giant leap for userspace...

      My understanding is that the UI lag on android phones stems from the use of a single-threaded, event-driven, *Java* UI being run in a VM which is running on top of the kernel.

    7. Re:teh snappy!!!! by mwvdlee · · Score: 1

      That was part of the BFS thing too, right?
      Stupid thing is; by not sacrificing server performance for desktop responsiveness, you're effectively choosing to sacrifice desktop responsiveness for server performance.

      I din't really understand why the kernel group is opposed to a pluggable scheduler; it seems like the logical thing to do.

      --
      Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
    8. Re:teh snappy!!!! by TheRaven64 · · Score: 5, Informative

      But the fact that Windows and OS X and many other lesser OS have fixed this problem years ago could also be used to show that Open Source is not quite as up on the times as you would like to think.

      Seriously? OS X has absolutely terrible scheduling. A process that causes some swapping will cause beachballs everywhere and can freeze the windowserver for several seconds (well, the mouse keeps moving, but nothing else does). Hell, I have a FreeBSD VM on my Mac that responds better under load than stuff outside of it does.

      --
      I am TheRaven on Soylent News
    9. Re:teh snappy!!!! by rabtech · · Score: 1

      Prior to Windows 7 (or maybe Vista?), it had the same problem. Anything that issued massive I/O requests to the disk would bring the system to a crawl. The introduction of an I/O scheduler (which Linux also has) helps quite a bit in these scenarios but you do run into the issues of what priority really means. A video player, even if in the background, is probably still a high-priority process. But a compiler probably isn't; the problem is if you try to trust applications to indicate their own priority they'll lie and say they are always the most important application (which is why Microsoft doesn't publish APIs to do certain things like pin an app to the start menu... because so many apps tend toward narcissism: "gee whiz I'm the most important app ever! of course the user wants to pin me to the start menu, and put me on the desktop, and the quicklaunch bar, and in the startup group. If I get removed from any of those locations it must be a mistake so I'll just add myself back in!") How you can put the average computer user in control without making it overly complex is a hard problem. Hell, you can't make it take too much attention either because anything that gets in the way or is annoying just causes users to click "CANCEL" to try to get out of the dialog box. If it pops up again they just click "OK" to see if that works, all without reading any of it.

      Anyway I would postulate that any virtualized shared resource will require a priority-based "fair" (for some definition of fair) scheduler, otherwise ill-behaved applications will consume all of the available resource and ruin the system for everyone. We saw that with the CPU and cooperative multitasking, we saw that with memory and shared address spaces, we see it now with disk and network I/O, and I predict as the GPU becomes more virtualized and heavily used it will run into the same thing. Processes of the future will have CPU, memory, disk I/O, network I/O, and GPU priorities IMHO. Frankly I'd also like to see processes run inside their own VM sandboxes so I can transparently block their ability to do certain things, like change my filesystem but that's another issue.

      --
      Natural != (nontoxic || beneficial)
    10. Re:teh snappy!!!! by tixxit · · Score: 1

      Do you know of many other UIs that aren't single threaded? I'm not talking about worker/background threads, but honest-to-God, draw stuff on the screen UI threads. Most UI frameworks actually require drawing and event handling from 1 thread, including Windows.Forms, Cocoa, GDK, etc. This usually isn't an issue, as any tasks that are somewhat CPU intensive shouldn't be handled in this thread. Also, Android runs a VM specialized for small-memory environments, like phones, and, as of Android 2.2, supports JIT compilation.

    11. Re:teh snappy!!!! by Anonymous Coward · · Score: 0

      Here comes Apple whore.

    12. Re:teh snappy!!!! by aliquis · · Score: 1

      So... now how to get it into Firefox as well? ;)

    13. Re:teh snappy!!!! by aliquis · · Score: 1

      OS X 10.4.6 "forgets" keyboard and mouse input under load / whenever it feels like. Don't know if that's much better.

      As in press ctrl-space, type firefox, and maybe after a while quicksilver shows up and get refox, or some text area lags a lot and only get 1/3 of the text you typed while the OS crawled. And so on.

    14. Re:teh snappy!!!! by aliquis · · Score: 1

      I just said this:
      http://linux.slashdot.org/comments.pl?sid=1870628&cid=34244576

      But yeah, I think it forgets mouse input to. As like you press the close gadget in a Window, but the OS was to busy so for whatever reason that was ignored and your window is still there when it feels like coming back.

      Great.

      Not the first time someone say everything is just fine in Apple camp though.

    15. Re:teh snappy!!!! by schmidt349 · · Score: 1

      That's actually a really good point. I expect there's some solid reasoning as to why it should be singlethreaded if so many environments run things that way. The only two I'm intensely familiar with are Cocoa and UIKit, which are pretty similar.

      Is the logic there just your basic "DON'T FSCK UP THE FRAMEBUFFER" stuff, or is something else at work? I know that the guts of screen drawing were much nastier back in the days when you had to sync your VRAM writes with the HBlank and VBlank periods on CRTs.

    16. Re:teh snappy!!!! by Timmmm · · Score: 1

      The same is true on linux. Fairly often I accidentally allocate a huge (e.g. 16 GB) array in matlab, causing the computer to instantly go into "MUST SWAP EVERYTHING" mode. The entire desktop freezes and I can't kill matlab. Always ends in a hard reset. :-(

    17. Re:teh snappy!!!! by Tetsujin · · Score: 1

      Apple whore.

      Baltimore!

      --
      Bow-ties are cool.
    18. Re:teh snappy!!!! by TheRaven64 · · Score: 2, Informative

      That's pretty bad. On OS X, you used to be able to kill the system by mmap()ing a large file and touching one byte on each page in turn (I had a nice 10-line C program that would kill the system like this). With 10.5, it's a lot better. The system freezes for a few seconds but then it just becomes really slow, rather than dead.

      OS X handles out of memory conditions a lot more gracefully than Linux. When Linux runs out of memory, it kills random processes until it can continue. When OS X almost runs out, it suspends processes and pops up a dialog telling you to close some. The resume button in this dialog doesn't work (yay Apple QA), but you can kill -CONT processes to resume them from the terminal. This is typically enough to kill the errant process that's decided that it needs 10GB of RAM and resume everything else. Basically, apps continue to work until they try to allocate more than a tiny bit more memory from the OS, then they're paused (unless they're on a small list of apps that are excluded from this because they're required to recover, for example the window server).

      OS X doesn't do a terrible job, but to claim that they've solved this problem is a massive overstatement.

      --
      I am TheRaven on Soylent News
    19. Re:teh snappy!!!! by spitzak · · Score: 1

      Code that is drawing the screen is a lot easier to write if it knows the data it is drawing will not change under it. The only way to do this is locking. Fine-grain locking introduces overhead for each and every lock, and is also really difficult to get right. If you instead just use one big lock, you will just make your event and drawing threads take turns, which will just add overhead compared to the single-threaded version.

      FAR bigger savings are done by not drawing until all pending events are handled. All modern toolkits work this way. This does mean you can't do incremental update (at least not easily) and for some reason novice programmers often think the way to make the program fast is to do an incremental update after every event, but they do learn.

    20. Re:teh snappy!!!! by Anonymous Coward · · Score: 0

      On the other hand, 10.4.6 is OS X Tiger.
      10.5.x was Leopard.
      10.6.x is Snow Leopard, and in just north of half a year, we'll have 10.7.x, Lion.

      Why do you bring up irrelevant OS releases?

      FYI: 10.4.6 was released in April of '06.
      Four and a half years ago.

    21. Re:teh snappy!!!! by Jah-Wren+Ryel · · Score: 2, Informative

      (well, the mouse keeps moving, but nothing else does).

      When that happens - MacOS, Linux or Windows, its usually because the mouse driver is interrupt driven and the mouse cursor is drawn by the video card. So the scheduler generally isn't even involved - the mouse generates an interrupt (pausing whatever task is currently scheduled on the cpu), the interrupt handler reads the mouse coordinates and hands them off to the video card, returning the cpu back to the regularly scheduled process and the video card redraws the location of the mouse on the screen.

      --
      When information is power, privacy is freedom.
    22. Re:teh snappy!!!! by david_thornley · · Score: 1

      Never used Vista, did you? My first negative thought was that the process scheduler seems to be way screwed up.

      Windows 7 is a whole lot better, but I don't know that it's really "years ago".

      --
      "When you have eliminated the unacceptable, whatever is left, however improbable, must be the truthiness" - Holmes
    23. Re:teh snappy!!!! by CAIMLAS · · Score: 1

      No, it hasn't always been the case.

      12 or so years ago, you could build a Linux kernel while watching fullscreen 600Mb video (divx? I don't remember) and/or browse the web. I did it, and I was giddy the first time due to the huge contrast from Windows 98.

      What you're probably referring to is the drawing lag for X toolkits. The lag on Android is likely a symptom of slow flash cards/controllers and blocking, combined with not 'prettifying' the UI while the application is waiting to load (or hiding it, as is done elsewhere - Windows/OSX).

      I'd personally really prefer being able to prioritize items myself. Give me an editor/API (/proc?)/config file to say "this gets priority, leave this alone, or conditionally give focused window priority") and I'll be happy.

      I've considered writing a script to re-nice things for me automagically to my preferences, but haven't gotten around to it. Userland control of userland processes seems to make more sense to me.

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    24. Re:teh snappy!!!! by Anonymous Coward · · Score: 0

      A process that causes some swapping will cause beachballs everywhere and can freeze the windowserver for several seconds

      Is there a "Score:6" ?

      you said it!!! -- from an overheated MacBook,...

                of course, i ain't complainin' -- i'm just commentin' ;-)

    25. Re:teh snappy!!!! by Anonymous Coward · · Score: 0

      Indeed. OSX' suckiness made me to switch back to Linux, where GUI is at least somewhat responsive when doing some heavy
      background computing.

    26. Re:teh snappy!!!! by ildon · · Score: 1

      IMO Windows didn't fix UI lag until 7 (arguably Vista) and OSX still hasn't fixed it to my satisfaction.

    27. Re:teh snappy!!!! by ultranova · · Score: 1

      and for some reason novice programmers often think the way to make the program fast is to do an incremental update after every event

      Read the Java Swing docs. They pretty much imply that the ImageObserver interface gets called every time there's been an update (so you can draw the updated image), but it's not (and that's okay, since Java's inbuilt image scaling algorithms suck - it can be literally 10 times faster to rewrite the image to an RBG raster and do band-by-band rescale than to use them - I timed). Speaking of Swing, if you do plenty of upgrades in a single JComponents children, you can get a huge speed increase by simply calling "update" on that component.

      You can hardly fault "novice programmers" for believing the official doc, but WTF Java?

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    28. Re:teh snappy!!!! by Anonymous Coward · · Score: 0

      Because it's what my hack run, because my real mac is a P.O.S. (even though it's way newer than was much more expensive than the hack.)

    29. Re:teh snappy!!!! by exomondo · · Score: 1

      But the fact that Windows and OS X and many other lesser OS have fixed this problem years ago could also be used to show that Open Source is not quite as up on the times as you would like to think.

      How are they lesser OSs if you're toting them as being the ones that are 'with the times'? And scheduling in Windows and OSX isn't perfect by a long shot, though Vista and 7 are much improved over XP.

    30. Re:teh snappy!!!! by Pharmboy · · Score: 1

      When Linux runs out of memory, it kills random processes until it can continue.

      Kills random processes? As in kill -term? I've never seen that. I've seen Linux thrash and shove everything into swap drive prematurely, and the load jump to 40 or so, but nothing got killed or zombied even, just insanely slow. I even recently had NFS "gone wild" problems push the load over 100 to where a manual kill command took over an hour and still hadn't been scheduled, but the operating system itself didn't kill any process. Not memory related, but again, never seen Linux commit infanticide with its processes on is own, and I've pushed it pretty hard, sometimes on purpose, sometimes by sheer stupidity.

      --
      Tequila: It's not just for breakfast anymore!
    31. Re:teh snappy!!!! by socceroos · · Score: 1

      Userland scheduling - to be more specific.

    32. Re:teh snappy!!!! by socceroos · · Score: 1

      abstraction? slooow.

    33. Re:teh snappy!!!! by nxtw · · Score: 1

      Kills random processes? As in kill -term? I've never seen that

      It's the OOM Killer

    34. Re:teh snappy!!!! by npsimons · · Score: 1

      Kills random processes? As in kill -term? I've never seen that.

      As a big Linux fan, and past developer of RTLinux, I can tell you that the OOM (Out Of Memory) killer does exist. The algorithm isn't really "random" (least not the last time I looked at it), but it will terminate with extreme prejudice a memory hog if the whole system runs out of memory. Let me repeat that though: *if* the *whole system* *runs out of memory* (including swap), the Linux kernel *will kill the biggest memory user*. This falls into the "well, duh, what should it do? sit there and jack off while hoping that somebody's misbehaving app will just politely stop using RAM?". I mean, honestly, this isn't a problem with Linux; it's a problem either with the app developer or the system administrator (and if you are the only user of a computer, *you* are the sysadmin and should know better; either get more RAM or stop using such shitty apps).

    35. Re:teh snappy!!!! by Pharmboy · · Score: 1

      Ah, thanks for the info. Not something I have run into, and I have had some very poorly acting applications, sometimes of my own design, but not usually mem hogs, just cpu or i/o hogs. I have intentionally pegged out the ram, for simple testing, but now typically run 24GB or more of RAM, which makes it a bit harder to do, so it isn't something I have tried lately.

      --
      Tequila: It's not just for breakfast anymore!
    36. Re:teh snappy!!!! by X0563511 · · Score: 1

      I generally don't toss my desktop out back to play server for the weekend. It's not often that a "hot swappable" scheduler would be useful.

      As we have it now, you can select which scheduler to use when you build the kernel. That's not all that bad, is it?

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    37. Re:teh snappy!!!! by X0563511 · · Score: 1

      When I build a kernel, I have a whole list of schedulers to choose from...

      AFAIK this pluggable scheduler is a more modular thing. Not really that big of a deal as you usually don't change a system's role quite often.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    38. Re:teh snappy!!!! by Anonymous Coward · · Score: 0

      Because teh Linux came preloaded for free when I bought my new Packard Bell computer at BigBuy.

    39. Re:teh snappy!!!! by Anonymous Coward · · Score: 0

      More. Its a lot more than a patch.
      Its well done, elegant and works like crazy.

      This is the shot heard around the world.
      This is a very significant improvement.

      "one giant leap for userspace..."
      Yes!

    40. Re:teh snappy!!!! by Anonymous Coward · · Score: 0

      According to this blog it does not scale for servers either
      Maybe the scheduler just has a poor design
      I have seen x behave in Linux with third party video drivers
      So maybe it's just bad design
      I've seen it work before

      Http://www.mattheaton.com/?p=222

    41. Re:teh snappy!!!! by TheRaven64 · · Score: 1

      For what it should do, see above where I describe what OS X does (i.e. recover gracefully). And, you're right, it's not random. In my experience it picks the processes with the most unsaved data to kill off first.

      Actually, OS X doesn't do quite what I described as of 10.6. It also has a sudden termination mechanism, where a process can advertise that it has no unsaved data. If this is the case, the OS can freely kill it when it runs low on memory.

      --
      I am TheRaven on Soylent News
    42. Re:teh snappy!!!! by Anonymous Coward · · Score: 0

      OS X has absolutely terrible scheduling. A process that causes some swapping will cause beachballs everywhere and can freeze the windowserver for several seconds (well, the mouse keeps moving, but nothing else does).

      This gets rated +5 Informative? Virtual memory paging is not related to the scheduler. The scheduler is the piece of an OS which allocates CPU time to processes. The VM pager is the piece which manages the allocation and placement of virtual memory pages (which can be placed in physical RAM or some kind of backing store such as a swapfile).

      The Linux desktop responsiveness problems being discussed occur even when the system is not swapping because they're problems with the Linux scheduler, not the pager. The OS X scheduler has been better for interactive use than the Linux scheduler for almost 10 years now (ie since the day OS X 10.0 shipped).

      Severe memory pressure will cause interactivity problems no matter how good your scheduler. If you're swapping to a HDD, even if you have a 7200RPM one you'll be lucky if it can manage 100 random I/O operations per second (IOPs). Think about what that implies for the response time of any GUI process that has had thousands of its pages swapped out. Even using a SSD as a swap device only gets you up to the thousands/10 thousands range of IOPs, which is still not great compared to the performance of DRAM.

    43. Re:teh snappy!!!! by pacinpm · · Score: 1

      UI lag? That's nothing... My biggest problem is lack of smooth image scaling in Firefox. It looks ugly as hell.

  3. windows by think_nix · · Score: 1

    "windows could be moved fluidly"

    Damn was I the only one thinking about migrating virtual machines from one box to another , until I read it twice ?

    Damn, I need a vacation :)

    1. Re:windows by CarpetShark · · Score: 0, Offtopic

      Was I the only one thinking about Amigas and Alphastations?

    2. Re:windows by Anonymous Coward · · Score: 0

      Was I the only one thinking about Alpacas and Aquaman?

      Hmm...Okay then.

    3. Re:windows by Blakey+Rat · · Score: 0, Offtopic

      Aw, you've finally learned that capitalization matters! How's your uncle Jack?

    4. Re:windows by Anonymous Coward · · Score: 0

      Nope :)

    5. Re:windows by Anonymous Coward · · Score: 0

      not at all

    6. Re:windows by WhiteDragon · · Score: 3, Informative

      Was I the only one thinking about Amigas and Alphastations?

      Amigas had so much offloading that you could pull the CPU out and still move the mouse pointer.

      --
      Did you mount a military-grade, variable-focus MASER on an unlicensed artificial intelligence?
    7. Re:windows by Bing+Tsher+E · · Score: 2, Interesting

      All the little sister chips could do most of the work. Which is what killed the Amiga. It was a cluster of ASIC chips, and that doesn't scale well to incremental performance upgrades the way a new, faster x86 chip every six months does. Who's going to design a whole new set of ASICs every six months? Nobody in their right mind.

    8. Re:windows by Duncan+J+Murray · · Score: 1

      Ok, call me gullible or ignorant - but is that actually true?

      I did remember my old Amiga used to crash in amusing ways, as one element of the graphics or audio would go, leaving the rest of the system carrying on as if that didn't matter!

      D

    9. Re:windows by CarpetShark · · Score: 1

      What killed it was a) (lack of) marketing; b) that the OS wasn't abstracting those resources enough to make them upgradeable, and they fell behind PCs, Megadrives, etc. They should have bought the RTG APIs/Cards and moved to them ASAP. A 3D Graphics API would have been good too, even if it was very basic. Just getting midi built-in would have been a big step in winning the pro Atari ST market.

    10. Re:windows by WhiteDragon · · Score: 1

      To be honest, I haven't personally seen it, but my friend told me that it was true, and he's usually pretty reliable about that sort of thing.

      --
      Did you mount a military-grade, variable-focus MASER on an unlicensed artificial intelligence?
    11. Re:windows by ultranova · · Score: 1

      It was a cluster of ASIC chips, and that doesn't scale well to incremental performance upgrades the way a new, faster x86 chip every six months does. Who's going to design a whole new set of ASICs every six months? Nobody in their right mind.

      Nah. What killed Amiga was simply that Commodore couldn't compete with the PC clones. You can't compete against a commodity market with multiple vendords with specialized hardware. You just plain can't.

      To this day there's a Finnish gaming magazine that claims that Commodore 64 was killed by piracy. That's blatant lies: Commodore 64 died and PC succeeded because the PC was designed to evolve. IBM PC was the first personal computer platform that was designed to be seriously extended, and that translated to evolving in every front, and that translates to modern computers. Flexibility is what allowed humans to take over this world; Commodore failed to learn the lesson, but IBM did. That's why modern 4-core 64-bit machines are called "PC-compatibles" rather than "C64-compatibles", never mind that both were equally pathetic at the beginning.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    12. Re:windows by Bitmanhome · · Score: 1

      Who's going to design a whole new set of ASICs every six months?

      And nobody does that now. But nVidia and ATI produce designs and speed bumps at least as fast as Intel. Commodore could have released better chips (engineering wanted to do that for the Amiga 3000) but management stopped them.

      --
      Not that this wasn't entirely predictable.
    13. Re:windows by Anonymous Coward · · Score: 0

      Amigas had so much offloading that you could run a demo with music and rotating and bouncing objects, without using one cycle of CPU.

      I never actually pulled out the processor while the computer was switched on, but I did write a couple of demos that just used the video-clocked DMA engine and the blitter to do basic computing tasks completely independent of the CPU. The coprocessors + DMA-accessible memory made up a Turing-complete computer in their own right, though inefficient for most tasks.

  4. Distros? by SIGBUS · · Score: 4, Funny

    Of course, how many years from now will that filter into the distros? My guess:

    Gentoo: soon
    Debian Unstable: 2Q 2011
    Ubuntu, Fedora: 1Q 2012
    Debian Stable: 2015
    RHEL: 2020

    --
    Oh, no! You have walked into the slavering fangs of a lurking grue!
    1. Re:Distros? by piffey · · Score: 3, Insightful

      Arch: Friday Not to be one of /those/ people or anything...

    2. Re:Distros? by Ltap · · Score: 5, Informative

      Arch Linux: Already in core.

      I exaggerate, but it's not far from the truth - the kernel releases are imported into the testing repository as soon as they come out.

      --
      Yet Another Tech Blog
      (but so much more, including game and movie reviews)
      http://yanteb.peasantoid.org
    3. Re:Distros? by Anonymous Coward · · Score: 0

      No one wishing to contribute a PPA for Ubuntu? Puh-leaze...

    4. Re:Distros? by Kjella · · Score: 2, Informative

      If you don't care about having it in a release, then the kernel team already has a PPA with all the releases + rcs + daily builds. I would think the next *buntu release (11.04) will have 2.6.37, so you probably won't see this in an official release until october next year...

      --
      Live today, because you never know what tomorrow brings
    5. Re:Distros? by marcello_dl · · Score: 3, Informative

      Or whenever YOU choose to install the patched kernel. Freedom at work.

      --
      ---- MISSING MISCELLANEOUS DATA SEGMENT --- [sigdash] trolololol
    6. Re:Distros? by TheKidWho · · Score: 1

      Android: 3Q 2011
      Samsung Galaxy: Sometime last month.

    7. Re:Distros? by diegocg · · Score: 0, Redundant

      As soon as they use a kernel that includes it.

    8. Re:Distros? by mcvos · · Score: 1

      Android: 3Q 2011

      Most actual Android devices: Q2 2012, or never.

    9. Re:Distros? by TheKidWho · · Score: 1

      Sometime last month is the codeword for Never :P

    10. Re:Distros? by Omnifarious · · Score: 1

      I bet it shows up in the next release of Fedora, so early 2Q 2011. They may add te patch to an update kernel for Fedora 14, but I suspect that won't happen.

    11. Re:Distros? by Anonymous Coward · · Score: 0

      Community firmware: today.

    12. Re:Distros? by hcs_$reboot · · Score: 1, Funny

      RHEL in 2020? It will be ORHEL by this time, Oracle RHEL...

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    13. Re:Distros? by Skatox · · Score: 0

      JAja true, we archers always have the latest features

    14. Re:Distros? by Anonymous Coward · · Score: 0

      You're far too aggressive on your prediction for Debian Stable. I would say 2020 at the earliest...

    15. Re:Distros? by walshy007 · · Score: 1

      would not surprise me if it was an update in 14, since towards the end of 13 they updated the whole kernel version even.

    16. Re:Distros? by tepples · · Score: 1

      Or whenever YOU choose to install the patched kernel. Freedom at work.

      But don't expect to be able to buy a support contract unless you're using the official kernel.

    17. Re:Distros? by kangsterizer · · Score: 2, Informative

      What's cool is that Arch is actually pretty stable and works well, yet it's pretty bleeding edge (although to be honest this kernel will be in testing, not stable. probably in stable 2 weeks after 2.6.37 is released)

    18. Re:Distros? by Anonymous Coward · · Score: 0

      > Of course, how many years from now will that filter into the distros? My guess:
      >
      > Gentoo: soon
      > Debian Unstable: 2Q 2011
      > Ubuntu, Fedora: 1Q 2012
      > Debian Stable: 2015
      > RHEL: 2020

      Actually, those dates are probably pretty close! Might make RHEL 1-2 years earlier, might make Debian Stable a year or so earlier, otherwise I think you're dead on.

    19. Re:Distros? by Rysc · · Score: 4, Funny

      Fuck support contracts. Real men fire up gdb when they see a koops.

      --
      I want my Cowboyneal
    20. Re:Distros? by Anonymous Coward · · Score: 0

      People didn't take you seriously, but this is simply FUD (funny or not). Most likely Ubuntu will have .37 in April/2011.

    21. Re:Distros? by hansamurai · · Score: 1

      It might get 2.6.38, decision to be made around Christmas. I would think this might influence them enough to include it.

    22. Re:Distros? by digitalhermit · · Score: 1

      :)

      I am, as I type, building a RHEL6 with the latest kernel. So, based on previous compile times, I'd say about 2 more hours to go..

    23. Re:Distros? by BrokenHalo · · Score: 1

      JAja true, we archers always have the latest features

      Yes, but only the ones we want. ;-)

      I have always preferred (when other demands on my time are less pressing) to build my own kernels, partly because I am an inveterate tweaker, but also because I have found a perceptible difference in latency with my machines, none of which are state-of-the-art in terms of current technology.

      From this perspective, Arch gives us the best of all worlds: a Slackware-like (or BSD-like, if you prefer) configuration arrangement in combination with a package system that has all the power of deb/rpm and all the simplicity of Slackware's tar/gzip.

    24. Re:Distros? by Anonymous Coward · · Score: 0

      Uh 2.6.37 isn't even out yet, let alone 2.6.38.

      With that said, you can run the latest kernels on Ubuntu simply by using the mainline kernel ppa. 2.6.37-rc2 is the latest available (which is also the latest official Linux kernel).

    25. Re:Distros? by Anonymous Coward · · Score: 0

      You couldn't be more wrong. Ubuntu 11.04 will include Linux 2.6.38.

      So,
      Ubuntu: April 2011

      That's 6 months from now. Next time before you bitch, look it up.

    26. Re:Distros? by fnj · · Score: 1

      Last two lines are wrong. Should be Debian Stable 2050, RHEL 2120.

      And at the top it should say Roll Your Own linux - or at least your own kernel - right now.

    27. Re:Distros? by Anonymous Coward · · Score: 0

      Of course, how many years from now will that filter into the distros? My guess:

      Gentoo: soon
      Debian Unstable: 2Q 2011
      Ubuntu, Fedora: 1Q 2012
      Debian Stable: 2015
      RHEL: 2020

      I'm a primarily Gentoo user and I have to say I've been impressed with how Ubuntu has kept their kernel releases as up-to-date as Gentoo. I'm using stable x86_64 releases in both cases. They both seem to be about 2-3 months behind kernel.org.

    28. Re:Distros? by Anonymous Coward · · Score: 0

      ORLY? gdb? Real men just know why there have been a kernel oops by just starring at the still hot CPU.

    29. Re:Distros? by Anonymous Coward · · Score: 0

      gdb? Pansy. Real men use a variety of volt-, an-, watt-, and magneto -meters and examine bits REAL TIME. They use an AM tuner as a debugger and butterfly's to change code.

    30. Re:Distros? by Anonymous Coward · · Score: 0

      I don't see why this wouldn't go into .38 kernel, so it ought to make it for the Ubuntu and Fedora spring 2011 releases (autumn releases otherwise).

      Debian experimental might see it within a few weeks of release, Unstable may not see it for some time if the new stable release has not been made (probably not, based on current state).

      Stable should see it by 2013ish

    31. Re:Distros? by NotBornYesterday · · Score: 1

      You spelled "invertebrate" wrong.

      --
      I prefer rogues to imbeciles because they sometimes take a rest.
    32. Re:Distros? by Anonymous Coward · · Score: 0

      One of the experimental kernels developed around Gentoo (zen-sources) had this patch since Nov 13. :)

    33. Re:Distros? by Kjella · · Score: 1

      It might get 2.6.38, decision to be made around Christmas. I would think this might influence them enough to include it.

      Doubtful. Kernel releases are on a ~3 month schedule and 2.6.36 came out in October, that puts 37 in January and 38 in April which is way too late. They've been very regular with one month of merges, two months of weekly RCs for the last 3-4 years so the chances of an early release is slim..

      --
      Live today, because you never know what tomorrow brings
    34. Re:Distros? by ultranova · · Score: 1

      But don't expect to be able to buy a support contract unless you're using the official kernel.

      For what, and from whom? For the record, I would be happy to support any GPL-(or compatible)-licensed thing over any GPL-(or compatible)-licensed (Linux, or Hurd, or whatever) kernel version, given sufficient price...

      That's the real reason I hate using proprietary software: too much grief. With FOSS stuff I can always force it do what I want, it's just a matter of how much grief it'll take; but with proprietary stuff, it'll take running a debugger and hex editing (I'm a "read the source and use logical deduction" -kind of guy, I never learned how to use a debugger, even when I was making my own Nethack variant and reverse-engineering C while I did).

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    35. Re:Distros? by BrokenHalo · · Score: 1

      No I didn't.

    36. Re:Distros? by LingNoi · · Score: 1

      There's an RC2 for maverick that is .37 so I doubt it's going to be April.

    37. Re:Distros? by Ltap · · Score: 1

      As I understand, most of this is because of the developers, who do a great deal of work testing new updates.

      It's also related to a difference in paradigms; distributions that have an "unstable" repository are saying "this software is unstable, don't use it unless you really want to." Having a "testing" repository instead implies that software in it is cutting-edge and new, which excites and interests people. That way, rather than a dumping ground for semi-broken software, it becomes a testing area for new software. This allows the developers to rely more heavily on the community to report problems encountered with new software rather than heroically trying to do everything to make the experience as smooth as possible for the user. It also allows users to more effectively define their risk tolerance while avoiding the issue of only benefitting from updates years after they come out.

      --
      Yet Another Tech Blog
      (but so much more, including game and movie reviews)
      http://yanteb.peasantoid.org
    38. Re:Distros? by kangsterizer · · Score: 1

      Yeah I do like their view on this. Much more efficient. Debian would be the sharp opposite ;)

    39. Re:Distros? by Fri13 · · Score: 1

      I just asked from #archlinux channel and they said it is not in core. It will come there later but now if wanted to have it in Arch, you need to patch Linux OS yourself or get precompiled OS packages from http://pkgbuild.com/~ioni/ (They said he is a archlinux packager and trusted but still installation is risky. Example I had problems with pre-compiled package with nvidia driver).

    40. Re:Distros? by Anonymous Coward · · Score: 0

      Arch: sooner

    41. Re:Distros? by Ltap · · Score: 1

      I find it funny that my post was modded "Informative" and people actually took me seriously even with the disclaimer that I was exaggerating.

      --
      Yet Another Tech Blog
      (but so much more, including game and movie reviews)
      http://yanteb.peasantoid.org
  5. Wait.... by fuzzyfuzzyfungus · · Score: 5, Funny

    That's not a kernel patch... That's a bash script that forcibly installs BeOS!

    1. Re:Wait.... by Anonymous Coward · · Score: 1

      I wish I had mod points for this one. Freaking hilarious. It's amazing how far ahead BeOS was in regards to smooth multitasking and media handling. Only OS I've seen do better was nextstep/mac os x ...

    2. Re:Wait.... by oldspewey · · Score: 1

      I remember using BeOS R5 to access files or CDs that couldn't be opened using any other operating system known to mankind.

      --
      If libertarians are so opposed to effective government, why don't they all move to Somalia?
    3. Re:Wait.... by TheDarkMaster · · Score: 1

      Me too. I droped my coffe after reading this :)

      --
      Religion: The greatest weapon of mass destruction of all time
    4. Re:Wait.... by h00manist · · Score: 1

      I remember using BeOS R5 to access files or CDs that couldn't be opened using any other operating system known to mankind.

      Mankind knows quite a few operating systems...
      http://en.wikipedia.org/wiki/List_of_operating_systems

      --
      Build your own energy sources from scratch. http://otherpower.com/
    5. Re:Wait.... by Fallingcow · · Score: 1

      Haha, yeah, came in to the thread to say "oh good, Linux finally caught up with BeOS!"

    6. Re:Wait.... by ultranova · · Score: 1

      Linux finally caught up with BeOS!

      Did it? Because this seems more like a gimmick to me. How many people are ever going to start a compile job - much less with the "-j64"-swithc - from the command line?

      Now, don't get me wrong, group scheduling is certainly a very good thing. However, it will only deliver its real promise once it's the UI doing both grouping and scheduling - after all, how is the kernel supposed to know that a particular app is playing a video otherwise? For that matter, how about grouping all the threads in a single process by default?

      The real killer would be group scheduling and subgroup scheduling fixed with an application-level group scheduling - that is, I might create a group and assign a scheduler of my choice (userspace code, so I could even code it myself) to it.

      Oh well. I'm sure the UI to assign these things will get there eventually. Group scheduling is a good thing, but it really needs to be exposed to the user. Stop underestimating him, and give him some tools to control his machine!

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    7. Re:Wait.... by Fri13 · · Score: 1

      But does it run bootman? Not even Haiku works after installation if user does not manually run bootman to install boot manager!

    8. Re:Wait.... by anomaly256 · · Score: 1

      .. inside another BeOS instance for double the performance gain!

  6. Subjective by falldeaf · · Score: 2, Interesting

    I guess it's somewhat objective and dependent on your hardware anyway but even with lots of programs open on my main machine I don't notice any slowdown... I think if linux is really gonna pull ahead of the pack they aught to take a gamble on a new, useful interface. Something like 10gui. The risk could even be mitigated by having a choice to load either type of desktop at the beginning with a quick video to demonstrate the difference. :)

    --
    check out the Mp3 Garbler I built!
    1. Re:Subjective by fuzzyfuzzyfungus · · Score: 1

      Who is "they"? Any recent Linux kernel should be able to support a device such as that shown in the video with a userspace libUSB driver, no modification required. X might take some poking to get it to accept the existence of 10 cursors; but that is a totally distinct project. Then, of course, you have the zillions of programs that are going to need to do something useful with those exotic inputs...(and reasonable availability of that hardware device, and some place to put it along with your keyboard).

      It is arguably a weakness of Linux; but there isn't really any "they" to do that. Anybody could; but there isn't really anybody in a position to.

    2. Re:Subjective by falldeaf · · Score: 1

      By 'they' I mean a distro, like Ubuntu for instance. If 10gui eventually comes up with their own window manager (I'm not sure how they plan to distribute or implement their desktop idea.) Ubuntu could let you choose between it and a more standard one like Gnome the same way you can decide between gnome or kde. Also though, the 10gui concept does change the interface pretty dramatically, the concept would work for any program out there out of the box. In fact, if you use one of wacom's bamboo devices which are already available you'd have the benefit of pen input for fine grain control in artsy applications.

      --
      check out the Mp3 Garbler I built!
    3. Re:Subjective by ajrs · · Score: 1

      By 'they' I mean a distro, like Ubuntu for instance. If 10gui eventually comes up with their own window manager (I'm not sure how they plan to distribute or implement their desktop idea.) Ubuntu could let you choose between it and a more standard one like Gnome the same way you can decide between gnome or kde.

      Also though, the 10gui concept does change the interface pretty dramatically, the concept would work for any program out there out of the box. In fact, if you use one of wacom's bamboo devices which are already available you'd have the benefit of pen input for fine grain control in artsy applications.

      hey, its Linux. They is you! Take a chance, make a new distro.

    4. Re:Subjective by falldeaf · · Score: 1

      I'm actually already working on an open source project, but I'd love to be in on a program like what 10gui is working on!

      --
      check out the Mp3 Garbler I built!
    5. Re:Subjective by couchslug · · Score: 1

      Who are "they"?

      You can have as many different UIs as you can write, switch between them on the same system, and BTW the UI issue is OT to this thread.

      --
      "This post is an artistic work of fiction and falsehood. Only a fool would take anything posted here as fact."
    6. Re:Subjective by Anonymous Coward · · Score: 0

      >I think if linux is really gonna pull ahead of the pack they aught to take a gamble on a new, useful interface

      10gui terribleness aside, "Linux" doesn't have anything to do with the gui anyway. You want a new UI, talk to one of the DE's or WM's or start a new one. Or be like wayland and try to compete with X. Nobody is stopping you.

    7. Re:Subjective by supersloshy · · Score: 1

      One small problem with 10/GUI: what about people with one hand, or people with only so many fingers? It looks more confusing to use than useful, honestly. Plus, the title bars for the windows are sideways; not exactly usable. The mouse is still here because it works pretty well, and I don't see a reason to "upgrade" unless it improves things substantially.

      --
      "Our country is not nearly so overrun with the bigoted as it is overrun with the broadminded." -Archbishop Fulton Sheen
    8. Re:Subjective by bluefoxlucid · · Score: 1

      10/Vaporware

    9. Re:Subjective by bluefoxlucid · · Score: 1

      You're the kind of person that lands with guys like Simon...

    10. Re:Subjective by falldeaf · · Score: 1

      Is that supposed to be someone I should know?

      --
      check out the Mp3 Garbler I built!
    11. Re:Subjective by falldeaf · · Score: 1

      Haha that site is awesome, super funny. I'm not sure why you think I'm like simon but you must be right since you know me so well. I'm into art and programming and stuff like that not business and I'm never rude to people that aren't rude to me, I'm also not demanding or irrational. So how am I like simon?

      --
      check out the Mp3 Garbler I built!
    12. Re:Subjective by bluefoxlucid · · Score: 1

      I said lands with guys like Simon. Simon has all these nice, fancy ideas on paper (he has a few exchanges on the site) that never work out in real life. Some of us can see these at a glance. Sometimes it's an awesome idea but the wrong TIME; sometimes it's (sadly) an idea that'll be great, but first implementer is going to fail and second player will take over; sometimes it's just a shitty idea; sometimes it's a solution looking for a problem, and while it's decent and not-shitty it's also trying to create new problems (as it is a solution looking to solve a non-existent problem) and we don't want that.

      In this case, replacing the windowing system with something entirely different is unnecessary and mindless. Rewriting the whole fucking thing from scratch but putting the same interface out, the same APIs, etc but with a completely different internal design would be awesome. Paradigm shifts I see no need for; the problem is implementation, not paradigm. An incremental improvement might be good, but something completely alien usually is worse than bad.

    13. Re:Subjective by falldeaf · · Score: 1

      Simon was a talentless, business asshole that took an idea that was *already* proven and thought he could make money on it by copying it...

      Frankly, I'll agree with you that the 10/gui interface may not pan out. I wouldn't know for sure I haven't had the chance to use it. But the idea that only incremental improvements are worth developing for is ridiculous. Your attitude about new things is pretty much in line with most people, though. Henry Ford said that if he listened to what people wanted he'd have made faster horses. (paraphrasing). Sometimes it takes big changes to move technology along, no one is forcing you to be an early adopter. Further, new interfaces like 10/gui have more value than their possibility as a mouse and keyboard replacement. Multi-touch technology is not going anywhere, maybe some of the ideas they have are good enough to be used in part, if not in whole... Google wave for instance was a 'failed' platform but many pieces of that tech made it into other google products and really improved them, like multi-user editing in docs. Finally, you should consider the possibility that people other than you might have different opinions about what interface works best for them. There doesn't have to be one universal interface for each person, let alone for each type of hardware platform.

      --
      check out the Mp3 Garbler I built!
    14. Re:Subjective by badkarmadayaccount · · Score: 1

      Sounds like a tiling window manager with expose support and an overgrown taskbar/launcher (main menu). Not dissing it, sounds great. (Oh, and, don't bring multitouch into this, UNIX has long solved the problem of the powerless mouse, it's called three buttons and four modifier keys.)

      --
      I know tobacco is bad for you, so I smoke weed with crack.
    15. Re:Subjective by badkarmadayaccount · · Score: 1

      X11 has multipointer support, AFAIK.

      --
      I know tobacco is bad for you, so I smoke weed with crack.
  7. Wasn't there a desktop friendly scheduler rejected by Culture20 · · Score: 3, Interesting

    I thought a few years ago, there was a desktop friendly scheduler rejected because Linus thought the server environment was more important. The details escape me.

  8. Linux desktop-user-adoption focus groups? by h00manist · · Score: 0, Offtopic

    Is there some place that conducts desktop user focus groups, market studies, etc, on how to increase Linux desktop acceptance? Does anyone publish these results. I participated in a few market-study projects, and although I don't really like these techniques for increasing the sales of detergent, I admit they are awfully effective for understanding what the user thinks of and wants. The ideas that guru techs have of user needs are evidently going to be different than the conclusions that direct observation of user comments by usability engineers, psychologists and anthropologists.

    --
    Build your own energy sources from scratch. http://otherpower.com/
    1. Re:Linux desktop-user-adoption focus groups? by DrgnDancer · · Score: 1

      I think this is some sort of heresy against the great gods of geekdom. Users should want what we want them to want, clearly they can't be trusted to figure out their own wants.

      Seriously though? It's a good idea, but only a few companies in the Linux business have the resources to do it on any kind of scale. Most of those are the companies that would benefit least from the tests in the short term, because they release on such a conservative schedule that it might be years before they run a kernel with the improvements suggested. There's advantages and disadvantages to any model and one of the disadvantages of the very distributed way "Linux" is developed is that it's hard to get changes and improvements to whole OS. Note that I put Linux in quotes up there. What I mean is not per se the kernel, or more pointedly not only the kernel, but the whole OS.

      Let's say Red Hat does some usability tests of the type that Apple and Microsoft do a lot of. Let's say that they find several areas that users think need improvement in their workstation OS. If they were Microsoft, they'd divide the improvements up into sub systems (kernel, UI, user tools, IE, whatever) and send them to the appropriate team for feasibility studies and such. Microsoft can force the teams to at least give a good reason why they can't use a suggestion, even if they can't always force the suggestion to be implemented.

      We aren't talking about Microsoft though. We're talking about Red Hat. So they divide up the improvements into subsystems and figures out that they personally control like three items on the list (mostly administrative tools). The rest they send out to other projects (Linus' Kernel team, the X.org guys, Mozilla, Oracle (for OO.Org), the FSF, etc). Any one of those teams, might use the suggestions, politely thank Red Hat and ignore the suggestions, make rude gestures and wander vaguely away... whatever.

      Even assuming that the relevant group takes the suggestion seriously, Red Hat typically releases on a very slow schedule; and they try very hard not to increment subsystems any more than they have to for security reasons within a given release. So if they give Linus' team a kernel suggestion, it might take the kernel team a year to implement the suggestion. Then it might take Red hat another two years to actually start using a version of the kernel which has the improvement. Between their own conservative release schedule and the fact that they have little control over what gets done with their own results, you have to wonder if there's any financial incentive to doing usability studies.

      Of course the arguable advantage of the model is that if you really want an improvement you can design and implement it yourself. Or take something like this patch and apply it to your current kernel. Which is great for those of us who can do that. A little less great for Joe Average user.

      --
      I don't need a million points of light, just two points of multi-mode fiber and a 10 Gig-E router.
    2. Re:Linux desktop-user-adoption focus groups? by h00manist · · Score: 1

      Of course the arguable advantage of the model is that if you really want an improvement you can design and implement it yourself.

      Indeed. Anyone can do it. And when "anyone" includes the likes of IBM and Oracle and HP, I just fail to see why they never have. Maybe I am wildly mistaken, but it seems that millions of users want nothing really hard, just easy, fast and free access to a few games, a better-than-microsoft IM client, mp3 downloads, etc. Why can't a user experience ease of use in these simple things, is beyond me. Even joe-user-targeted, desktop-focused Ubuntu doesn't come with an easy button for an IM that a teenager who's addicted to msn can quickly get comfy with, and any games better than solitaire. Next step - call me and ask to install "the real" msn messenger. Heck, the kid should have gotten something that kept him entertained talking to his friends for at least *one hour* until he figured out he wasn't running windows.

      --
      Build your own energy sources from scratch. http://otherpower.com/
    3. Re:Linux desktop-user-adoption focus groups? by sarhjinian · · Score: 1

      Canonical.

      --
      --srj/mmv
    4. Re:Linux desktop-user-adoption focus groups? by s122604 · · Score: 1

      Ubuntu doesn't come with an easy button for an IM that a teenager who's addicted to msn can quickly get comfy with

      I've always thought pidgin was quite a nice program

      especially now that it integrates with Facebook, and GTalk, which between them have pretty much killed off MSN/AOL(thank god)/ICQ/IRC in my lil' circle of friends and family...

  9. Is this a typo? by Anonymous Coward · · Score: 2, Funny

    Is this a typo?

    "... slowdown compared to when this patch was applied." - Shouldn't that be something like "... slowdown compared to the performance before the patch was applied"

    1. Re:Is this a typo? by Aladrin · · Score: 0, Redundant

      Yeah, I'm pretty sure that's what they meant.

      --
      "If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
  10. Xkcd knows it by MetalliQaZ · · Score: 4, Funny
    --
    "Here Lies Philip J. Fry, named for his uncle, to carry on his spirit"
    1. Re:Xkcd knows it by Anonymous Coward · · Score: 0

      best xkcd ever!

  11. Linux desktop users by h00manist · · Score: 1

    Unfortunately it's actually been falling. It was at 1% but it's been going down. Perhaps Android is going to change that. It's not standard Linux, but then again Linux hardly has much of a standard.

    --
    Build your own energy sources from scratch. http://otherpower.com/
    1. Re:Linux desktop users by Anonymous Coward · · Score: 0

      1% of reporting cookies you mean. pffft, hitslink.

    2. Re:Linux desktop users by LingNoi · · Score: 1

      After installing chrome my linux machine's user agent doesn't even register as linux.. Hell it even has the word "safari" in there for some reason so I wouldn't be so quick to claim that linux desktop usage is dropping.

      Also if you look at the trend it normally bounces up and down a lot.

  12. Re:Wasn't there a desktop friendly scheduler rejec by Anonymous Coward · · Score: 0

    Linux scheduling is a complete mess these days. Too many pissing contests and valid needs for different loads requirements on various platforms. The biggest loss is IO, particularly those with SSD systems when you have to spend two days researching umpteen tweaks get back to the IO performance available 3 releases ago, if you're lucky.

  13. Isn't it awesome by bcmm · · Score: 5, Insightful

    Isn't it awesome when a new version of your OS performs *better* than the last one on the same hardware?

    --
    # cat /dev/mem | strings | grep -i llama
    Damn, my RAM is full of llamas.
    1. Re:Isn't it awesome by LanMan04 · · Score: 2, Insightful

      Isn't it awesome when a new version of your OS performs *better* than the last one on the same hardware?

      It sure is. Mac OS X has been doing this for almost a decade.

      --
      With the first link, the chain is forged.
    2. Re:Isn't it awesome by nschubach · · Score: 2, Insightful

      You should clarify that you also don't have to do a full reformat, re-install, and get used to the "new" methods for getting to your files.

      --
      Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
    3. Re:Isn't it awesome by icebraining · · Score: 3, Funny

      The PowerPC owners disagree. The new versions don't perform better in their hardware.

    4. Re:Isn't it awesome by Anonymous Coward · · Score: 0

      Except the latest OS X won't run at all on older hardware.

    5. Re:Isn't it awesome by GF678 · · Score: 0, Offtopic

      Damn straight. Going from Vista to 7 was an amazing improvement.

    6. Re:Isn't it awesome by Anonymous Coward · · Score: 0

      Yeah, that's why I enjoyed both Vista and 7 on my machine. Had 2-5 FPS increase every time.

    7. Re:Isn't it awesome by redJag · · Score: 1

      I love Mac OS X, but let's be honest. 10.1 to 10.4 they were really just fixing performance from the extremely sluggish beta OS. Since then, I haven't seen much improvement personally, while continuing to buy new hardware. It's not a bad thing - they are adding new features without making the OS feel bogged down by them. Also, much improvement has been seen in the past 6 months on the gaming side of things as well.

    8. Re:Isn't it awesome by Anonymous Coward · · Score: 0

      Isn't it awesome when a new version of your OS performs *better* than the last one on the same hardware?

      In an attempt to compare apples to apples... if you upgraded only the kernel, and didn't include any fancy new window managers and so forth, this would be true of every commercial OS.

    9. Re:Isn't it awesome by Anonymous Coward · · Score: 0

      It sure helps a lot if the system you're starting out with is a Petri dish of bugs and a complete hog, like 10.0 was, rather than something like the current linux kernel. :>

    10. Re:Isn't it awesome by orange47 · · Score: 1

      I guess you could also say that old OS version sucked, and needs replacing every-so-often..

    11. Re:Isn't it awesome by toby · · Score: 1

      Isn't that exactly what Linux is doing? "Fixing performance"

      I appreciated that OS X got faster through 10.4. It's the way things should be.

      --
      you had me at #!
    12. Re:Isn't it awesome by Anonymous Coward · · Score: 1, Funny

      You just need to use your imagination. Turn on your lampstand iMac and pretend that ponies and rainbows begin to leap out of it. If you try hard enough you can pretend it's useful. Just like the iPad!

    13. Re:Isn't it awesome by blazerw · · Score: 1

      The PowerPC owners disagree.

      Leopard was slower across the board. PowerPC users are just stuck with it.

    14. Re:Isn't it awesome by tepples · · Score: 1

      Except the latest OS X won't run at all on older hardware.

      Nor will the latest Windows. I've been told running Windows 7 on XP-era hardware is an exercise in pain, just as running Windows Vista was. Windows 7 appeared fast because it wasn't any slower than Windows Vista, and a lot of XP-era hardware had been replaced with Vista-era hardware.

    15. Re:Isn't it awesome by h00manist · · Score: 1

      Isn't it awesome when a new version of your OS performs *better* than the last one on the same hardware?

      Yes, it happens all the time, everyone has had it happen once in their life. Maybe we could even say it's a little more often than that, like twice in a lifetime.

      --
      Build your own energy sources from scratch. http://otherpower.com/
    16. Re:Isn't it awesome by Anonymous Coward · · Score: 0

      that's a damn lie. 10.0 sucked, it was 10.2 before it became stable. 10.3 was an improvement, 10.4 and 10.5 have slowed it down, 10.6 speeded it up again.

    17. Re:Isn't it awesome by RedBear · · Score: 0, Troll

      Isn't it awesome when a new version of your OS performs *better* than the last one on the same hardware?

      Yeah, like how Windows 7 is better than Vista on the same hardware? Or how most versions of OS X since 10.0 have ended up being slightly faster than the previous version on the same hardware?

      Oh wait, were you and your "Insightful" moderators trying to say that Linux is the only operating system that has the ability to improve over time? Sorry. Don't mind me. Back to your regularly scheduled zealotry.

      Seriously. Steve Jobs apparently does not have a monopoly on the Reality Distortion Field. Be supportive of Linux by all means, but please do so with with valid reasoning.

    18. Re:Isn't it awesome by Anonymous Coward · · Score: 0

      Posting this from a PPC Powerbook G3, yes, new versions do tend to run better on this hardware than old versions. Especially now that clang/llvm are usable.

    19. Re:Isn't it awesome by Anonymous Coward · · Score: 0

      Microsoft charged a lot for reduced functionality in Vista and then restoring some of it in Win 7. Apple charges a more reasonable fee for software but has already made their money selling you premium hardware. Also, initial versions of OSX set the bar pretty low in terms of efficiency. They got it more or less stable and shipped. Optimization was left for subsequent releases. Linux has had its own set of persistent technical problems for a long time, but efficiency was never drastically degraded on a major release the way it was with Windows and OSX. By efficiency, I mean responsiveness as a function of the power of the underlying hardware.

    20. Re:Isn't it awesome by icebraining · · Score: 1

      How's the performance of Snow Leopard there?

    21. Re:Isn't it awesome by toddestan · · Score: 1

      Well, it won't run well, but Windows will run on some pretty old hardware. If you can get at least 512MB of ram into it and it's a P3 or better, Windows 7 will install. Apple's requirements are a bit more strict - if your hardware is older than Apple's often arbitrary line in the sand, it refuses to install.

      Besides, my experience is that Windows 7 runs pretty decent on 2.0Ghz P4 from 2003 once I crammed it full of 1.5GB of PC133 (and a 2.0Ghz P4 that uses SDRAM was low end in 2003).

    22. Re:Isn't it awesome by Anonymous Coward · · Score: 0

      Bullshit. Windows Vista and 7 both run fine on older hardware, assuming you have at least SP1 for Vista.

  14. Re:Wasn't there a desktop friendly scheduler rejec by tenchikaibyaku · · Score: 1

    You thought wrong. Well, the part about a scheduler being rejected is pretty right I guess.

  15. Re:Wasn't there a desktop friendly scheduler rejec by rwa2 · · Score: 4, Informative

    They mention the "Con Kolvias" scheduler in TFA, but they don't seem to want to refer to it by its real name:

    http://en.wikipedia.org/wiki/Brain_Fuck_Scheduler

    It doesn't scale well past 16 cores, which is why Linus doesn't want to include it in the main kernel. But it's included in custom kernels for mobile devices, such as CyanogenMOD for my Android phone.

  16. This was always my biggest problem with Linux by dselic · · Score: 5, Funny

    No matter how many different flavors of Linux I installed, it just never seemed as snappy as Windows. There was always a sluggishness about it, nothing I could really put my finger on, but it was definitely there and it bothered me. I'm very glad to hear that a solution is in sight.

    I hope the people at Ubunto get this out as an update as soon as possible.

    1. Re:This was always my biggest problem with Linux by icebraining · · Score: 2, Informative

      Ubuntu.

      And it'll probably be in Natty Narwhal, which is to be released in April 2011. https://wiki.ubuntu.com/KernelTeam/Specs/KernelNattyVersionAndFlavours

    2. Re:This was always my biggest problem with Linux by electrosoccertux · · Score: 0, Redundant

      *in before someone claims their linux experience was always faster than Windows*

    3. Re:This was always my biggest problem with Linux by Jorl17 · · Score: 3, Interesting

      As strange as it may seem, I get that feeling when I touch a *used* Windows machine. No matter who used said machine, it eventually starts slowing down to a crawl. When I came to Linux, I came because I wanted a programmer-friendly environment (The Way It's Meant To Be) and I liked Compiz-Fusion (go figure!). Now I run GNU/Linux because it is GNU/LInux -- Free and Open-Source --, with openbox, fbpanel, pcmanfm, gnome-terminal, evince, chromium-browser, LibreOffice, amarok1.4, gedit, vim and some games (some via Wine). By leaving gnome itself, I learned what speed was really all about. However, I can't help noticing that my laptop gets quite a usability hit when I start eating of its CPU(s) -- but when I compare that with the Windows machines under a heavy load, I see that my poor 500€ laptop can top the asses out of those 1500€ lean-mean-Windows-machines. So, I may be an exception, but Linux, for me, in spite of some notorious disadvantages, can still top Windows in terms of these load-related tasks.

      --
      Have you heard about SoylentNews?
    4. Re:This was always my biggest problem with Linux by dselic · · Score: 2, Interesting

      Nice to see somebody thinks I'm a troll.

      You know, I'm as pro-open source as the next guy here, but I try not to be dogmatic about it. I've played with a bunch of Linuxes from the first half of the 1990s onward and even used it professionally for a time. While there are many things I like about the OS, it does have it's faults. Like not being as user friendly as Win. Like not being as snappy as Win.

      I'm really sorry if I hurt somebody's precious feelings, but a troll I certianly am not. And like I said, I'm very glad this patch is coming out and will continue to run Linux as my secondary OS.

    5. Re:This was always my biggest problem with Linux by dselic · · Score: 1

      I know what you mean. Windows really suffers from a bad case of OS rot, a condition exacerbated by the copious amonts of malware collected by the typical user. But the UI, in my experience, is a tad snappier. That's all I was saying.

    6. Re:This was always my biggest problem with Linux by mcgrew · · Score: 1

      How long ago did you try Linux? My Acer Aspire came with Windows 7, and after using it for a few months installed kubuntu. I didn't notice any difference in speed or "snappiness" at all.

    7. Re:This was always my biggest problem with Linux by Anonymous Coward · · Score: 0

      Nasty Narwhals? In MY Ubuntu?

    8. Re:This was always my biggest problem with Linux by DrgnDancer · · Score: 1

      Not to fanboi out, because I'm well aware of OSX's problems as well as it's advantages, but I think Apple has it right in this case. Their UI always seems snappier than either Linux or Windows. I'm fairly certain their scheduler is written to highly prioritize foreground tasks. There's advantages and disadvantages to any model of course, but since I personally am an inpatient bastard, I like an OS that prioritizes what I'm doing right now over whatever I'm running in the background or whatever it feels like it needs to be doing at the moment.

      --
      I don't need a million points of light, just two points of multi-mode fiber and a 10 Gig-E router.
    9. Re:This was always my biggest problem with Linux by jjohnson · · Score: 2, Interesting

      Nope, you're not a troll. I have the exact same complaint about Linux desktops (and OSX): Windows just seems slightly but noticeably snappier for keyboard and mouse events. I just thought that someone at MS realized that this was an important area to get right, while Linux and OSX struggled against a cap dictated by other design decisions (such as Apple's Quartz library being strongly based in NextStep's display PostScript origins).

      It was never a huge deal to me because so many other considerations are also important, but it's always noticeable.

      --
      Anyone who loves or hates any language, platform, or manufacturer, doesn't know what they're talking about.
    10. Re:This was always my biggest problem with Linux by dselic · · Score: 1

      I haven't used OS X for more than five minutes at a time so I really can't comment on its responsiveness, but yeah, prioritizing foreground tasks is no doubt a wise idea.

    11. Re:This was always my biggest problem with Linux by Myopic · · Score: 2, Interesting

      Seriously? I thought you were joking but you got modded Insightful instead of Funny. All day at work (the only time I'm subjected to Windows) I sit around wondering why Windows takes 93 seconds (literally, not figuratively -- I counted) to open directories with a few thousand files in them, whereas Linux takes something on the order of .01 seconds. I have never, not even once, thought of Windows as "snappy", especially when compared to Linux. But, I don't want to argue about it, I don't want to start a flamewar, and I don't doubt the sincerity of your statement; I merely have had a very, very different experience.

    12. Re:This was always my biggest problem with Linux by Anonymous Coward · · Score: 0

      You must have gotten a beefier Acer Aspire than I did. My Acer Aspire One ran Windows 7 so slowly that I never had the patience for it to actually fully boot and open an application. I had always intended to run Ubuntu (with XFCE) though. (This is with a single-core Atom processor and only 1 GB of RAM.)

    13. Re:This was always my biggest problem with Linux by 6031769 · · Score: 1

      I read your comment and was completely surprised that your experience could be like this, when mine was the complete opposite (every version of Windows I have ever used has been horribly slow in comparison to Linux).

      Then a possibility occurred to me. Perhaps you have only been using GNOME or KDE? These are big, slow desktop environments and one or other is usually the default in most distros. If you would rather have something really fast, but still need X, then take a look at any of the alternative, smaller window managers out there which will make your experience screamingly fast in comparison.

      HTH

      --
      Burns: We're building a casino!
      McAllister: Arrr. Give me 5 minutes.
    14. Re:This was always my biggest problem with Linux by butalearner · · Score: 2, Interesting

      Not the mod, but I can see where he's coming from. I can maybe see his claim having merit if he's only tried the heaviest GNOME or KDE distros, but "no matter how many distros he's tried?" That comes very close to trolling, considering there is at least one fairly well-known distro that loads itself entirely into RAM.

      Of course it is difficult to argue against anecdotal evidence, especially if you don't know the hardware situation. Personally I'm fairly positive my nicely-tuned Arch install runs circles around my fully-patched Vista install, but that's just my experience.

    15. Re:This was always my biggest problem with Linux by h4rr4r · · Score: 1

      Not in all use cases. Only in the desktop use case in fact.

    16. Re:This was always my biggest problem with Linux by BrokenHalo · · Score: 1

      why?

    17. Re:This was always my biggest problem with Linux by abigor · · Score: 1

      Well, it's no surprise that running a feature-poor window manager will outperform a full desktop environment. You are comparing apples to oranges. The full desktops offered by Windows and the Mac kill any full Linux-based desktop, full stop.

    18. Re:This was always my biggest problem with Linux by wiredlogic · · Score: 2, Informative

      If you cut back on the eye candy most distros have in their default desktop environments you'll wipe away any sluggishness. Switching to a simple window manager that doesn't use pixmaps for everything will significantly improve X's performance.

      --
      I am becoming gerund, destroyer of verbs.
    19. Re:This was always my biggest problem with Linux by ThatsNotPudding · · Score: 1

      sit around wondering why Windows takes 93 seconds (literally, not figuratively -- I counted) to open directories with a few thousand files in them

      bad shortcuts to network paths that no longer exist?

    20. Re:This was always my biggest problem with Linux by Anonymous Coward · · Score: 0

      I wish I could mod you +1 Diplomatic. Well done, sir.

    21. Re:This was always my biggest problem with Linux by Tetsujin · · Score: 3, Funny

      tired "inb4" bullshit...

      why?

      Because if you can predict how people are going to react to a certain set of conditions then you have demonstrated mastery over their inferior minds. But you have to call it out, or else no one will know!

      --
      Bow-ties are cool.
    22. Re:This was always my biggest problem with Linux by dselic · · Score: 1

      Yeah, I have for the most part been using KDE and GNOME-based distributions, but I don't really think you can fault me for that because it's implicit that we're comparing a typical Windows experience with a typical Linux one.

      And in all seriousness and without any desire to flame/troll or anything of the sort, you can't really say that some niche barebones Window manager is typical of Linux on the desktop.

      Finally, I was just relating my own experience. Nothing more

    23. Re:This was always my biggest problem with Linux by Myopic · · Score: 2, Interesting

      Yeah, I never really figured it out. These are local directories having, oh, maybe three or four thousand files. It is the first time the directories have been opened since the files were written. But still, what the heck is taking 93 seconds? When I re-open the directory, it only takes a short amount of time, so I figure Windows is creating some kind of cache that first time. Still, it's an inexcusable user experience. But, it's an ongoing problem that I have every day or two, because I deal with a lot of these directories with lots of files written to them.

    24. Re:This was always my biggest problem with Linux by adisakp · · Score: 1

      I have Windows Vista and Ubuntu at Home. While it's true that some things (like directory opens and file copies) take frustratingly long to execute, in general most of the time Vista feels significantly "snappier" than Ubuntu. I have Windows 7 at work and that's even better than Vista since it eliminates some of the annoying Vista stalls. I like using Linux but I would argue that the current Linux desktop is still clunky and feels slower even when compared to the previous older generation of Windows. If this scheduler is enough to "feel" the difference, then it can help close the user experience gap between Linux and Windows which is good for everyone.

    25. Re:This was always my biggest problem with Linux by downhole · · Score: 2, Interesting

      I probably haven't tried nearly as many flavors of Linux or Windows as you, but my experience has been the complete opposite. My Ubuntu install, running Gnome on a pretty average system (3.1ghz dual core AMD CPU, 4GB RAM, integrated video), feels lightning-fast and responsive compared to pretty much every other system I've ran so far. Especially the Windows systems I use at work, which admittedly are all XP systems infected with McAfee. I've always been kind of a junkie for really responsive UIs - it drives me nuts when Windows and IE7 always take half a second here and a second there to respond to every little command. My Linux system virtually never does this, which is why I'm happy to keep using it. And of course anything that makes it better yet is more than welcome.

      --
      I don't reply to ACs
    26. Re:This was always my biggest problem with Linux by Anonymous Coward · · Score: 0

      although linux tries to "keep up" with windows. just try nautilus (gnome's fm)

    27. Re:This was always my biggest problem with Linux by BrookHarty · · Score: 1

      The Not-Me posts are amusingly standard in any topic of performance issues on linux. Thus this patch shows visually in the videos what people have been talking about and ridiculed for posting about slow performance issues. Performance issues are real, but the whole circle jerk posts that there are no performance issues on linux, are yet again, proven wrong.

    28. Re:This was always my biggest problem with Linux by ZERO1ZERO · · Score: 2, Informative
      Tools -- Options --- classic mode (turn off the stupid 'sidebar'), disable thumbs.db creation.

      Windows is so annoying with the sidebar thing if you click a video and then try to delete it it won't let you delete it because it's caching the preview for the sidebar.

    29. Re:This was always my biggest problem with Linux by ZERO1ZERO · · Score: 1
      I get this as well. Various distros, various systems. KDE usually feels faster than Gnome. Also I think a lot of it is perceptual. For example, right click the Gnome desktop, it will draw the blank menu canvas, and then draw the menu entries. This is visibly possible to see. Repeatedly. It doesn't seem to cache it. Main menus have a similar thing, but it draws the canvas, then the text, then loads in the icons quite nicely.

      Windows does it different, it draws 'instantly' (unless your system has a load on, in which case maybe you get the outline and then a pause and then the whole menu completely appears., or items load in one-by-one)

      MacOSX is *instant*. Always. Bookmarks menu in Safari, lags the first time you open it, like Gnome right click. Then it's instant.

      I guess it's kinda similiar to the browser configuration wait.to.render whereby the browser might wait a few hundred ms to collect enough data to draw the page, rather than drawing it instantly and perhaps havingto reformat due to unforeseen content.

      I remember maybe a year or 2 ago I stuck Ubuntu 8.10 on a Dell Precision workstation (xeons, 4GB, quattro gfx) and that ran Gnome amazingly well. The menu speed was fast as. I remember actually being blown away a little as it ran gnome so well, but that was a £2500 system so it bloody well should've.

    30. Re:This was always my biggest problem with Linux by hedleyroos · · Score: 1

      Since everyone is off-topic about moral high ground etc. I'll post my experiences with Linux GUI responsiveness over the years.

      First off Windows always felt faster on machines before the multicore / GPU accellerated desktop era. KDE had a similar level of functionality to Windows but felt slower. It reminded me of a cheap Sharp front loader CD player. The controls always felt too plasticky and button presses weren't instant. And the CD took just too long to skip to the next track. I resorted to Fluxbox for speed.

      Vista was crap and at that stage hardware was getting really fast and Linux (at this stage I started using Ubuntu) started feeling snappier. Windows 7 got better but Ubuntu has always felt faster since. Maybe it does less - who knows, it's good enough for me.

      Windows is still useless with missing network / scratched CD's / broken flashdisks. Everything hangs. No such issues with Ubuntu.

      I wonder if a better GPU has anything to do with your better experience?

    31. Re:This was always my biggest problem with Linux by 10101001+10101001 · · Score: 2, Insightful

      I have never, not even once, thought of Windows as "snappy", especially when compared to Linux. But, I don't want to argue about it, I don't want to start a flamewar, and I don't doubt the sincerity of your statement; I merely have had a very, very different experience.

      I don't want to start a flamewar either, but I'll throw in my two cents. My own experience has been that Windows 95, Windows 98, and Windows 98SE (never really used ME) were snappy on the hardware of their day when it came to things like file browsing. This held true even after the installation of IE4 to IE6SP1 (although after every IE install it seemed less snappy). In comparison, Nautilus, Konqueror, Dolphin, and ROX all seem significantly slower on much more powerful hardware. With Windows 2000/XP on similar hardware I see similar behavior.

      I'd assume it's all scheduling issues, personally. But, then, it could also be partially a perceptual thing. A file browser locking up for two seconds and displaying a full file list seems faster (and is less annoying) than a file browser that updates every half second (which is frustrating because things jump around) and displays a full file list after 1.5 seconds (although you'll probably have to wait until 3 seconds to make sure it didn't just seeming stall and will resume again). With Windows 9x, it seemed that whatever you were doing was always more responsive than what happened on Windows 2000/XP or Linux, nearly regardless of the power of the hardware.

      It's funny, but Windows 9x came out at the time when hardware was finally powerful enough to have near instant user interactivity on most common tasks, so it's not hard to see why people might have fond and/or warped memories of the past. I know i do.

      --
      Eurohacker European paranoia, gun rights, and h
    32. Re:This was always my biggest problem with Linux by Duncan+J+Murray · · Score: 1

      Agreed - A fresh install of Win XP is pretty amazingly snappy, but just a week or two down the line this isn't the case anymore. I've found ubuntu to remain at a moderate amount of snappiness for longer. WinXP after 6 months was largely unuseable on my old Pentium M 1.3Ghz.

    33. Re:This was always my biggest problem with Linux by spiderbiten · · Score: 1

      I thought of Windows as snappy once, but that was after I got Windows Server 2003 up and running on my fibre channel harddrives with fiber optic cabling.

    34. Re:This was always my biggest problem with Linux by Anonymous Coward · · Score: 0

      I dont know if this is the case, but I use Windows for some years without online antivirus (I use a kaspersky bootable CD to make an offline scan of my HD every two weeks).
      And, when I am using some computer in the office or of a friend that has AV software in it, even if the machine has a better processor, the Windows feels completely sluggish.

    35. Re:This was always my biggest problem with Linux by Anonymous Coward · · Score: 0

      Loading a directory containing 24000 files with Dolphin or Krusader on my computer takes over 15 seconds.

    36. Re:This was always my biggest problem with Linux by Waccoon · · Score: 1

      My experience is that Windows is far superior with multimedia tasks but much worse with "real" work. Every time I try a new Linux distro (with proper video drivers), it always feels sluggish. OSX also feels like a dog even on a high-end Mac. I may not be opening a folder with thousands of files, but I am just surfing the system to see what menus are available, looking at the file structure, rapidly opening and closing browser windows, etc.

      Then again, I use a retail copy of Windows, haven't used anti-virus software until just a year ago, and don't play any games that require kernel-mode DRM drivers. My WindowsXP machine is a helll of a lot faster and more responsive than, say, my mother's. Boots in 18 seconds after POST, with Apache and MySQL, no less.

    37. Re:This was always my biggest problem with Linux by Anonymous Coward · · Score: 0

      I think it may be more a case of graphics card drivers holding you back.

    38. Re:This was always my biggest problem with Linux by Myopic · · Score: 1

      So that's, what, more than ten times faster than Windows? Yeah, see that's what I'm talking about. Thanks for offering an additional corroborating anecdote.

    39. Re:This was always my biggest problem with Linux by andymadigan · · Score: 1

      Not even always then, there are various cases (e.g. video conferencing) that can suffer HORRIBLY if you happen to click on the browser on your other monitor.

      --
      The right to protest the State is more sacred than the State.
  17. Re:Wasn't there a desktop friendly scheduler rejec by icebraining · · Score: 1

    Auto group scheduling is useful for servers too.

  18. backport? by real_smiff · · Score: 2, Insightful

    any chance of backport of this e.g. to .35 kernel for use in ubuntu maverick? i could use that :) or even to .32 for use in 10.04 LTS..

    --

    This is my Sig, this is my Gun. One is for Slashdot and one is for Fun.

    1. Re:backport? by equex · · Score: 1

      Or for .28 ? I am using the still supported 8.04 LTS.

      --
      Can I light a sig ?
    2. Re:backport? by pak9rabid · · Score: 4, Insightful

      Why not just compile it yourself?

    3. Re:backport? by Thelasko · · Score: 2

      Why not just compile it yourself?

      See above

      --
      One of our competitors trademarked the term "hypothesis". From now on, we will call them "boneheaded ideas".
    4. Re:backport? by b0bby · · Score: 2, Funny

      Because it'll slow down everything on his system...

    5. Re:backport? by AntiRush · · Score: 1

      Ubuntu has builds of mainline kernels:https://wiki.ubuntu.com/Kernel/MainlineBuilds

    6. Re:backport? by Anonymous Coward · · Score: 0

      Every time there is a security update??

    7. Re:backport? by gabereiser · · Score: 0

      i second this... this would be a nice shot in the arm for those of us NOT using repo kernels..

    8. Re:backport? by pak9rabid · · Score: 1

      Yes

    9. Re:backport? by Anonymous Coward · · Score: 0

      You may be able to achieve something similar with userspace hacks.
      See the arm twist on the mailing list: http://lkml.org/lkml/2010/11/16/330

  19. Actually that sounbds quite large. by 91degrees · · Score: 4, Informative

    Typically when you get this sort of speedup, it's by rewriting a tiny piece of code that gets called a lot. Sometimes you can get this sort of thing from a single variable, or for doing something odd like making a variable static.

    1. Re:Actually that sounbds quite large. by Jorl17 · · Score: 1

      Go RTFA. Then come back and see where you went wrong there.

      --
      Have you heard about SoylentNews?
    2. Re:Actually that sounbds quite large. by ais523 · · Score: 1

      I'd be very surprised if nobody had profiled the Linux kernel to look for all such speedups already. This is likely, instead, one of those speedups obtained via changing to a better algorithm, which can be even better than those made by optimising inner loops. (Speedups from optimising inner loops are generally around 30 to 50 percent unless you did something really stupid, in my experience; I've known speedups from improving algorithms to be well over 10000 percent (or 99 percent, depending on what you measure it relative to).)

      --
      (1)DOCOMEFROM!2~.2'~#1WHILE:1<-"'?.1$.2'~'"':1/.1$.2'~#0"$#65535'"$"'"'&.1$.2'~'#0$#65535'"$#0'~#32767$#1"
    3. Re:Actually that sounbds quite large. by 91degrees · · Score: 3, Funny

      Uhm... I went wrong by not explaining my point in excruciting detail?

    4. Re:Actually that sounbds quite large. by mcvos · · Score: 2, Informative

      From what I gather (which isn't a lot, mind you), it's not so much optimizing the execution of an algorithm, but changing what the algorithm actually does. In this case: smarter scheduling.

    5. Re:Actually that sounbds quite large. by Anonymous Coward · · Score: 0

      Actually it's not a speedup at all. It's a different scheduling approach, which ultimately seems to favour applications that need to be responsive to user input over applications consuming large chunks of cpu-time.

    6. Re:Actually that sounbds quite large. by PseudonymousBraveguy · · Score: 4, Informative

      No, you went wrong by confusing "improving the decisions of the scheduler, so that the user experience is improved" with "making the scheduler run faster."

    7. Re:Actually that sounbds quite large. by LateArthurDent · · Score: 1

      Uhm... I went wrong by not explaining my point in excruciting detail?

      You went wrong by thinking this is code optimization. It's not, it's a scheduler. What this does patch does is to assign CPU time to different processes that are running simultaneously in such a way that it's more optimal for a user workstation, as compared to the previous scheduler. So if you're watching 1080p video and compiling the kernel, that's not happening more efficiently, but the 1080p playback is getting CPU time slices such that you're not going to be stuttering just because the compiler is also using the CPU.

    8. Re:Actually that sounbds quite large. by 91degrees · · Score: 0, Redundant

      No I didn't. I went wrong by not going into more detail.

    9. Re:Actually that sounbds quite large. by QuantumBeep · · Score: 1

      He was correct, you pedantic freaks.

    10. Re:Actually that sounbds quite large. by Raffaello · · Score: 1

      No, he was not. This change will actually *slow* tasks of lower priority so it is *not* a speedup. In the example given by your parent and the videos from TFA, the compile will actually take *longer* because more cpu resources are being given to the video playback. A compile job taking *longer* is not a speedup.

      However, from the user perspective, the video will play more smoothly and since you were watching Big Buck Bunny to kill time while the compile was happening, you likely won't notice or care that the compile took x% longer than it would have under the existing kernel.

    11. Re:Actually that sounbds quite large. by OverlordQ · · Score: 1

      It's from Phoronix, always take their 'tests' with a titanic-sinking iceberg-sized grain of salt.

      --
      Your hair look like poop, Bob! - Wanker.
    12. Re:Actually that sounbds quite large. by noidentity · · Score: 1

      I really doubt this is a case of spending less time in the kernel, rather better scheduling. In other words, this is an algorithmic improvement, not merely code optimization.

    13. Re:Actually that sounbds quite large. by Anonymous Coward · · Score: 0

      "He was correct, you pedantic freaks."
      Heh. This gives a whole new meaning to "without lube". You *will* grok all of it....

    14. Re:Actually that sounbds quite large. by Tetsujin · · Score: 1

      Actually it's not a speedup at all. It's a different scheduling approach, which ultimately seems to favour applications that need to be responsive to user input over applications consuming large chunks of cpu-time.

      It doesn't even do that.

      What it does is create groups of processes according to the controlling TTY. The reason the "make -j64" didn't totally overrun the machine is because all those processes were running in a single group, and all the GUI apps (presumably running with no controlling TTY) were in another group.

      If the GUI apps had been launched from the same terminal window as the compile, then (assuming the GUI apps didn't detach themselves from the TTY) they'd be bogged down by the compile. If another app with no controlling TTY was causing the slowdown, that too would cause the GUI apps (with no controlling TTY) to crawl.

      I think I've got that correct...

      --
      Bow-ties are cool.
  20. But what if the "heavy background task" has been l by ArsenneLupin · · Score: 4, Interesting

    The patch being talked about is designed to automatically create task groups per TTY in an effort to improve the desktop interactivity under system strain.

    I guess this works because the task loading up the machine will have been launched from a konsole, and thus be tied to a specific tty (the make -j64 example given later), so a tty-based scheduler can appropriately downgrade it.

    But what if the "loading" task has been launched directly from the GUI (such as dvdstyler)? It won't have a tty attached to it, and will be indistinguishable from all the other tty-less tasks launched from the GUI (such as the firefox where you browse your webmail), or worse, Firefox itself creating the load (such as happens when you've got too many Facebook or Slashdot tabs open at once...)

  21. typo by gatzby3jr · · Score: 2, Informative

    While compiling the Linux kernel with 64 parallel jobs, 1080p video playback was still smooth, windows could be moved fluidly, and there was not nearly as much of a slowdown compared to when this patch was applied.

    shouldn't that read "and there was not nearly as much of a slowdown compared to when this patch wasn't applied"?

  22. will this help with the swap-paralysis problem? by Anonymous Coward · · Score: 5, Interesting

    This has been brought up by others on slashdot before, but Linux tends to be either (A) fine and happy, or (B) pushed into a thrashing state from which it can never recover - like it takes 8 or 10 minutes to move the mouse cursor across the screen. Since there is relatively no warning before this happens, it makes a hard reboot just about the only option.

    Will this patch help with that issue? Like the threads below say, once a modern (KDE/Gnome) desktop Linux starts swapping, there is so much new data produced per second by the GUI that it's basically game over. I'd like to see a fix for this: it's the single biggest cause on Linux that makes me do a hard reboot. I just don't have the patients to see if the thing will recover in half an hour or so, even though it might.

    http://ask.slashdot.org/comments.pl?sid=1836202&cid=33998198
    http://ask.slashdot.org/comments.pl?sid=1836202&cid=33999108
    http://www.linuxquestions.org/questions/linux-kernel-70/swap-thrashing-can-nothing-be-done-612945/

    1. Re:will this help with the swap-paralysis problem? by real_smiff · · Score: 2, Interesting

      ah i see this regularly on my netbook with 512MB RAM and a slow SSD; just by having too many firefox tabs open. didn't realise it was a known problem. yes very annoying indeed. thanks for bringing it up...

      --

      This is my Sig, this is my Gun. One is for Slashdot and one is for Fun.

    2. Re:will this help with the swap-paralysis problem? by Skater · · Score: 1

      I did that this weekend by selecting about 150 JPGs on a network drive, then right-clicking and hitting Gwenview. I thought it would load them all into one instance of Gwenview, but instead it loaded 150 copies of Gwenview. D'oh. I think I could have recovered the machine given enough time, but I didn't want to wait and rebooted.

      Still, that's only the third or fourth time I've had to reboot a machine for something like that using Linux, and I've been using it since 1998 or so.

      I doubt this patch will help with that type of problem though.

    3. Re:will this help with the swap-paralysis problem? by Anonymous Coward · · Score: 1, Informative

      512MB, wow! I wouldn't have guessed something like KDE could even be run on that little. I have 2 GB, and I see the above "endless swapping" problem about once every month or two running KDE 4.5. However, note that you can delay the time between seeing it if you restart KDE every week or so. It leaks memory over time, but restarting it "resets" its memory use, so if I remember to do that, I'll basically never see the swapping problem.

    4. Re:will this help with the swap-paralysis problem? by Anonymous Coward · · Score: 1, Interesting

      You do a *hard reboot* to recover? Why not just wait a few minutes, or better yet, kill X, firefox or any other process hogging an insane amount of memory and then wait a few minutes before restarting it. Linux actually recovers after a while, unlike other OSes that just crashes.

      Or, better yet, actually buy enough RAM for keeping your system up and running. If you run Firefox, OpenOffice.org and virtualized Windows at the same time, you do need an insane amount of memory. Don't blame Linux for when your system isn't up to spec.

    5. Re:will this help with the swap-paralysis problem? by h00manist · · Score: 1

      http://durban.gumtree.co.za/c-Stuff-for-Sale-computers-software-dell-latitude-d400-laptop-W0QQAdIdZ242437576

      i have a dell latitude laptop . its slim lite and compact. in good working order, has 512mb ram 40gig hard drive bluetooth wifi etc. registerd version of windows xp. comes with spare battery and external dvd rom. wifi and network connections works perfect.
      asking for R2500 onco

      2,500.00 ZAR = 354.032 USD
      http://en.wikipedia.org/wiki/List_of_countries_by_GDP_%28PPP%29_per_capita
      Don't know proper calculations, but I believe that with purchasing power counted this 512mb laptop would be roughly the equivalent of USD$1200 in the US market and wages. So yes, most people around the world use very old computers. XP is still the most-used OS, likely partially for that reason.

      --
      Build your own energy sources from scratch. http://otherpower.com/
    6. Re:will this help with the swap-paralysis problem? by Anonymous Coward · · Score: 1, Informative

      > You do a *hard reboot* to recover? Why not just wait a few minutes, or better yet, kill X, firefox or any other process hogging an insane amount of memory and then wait a few minutes before restarting it.

      Because the system becomes all but unresponsive. You can't interact with it enough to kill the processes - that might take half an hour or more. Moving the mouse to another window takes 10 minutes (literally). You can't use an alt-ctrl-F1 style text terminal either because the login times out before you can log in. There is no way to kill the process as you suggest.

      > Don't blame Linux for when your system isn't up to spec.

      I have two gigabytes in my laptop. I cannot upgrade it further.

      If I was the only person with this problem I'd chalk it up to something odd about my system, but there are many others, even other Linux users I know locally who see the same issue. Also note that defects have been filed against this problem by lots of people. It is a real problem. Dismissing it does a disservice to the possible desktop acceptance of Linux.

    7. Re:will this help with the swap-paralysis problem? by Anonymous Coward · · Score: 0

      Why do you need your patients to see? Can't you look yourself?

    8. Re:will this help with the swap-paralysis problem? by real_smiff · · Score: 1

      who said anything about KDE? that netbook is runnning Mint9 and Gnome. one of the most common setups there is. and before you say upgrade the RAM, that's difficult on an Aspire One!

      --

      This is my Sig, this is my Gun. One is for Slashdot and one is for Fun.

    9. Re:will this help with the swap-paralysis problem? by marcosdumay · · Score: 1

      I'll second the people recommending you to buy some more RAM and turn off swapping. Also, you may have some background processes that are consuming memory, and should be used on such a low spec machine (Let's be fair here, 512M is low spec for a modern KDE/GNOME), like anti virus, torrent, or anything that shufles big amounts of data around.

      Just upgrading your RAM to 1GB will make a huge difference. If you really don't want that, and have no process to disable, I'd recommend switching to a lighter desktop environment.

    10. Re:will this help with the swap-paralysis problem? by rrohbeck · · Score: 1

      What often helps in those cases is Ctrl-Alt-F1 and log in (yeah it may take a minute or two), or ssh in from another system, and kill the offending process.

    11. Re:will this help with the swap-paralysis problem? by Anonymous Coward · · Score: 0

      This.
      I'm fucking tired of my machine randomly locking up because FF decided to eat up all RAM again.

    12. Re:will this help with the swap-paralysis problem? by couchslug · · Score: 1

      "Linux actually recovers after a while, unlike other OSes that just crashes."

      Nice, but waiting a half-hour on principle is a bit much when ones machine locks up like two dogs fucking.

      A Core Duo with 2GB is obsolete for anything but web browsing, but that's exactly what I'm usually doing with it when this happens.

      --
      "This post is an artistic work of fiction and falsehood. Only a fool would take anything posted here as fact."
    13. Re:will this help with the swap-paralysis problem? by TehClaws · · Score: 1

      I don't think it's as bad as it used to be, but perhaps I have an atypical setup: 4Gb RAM + 1Gb swap on a SSD. When something leaks or I set a wrong param. in a program I use, it usually takes around 1 - 1½ min. for the kernel to do an OOM and restart X, granting me a login screen - I've lost everything I worked on of course.

    14. Re:will this help with the swap-paralysis problem? by ZerdZerd · · Score: 1

      I saw this on my 2GB laptop with Intel X-25M SSD. Whenever I hit about 1.6GB used ram it would swap for several minutes, and sometimes grind to a halt.

      --
      I'm not insane! My mother had me tested.
    15. Re:will this help with the swap-paralysis problem? by brantondaveperson · · Score: 1

      The last time I used Linux was something over fifteen years ago, and this exact same thing was happening then. It's hard to believe that it continues to happen, even to this day.

    16. Re:will this help with the swap-paralysis problem? by balbus000 · · Score: 1

      I just don't have the patients to see if the thing will recover in half an hour or so

      ...you should probably have your medical license revoked.

      (Sorry, couldn't help it.)

  23. Please. by drolli · · Score: 2, Insightful

    When doing benchmarks, do them seriously.

    okok... i know its phoronix...

    A single *atypical* workload as a benchmark, without a full characterization does not make me consider to use a kernel path on my system which is reported in the style of an UFO-sighting....

    I wonder if nicing the kernel compilation would have had a similar effect....

    1. Re:Please. by u17 · · Score: 1

      I dislike Phoronix, and if you do too, you might be interested in reading the original lkml thread.

    2. Re:Please. by onefriedrice · · Score: 3, Insightful

      I wonder if nicing the kernel compilation would have had a similar effect....

      Probably, but that's not really the point. A user should rarely (if at all) have to use nice on a desktop, because a desktop operating system is supposed to be able to keep input latency low, always. That is the reason BeOS had such incredible perceived speed, but some "modern" operating systems are still struggling with this feat. I mean, it's 2010 and we've had 25+ years to work this out. Cursor stuttering and choppy video should have been a completely solved problem by now.

      --
      This author takes full ownership and responsibility for the unpopular opinions outlined above.
    3. Re:Please. by Arimus · · Score: 1

      I tend to use nice a fair bit personally, some times I want my desktop to be really responsive, other times I want my background compilation task to be fast.. just depends on what I am up to, and no matter how good the scheduler is it can't read my mind (for god's sake I get enough 404 errors trying to find the bit I want and its my head)

      --
      --- Users are like bacteria -> Each one causing a thousand tiny crises until the host finally gives up and dies.
    4. Re:Please. by drolli · · Score: 1

      Very often perceived latency depends more on the program than on the OS. Trying to compensate with scheduling for badly written software is wrong.

      The question is: how much performance are you willing to sacrifice for guaranteed low latency?

    5. Re:Please. by KZigurs · · Score: 1

      It is. It's just that there's too many valid and acceptable ways to do this and therefore there are way too many egos involved to actually agree on doing something.

  24. performance on older systems by real_smiff · · Score: 1

    presumably if this helps under heavy cpu load, it may benefit older systems the most? is this true? anyone tried on single core? have read RTFA and they use some i7 thing that i would umm expect to be responsive ;)

    --

    This is my Sig, this is my Gun. One is for Slashdot and one is for Fun.

    1. Re:performance on older systems by bfree · · Score: 1
      TFA says the videos were from a core i7 but the sentence before that says:

      This patch has been working out extremely great on all of the test systems I tried it out on so far from quad-core AMD Phenom CPUs systems to Intel Atom netbooks.

      --

      Never underestimate the dark side of the Source

  25. Re:Wasn't there a desktop friendly scheduler rejec by Anonymous Coward · · Score: 0

    It doesn't scale well past 16 cores, which is why Linus doesn't want to include it in the main kernel.

    What kind of reason is that? If there are =16 cores use it; otherwise, use the old one.

  26. Re:But what if the "heavy background task" has bee by nschubach · · Score: 1

    Someone can correct me if I'm wrong, but a TTY includes the separate terminal sessions and particular X Windows session(S) you are in. IE: CTRL+ALT+F1 - CTRL+ALT+Fn

    Not "in window" terminal sessions alone.

    --
    Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
  27. Re:Wasn't there a desktop friendly scheduler rejec by tenchikaibyaku · · Score: 5, Informative

    This is not the scheduler that the grandparent would be referring to though. BFS has been around for about a year, and has as far as I know never actually been pushed for inclusion.

    The previous scheduler that Con wrote was rejected in favor of CFS which is currently in use by the kernel. CFS is at least partly based on ideas from Con, and he was also credited for them.

  28. But 400 lines of code.... by Anonymous Coward · · Score: 5, Funny

    ....would make it 2x faster! LOC is the #1 metric for programming.

    1. Re:But 400 lines of code.... by Anonymous Coward · · Score: 0

      actually its the inverse. you can verify this trivially by examining the boundary condition,
      where a zero line program runs very fast

    2. Re:But 400 lines of code.... by noidentity · · Score: 1

      No, that would make it half the speed; 100 lines of code would double speed, since there's half to execute. Continuing, 50 would make it four times... woah, if it were reduced to zero lines, it would go infinitely faster. I'm going to try this zero-line version right now...

  29. Re:But what if the "heavy background task" has bee by ArsenneLupin · · Score: 4, Interesting
    My point is that tty-based scheduling works fine if both groups among which you want to distinguish have a different tty.

    With make -j64, this is ok: The make will have been started from a terminal (it's not important whether it's a Linux (console) terminal or within an X window), whereas most other GUI programs won't. So they can be distinguished from each other.

    But in case of dvdstyler, it won't have a tty if it has been started directly through the menus, and so the scheduler cannot put it in a different group than all the other GUI apps (which also lack a tty).

    Of course, if you start dvdstyler from the command line (from a konsole), this won't apply.

    You can easily check which tty (if any) a program has associated by doing a ps auxww and looking at the 7th column (where it will say ? for "no tty" or name the tty (such as pts/9)

  30. Re:Wasn't there a desktop friendly scheduler rejec by GF678 · · Score: 1

    I've always wanted to know why Con gave it the name that it has. It certainly grabs attention, but does it reference anything or is it just a use of profanity for no purpose?

  31. Re:Wasn't there a desktop friendly scheduler rejec by Enderandrew · · Score: 4, Interesting

    Con Kolivas worked on his staircase scheduler and various performance patches for years. They were routinely demonstrated to be a major improvement. Linus kept saying he was concerned the tradeoff of desktop performance would come in other environments, even though that wasn't true.

    Since benchmark after benchmark showed staircase was vastly superior to what was in mainline, Linus then went to go after the guy rather than the code. He said Kolivas couldn't be trusted to support his code, and thusly it would never be accepted mainline. Reality was that Kolivas had been responding to criticism and updating his patchset for over 3 years, constantly improving it. In addition to the LKML, he also maintained his own support mailing list.

    I'm a Linus fan 95% of the time, but it was a really shitty move, and it drove Kolivas away from contributing. He quit coding for a while. Then after Linus argued for years how this was a bad idea, suddenly the mainline kernel developed the Completely Fair Scheduler overnight, which was very similar to Kolivas' Staircase scheduler. Linus never admitted he had been a dick for years arguing against the thery of the scheduler rewrite. He then pushed the brand new, untested scheduler into mainline.

    CFS is better than what we had before, but it still lost in benchmarks to Staircase, and it was new, untested code.

    Now, Kolivas came out of retirement with a new scheduler called Brainfuck that is even faster, but he has no intention of ever tryint to get it in the mainline kernel.

    --
    http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
  32. Re:But what if the "heavy background task" has bee by icebraining · · Score: 1

    It'll have a tty attached, but always the same - the one that started Xorg.
    You can start GUI apps from the terminal, and they'll keep the new tty (something in /dev/pts), but if you disown them and close the terminal, they'll be tty-less.
    At least, this is what I can gather from using "ps -e l"

    Fine for me, since besides Firefox I mostly use CLI/curses apps, but it seems it's not a great heuristic for normal GUI users.

  33. Normal load? by shish · · Score: 1

    While compiling the Linux kernel with 64 parallel jobs

    Ok, but how does it handle under normal desktop stress? Can windows still be moved smoothly when firefox has 50 javascript-heavy sites open?

    --
    I mod down anyone who says "I will be modded down for this", regardless of the rest of their comment
    1. Re:Normal load? by Beelzebud · · Score: 1

      Having Firefox opened with 50 javascript-heavy sites, in their own tabs, is considered "normal desktop stress"?

    2. Re:Normal load? by shish · · Score: 1

      I have a bunch of google apps (gmail, calendar, docs) open 24/7 for work and personal accounts; plus when I get round to reading news I end up middle clicking most things on the slashdot front page; then doing web dev (ok, I guess that's not standard...) I'd have another 10 tabs or so for our own site, bug tracker, build system, blah blah; and then I keep tabs open instead of using short-term bookmarks -- so all in all, my personal use averages between 20 and 30. So you've got me there, 50 is probably excessive, but I think my general point of "lots of tabs in a browser is more realistic than a kernel compile" still stands

      --
      I mod down anyone who says "I will be modded down for this", regardless of the rest of their comment
  34. Re:But what if the "heavy background task" has bee by headLITE · · Score: 1

    An X session has a tty because it's started on a real tty.
    A terminal will create a pseudo tty for everything that runs in it, and if you run make -j64 then make and all its child processes will share that pseudo tty.
    A GUI application launched from some X-based launcher will likely not end up with its own tty, but you could start it from a terminal to test if there is any effect.

    What this patch does is, essentially, treat make -j64 in a shell as *one* job, not as 64 different jobs that are all equal to your one firefox/thunderbird/glxgears process. I don't think it's the next big thing. But it's certainly an improvement for a situation that is reasonably likely to occur on Linux, whether you know it or not (e.g. the automatic GUI update tool of your distro might really be running some scripts in a pseudo tty, and so on).

  35. Re:Wasn't there a desktop friendly scheduler rejec by Culture20 · · Score: 0, Offtopic

    Ah, thanks. Good to know I'm not senile yet. I can haz memory?

  36. So in layman's terms, by unity100 · · Score: 1

    this is 'strong shit' ?

  37. or, plan B: by ChipMonk · · Score: 3, Interesting

    Turn off swap, if you can. The cost of memory is now less than the cost of the stress and lost uptime due to swap-paralysis.

    I have 4G of RAM on my desktop (I doubled the RAM for $60 after I bought it) and the only time my system swaps is when I have mmap()'ed an 8G file.

    Similarly, on my 512M netbook, I don't exceed RAM with crazy things like "make -j64 bzImage". Even with wear-leveling, swapping to SSD is bad form. I'd rather swap over NFS to spinning platters, than to SSD.

    1. Re:or, plan B: by Anonymous Coward · · Score: 1, Informative

      Well for many netbook users upgrading ram isn't an option or it is a limited option. I would agree though that swapping to SSD isn't a great idea, really quick way to kill that SSD. though i don't know if swapping to NFS would be a real option on a netbook either where you are usually limited to wifi or 10/100 ethernet. I don't think many netbooks can go gigabit.

      Not a big linux user here, but how does linux cope with running with NO swap space? I know it can be done on windows and once you hit that brick wall you just have to start closing down apps.

    2. Re:or, plan B: by h4rr4r · · Score: 1

      I have no swap on my dell mini 9, 2GB of RAM. I have no problems. Even if you run out of swap waiting will fix it, the OOMkiller takes time to do its work, but it will.

    3. Re:or, plan B: by mcelrath · · Score: 2, Informative

      I believe the parent is talking about the iowait bug #12309, which, maddeningly, has nothing to do with swap, or filesystem type. You can turn off the swap entirely and still trigger the bug. Of course there are use cases where heavy swapping brings the system down, so there is a perceived improvement by most people when turning off the swap.

      --
      1^2=1; (-1)^2=1; 1^2=(-1)^2; 1=-1; 1=0.
    4. Re:or, plan B: by xemc · · Score: 2, Interesting

      I tried this, but it didn't help much.

      As I ran out of memory, it will throw away the disk cache (including copies of currently running programs, IIRC) until it's constantly running back to the disk to grab the next chunk of needed code or data. At any rate, I had the exact same symptoms, but perhaps more acutely. A SSD might really help this as the random access thrashing wouldn't delay I/O nearly as much..

      Linked to by the article, this might address this situation: http://www.phoronix.com/scan.php?page=news_item&px=ODQ3Mw

      My solution was to learn the key combination Alt-SysRq-F - this basically tells the kernel to find the process taking the most memory and kill it. Hitting this (possibly a couple times) was the only realistic way to solve the situation, as I couldn't get to a terminal (due to the system being totally unresponsive) to check the currently running processes. (see also: https://secure.wikimedia.org/wikipedia/en/wiki/Magic_SysRq_key ) Note: it might need to be enabled, though in my experience it was enabled for some of the mainstream distros.

    5. Re:or, plan B: by jones_supa · · Score: 4, Informative

      Turn off swap, if you can. The cost of memory is now less than the cost of the stress and lost uptime due to swap-paralysis.

      Actually even with no swap you will jam Linux when you run out of memory. Things like system libraries get thrown out of memory cache, but are soon needed again and read from the disk. This kind of circus can go on for half a hour until the actual OOM killer gets into the game.

    6. Re:or, plan B: by mcelrath · · Score: 2, Interesting

      That actually makes a lot of sense, but I've never heard this explanation before. It also seems relatively easy to deal with... e.g. keep a "reload count" and if things being flushed from the memory cache are immediately reloaded, invoke the OOM. Or, the VM system is swapping the wrong things out. Your explanation also makes perfect sense in that I've observed it has nothing to do with swap or filesystem type.

      --
      1^2=1; (-1)^2=1; 1^2=(-1)^2; 1=-1; 1=0.
    7. Re:or, plan B: by anomaly256 · · Score: 1

      You shouldn't turn off swap, unless you're an embedded device and really have no choice. Swap is used for more than paging out memory requests when ram is full. You can reduce it's size though so the oom killer kicks in sooner and gives you back control of your system. 8gb of swap, which I see regularly, is just ridiculous for desktops. (and servers too for that matter)

    8. Re:or, plan B: by ChipMonk · · Score: 1

      I didn't necessarily mean swapping to NFS would be a good idea. I just meant it wouldn't be as bad an idea as swapping to SSD. On a netbook, the best idea is to keep the memory load light, and save the CAD work for a more powerful system.

  38. Actually understand the benchmark, then criticize by Zero__Kelvin · · Score: 5, Insightful

    "Compiling the kernel isn't a useful benchmark. How well does it deal with running Adobe Air?"

    Obviously you've never compiled a kernel passing -j64 to the make process. If you had, you would know that all your CPUs would be pegged (indeed -j7 pegs all 8 cores on my laptop.) Of course that is not the benchmark part. The point is that with an "all your processors are belong to kernel build" condition, group scheduling allows there to be essentially no perceived slowdown for interactive GUI/Window manager based computing. You probably should have figured out that you were missing something when Linus Torvalds didn't object to the benchmark and the results. Seriously, this is a major point to understand: When it comes to the kernel, in a fight between your knowledge and Linus', Linus wins.

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  39. Re:But what if the "heavy background task" has bee by drunkennewfiemidget · · Score: 1

    Many terminal emulators include the option of creating or not creating a TTY to attach to when you run them.

    Start a terminal and type w. You might find a pts terminal for each terminal you are running.

  40. It's actually north of 10% by Anonymous Coward · · Score: 0

    It's actually north of 10%. Lots of users dual boot and many larger businesses use Linux on the desktop too.

    1. Re:It's actually north of 10% by h00manist · · Score: 1

      How do we reach a 10% figure?

      --
      Build your own energy sources from scratch. http://otherpower.com/
  41. Re:At the beginning of a sentence by Blakey+Rat · · Score: 0, Offtopic

    and confused replies routinely get interpreted as unfunny sarcasm and moderated down as Troll or Overrated.

    How do replies with extremely long, boring and pedantic "corrections" of obvious jokes fare?

  42. Community firmware has drawbacks by tepples · · Score: 0, Troll

    Community firmware on devices with a digitally signed kernel or with oddball hardware for which the community can't figure out how to write a driver: Never.

    Community firmware and Google apps (including Market) on the same device: Cease and desist.

    Community firmware on devices sold in United States retail stores without a bundled $70/mo phone plan: Give me a break.

    1. Re:Community firmware has drawbacks by h4rr4r · · Score: 1

      1. don't buy that one
      2. I have both on my phone
      3. HTC G2. You can buy it outright and do prepay or month to month with t-mobile.

      Before you complain do some basic research.

    2. Re:Community firmware has drawbacks by Anonymous Coward · · Score: 0

      Community firmware and Google apps (including Market) on the same device: Cease and desist.

      Google's issue was with the bundling of their copyrighted apps. Community firmwares now include the Google apps in a separate unrelated package, which gets flashed after the firmware stage.

      As a welcome side effect, users can now choose which apps they want to come preinstalled. e.g. CarHome, Facebook, Twitter, Maps, AmazonMP3.

      Community firmware on devices with a digitally signed kernel or with oddball hardware for which the community can't figure out how to write a driver: Never.

      Every Android phone has had digitally signed firmware, including the very first G1. N1 was signed but semi-enforced (only for DRM-opting Market apps, which was bypassed).

    3. Re:Community firmware has drawbacks by tepples · · Score: 1

      Community firmwares now include the Google apps in a separate unrelated package, which gets flashed after the firmware stage.

      A year ago, the procedure used to be to back up the Google apps from your phone, install CyanogenMod, and restore them. Is this still the case, or is there a newer yet still legit way to get these apps? A bit of browsing CyanogenMod's wiki referred me to Google for Android, which appears to have everything but the Market.

      Every Android phone has had digitally signed firmware, including the very first G1.

      But apparently, some newer phones block the use of a custom recovery that allows verification to a root certificate other than the phone maker's.

      N1 was signed but semi-enforced (only for DRM-opting Market apps, which was bypassed).

      About what fraction of Market apps are DRM-opting, and are any major ones?

    4. Re:Community firmware has drawbacks by tepples · · Score: 1

      HTC G2.

      Google Product Search for unlocked htc g2 confuses me. There appear to be two "HTC G2" models: a $300 model (called "Magic") and a $600 model (apparently the "Hero"). Which did you mean?

      You can buy it outright

      For one thing, if I don't need a telephone, just about every Android phone bought outright costs far more than the base model iPod touch 4. Why is this? And even if I do buy a phone and just never use it as a phone, if I end up finding the HTC G2 unusably unergonomic, how can I return it without paying a $100 restocking fee?

      t-mobile

      Where available.

    5. Re:Community firmware has drawbacks by Anonymous Coward · · Score: 0

      A year ago, the procedure used to be to back up the Google apps from your phone, install CyanogenMod, and restore them. Is this still the case, or is there a newer yet still legit way to get these apps? A bit of browsing CyanogenMod's wiki referred me to Google for Android, which appears to have everything but the Market.

      http://wiki.cyanogenmod.com/index.php?title=Latest_Version#Google_Apps
      http://kitchen.yaam.mobi/

      It isn't technically legit but Google seems to tolerate it.

      But apparently, some newer phones block the use of a custom recovery that allows verification to a root certificate other than the phone maker's.

      http://www.absolutelyandroid.com/second-gen-snapdragon-devices-gain-root-world-rejoice/
      http://forum.xda-developers.com/wiki/index.php?title=HTC_Vision#Rooting_the_G2
      http://unrevoked.com/rootwiki/doku.php/public/unrevoked3

      So, yeah... it sucks. G1 just required root exploit to reflash recovery partition. Lately only the bootloader can write to recovery (if that) and h/w weakness is required.

      About what fraction of Market apps are DRM-opting, and are any major ones?

      http://www.google.com/#&q=android+build.prop+protected

      I don't know specifically. I haven't owned an Android phone since 1 year ago. I still sometimes screw with ones my friends/coworkers buy though.

  43. gentle linux restart by Anonymous Coward · · Score: 1, Informative

    alt+sysreq REISUB

    R: keyboard in raw mode
    E: end signal to processes
    I: kill signal
    S: synch filesytems
    U: emergency umount filesystems
    B: reboot

    1. Re:gentle linux restart by lethalwp · · Score: 1

      you don't need to restart linux,

      just ctrl-alt-backspace, wait for the swap to be annihilated & re-login

    2. Re:gentle linux restart by couchslug · · Score: 1

      That presumes ctrl-alt-backspace is always effective.

      --
      "This post is an artistic work of fiction and falsehood. Only a fool would take anything posted here as fact."
  44. Just say it by Anonymous Coward · · Score: 1, Interesting

    So is Linus a dick?

    1. Re:Just say it by Enderandrew · · Score: 4, Insightful

      Occassionally, yes. But usually when Linus flames someone on the LKML he is entertaining, and is right. This was an instance where Linus just seemed to be a dick for no reason.

      --
      http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
    2. Re:Just say it by butalearner · · Score: 2, Interesting

      So is Linus a dick?

      I'm pretty sure this is a well-known and widely-accepted fact, even by the man himself. This is almost certainly why the submitter quoted him as saying, "Good job." That's unusually high praise coming from Linus.

    3. Re:Just say it by BrokenHalo · · Score: 1

      So is Linus a dick?

      No, he isn't. Kolivas has always pushed patches designed for desktop optimisation, IIRC at least from the 2.4 days, while Linus has had to look after the big picture. Both points of view are equally valid while sometimes leading in different directions.

    4. Re:Just say it by h00manist · · Score: 1

      That's taking it a bit far. Obviously there are numerous disputes about what goes into the kernel or not, as well as dozens of other debates. They all have to get decided one way or another, and it's not always obvious to outsiders what is at stake. It's always smart to give all actual players the benefit of the doubt until you know in detail what is going on to form an unbiased and well-grounded opinion.

      --
      Build your own energy sources from scratch. http://otherpower.com/
    5. Re:Just say it by Enderandrew · · Score: 1

      The new Brainfuck scheduler isn't designed to scale past 16 CPUs, so it doesn't work for every scenario. But what is the percentage of users with over 16 CPUs?

      His original scheduler (which became Staircase) was a pretty good general scheduler that would work well for anybody. That is why the CFS in mainline is pretty similar to the Staircase scheduler that was rejected.

      Linus used it as an excuse to say you shouldn't focus solely on the desktop, but really that didn't apply to Staircase.

      --
      http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
    6. Re:Just say it by dbIII · · Score: 2, Interesting

      Let's get back to reality instead of pretending it's a clash of supermen with instant insight. I think the reason was the patch submitter only looked at a small subset of the effects of his patch and did very little testing to the extent that he only even had linux on his development machine and only used it to do his patches in the free time he had. You don't know if your own cooking is any good if you don't eat it yourself. To be blunt it was about a respected expert in another field (medicine) finding that with his part time hobby it takes time and work to produce something experts in another find acceptable as a finished result and then getting upset about not getting the level of respect he gets in his own field.

  45. 10GUI and similar GUIs are overrated by TheLink · · Score: 2, Insightful

    10gui just _looks_ nice to the naive, and probably OK for people who only can cope with a few windows open at a time. But I don't see how it's actually going to be faster in task switching than using alt-tab, or clicking on task bar buttons.

    The 10GUI interface would just get in my way a lot.

    I often have about 30 windows open (I have a double height taskbar) - ssh sessions, browsers for work, browsers for nonwork (e.g. slashdot :) ), IM windows, editor, email, virtual box machines, file managers, it all starts to add up. I find opening and closing stuff only to reopen them again is usually a waste of time - why close an app if you're not running out of memory and you can still remember which task button raises it? So if a colleague on IM says: "hey can you restart XYZ again?" I don't have to ssh in, and etc. All I need to do is just click on the correct task button, press up arrow, confirm its what I want, press enter.

    Sad to say, I find Windows XP/7 is so far best for handling stuff like that. Even better than OSX.

    I tried doing the 30+ windows thing on OSX, using Expose. But it's just slower - more steps to get from one window to another. In contrast, on windows I can just click on the desired task button and that's it, no need for two clicks, or click then pause or other bullshit. Keep in mind, I'm not saying Windows is the best possible, there's still room for improvement. For instance, it'll be nice to be able to "alt-tab" from one browser tab to another browser tab (so much so that sometimes I open new browser windows just to be able to alt-tab between them).

    KDE when I last used it was stupid. They sort tasks top to bottom first then only left to right. So if you have a double height taskbar and you close one button in the middle, all the buttons to the right of the closed button change position! That is so stupid.

    If you think it's ridiculous to have 30 windows open, keep this in mind - nearly any crappy GUI can seem cool and easy for a workload that only has 3 windows open. It's when you need to juggle lots of tasks at the same time that's where the GUI either adds value or gets in the way. On-topic analogy: it's just like an O/S, a crappy kernel can seem good when you only have 3 concurrent processes. It's when you have 30 concurrent _running_ processes that you find out whether the kernel's IO and CPU scheduling is good, mediocre or poor.

    I would prefer a GUI that's good for the naive/noob users, but at the same time provides short-cuts that can speed things up immensely for users that are willing to learn them.

    GUI designers should not assume that users are not able to learn "fancy" stuff. Just watch an experienced Starcraft player (actions per second and all that ;) ) or some other competitive gamer, or watch a skilled person handling a Point-of-Sale machine.

    A great UI should be able to hyper-augment humans. To paraphrase a perlism, a great GUI should make simple things trivial, and difficult things easier.

    Desktop GUI designers should not be saying "most people don't do difficult things so let's just handle the simple case".

    --
    1. Re:10GUI and similar GUIs are overrated by Anonymous Coward · · Score: 0

      10gui just _looks_ nice to the naive

      Yeesh... really? First of all, all of computing and all possible interfaces aren't designed with "TheLink" in mind. Secondly different interfaces are good for different situations. Some sysadmins only need a terminal and the screen program. As a web dev I only have three or four windows open, usually. I often have as many as forty tabs open in chrome, however. Anyway, I don't disagree with some of your latter points about GUI design but most of what you said is short sighted and condescending. I bet someone said a lot of the same types of stuff about the first graphical user interfaces.

    2. Re:10GUI and similar GUIs are overrated by falldeaf · · Score: 1

      Dang, didn't mean to post as anonymous, the parent post is authored by me, falldeaf.

      --
      check out the Mp3 Garbler I built!
    3. Re:10GUI and similar GUIs are overrated by Anonymous Coward · · Score: 0

      No, it was me.

    4. Re:10GUI and similar GUIs are overrated by TheLink · · Score: 1

      If you only have a few windows open you don't need much of a GUI to manage them, almost any GUI will do (assuming it doesn't crash etc). As I said: "nearly any crappy GUI can seem cool and easy for a workload that only has 3 windows open".

      Similarly if you only have a few processes running, you don't need a fancy kernel. In the extreme if you only have one process running, you don't need a 200 line patch to your Linux kernel to run it. You don't even need a kernel. Since that one process is all that runs.

      Where a "Desktop UI" shows much of its power is how much it augments humans, from making life easier for "noobs" all the way to increasing productivity for users willing to take the trouble to learn shortcuts and more advanced techniques.

      I do know a few people who use OSX or Linux as their desktops, but all their GUIs do is "browser" and "screen" (the screen manager). If a GUI can't make things easier and better than "screen" it's not that good is it? Think about that before flaming me.

      Forgive me if I have higher standards, but fact is the GUI designers have had decades to come up with things that are actually better. Yet most of what I see are like fancy "cutscenes" in computer games. Stuff that's nice to look at, but after the first few times people want to skip them to get to the "real thing". From the 10GUI demo video, stuff like 10GUI fall into the "cutscene" category.

      Douglas Engelbart must be a bit disappointed - one of his dreams was human augmentation. That was about 40 years ago. http://en.wikipedia.org/wiki/Douglas_Engelbart

      --
    5. Re:10GUI and similar GUIs are overrated by falldeaf · · Score: 2, Interesting

      I agree with you to a point but I wouldn't agree at all that just any gui or none at all would work for someone who only uses three or four programs at a time. You still need to efficiently switch between the apps, or view them at the same time, not to mention all the other types of data that is persistent like time, weather background apps, notifications, etc. I'm certainly not intending to flame you but I'd completely disagree with you that the linux desktop is only good for a browser or screen. I'd argue that it's much better than XP. ( I can't say about win7 ) What specifically about windows desktop is making your experience much better than the Ubuntu desktop? Have you tried the Ubuntu desktop lately?

      --
      check out the Mp3 Garbler I built!
    6. Re:10GUI and similar GUIs are overrated by Fred+Or+Alive · · Score: 2, Informative

      For instance, it'll be nice to be able to "alt-tab" from one browser tab to another browser tab (so much so that sometimes I open new browser windows just to be able to alt-tab between them).

      Ctrl-Tab.

      --
      10 PRINT "LOOK AROUND YOU ";
      20 GOTO 10
    7. Re:10GUI and similar GUIs are overrated by Anonymous Coward · · Score: 0

      In Firefox you can ctrl-tab to switch between tabs.

    8. Re:10GUI and similar GUIs are overrated by Anonymous Coward · · Score: 0

      I personally like either OSX or KDE with expose or equivalent activated on screen corner. I find that it scales quite well on my system. If it does get to much then I start grouping tasks and placing them on separate virtual desktops which can also be gotten to by touching a screen corner. A lot of applications that are always on end up in the system tray anyways.

    9. Re:10GUI and similar GUIs are overrated by TheLink · · Score: 1

      What specifically about windows desktop is making your experience much better than the Ubuntu desktop? Have you tried the Ubuntu desktop lately?

      For one, my complaint about KDE also applies to Ubuntu 10.10 (GNOME). As I said in my first post:

      They sort tasks top to bottom first then only left to right. So if you have a double height taskbar and you close one button in the middle, all the buttons to the right of the closed button change position! That is so stupid.

      By double height I mean double-row. Windows sorts left to right first, then top to bottom, so if you close a taskbar "button", fewer buttons are affected - only the left-most and rightmost.

      Yes I could stick to a single height taskbar and use multiple desktops/workspaces to spread the windows around, or group task buttons, but that makes switching tasks slower.

      Instead of multiple desktops, when I need to very quickly work and switch amongst a set of windows, I use a program I wrote (called LinkKey) that allows me to quickly assign alt+[number] to a window/task.

      That way I can just click a particular bunch of windows I want to work with (in reverse order), press alt+0. Pressing that sets alt+1 = the most recent window, alt+2 = the second most recent window, alt+3 = the third most recent window and so on till alt+9. I can also press alt+shift+[number] to replace that particular "slot" with the current foreground window. To me that's still faster than assigning those "working set of windows" to a workspace, and then clicking amongst them for switching.

      I find it useful when using a laptop without multiple monitors. With multiple monitors I could just spread the windows about, if they are just for reference. But even multi monitors are not so helpful if I need to copy and paste stuff amongst say 3 or 4 different windows. For that the alt+[number] stuff is better.

      AFAIK it's even fewer keystrokes than "screen", and works with GUI apps ;). I also added a "bank switching" feature so that you could keep two (or more) sets of hotkey-window mappings, but I haven't found the need to use that.

      Lastly, Windows 7 does have something like that, it's winkey+[number], but it's more on a per app basis, see: http://windows.microsoft.com/en-US/windows7/Keyboard-shortcuts

      The Windows 7 approach works well enough for most people. But the Windows 7 GUI seems to be a lot more cluttered for little gain in usability.

      --
    10. Re:10GUI and similar GUIs are overrated by TheLink · · Score: 2, Informative

      Nope. Not the same thing, unless you only have two tabs opened.

      alt+tab deals with windows in terms of "most recently used".

      ctrl+tab goes to the next tab in "position". ctrl+shift+tab goes to the previous tab in "position". They don't do "most recently used tab".

      --
    11. Re:10GUI and similar GUIs are overrated by Anonymous Coward · · Score: 0

      I used to have about 50 to 100 windows open under KDE. I was also thinking of porting konqueror to use the windowing manager for multiple tabs-- seriously, why have tabs in a browser, when it's the GUI's job in general? I like tabs, of course. Firefox seems to crash at 100 tabs. Opera handles maybe 400 for me.

      So what I did is instead of a double-width horizontal taskbar, I used a vertical taskbar. Here's a screenshot:

      http://heybryan.org/shots/2008-05-25_KDEhacks.png
      why: 2008-05-24_2.png

      I had to modify kicker to get the mouse scrollwheel working, though. Apparently they wanted users to manually click the up/down scroll arrows. No thanks.

    12. Re:10GUI and similar GUIs are overrated by falldeaf · · Score: 1

      I don't even put a kicker panel at the bottom with tasks on it. Even when I have a bunch of programs open it looks ugly and it's annoying to look through. But to your argument about the ordering of apps as you're looking through them, try something like this: superswitcher My own opinion about gui's is that they should be minimal and stay out of your way. In the end they're not really what you want to focus on. Plus, there's so many apps out there that can help you get just the right balance, which is different for most people. Truthfully I think it's fine that you have your own opinions about what type of GUI suites you, I just think you should consider that what works for you may not for others. Someone isn't 'naive' for thinking that a new interface may be useful to them.

      --
      check out the Mp3 Garbler I built!
    13. Re:10GUI and similar GUIs are overrated by TheLink · · Score: 1

      That huge list of "Conquer Your Desktop" tabs/buttons needs to be a bit more descriptive right ;) ?

      FWIW, I don't mind keeping the tabs in the browser - I often do have very many tabs - I use TreeStyleTabs in Firefox. What would be nice is a way to quickly switch amongst specific browser tabs. Ctrl-tab doesn't do it - it just switches to the next tab in order of position. Whereas I want next tab in order of recently used.

      --
    14. Re:10GUI and similar GUIs are overrated by Anonymous Coward · · Score: 0

      For instance, it'll be nice to be able to "alt-tab" from one browser tab to another browser tab (so much so that sometimes I open new browser windows just to be able to alt-tab between them).

      Here are some useful shortcuts for you. They work in every tabbed browser, including IE:
      Ctrl + Tab = move to next tab (your alt-tab for browser tabs)
      Ctrl + Shift + Tab = move to previous tab
      Ctrl + T = open new tab
      Ctrl + Shift + T = open most recently closed tab
      Ctrl + W = close current tab

      Ctrl + [1-9] = jump to tabs 1 through 9

    15. Re:10GUI and similar GUIs are overrated by Fred+Or+Alive · · Score: 1

      Ctrl-Tab in Opera works that way (or at least it can be set to work that way, I might have changed the setting from a default myself at some point).

      --
      10 PRINT "LOOK AROUND YOU ";
      20 GOTO 10
    16. Re:10GUI and similar GUIs are overrated by Anonymous Coward · · Score: 0

      I don't understand how people can use a taskbar with more than a handful of windows.
      The far better way (IMHO of course) is using a big 2 pager (also called workspace switcher) on its own panel. I use a 3x8 pager, and no taskbar. I don't usually use more than half of the 24 virtual desktops, the other desktops are mostly there for spacing, and for when I need more space.
      The main advantage of this setup is using your spacial memory, I can easily remember where I put one specific window, and even have the habit of always putting some apps in the same place.
      This setup was already working fine on linux when I've started using linux 12 years ago, I wonder how long it will take the mainstream to discover it :(

    17. Re:10GUI and similar GUIs are overrated by TheLink · · Score: 1

      OK after digging I found the equivalent in Firefox:

      about:config:
      browser.ctrlTab.previews

      Yay! :)

      --
    18. Re:10GUI and similar GUIs are overrated by CAIMLAS · · Score: 1

      I use awesome. I can have an unlimited number of 'tags', on which I can place an unlimited number of premutations of various windows. It's possible to do this automagically, as well (so certain tags - eg 'www' - always have the same apps on them, and 'work' may have any number of the same apps, as well as others - and they can be/get automatically launched to the same tag each time they start, as well.). I can switch to any given tab (as I've got it set up - the default) with two key strokes or the mouse. I can tile half a dozen different ways, layer, or allow the tag to go 'unmanaged' (applications do their own thing). I can change any way of changing windows, etc. fairly trivially within the config file. It's quite a nice situation.

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    19. Re:10GUI and similar GUIs are overrated by StayFrosty · · Score: 1

      Sad to say, I find Windows XP/7 is so far best for handling stuff like that. Even better than OSX. I tried doing the 30+ windows thing on OSX, using Expose. But it's just slower - more steps to get from one window to another. In contrast, on windows I can just click on the desired task button and that's it, no need for two clicks, or click then pause or other bullshit. Keep in mind, I'm not saying Windows is the best possible, there's still room for improvement. For instance, it'll be nice to be able to "alt-tab" from one browser tab to another browser tab (so much so that sometimes I open new browser windows just to be able to alt-tab between them).

      The two clicks or click and pause bullshit is what makes me hate the Windows 7 Superbar. That and the damn icons instead of text. I want to be able to glance at the task bar and choose the terminal/browser/whatever I want with a single click. If I have to use Windows the first thing I do is turn that off. I wish Gnome supported a double height taskbar. The one thing it does well is if you have two monitors you can have a taskbar in each monitor. That taskbar will only show windows open in that monitor.

      --
      "Frequently wrong, never in doubt."
    20. Re:10GUI and similar GUIs are overrated by g1zmo · · Score: 1

      For instance, it'll be nice to be able to "alt-tab" from one browser tab to another browser tab (so much so that sometimes I open new browser windows just to be able to alt-tab between them).

      When a browser window has focus, just switch to using Ctrl-Tab to cycle through your tabs (and Ctrl-Shift-Tab to cycle in the other direction).

      --
      I have found there are just two ways to go.
      It all comes down to livin' fast or dyin' slow.
      -REK, Jr.
    21. Re:10GUI and similar GUIs are overrated by TheLink · · Score: 1

      I wanted "alt-tab" behaviour (MRU), not "cycle" (position). I figured it out for Firefox: browser.ctrlTab.previews

      --
    22. Re:10GUI and similar GUIs are overrated by Asm-Coder · · Score: 1

      I can't say that I use anywhere close to the same number as windows as you, (usually around 6 windows for me, if I'm actually doing something complex, I prefer to drop to the terminal) but I find myself using the virtual desktops on my machines in much the same way that 10gui appears. (I know it's not the same thing.)
      The touch interface would take some getting used to, and I don't know if it's really an improvement over keyboard shortcuts.

      The thing is, I could try using 10gui, and you can use Win7, and we both would be happy with our guis. That's the draw Linux has for me, I get to decide whether I like something, or if I think it should be changed.

    23. Re:10GUI and similar GUIs are overrated by TheLink · · Score: 1

      Yeah, I don't like the pause thing too. I switched Windows 7 to classic mode (well to as much classic mode as I could manage - it still does the preview hover thing), so now I get to see the window titles.

      So now it's not so bad... I do like the sorting of task buttons by app, and the ability to pin apps so as to keep the order the same (and other stuff). Would be nice if I could change the order of the task buttons.

      Only recently found out that for Windows 7 search, to search just for files containing a word, you use contents:pattern
      (which for some reason isn't documented here: http://www.microsoft.com/windows/products/winfamily/desktopsearch/technicalresources/advquery.mspx )

      Also if you want partial match you have to use stuff like: foo* to match foobar and foobaz. foo by itself will just match foo.

      Before I found that out, I was very annoyed and using grep -ir :).

      But still, for some reason my start menu search doesn't do partial matches very well. e.g. I need to type resour* to find Resource Monitor, just resou or resour doesn't display _anything_.

      Maybe I screwed something up? :)

      --
    24. Re:10GUI and similar GUIs are overrated by badkarmadayaccount · · Score: 1

      Or use tab mix plus and other tab management extensions, and start wishing about using FF as your system shell. I believe that is technically feasible.

      --
      I know tobacco is bad for you, so I smoke weed with crack.
  46. Re:Wasn't there a desktop friendly scheduler rejec by Dan+Dankleton · · Score: 1

    If I remember right, one of Linus' main complaints was that there were no hard numbers to support the fact that CK's scheduler was any better. Users would report that things seemed "less jerky" when using it but there was no test that put a number to this.

    Now it seems that a change is going in which makes things seem "less jerky"...

  47. Re:Wasn't there a desktop friendly scheduler rejec by kangsterizer · · Score: 4, Interesting

    Actually Linus lost track of many such things because too self centered or ego driven (which happens to most of us when you such success and things to deal with but anyways)

    This very patch is a prime example, if it goes *default* in the kernel.
    It's a patch that favors *only* Linus's usage of linux: Browse the web while his kernel compiles. Now imagine you start your video from a tty (mplayer blah_1080p.avi) and it takes 95% cpu to be smooth, then you start your browser.. uho.

    In BeOS I could^H^H^H *can* (haiku, too) start 5 videos on and old PC, browse the web and:
    - the browser is smooth like butter
    - the 5 videos are a bit choppy (no miracles but that the point) but they all run at the same speed

    Now _that_ is what I want a desktop scheduler to be like.

    With more criticism he could see that some would want this auto grouping option, but the majority wouldn't. Now what does that tell us?
    It tell us that it's _either_:
    A/ Not the best solution (i.e. our scheduler sux)
    B/ Grouping should be smarter or more easily configurable (it's currently configurable in the previous kernel version and can do just what this kernel patch does!)

  48. Slashdotted... by Ingineerix · · Score: 2, Funny

    Obviously they didn't apply the patch to their web server first...

  49. Re:Wasn't there a desktop friendly scheduler rejec by Thud457 · · Score: 1

    The name is a total misnomer. I mean, it's not ever legal brainfuck code. (I didn't know you could even write kernel modules in BF...)

    --

    the preceding comment is my own and in no way reflects the opinion of the Joint Chiefs of Staff

  50. Window manager by Anonymous Coward · · Score: 0

    Did anyone else notice in the second video that the window manager was the slowest rendering part of the desktop? By a lot, too. Every other desktop component handled exposures rapidly but the window manager decorations lagged by 50-100ms.

    'bout what I've come to expect from gnome stuff.

  51. Re:Wasn't there a desktop friendly scheduler rejec by Enderandrew · · Score: 3, Interesting

    Kernel benchmarks are always a point of contention. But interbench and all the standard benchmarks did show a marked improvement with the CK patchset and the Staircase scheduler.

    If Linus didn't really believe it was an improvement, then why did he eventually call on Ingo to write a very similar scheduler?

    Linus didn't want to admit he was a jerk who made a flippant personal decision rather than focusing on the best code.

    --
    http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
  52. Re:Wasn't there a desktop friendly scheduler rejec by eXlin · · Score: 1

    Well, if it is something trivial use it. I mean 16 core's isn't that uncommon anymore, especially in servers but also desktops are catchin up that limit quite fast.

  53. Re:Wasn't there a desktop friendly scheduler rejec by Enderandrew · · Score: 2, Insightful

    I think part of the reason that Linus is more accepting of this change rather than replacing the entire scheduler (like Con Kolivas pushed for) is that Linus likes small, neat patches. And I think Linus gets offended when someone wants to rip out large sections of the kernel and replace them.

    I often wonder how much old, legacy code there is in the kernel that is just overlooked. Anytime you carry code for that many years, you're bound to have some legacy systems that can due to be replaced.

    --
    http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
  54. Unfortunately turning off swap makes it worse by Anonymous Coward · · Score: 1, Informative

    See this bug which has made the last 3-4 releases of Ubuntu necessary to reboot daily like Windows ME:

    https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/131094

    1. Re:Unfortunately turning off swap makes it worse by h4rr4r · · Score: 1

      Reading that reminded me why I do not bother ever with bugs on launchpad. From the descriptions it is clear many of those folks have no idea what they are talking about and quite possibly are not even all seeing the same problem.

  55. Re:Wasn't there a desktop friendly scheduler rejec by stiggle · · Score: 4, Informative

    Its explained in the BFS FAQ http://ck.kolivas.org/patches/bfs/bfs-faq.txt

    Why "Brain Fuck"?

    Because it throws out everything about what we know is good about how to design a modern scheduler in scalability.
    Because it's so ridiculously simple.
    Because it performs so ridiculously well on what it's good at despite being that simple.
    Because it's designed in such a way that mainline would never be interested in adopting it, which is how I like it.
    Because it will make people sit up and take notice of where the problems are in the current design.
    Because it throws out the philosophy that one scheduler fits all and shows that you can do a -lot- better with a scheduler designed for a particular purpose. I don't want to use a steamroller to crack nuts.
    Because it actually means that more CPUs means better latencies.
    Because I must be fucked in the head to be working on this again.
    I'll think of some more becauses later.

  56. Re:At the beginning of a sentence by mwvdlee · · Score: 1

    Really?
    I did not know that.
    Thank you so much for explaining that.

    --
    Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
  57. love the tags by anonymousNR · · Score: 1

    had a look at the slashdot tags saying "linux finally slashdotted". moving on to next story.

    --
    -- It is the mark of an educated mind to be able to entertain a thought without accepting it. -- Aristotle
  58. Re:funny, haha by BrokenHalo · · Score: 1

    ...except you do it more often. ;-)

    I actually quite like the idea of Gentoo, but I find the actuality of it a bit frustrating. Back in the day, many of us learned about Linux by doing it from scratch but without the modern helpful references, or used SLS/Slackware, which gives you a world to stand on while you compile the stuff that is interesting to you without getting in the way.

    LFS (and probably Gentoo) is great for a single-purpose or server system, but for a desktop system the compile-time overhead is just a total waste of time. I often hear the claim that Gentoo is a great way to learn about Linux, but my experience is that most people just follow the cookbook without taking very much in at all.

  59. Desktop scheduling by Anonymous Coward · · Score: 0

    The year of the Linux desktop can now be scheduled!

    1. Re:Desktop scheduling by gmiernicki · · Score: 1

      2.6.38 will be teh year of teh linux desktop!

  60. Re:Wasn't there a desktop friendly scheduler rejec by Anonymous Coward · · Score: 0

    well, use libcgroup, it has a daemon which can sort on a lot of stuff. Try it out, its not too hard and does not need a new kernel.

  61. Re:Wasn't there a desktop friendly scheduler rejec by GooberToo · · Score: 4, Informative

    BFS makes the classic trade offs which Linus and almost all others absolutely agree is a bad decision for core inclusion. BFS trades performance for latency. Basically you get really good interactive performance in exchange for massively losses in over all throughput and efficiency. Furthermore, BFS sits on a horribly slippery slope in that the level of *inefficiency* scales wonderfully with core count. Basically, the more cores you add, the more time BFS spends BF*cking around.

    Basically BFS only makes sense on single or dual core systems which will primarily be used as a desktop. After that, it better be a dedicated desktop system because compared to the stock kernel, performance is going to royally suck, despite latency being fairly good. But then again, BFS was never really designed to address scalability - its always focused on latency and a superior interactive desktop experience. By most measures it works, but at a heavy cost.

  62. Yes, linux could improve. And? by h00manist · · Score: 0

    I think it's very easy to understand that an OS with little funding, coded by many underpaid or not-paid programmers, with little status and recognition or prestige, would have some problems. I still consider it a minor miracle that it even exists and is usable at all. The US was once a backwater refuge-colony for Britons, and Australia was only a prison. Yes, Linux has much to improve and grow. It will come with more users, which you and me could help with, being coders or not. You can help with more testing and cool-headed participation in forums, and code translation. Or trying to mediate among disputing parties, which also understandably happens a lot, as in any project involving more than a couple of people. We need to understand the competition is closed-source, or Microsoft - not red hat vs debian vs ubuntu vs netbsd vs freebsd vs openbsd. Yes, making agreements and coordinating thousands of disparate parties is hard, but it's the crux of the matter.

    --
    Build your own energy sources from scratch. http://otherpower.com/
    1. Re:Yes, linux could improve. And? by Ltap · · Score: 4, Insightful

      Indeed, I find that Linux has an almost miraculous ability to convert users into developers. I've encouraged several friends over the years to use it, and out of those that have actually done it, most have not just stuck with it but have even surpassed me in some ways. It can take a teenager or young adult who knows barely anything about coding or even much about computers and can turn them into a coder or admin in no time. My theory is that people follow a sort of a path:

      1. They use a bloated (but more immediately user-friendly) distribution like Ubuntu.
      2. They hear about other users with lighter software and try it out. It requires a bit more configuration to be the way they want it to be. In the process, they learn more about their system and they learn many useful things.
      3. The drive for improved performance and usability leads them to learning more and more and doing deeper and deeper configuration until they know a great deal and are very comfortable with their system.
      4. The "scratch that itch" (ESR) effect comes into play; they see deficiencies in existing software and go out to make their own.
      5. Before long, they are contributing to several projects, have a technical blog, and are advanced users.

      It seems to be some sort of natural progression and it's interesting to see it happen over the period of several years. More significantly, Linux seems to turn a higher percentage of basic users (even those of the luser variety) into developers and advanced users. This seems to be why Linux progresses at such a fast pace; its users actively encourage other users to involve themselves on a deeper level.

      --
      Yet Another Tech Blog
      (but so much more, including game and movie reviews)
      http://yanteb.peasantoid.org
    2. Re:Yes, linux could improve. And? by ciggieposeur · · Score: 4, Insightful

      Back in the 80's and 90's many DOS users followed the same path. BYTE, PC Magazine, and even PC Computing provided essays on "how it works" and source listings for 8086 ASM and BASIC programs. But somewhere around the time of Windows 95, things seemed to change and it became expected that the "average user" had no interest or time in learning how anything works. I remember that desire to Not Know Or Care as one of the major friction points between the DOS user base and the Windows (and Mac for that matter) user base.

    3. Re:Yes, linux could improve. And? by g1zmo · · Score: 1

      Apparently your friends are far more intellectually curious than any of mine are.

      --
      I have found there are just two ways to go.
      It all comes down to livin' fast or dyin' slow.
      -REK, Jr.
    4. Re:Yes, linux could improve. And? by fwarren · · Score: 1

      Obligatory xkcd reference "Cautionary": http://xkcd.com/456/

      --
      vi + /etc over regedit any day of the week.
    5. Re:Yes, linux could improve. And? by ultranova · · Score: 3, Interesting

      Apparently your friends are far more intellectually curious than any of mine are.

      Or he is less willing to solve problems than you are. Ever thought of that?

      Look, you want easy entertainment, you get a DVD player and a TV. You want to get a bit beyond that, you get a gaming console. You want to run with the Internet, you better be willing to learn how to use a PC.

      It never ceases to amaze me how smart my parents can be when I'm not available, and how dumb they can degenerate to when I am. It's not even instant Alzheimers, it's like they suddenly can't even read. Could all that just possibly be... laziness?

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    6. Re:Yes, linux could improve. And? by jbolden · · Score: 2, Insightful

      Part of the problem was the jump in difficulty. Windows 286/386/3.0 was difficult enough to program that to do anything useful required more than just basic skills. Also BAT worked sorta well as a scripting language there no scripting language for windows.

      Basically the difficult shot up suddenly when it came down again with things like visual basic the paradigm had changed. Incidentally its still fairly hard in windows to manipulate hardware.

    7. Re:Yes, linux could improve. And? by jwhitener · · Score: 1

      I'm not sure that Linux did the converting. More likely, people with that level of curiosity will find things to tinker with and end up as power users in whatever subject they were tinkering with. And people with that "can do" attitude are probably more likely to want to try an "alternative" desktop OS.

      I grew up with windows, and between dos, the registry, and basic scripting to trying foxpro / vb / etc.. it was just as nice a learning ground as linux, especially if it was your first computer experience. Most things worked well in windows, so you spent your time trying to do things you wanted (creating a program, tweaking an opensource one, learning to automate tasks with scripts, etc..) , rather than just trying to make things work (as was common with very early Linux releases).

      Perhaps you can say that because Linux often requires tweaking, or outright fixing of software that is temperamental, one is forced to learn things that they might not have wanted to, or bothered to before. And some percent of them end up enjoying fixing/creating and go on to careers in computers. But I don't think that there is anything inherent in Linux that makes someone more curious about computers than they would have been if they were using another system.

    8. Re:Yes, linux could improve. And? by vegiVamp · · Score: 2, Insightful

      I have to say that I went rougly the other way: I started with Linux because I was highly discontent with the then-current Microsoft offerings, finding them unwieldy and unstable. I started way back on Slack 6, where the first step of the installation process was compiling your own kernel and gcc three times to get them pure :-)

      Later I switched to RedHat (3 or 4, I think), and was also messing in some code - mostly for my own benefit, can't recall ever committing anything because I didn't think the changes I made were useful for enough people to be included.

      These days, I just run Ubuntu - I've been through the whole trial-and-error config file thing, it's given me a good understanding of many things, but now I just want something that simply works so I can get on with other stuff.

      These days, the MS offerings (well, some of them) are at least a lot more stable, although I personally still find them unwieldy - I guess I'm no longer used to having my OS babysit me. I even occasionally recommend that a friend who needs a reinstall sticks with windows, depending on his needs, although I always offer them Linux, too. I flat out refuse to support windows boxen, though :)

      --
      What a depressingly stupid machine.
    9. Re:Yes, linux could improve. And? by Ltap · · Score: 1

      I generally come from the perspective that your computer is as stable and user-friendly as you want to make it. Unless you're running hardware with poor support (Broadcom, anyone?) you're not going to have a really rocky experience with Linux. I like running computers with little resources and making my machine rock-solid stable and perfectly configured to my tastes. This is a process that takes dozens of hours of messing around and experimentation, but it pays off in the end, in my opinion.

      --
      Yet Another Tech Blog
      (but so much more, including game and movie reviews)
      http://yanteb.peasantoid.org
    10. Re:Yes, linux could improve. And? by Ltap · · Score: 1

      I was making more of a point that Linux (the software) enables such tinkering and Linux (the community) encourages it. A truly motivated person would do it anyway, but such people are few and far between. A good community spirit draws in and encourages people that otherwise would do nothing.

      --
      Yet Another Tech Blog
      (but so much more, including game and movie reviews)
      http://yanteb.peasantoid.org
    11. Re:Yes, linux could improve. And? by Ltap · · Score: 1

      It's all about recognizing who would be receptive to it. I've talked to almost all my friends about it (and all of them definitely know I use Linux) but most are uninterested or are too ignorant to start using Linux right away -- they would be lost almost immediately. Instead, I heavily encourage Linux to those people who are generally hobbyist types, are intelligent, and have time on their hands.

      --
      Yet Another Tech Blog
      (but so much more, including game and movie reviews)
      http://yanteb.peasantoid.org
    12. Re:Yes, linux could improve. And? by Ltap · · Score: 2, Interesting

      This is the great battle with distributions like Ubuntu. There's a fine line between auto-configuring and helping the user make decisions (or making decisions for the user) and preventing the user from making decisions on their own.

      --
      Yet Another Tech Blog
      (but so much more, including game and movie reviews)
      http://yanteb.peasantoid.org
    13. Re:Yes, linux could improve. And? by Spugglefink · · Score: 2, Interesting

      But somewhere around the time of Windows 95, things seemed to change and it became expected that the "average user" had no interest or time in learning how anything works.

      It was a combination of Windows 95 being comparatively idiot-friendly along with an absolutely massive influx of idiots when public access to the Internet started to take off, and the web began to come into its own.

      Those two things happening at about the same time changed the world in a lot of ways. For example, the terms "top posting" and "bottom posting" came into existence right around this time, as millions of new users exposed to email for the first time got their hands on Outlook Express, with its completely broken editor that made formatting a message correctly almost physically impossible.

      When I really think about it, the biggest difference between being an old-school DOS hacker and being a modern Linux hacker was that in the DOS days we had BBSes, and those of us with net access had Gopher and Archie. I got out of development around 1995 not simply because everyone demanded GUI applications, and early Windows development sucked, but also because when I first got on the web, I found a good many alternatives to every application I had ever developed. You think KDE vs. GNOME is a big waste of resources? One of the DOS applications I actually made money on was a utility that has a close equivalent as part of the GNU toolchain, and I abandoned development when I realized there were about six alternatives that predated my own, and were further along.

      We DOS hackers were working alone for the most part, or in small, isolated teams. The web changed all that, and then sites like SourceForge took it all to the next level. Now, collaboration is easy.

    14. Re:Yes, linux could improve. And? by Lanteran · · Score: 2, Funny

      Use linux if you want to know why your computer works. Use mac if you don't want to know why your computer works. Use DOS if you want to know why your computer doesn't work, and use windows if you don't want to know why your computer doesn't work.

      --
      "People don't want to learn linux" hasn't been a valid excuse since '03.
    15. Re:Yes, linux could improve. And? by badkarmadayaccount · · Score: 1

      Look deeply in that line. What do you see? I see a hat. A red one. A fedora, I think.

      --
      I know tobacco is bad for you, so I smoke weed with crack.
  63. OT: your sig by molo · · Score: 0, Offtopic

    I keep seeing your signature and thinking that it is a group of fans of the Honda CB 750 Nighthawk motorcycle. Disappointment soon follows. :(

    -molo

    --
    Using your sig line to advertise for friends is lame.
  64. distributed processing by h00manist · · Score: 1

    Has anyone had any success with daily use of distributed-processing, like Kerrighed, http://www.xtreemos.eu/project, OpenMosix, etc?

    --
    Build your own energy sources from scratch. http://otherpower.com/
    1. Re:distributed processing by dargaud · · Score: 1

      I used OpenMosix at about 2002~2003, it was buggy but a nice idea. But the project has now been abandoned for a few years.

      --
      Non-Linux Penguins ?
  65. Re:Wasn't there a desktop friendly scheduler rejec by Anonymous Coward · · Score: 0

    It's because he implemented in in Brainfuck.

    http://en.wikipedia.org/wiki/Brainfuck

  66. Re:Wasn't there a desktop friendly scheduler rejec by GooberToo · · Score: 4, Insightful

    Its been fairly well documented as to what happened. Linus is an egotist; as are many smart people, including others on the LKML. It seems Con has a fair ego himself with somewhat gruff interpersonal skills. The combination put him at odds with a lot of people. Generally speaking, people with large egos, don't like others who know more than they do, especially when its their pet project. Furthermore, Linus already had some people he trusted, who also had their ego's hurt by Con's work.

    So the line was drawn. Linus and his trusted lieutenants on one side and Con on the other. Linus with his lieutenants, all with hurt egos from a slightly abrasive developer who clearly understood the problem domain better than all of them, simply decided he preferred his pride and undue ego over that of Con's potential contributions.

    Not surprisingly, this type stuff happens ALL THE TIME amongst developers. I can't tell you how many times I've seen personal pride and ego take priority over extremely well documented and well understood solutions. Not to mention, frequently, the same documentation which explains why its a good decision, also explains why the decision of pride is an incredibly bad decision; with a long history of being very dumb. Despite that, egos frequently rule the day. So its hardly surprising that Linus isn't immune.

  67. Mod parent down by Anonymous Coward · · Score: 0

    That is not what this is at all.

    This is extra logic for the scheduler to make smarter decisions about what to run, when. The result is better utilization and a better user experience.

    This is completely different from "optimize some inner loop to make it 30% faster". This is "in certain situations, we used to do something stupid, but now we do something less stupid, so overall performance is better."

  68. Slackware! by spaceyhackerlady · · Score: 1

    Slackware users build their own kernels, so we can put it in any time we like.

    ...laura

    1. Re:Slackware! by Bing+Tsher+E · · Score: 1

      NetBSD users can update the whole kernel source tree with CVS and rebuild from the master source repository with a few commands.

      Then, of course, update entire userland source tree and rebuild it, too. Again, with several commands. Integrated whole systems are so much nicer than dogs-breakfast 'distro' collections.

      I learned in about 1998 that Slackware was a crude approximation of BSD. A nicely crafted crude approximation, but why mess around at all with Linux?

    2. Re:Slackware! by Fallingcow · · Score: 1

      If any distro's trying to be BSD, it's Gentoo.

      Personally, I prefer Linux for its greater hardware compatibility and wider array of well-supported software. BSD's a great router OS, though.

  69. partypooper!! by Anonymous Coward · · Score: 0

    Hey now. Don't let facts get in the way of mindless linux bashing in favor of mindless apple fanboism.

  70. Re:Wasn't there a desktop friendly scheduler rejec by h00manist · · Score: 1

    Brain Fuck Scheduler, written by Con. I understand there is no marketing effort involved in much of geekdom, but if that is the case, can we call it something less discouraging, even if it's Death Star Linux Kernel Scheduling Accelerator, (this is not cron), by C.Kolvias. This is the first time I read about it that I don't click off to the next topic assuming it's a joke.

    --
    Build your own energy sources from scratch. http://otherpower.com/
  71. Re:Wasn't there a desktop friendly scheduler rejec by Beelzebud · · Score: 2, Informative

    I have Arch Linux running on an old single core Athlon based machine, and about two months ago I compiled the Arch kernel to use BFS, because I had heard it was good for the type of machine I was using. My experience pretty much agrees with what you're saying here. I wish I would have read something this honest about it before I bothered to set it all up and compile the kernel.

    At first glance it really seems to improve system responsiveness in regards to user input. However this comes with a gigantic trade off. As an example: If I had a standard definition xvid file playing, the video would literally pause while the system loaded other programs like Firefox, Nautilus, etc. To me that is unacceptable. User input is nice, but if it's choking the entire rest of the system, it isn't something I want to use. The standard scheduler that comes with the kernel might not be perfect, but it will continue playing video while it opens up other apps.

  72. Re:Wasn't there a desktop friendly scheduler rejec by GooberToo · · Score: 1

    Ouch. Your experience surprises me. I would have thought BFS would be a great option for an older, single core box, seemingly being used for classic desktop-user activities.

  73. Disk I/O is the real bottleneck by Anonymous Coward · · Score: 0

    CPU and RAM in most systems have been more than adequate for years. The big bottleneck on desktops is disk speed and to a lesser extent the I/O system bus. I just bought a i7 quad core system with 8 gigs of RAM. Even with next to no CPU or RAM load I can still cause the UI to slow to a crawl and even hang if certain processes are thrashing the disk. Why is this still a problem nowadays? My UI shouldn't even need to touch the disk once the OS boots, it should be residing in RAM at that point so why hang when there is disk load? Is it a software issue with how the OS handles disk I/O or a physical design issue in how the desktop architecture handles it?

  74. Re:Wasn't there a desktop friendly scheduler rejec by Anonymous Coward · · Score: 0

    ...then why did he eventually call on Ingo to write a very similar scheduler?

    Because Linus believed that Ingo would support his code to Linus' standards, and Con Kolivas would not? I mean geez, the least you could do is take him at his word.

  75. Re:Actually understand the benchmark, then critici by Anonymous Coward · · Score: 0

    Obviously you've never compiled a kernel passing -j64 to the make process.

    Unbelievable. There's always one..

  76. This was always my biggest problem with Windows by Anonymous Coward · · Score: 0

    No matter how many different versions of Windows I installed, it just never seemed as snappy as Linux. There was always a sluggishness about it, nothing I could really put my finger on, but it was definitely there and it bothered me. I'm very sad to hear that there's no solution is in sight.

    I hope the people at Macrosoft get that out as an update as soon as possible.

  77. Nice argument technique! by Anonymous Coward · · Score: 0

    You don't want to argue your point, but you're going to give it to us anyway, then run away thinking you have the moral highground. I bet you're an absolute joy to argue with. I guess Linux fans have to pull tricks like that though. BTW, I don't want to argue or start a flamewar.

    1. Re:Nice argument technique! by Myopic · · Score: 1

      Yes, exactly. I want to make a point without causing a big row. I don't claim a moral high ground, which is why I made sure to say that I don't doubt his sincerity. WTF would be moral high ground with anecdotes about operating systems, anyway?

  78. can we see the code please by hesaigo999ca · · Score: 1

    Who gets to review the code before it is deployed into the wild, anyone can say I have code for the kernel that is good for everyone, what if the governing body on the linux kernel has been asked to add a backdoor for the government, would we know, is there any way of seeing the code before we are to download it???? (newbie linux user)

  79. Re:funny, haha by cynyr · · Score: 1

    why upgrade the kernel with gentoo any more often than with any other distro? all portage does, is install sources for the kernel; you are left to do the configure and compile yourself.

    As for the "overhead" sleep or go to work during it. I've spent way more time doing video encodes on my desktop than I have doing compiles. Granted I don't have KDE4 installed, or source openoffice, but i like xfce better anyways.

    --
    All of the above was encrypted with a Quad ROT-13 method. Unauthorized decryption is in violation of the DMCA.
  80. Gentoo by ThatsNotPudding · · Score: 1

    Hand-carved from meteorites.

  81. Re:Wasn't there a desktop friendly scheduler rejec by Anonymous Coward · · Score: 0

    And open source software is supposed to be better because...?

  82. Re:Arch Linux? by Anonymous Coward · · Score: 0

    Who rated this a troll?

    It is funny you pathetic dipshit fanboi

  83. Doable today! No kernel changes required. by Anonymous Coward · · Score: 1, Insightful

    http://lkml.org/lkml/2010/11/16/330 - user space solution that does the same.

  84. thanks, grandpa by Anonymous Coward · · Score: 0

    Thanks for sharing that blast from the past with us, Grandpa. You can go back to sleep now.

    1. Re:thanks, grandpa by Anonymous Coward · · Score: 0

      You recognized it, so what does that make you?

  85. Greetings from Windows-land... by Anonymous Coward · · Score: 0

    ...welcome to the club! Having an OS that "just works" is great, eh?

    Now maybe you might get working drivers next year.

  86. Re:But what if the "heavy background task" has bee by spitzak · · Score: 1

    who prints what programs have updated /var/run/utmp. This is not the tty that this patch is using. Updating utmp can be skipped for many reasons. Main ones are to just make that output from who shorter, but it also means the terminal emulator does not have to be setuid.

  87. Re:Wasn't there a desktop friendly scheduler rejec by rwa2 · · Score: 1

    Ha, at least it wasn't as bad as Mac OS 9... where *everything* paused to give the user good interactive performance navigating a *menu bar*. Sheesh. Cooperative multitasking fail.

    I got so paranoid trying to learn and use all of the few shortcut keys available (along with their idiosyncrasies) and run through any remaining menus really fast so my computations could keep processing and not grind to a halt for too long.

  88. Who the hell does this actually affect? by Anonymous Coward · · Score: 0

    Seriously, who the hell is dumb enough to run make -j64? That's just BEGGING for your system to slow to a crawl. I have two cpus so like a sane person, I use -j2, and my desktop responds just fine without this patch.

  89. Why can't the 'raise priority' rule be changed by Rob+Y. · · Score: 2, Interesting

    I know Linux wants to be POSIX compliant, but I don't see any harm in changing nice like so:

    1. Store the original nice value of a process in the kernel's process table.
    2. Allow priority to be lowered by anybody.
    3. Allow priority to be raised by anybody as long as it does not surpass the original nice level.
    4. Require superuser to go beyond the original nice level (and reset the saved value if they do).

    That would be no more dangerous than the current system, but would allow apps to lower their priority temporarily when they go off to perform 'batch-like' processes, restoring it when they return to interactive mode.

    --
    Posted from my Android phone. Oh, I can change this? There, that's better...
    1. Re:Why can't the 'raise priority' rule be changed by TheRaven64 · · Score: 1

      There's nothing stopping an app from spawning a lower-priority child process. The POSIX thread priority routines can also be used to lower and increase a thread's priority, so an app can do background processing in a low-priority thread.

      --
      I am TheRaven on Soylent News
  90. Seriously? by celtic_hackr · · Score: 2, Interesting

    I've been a Windows user since Windows version 1.01 (that used real mode DOS, and text based graphics). Windows has never, ever, ever been "snappy". At least not out of the box. There used to be third-party utilities (eg Norton Desktop), that made the experience better. But, it does depend on what you use it for. If you don't have tens of thousands of files to maintain, and only use it to watch pr0n and for email, and that Christmas letter. Then yes, you will probably have snappy performance.

    If however you use it for business, and write dozen of documents a day and have millions of lines of code in thousands of files, and are creating videos and music, then you will not see snappy Windows performance. That said, unless you've been using the -ck kernel patch (I downloaded and stored on my own server when CK left in storm), you've not seen snappy performance in any full blown WM in Linux either. Now, it looks like they finally got a kernel patch that can compete with Con's 6 year old patch. Congratulations Linus! It only took you and your crew six years to duplicate the work of one man that you bullied out of the kernel group!

    Running Linux since 1991! Wow it's almost been 20 years since I attained enlightenment!

    1. Re:Seriously? by abigor · · Score: 1

      My client makes me use XP for when I'm vpn'd into their network, and yeah, it is really smooth. That's what you get when you put window drawing into the kernel. Obviously for other operations it is pretty mediocre, but for window smoothness/snappiness, it's pretty tough to beat (OS X is comparable).

      I've used Linux in one form or another since 1996, and worked with it professionally (ie written software that runs on it) since 1998. I've also contributed a driver patch to X.org, so I'm familiar with how windows are drawn and updated.

  91. Re:Wasn't there a desktop friendly scheduler rejec by Anonymous Coward · · Score: 0

    could there be a live swap of scheduler when you switch to init level 5 or something like that.

  92. Re:Wasn't there a desktop friendly scheduler rejec by Enderandrew · · Score: 1

    Ingo is a respected member of the kernel community. Of course he will support his code.

    But Linus had no real reason to suggest that Con wouldn't support his code after he had already been doing that for 3 years.

    --
    http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
  93. Re:Arch Linux? by Shikaku · · Score: 1

    https://www.archlinux.de/?page=UserStatistics

    I use Arch as well. Many people do. And it's tired, almost as much as the over 9000 meme.

  94. Trying it out now by Anonymous Coward · · Score: 0

    As I type this, I'm running a fresh version of 2.6.37-rc2 with the patch applied. Nummy. I'm watching 1080i video on the other monitor, and typing this on the first one. Things *are* more snappy than before! The patch is small, it went in without any hiccups, and there is no waiting for anything. I run a Corei7-920 with 12GB of ram (so its not like I would be waiting much anyway), but I feed the machine a lot of big jobs (kernel compiles using -j16, I have a script that builds a website --it calls other scripts-- that builds mysql from source, apache from source, php --with security patches-- from source, content management system from source, plus 50 support applications from source plus doing all of the installation from the scripts (configuration files modified from the scripts primarily with sed) plus all permission setting, etc.)) That script sucks the whole computer down for 20 minutes. ...and everything works as expected, including the drivers for odbc and odbc/openoffice, plus phpmyadmin. This patch seems to be working as advertised. Nummy!

  95. Re:funny, haha by HeronBlademaster · · Score: 1

    In my experience the biggest time sink in Gentoo hasn't been compiling things (which, as you say, can be done while asleep or otherwise away from the computer), it has been trying to get the system back into a working state when your system upgrade fails halfway through with build errors leaving you in a halfway state in which you can't get half your stuff working... I eventually just stopped upgrading those two systems entirely. In fact, last week I reconfigured one of those machines using Arch instead, in part so I would be able to update things reliably.

    Don't get me wrong, I like Gentoo, but I don't think I'll ever use it again for anything but something to tinker with when I'm bored.

  96. Slash the Thrash by Anonymous Coward · · Score: 0

    Setting your vm.swappiness levels down from the default 60 to 10 seems to help the desktop issues this patch fix is for, too. Can't wait for the Slackware kernel packages to come out ;~)

  97. Re:But what if the "heavy background task" has bee by Tetsujin · · Score: 1

    Someone can correct me if I'm wrong, but a TTY includes the separate terminal sessions and particular X Windows session(S) you are in. IE: CTRL+ALT+F1 - CTRL+ALT+Fn

    Not "in window" terminal sessions alone.

    Honestly, I'm not sure. Certainly it's possible that the X server assumes /dev/tty7 (or whatever) as its controlling TTY - but I don't know if that's actually what happens.

    And either way - a processor-intensive job launched directly from the GUI is going to have the same process group as other jobs launched directly from the GUI, unless some piece of code takes action to change the jobs' controlling TTYs.

    The whole benefit in this test case presented in the video is derived from the fact that the processor-intensive job (the "make -j64" command) is run in a different process group (the xterm's TTY) from the GUI applications.

    --
    Bow-ties are cool.
  98. Re:Wasn't there a desktop friendly scheduler rejec by CAIMLAS · · Score: 1

    BFS makes the classic trade offs which Linus and almost all others absolutely agree is a bad decision for core inclusion. BFS trades performance for latency.

    This is typical for a "computer scientist". Bad decision from a "using hardware effectively", sure. But if I'm waiting for the computer because the kernel is being efficient, it doesn't matter much, does it? I'd rather penalize system efficiency to see gains in my own. That's why we're not using a Babbage machine.

    Basically you get really good interactive performance in exchange for massively losses in over all throughput and efficiency.

    My efficiency, or the computer's? If I say "switch windows now" and I have to wait a quarter second, there's a problem with the software: the hardware is capable of doing so, and so am I. I should not have to upgrade my hardware to get a poor implementation to perform quicker; I should simply be able to have the implementation made better - particularly for something as low-level as kernel scheduling.

    --
    ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
  99. Brief TTY primer. by Tetsujin · · Score: 1

    Many terminal emulators include the option of creating or not creating a TTY to attach to when you run them.

    Start a terminal and type w. You might find a pts terminal for each terminal you are running.

    Probably you would. Some software doesn't work right if it doesn't have a controlling TTY - and some software specifically talks to its controlling TTY as opposed to stdin/stdout in order to bypass pipeline redirection mechanisms.

    (For instance: terminal applications might check for a controlling TTY before using control codes. "ls" formats its output if stdout is the TTY. "ssh" prints its password prompt (and receives its password input) from the TTY)

    A controlling TTY is also required for job control: CTRL-C to kill a process, CTRL-Z to suspend a process, etc. don't work if there's no TTY.

    --
    Bow-ties are cool.
  100. Lines of code have nothing on user stories! by Tetsujin · · Score: 0

    But 400 lines of code in the subject line would make it 2x faster! LOC is the #1 metric for programming.

    As a(n) UBUNTU USER I want to VIDEO PLAY MORE BETTER because CARTOONS IS SERIOUS BUSINESS

    --
    Bow-ties are cool.
  101. I call shenanigans by Cruciform · · Score: 1

    I won't believe it until someone tattoos the source code on their body, or puts it on a t-shirt!

  102. Koopa Troopas by Anonymous Coward · · Score: 0

    > Fuck support contracts. Real men fire up gdb when they see a koops.

    Really? If I saw a koops, I'd probably call Mario & Luigi.

  103. Re:Wasn't there a desktop friendly scheduler rejec by pan_sapiens · · Score: 1

    Makes me think of an extension to the Ubuntu tagline: "Linux for human beings".

    "Linux for human beings, by human beings."

  104. Re:Wasn't there a desktop friendly scheduler rejec by Anonymous Coward · · Score: 0

    Well, ego plus it has a really dumb name.

    Oh, wait...

  105. Your procedure has been accepted & followed. by Tetsujin · · Score: 1

    "Compiling the kernel isn't a useful benchmark. How well does it deal with running Adobe Air?"

    Obviously you've never compiled a kernel passing -j64 to the make process. If you had, you would know that all your CPUs would be pegged (indeed -j7 pegs all 8 cores on my laptop.) Of course that is not the benchmark part. The point is that with an "all your processors are belong to kernel build" condition, group scheduling allows there to be essentially no perceived slowdown for interactive GUI/Window manager based computing.

    If I'm building a kernel with -j64, is desktop performance during that process really my top priority? And how does this scheduler change affect the performance of that build?

    You probably should have figured out that you were missing something when Linus Torvalds didn't object to the benchmark and the results. Seriously, this is a major point to understand: When it comes to the kernel, in a fight between your knowledge and Linus', Linus wins.

    I don't think that's something one should take for granted. We all make mistakes. And I think it was mentioned in the mailing list that this was an implementation of an idea Linus came up with in the first place... If so, it's natural he'd stand behind it.

    At this point I'm feeling a bit skeptical. This one particular test case works because the build process winds up on a different controlling TTY. But what if the compile had been started, say, from within Emacs (launched from the window manager)? If Emacs has a controlling TTY in that case, it's the same controlling TTY (and thus, same process group) as Firefox and glxgears. Compiles kicked off from within Emacs don't get a separate TTY. Or, as someone else mentioned, what if another processor-intensive job (like a video encode, a Blender render, etc.) were kicked off from a GUI app not launched from an xterm? This patch wouldn't do anything for you in that case.

    Alternately, what if the other applications had also been launched from the terminal window? They'd all wind up in the same process group, unless they detached themselves from the TTY.

    This patch does wonders for preventing big jobs from messing up UI responsiveness if that big job is on a separate process group. But it seems like there's all kinds of common cases where that wouldn't wind up being the case.

    It seems to me that Linus is latching on to this idea because it suits the way he works: which is fine - but that doesn't mean that it's going to be an important and useful solution for the rest of us. This is why it's important to consider whether the test case is really typical of what other people are doing with the system. If you don't do that, then it skews your whole perspective of how useful this patch really is. Linus is taking the attitude that this patch has been shown to work well, and therefore discussing the merits of the approach is meaningless. I disagree. Looking at this thing it seems like they looked at one atypical use case and, based on that, declared that the patch works miracles.

    I think grouping processes by controlling TTY isn't a really sensible strategy in an age when a lot of our software doesn't even have any use for a TTY... I agree in principle with the idea that we should measure the merits of a scheduler strategy in terms of results, not academic merit... But the test cases have to be representative of typical use cases, and they have to cover all the common ones, or else they're meaningless. I really think Linus has missed that here.

    --
    Bow-ties are cool.
  106. Re:Actually understand the benchmark, then critici by ultranova · · Score: 0, Flamebait

    Seriously, this is a major point to understand: When it comes to the kernel, in a fight between your knowledge and Linus', Linus wins.

    You'd think so, but:

    "Initially a Phoronix reader tipped us off this morning of this latest patch. "Please check this out, my desktop will never be the same again, it makes a *lot* of difference for desktop usage (all things smooth, scrolling etc.)...It feels as good as Con Kolivas's patches.""

    Emphasis mine. Fuck Linus. All he cares is how well it works in 1024-core machines. It's a miracle if anything that's useful at desktop actually gets approved, so I suspect this patch will have some flaw found to stop such abomination from happening. And a flaw, of course, means that it won't scale to 4096-core machines, or helps desktop machines. Either will do.

    --

    Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

  107. So all those years you were lying? by Anonymous Coward · · Score: 0

    So all those years you were lying? Lying that Linux was better than Windows even for desktop?

  108. Re:Your procedure has been accepted & followed by Zero__Kelvin · · Score: 1

    "I don't think that's something one should take for granted. We all make mistakes. And I think it was mentioned in the mailing list that this was an implementation of an idea Linus came up with in the first place... If so, it's natural he'd stand behind it."

    Actually Linus' said he wasn't expecting much and was quite surprised. This isn't some theoretical improvement. People in the real world are reporting excellent results left and right. Empirical evidence isn't influenced by bias.

    ""At this point I'm feeling a bit skeptical. This one particular test case works because the build process winds up on a different controlling TTY. But what if the compile had been started, say, from within Emacs (launched from the window manager)?"

    I don't think this would change a thing - other than maybe making emacs itself less responsive - but if you're an emacs user you can't really expect much. Everyone knows vim is the right tool for kernel development ;-)

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  109. Re:Wasn't there a desktop friendly scheduler rejec by GooberToo · · Score: 1

    This is typical for a "computer scientist".

    You are conflating several issues. They made a conscious decision to favor server throughput and to allow for scalability. Like it or not, desktop use is a minority use case for Linux. As such, it makes absolute sense to favor your target audience. Realistically, making the "right" decision is almost always the right decision. The real problem isn't that they desired high throughput in the CFS scheduler. The problem is, they decided to give throughput consideration to obscure server workloads over and above those of typical desktop workloads. Again, not hard to figure out why.

    The problem with BFS is that is really scales okay to about four CPUs but has a lot of inefficiency to show for it. Things start falling off pretty quickly afterwards. By the time you hit 16 cores, you've reached all but a wall. At least, that was the result from the last benchmarks I've seen.

    If I say "switch windows now" and I have to wait a quarter second, there's a problem with the software

    But that doesn't necessarily mean someone made a poor choice. That simply means someone made a choice which favors different priorities. Besides, we already know the existing Linux scheduler can be improved. This story is one such example.

    Lastly, at the end of the day, don't forget that scheduling is an extremely complex subject in which objective merits must always been considered; usually to the detriment of another consideration. The difficulty is finding a balance which covers the entire spectrum of user experience. To wit, we all know CFS does not currently provide.

  110. Re:Wasn't there a desktop friendly scheduler rejec by GooberToo · · Score: 1

    This has nothing to do with open vs closed. This happens all the time in the corporate world. It has to do with simply being human.

  111. Re:Your procedure has been accepted & followed by Tetsujin · · Score: 1

    "I don't think that's something one should take for granted. We all make mistakes. And I think it was mentioned in the mailing list that this was an implementation of an idea Linus came up with in the first place... If so, it's natural he'd stand behind it."

    Actually Linus' said he wasn't expecting much and was quite surprised. This isn't some theoretical improvement. People in the real world are reporting excellent results left and right. Empirical evidence isn't influenced by bias.

    Empirical evidence can be influenced by bias. For instance, the bias that goes into selecting your test cases... The empirical evidence cited on the mailing list was all based on this same single kind of test - a big job running on a TTY. One flawed test case with good results, plus a lot of anecdotal evidence from people I don't know does not convince me.

    I've been reading the mailing list messages a bit more and one bit I'd missed previously is that this is that this is the starting point, and other heuristics will become a part of auto-grouping later on. So from that perspective the situation seems rather more promising.

    ""At this point I'm feeling a bit skeptical. This one particular test case works because the build process winds up on a different controlling TTY. But what if the compile had been started, say, from within Emacs (launched from the window manager)?"

    I don't think this would change a thing - other than maybe making emacs itself less responsive

    But don't you see? In this case:

    Emacs: launched from window manager, therefore inherits window manager's process group.
    Big-ass compile job: launched from Emacs without a controlling TTY, therefore inherits window manager's process group.
    Firefox: launched from window manager, therefore inherits window manager's process group.
    Video player: launched from window manager etc. etc.

    The result in this case is that the big compile job isn't conveniently landed into a separate process group. Not only does the user (for reasons that won't be apparent to someone who doesn't know how the scheduler works) not get the performance benefit, but in fact the performance of their desktop applications will be degraded as a result of being stuffed into the same group as the compile job.

    Blah blah blah let's bash Emacs. Whatever. Still this TTY-based grouping does nothing for processes that don't rely on TTYs for anything at all... And it could put undue prioritization on tasks just because they happen to have a unique controlling TTY.

    --
    Bow-ties are cool.
  112. Why is this so hard? by Anonymous Coward · · Score: 0

    14 years ago on the Amiga we had Executive which allowed the user to choose dynamically between six different scheduling algorithms.

    http://www.amigareport.com/ar414/news6.html

    If this was easy to dynamically change task schedulers then why is it hard now? Why is this hard coded in the kernel? Why is this not another module?

  113. Why is this so hard? by Anonymous Coward · · Score: 0

    14 years ago on the Amiga I could dynamically change between six different scheduling algorithms using Executive.

    http://www.amigareport.com/ar414/news6.html

    Why is scheduling hard coded in the kernel? This should be configurable in user space maybe as a module?

  114. linux kernel mailing list by Chirs · · Score: 1

    The article points to the thread on the linux kernel mailing list, which is where much of the review of core kernel changes happens. Anyone can see the patches flying by, and you can always see the current (and historical) state of the main linux kernel repository by using git and pointing it to "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git". You can even see it using a web browser by going to "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tree".

  115. ~200 line patch huh by Anonymous Coward · · Score: 0

    Does that include comments?

  116. Re:Wasn't there a desktop friendly scheduler rejec by djdanlib · · Score: 1

    Is there a pluggable scheduler system yet? Can we poke some value foo into a /proc/scheduler/bar and select one on the fly?

    I haven't used Linux in ages because on my desktop, it just wasn't responsive at the right times.

  117. Re:Wasn't there a desktop friendly scheduler rejec by kangsterizer · · Score: 1

    Cause you can patch BFS in anyway? :)

  118. Re:Actually understand the benchmark, then critici by Zero__Kelvin · · Score: 2, Informative

    "You'd think so, but:

    "Initially a Phoronix reader tipped us off this morning of this latest patch. "Please check this out, my desktop will never be the same again, it makes a *lot* of difference for desktop usage (all things smooth, scrolling etc.)...It feels as good as Con Kolivas's patches.

    Emphasis mine. Fuck Linus ..."

    You either missed it, or are conveniently "failing to mention it", but the idea was Linus' to begin with, and he wasn't expected such great results. There are reasons why Con's patches weren't used and this one is used. I'm not about to debate it here, as it has been beaten to death already, and with logic like "fuck Linus" you clearly have me outclassed in any such debate.

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  119. Re:Your procedure has been accepted & followed by Zero__Kelvin · · Score: 1

    "Emacs: launched from window manager, therefore inherits window manager's process group."

    Maybe I am missing something. The terminal used for the build is launched from the Window Manager. What is the difference?

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  120. Re:Your procedure has been accepted & followed by Tetsujin · · Score: 1

    "Emacs: launched from window manager, therefore inherits window manager's process group."

    Maybe I am missing something. The terminal used for the build is launched from the Window Manager. What is the difference?

    The difference is that the terminal creates a TTY session (interactive command shells almost always have a TTY, as it's required for job control and window resize notifications and other things), and therefore (under the auto-grouping process scheduler) a separate process group. The build started in the terminal window could spawn a thousand processes, and they'd all wind up in that same process group.

    The concept of process groups is rather new to me (it's kind of a new thing, right?) and so my understanding on some of these points may be incorrect: but my understanding is that this scheduler helps if and only if that big compilation job winds up in its own process group. The kernel periodically context-switches away from the whole process group to do other things. That's where the benefit comes from: if a 64-process build were running at the same time as a video player (maybe itself 2 or 3 processes), that video player would probably get less than 1/30 of the total CPU resources. The fact that the compilation is using more processes effectively gives it more priority. But if those 64 processes were part of a single group, and the scheduler is servicing groups with more or less even priority, then that video player (assuming there's just the two groups, and nothing else is in the video player's group) gets to claim about half the total CPU resources...

    Creating a terminal window creates a new process group - and the process groups are what causes things to behave differently under this patch.

    --
    Bow-ties are cool.
  121. Re:Wasn't there a desktop friendly scheduler rejec by npsimons · · Score: 1

    Actually Linus lost track of many such things because too self centered or ego driven (which happens to most of us when you such success and things to deal with but anyways)

    Or, you know, maybe he gets so many patches that every once in a while, even a good one can slip through the cracks. I mean, you try dealing with the literally hundreds of people emailing their really "great" ideas to you every day for inclusion in a kernel that you not only rely on personally, but put your name and stake your reputation on. Now, I'm not going to claim that Con was some idiot, but most of the whining about his patch not being accepted that I've ever heard was from people who probably couldn't even tell the difference between C and C++. Or if they could, they were too busy bitching to write their own patch for inclusion in the kernel. As for Con? I have a lot of respect for him, because unlike the whiners, he sucked it up and started all over again. Linus isn't perfect; he's not a god, but he knows a damn sight more than anyone here bitching about him rejecting patches.

  122. Re:Wasn't there a desktop friendly scheduler rejec by npsimons · · Score: 1

    If Linus didn't really believe it was an improvement, then why did he eventually call on Ingo to write a very similar scheduler?

    Maybe he did realize he was wrong; then there's always the consideration to be made that Ingo has been around for ever in the Linux kernel community, and Linus trusts him. Not to cast aspersions on Con, but if someone came to you with some "great idea" and just give it to you, would you take it? Especially for something as important as the scheduler, where use cases you can't even imagine are the norm. Use cases you can't imagine unless you've been developing one of the most widely used kernels, in applications from micro-embedded computers all the way to highly distributed clusters, for going on almost twenty years. The three years Con spent on the scheduler may sound like a lot, but it's nothing compared to the man-years that have been put in by the Linux kernel developers; and, yes, Linus has his favorites, because they have come through time and time again, and have been around forever.

    Linus didn't want to admit he was a jerk who made a flippant personal decision rather than focusing on the best code.

    Nobody's perfect. And it's obvious you haven't spent much time on LKML; people regularly flame and get flamed; it's part of the culture, and it's also a way to winnow out those who aren't willing to stick with it.

  123. Re:Your procedure has been accepted & followed by npsimons · · Score: 1

    I think grouping processes by controlling TTY isn't a really sensible strategy in an age when a lot of our software doesn't even have any use for a TTY.

    Perhaps; but what of the possibility of scheduling groups of processes, where "group" is defined differently? If nothing else, this patch could lead the way to being able to schedule "process groups" where the partitioning into groups is done differently (eg, background services vs user apps, foreground window vs background window, etc).

  124. Re:Your procedure has been accepted & followed by Zero__Kelvin · · Score: 1

    Maybe you are right. I certainly concede that I haven't looked at the code, or analyzed things much at this point. Give it a try and let me know (I don't do emacs.)

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  125. Re:Wasn't there a desktop friendly scheduler rejec by Enderandrew · · Score: 1

    As I posted above, normally when Linus flamed someone he was both entertaining and right. In this case he was neither.

    --
    http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
  126. Oh my God! by ElusiveJoe · · Score: 1

    Why would you need a directory with few thousands of files on the desktop computer?! Well ok, under linux there is /usr/bin (and I don't like this design), but under windows?! And what do you do after you opened this folder?

    1. Re:Oh my God! by Myopic · · Score: 1

      I'm not sure if you are kidding, but the folders contain large numbers of data files written by my company's software. Part of my job is to monitor that.

  127. Re:Wasn't there a desktop friendly scheduler rejec by wallsg · · Score: 1

    Basically BFS only makes sense on single or dual core systems which will primarily be used as a desktop. After that, it better be a dedicated desktop system because compared to the stock kernel, performance is going to royally suck, despite latency being fairly good. But then again, BFS was never really designed to address scalability - its always focused on latency and a superior interactive desktop experience. By most measures it works, but at a heavy cost.

    So what you are saying, this would be a fantastic scheduler for the people (like Mom) who would have to adopt Linux for it to ever succeed on the desktop, but since it doesn't play well with the enthusiast it's ridiculed and thrown aside.

    Why do people wonder why Linux has never caught on with The Masses?

  128. Re:But what if the "heavy background task" has bee by Rutulian · · Score: 1

    Yeah, that's true with this particular implementation. But I think the concept can be extended. Since the essence of the patch is that it automatically creates process groups based on a criteria (in this case the TTY number), I think it could work something like this: the desktop environment runs a daemon in the background that manages at least two process groups--a background process group and an everything else group. Things like dvd rippers, media encoders, matlab simulations, whatever go in the background process group, and the kernel handles the rest.

    The question for scheduling always is "what needs the highest priority?" This patch groups process by tty because its a natural way of separating processes. Obviously the ones that should have the least latency are the ones you are actively using (ie: in the active tty). To do this with a modern gui, the desktop environment has to get involved somehow with the process grouping. Because otherwise there is no way for the kernel to know which processes are being actively used and which ones are in the background (it knows which ones are using the most cpu, but that's about it). Even for the desktop environment it will be tricky, but it has a lot more information to work with than the kernel alone--which windows are on which workspace, which workspace is visible, which windows are on top, which are minimized, when was the last time an Xinput event was in a window, is the application in the window constantly updating the framebuffer, etc....

  129. I've seen it in numerical computing by dbIII · · Score: 1

    Yes that is what happens when memory is full and then swap is also completely full, it kills things off until there is enough memory that something can run instead of it being completely locked up. I don't think it's at random though.
    I've seen it on a few times cluster where users try to squeeze 50GB of data at a time into 8GB memory plus 2GB swap instead of getting the software to handle things in smaller chunks. It seems to kill off the monitoring software early (ganglia) and the main user process that is consuming all of the memory late. When you have a point where the user process can just keep running in memory plus swap with just about everything else killed off it will do so. At that point it's going at glacial speed and won't let you log on (no spare memory), so it's a case of telling the user and getting them to change their settings, rebooting and starting their job from scratch. If something is going to consume all memory plus swap it usually doesn't get very far before it bogs down. Often the new job gets further in a couple of minutes than the stuck job did in a couple of hours.

  130. Re:funny, haha by kainosnous · · Score: 1

    I've never used Gentoo personally, but I feel that I don't have much of a reason. For learning and tinkering there is LFS, which to a greater extent is impractical for real work. That's where Arch comes in. It's customisable enough to do anything that I want while still having a great package manager. For a more typical instalation I use Fedora.

    Basically, Gentoo seems to occupy that end of the spectrum between LFS and Arch that I don't seem to need or want. However, I'm still tempted to try it at least once.

    --
    There are 10 commandments: 01)Thou shalt love the Lord Thy God 10)Thou shalt love thy neighbour as thyself.Matt22:34-40
  131. Re:Wasn't there a desktop friendly scheduler rejec by LingNoi · · Score: 1

    Please point out where Linus flamed Con..

    Also Linus was right in the end..

    http://kerneltrap.org/node/14023

  132. Re:Wasn't there a desktop friendly scheduler rejec by LingNoi · · Score: 4, Informative

    It's been fairly well documented but you still seem to ignore the reality of what happened.

    http://kerneltrap.org/node/14008

    Read all that then tell me that Linus has an ego here. It seems to me that Linus is the only level headed guy and you're just trying to distort what really happened.

    - He choose CFS over SD because SD behaviour was inconstant among users' computers
    - Con would argue with people sending him problems rather then accept them as problems with his code
    - Linus didn't want code in the kernel that would only work well for certain users
    - Linus didn't want code maintained by someone that was so hostile to others' critique
    - Linus states that he believes the desktop is an important platform

  133. I think this patch could be even smaller. by rdebath · · Score: 1

    I've done a quick scan and the autogroups thing creates a new scheduling group whenever a user process sets or clears the current CTTY value for the process. This should give a process grouping almost identical to the session id (setsid(3)). You can see your current session ids with ps(1) in the SID column.

    ps jaxk sid

    I can't tell for sure without trying it but I think this will give a new process group for each application started from many GUI menu programs too because they actively detach you from the CTTY. Even if it doesn't there are many user programs that change the CTTY, the simplest is probably script(1).

    But, this is definitely one of those changes that demands the question of why it wasn't though of before; why didn't I think of it, I know what session IDs are and I know about process scheduling groups. It's obvious, in hindsight, that they are a pretty good match for each other.

  134. Re:Wasn't there a desktop friendly scheduler rejec by GooberToo · · Score: 1

    You make it sound like its the only game in town. Its not. For your typical Mom, CFS works fairly well too. Generally speaking, most people are not multi-taskers. As such, CFS work great for them too.

    Besides, its widely believed that Linux desktops have been terribly under represented. Some estimates actually place it on par with Apple desktops. Aside from that, its server presence is massive. Linux has clearly caught on with the masses. The hair splitting allowed is where the actual desktop numbers lay. Are they closer to the general estimates everyone knows are wrong and too low or are they actually on par with Apple?

  135. Re:Wasn't there a desktop friendly scheduler rejec by GooberToo · · Score: 1

    And none of that reflects reality. There is also a lot of surround threads which properly light the scene. My depiction is spot on accurate.

    He choose CFS over SD because SD behaviour was inconstant among users' computers

    That's why people claim bullshit because CFS was even worse. He was hypocritical. Everyone knows this.

    Con would argue with people sending him problems rather then accept them as problems with his code

    Yes and no. That's not entirely true. Con would "argue" with people to explain what it was they saw. Scheduling is very complex. When people saw a result which differed from their expectations, they cried error. Some were legitimate. Most were not. Some were biased for server genre. The "legitimate" complaints were always addressed AFAIK.

    Linus didn't want code in the kernel that would only work well for certain users

    And yet he choose the option which created the largest deviation - which was his own option - CFS. Hypocritical to say the least.

    Linus didn't want code maintained by someone that was so hostile to others' critique

    This is the gruff skill set to which I spoke. But people ignore that he was full of bullshit. Con has YEARS of proof to show that Linus was completely full of shit in this regard.

    Linus states that he believes the desktop is an important platform

    Of course it is - until it demands a compromise to the detriment of server performance - which he's endlessly on record more or less saying.

    So basically, your representation does not accurately reflect the situation in the least and shows no ability to read between the lines or any knowledge of context outside of the thread in question.

  136. Shades of MVS, MFT, and other IBM OSs by lsatenstein · · Score: 2, Interesting

    In 1980, The IBM mainframe operating systems included "Performance Groups". Workloads were classified into Low CPU interactive and High CPU background and also some must complete performance group(s). It like being born again to see it coming to Linux as a new patch. Now I would love to see a "VM CMS" environment under the linux kernel

    --
    Leslie Satenstein Montreal Quebec Canada
  137. Re:Wasn't there a desktop friendly scheduler rejec by Enderandrew · · Score: 1

    That article is about Wine gaming specific benchmarks, where as a wider range of benchmarks showed SD was superior. Cherry picking one benchmark doesn't prove that Linus was right.

    For one, Linus argued that one use case shouldn't be focused on, but rather the wide range of uses for the kernel. So why cherry pick one use-case?

    Secondly, Linus argued for three years that Linux didn't need a new scheduler at all, and that Con's approach was completely wrong.

    Even Ingo admitted his CFS was based on SD's principle and was largely inspired by it. The fact that CFS performed vastly better than the previous scheduler actually proved Con was right and that Linus was wrong in arguing for no new scheduler.

    http://kerneltrap.org/flames

    Linus justifies the decision not to go with SD saying Con was argumentative and wouldn't support his patches. Con had been supporting and improving them for three years. I emailed him personally and got support. He answered questions on the LKML and on his own mailing list. He listened to criticism and constantly improved his patches for years.

    Linus not only made his decision on personality rather than code, he did so by making up lies about Con as a person.

    Face it. It was a dick move. And up to that point, I was a big Linus fan.

    --
    http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
  138. Re:Your procedure has been accepted & followed by Tetsujin · · Score: 1

    I think grouping processes by controlling TTY isn't a really sensible strategy in an age when a lot of our software doesn't even have any use for a TTY.

    Perhaps; but what of the possibility of scheduling groups of processes, where "group" is defined differently? If nothing else, this patch could lead the way to being able to schedule "process groups" where the partitioning into groups is done differently (eg, background services vs user apps, foreground window vs background window, etc).

    Yeah, one of the things I missed in my first appraisal of this patch is that it's a starting point, and that they're planning to add more heuristics to the implementation of "auto process grouping" in the future.

    An implementation of auto process groups based only on controlling TTY seems very limited given how much people do these days without a TTY device attached... But if you take that as just one of a set of heuristics - suddenly it makes a lot more sense...

    Though I still have some concerns about the idea. It assumes a particular model of TTY usage. If a distinct controlling TTY always means a new process group, that could cause problems if a piece of software makes more extensive use of PTY devices.

    --
    Bow-ties are cool.
  139. Windows 6.x: How old is older? by tepples · · Score: 1

    Windows Vista and 7 both run fine on older hardware

    How old is older? ASUS sold the Eee PC 900 in the fourth quarter of 2008. Its Celeron 900 CPU was comparable to the PIII-866 in new desktop PCs made in the fourth quarter of 2000, and it came with 512 MB of RAM. Even when one replaces the slow 4 GB SSD with a faster and larger SSD, we're talking about a 2-year-old PC that does not meet the published system requirements of Windows 7.

    1. Re:Windows 6.x: How old is older? by Anonymous Coward · · Score: 0

      I can run Windows 7 on an Atom 330. That's a lot weaker than many XP-era PCs.

  140. Re:Wasn't there a desktop friendly scheduler rejec by Anonymous Coward · · Score: 0

    Link some evidence or GP has you beat.

  141. Re:But what if the "heavy background task" has bee by anomaly256 · · Score: 1

    Is there another metric that can be used to determine which group a process should be bound to? Perhaps the group (from /etc/group) the process is running as. Or, y'know, just change the menu launcher to specify the group at execution time. Like how 'nice' works. Or an env var on the command line. Doesn't have to be automagic.

  142. Re:But what if the "heavy background task" has bee by ArsenneLupin · · Score: 1

    Perhaps the group (from /etc/group) the process is running as.

    As most machines are used as single user, all interesting processes belong to the same user, and also the same group...

    Next idea?

  143. Re:Wasn't there a desktop friendly scheduler rejec by bytesex · · Score: 1

    With a treatment like that, it's a miracle he didn't call it the 'Up Yours' scheduler.

    --
    Religion is what happens when nature strikes and groupthink goes wrong.
  144. Re:Wasn't there a desktop friendly scheduler rejec by Anonymous Coward · · Score: 0

    My depiction is spot on accurate.

    Arrogant, much?

    Everyone knows this.

    No, not everyone does.

    Kindly take your generalizations and fuck off.

    Thank you.

  145. Re:But what if the "heavy background task" has bee by anomaly256 · · Score: 1

    How about: "Or, y'know, just change the menu launcher to specify the group at execution time. Like how 'nice' works. Or an env var on the command line." Also, ever heard of the setgid bit? Plenty things run as the current user but with a group specific to the app or nature of it's task

  146. Re:But what if the "heavy background task" has bee by Anonymous Coward · · Score: 0

    You can easily check which tty (if any) a program has associated by doing a ps auxww and looking at the 7th column (where it will say ? for "no tty" or name the tty (such as pts/9)

    I love linux

  147. Re:Wasn't there a desktop friendly scheduler rejec by Anonymous Coward · · Score: 0

    This doesn't just happen to programmers. After a few years working for federal government I have seen people's egos lead to poor public policy, wasting tax payer dollars. The question on the table is less "What is the best way to spend this money to provide a public benefit" and more about "who suggested what solutions and how right and / or wrong that person is".

    I'm sure this also happens in the private sector, ie Discovery channel lawyers suing a fan site that gets money from the advertisement department of the same damn company. Probably some lawyer just wants to win the suit for his own ego even though it's ultimately bad for the company.

  148. Re:Actually understand the benchmark, then critici by Anonymous Coward · · Score: 0

    The reason Lennart on LKML and many other people objected was that it was (and still is, look at the config option description) described as a generic optimization for the desktop use case. That is patently false, this only helps people whoe run "make -j64"...

    Improving responsiveness for developers is awesome. Trying to sell this as something the makes the linux desktop more responsive in general is dishonest.

  149. Re:But what if the "heavy background task" has bee by ArsenneLupin · · Score: 1

    Or, y'know, just change the menu launcher to specify the group at execution time.

    Why, among the zillions of settable process parameters would you pick the user group for that? There are many other process parameters that would be more appropriate and that wouldn't have access right side effects.

    Like how 'nice' works.

    Nice doesn't use group ids

    Or an env var on the command line.

    Slightly better already. But with the environment, you would have the drawback of the kernel having to parse the environment.

    Also, ever heard of the setgid bit?

    Sure. But it sure would be a nightmare to administer all those setgid launch scripts, and making sure none would introduce a subtle security hole.

    Plenty things run as the current user but with a group specific to the app or nature of it's task

    Sure. So those apps depending on a specific group will stop working because the window manager set a different group than the app expects for scheduling purposes?

    But in any case, all this has become moot now

  150. Re:Compiling the kernel [baud] by ferd_farkle · · Score: 1

    When new-fangled speeds like that became available, a baud was no longer == 1 bit per tone per second, and I objected to the sloppy language. I remember - uphill both ways...

  151. Re:But what if the "heavy background task" has bee by anomaly256 · · Score: 1

    why would the window manager change the group instead of init/linux knowing to put that existing group+process name combination at a certain priority? But you're right. Why among the zillions of settable process parameters would we pick something limiting and not realistically indicative of the requirements of the task (such as being launched in a tty or not!) This was more or less my point to begin with. Just meaning there are other ways to do this that are probably both more manageable and more effective.

  152. Re:Wasn't there a desktop friendly scheduler rejec by kestasjk · · Score: 1
    • Because it's an algorithm for deciding which, out of a set of processes, should get to go next; one of the simplest core features of an OS.
    • Because it's easy to optimize a complex, but general purpose, algorithm for a specific case.
    • Because few enough people will use it in a large variety of real-world applications that you can act like it is a big step forward, and not worry about standing up to scrutiny or whether it is far worse for a small percentage of applications.
    • Because there's no need to learn any new internal APIs / work to retain compatibility with applications / deal with low-level new hardware details / interact with other subsystems and people.
    • Because it's so much more glamorous than the practical stuff.

    I have no problem with people spending their time doing whatever they enjoy, but I'm far more impessed with the guy who happens to own a Logitech MX1100 mouse but wanted to use all its extra buttons on Linux, and figured out how to make that happen: With the patience to navigate the bureaucracy to submit it; while observing best-practices, and working with other projects; and with the selflessness to also make it easy (both to use and extend to similar models).
    That guy's unsung efforts will benefit other Linux users much more, and have a much greater chance of being full-time part of Linux, than trying to replace a stable kernel system (which has to satisfy countless varied environments), just so that your desktop task-switching / background-task performance can be negligibly improved.

    That's my take anyway; I'd sure like to see more kudos given to the people who make more tangible contributions, but I realize there is an aesthetic quality / placebo effect that comes with these sorts of changes that lots of people appreciate.

    --
    // MD_Update(&m,buf,j);
  153. Re:Wasn't there a desktop friendly scheduler rejec by Anonymous Coward · · Score: 0

    Linus justifies the decision not to go with SD saying Con was argumentative and wouldn't support his patches. Con had been supporting and improving them for three years. I emailed him personally and got support. He answered questions on the LKML and on his own mailing list. He listened to criticism and constantly improved his patches for years.

    Linus not only made his decision on personality rather than code, he did so by making up lies about Con as a person.

    Face it. It was a dick move. And up to that point, I was a big Linus fan.

    Made up lies? I read the LKML archives and saw for myself the incidents where Con was argumentative with people reporting problems. Linus isn't going to care about a billion anecdotes about Con or any other developer being super great in other forums, he's going to go with what he sees in the places he frequents.

    You're choosing to believe only one side of the story because you got a warm fuzzy from talking to the guy. To many others, not just Torvalds, Kolivas comes across as a drama queen who reacts badly to criticism. The end to the whole affair was Kolivas pulling a classic "look-at-me" move with all the "I QUIT" drama.