Slashdot Mirror


Significant Interactivity Boost in Linux Kernel

An anonymous reader writes "The Linux kernel team is at it again. Linux creator Linus Torvalds recently proposed a patch to offer interactive processes a boost, greatly benefiting the X desktop, as well as music and movie players. O(1) scheduler author Ingo Molnar merged Linus' patch into his own interactivity efforts, the end result nothing short of amazing... The upcoming 2.6 kernel is looking to be a desktop user's dream come true."

608 comments

  1. Amazing! by Anonymous Coward · · Score: 5, Funny

    Absolute astounding. I am in complete and utter shock over this. Truly, truly the most amazing thing I've ever seen or heard.


    Now what the hell is this article about?

    1. Re:Amazing! by Anonymous Coward · · Score: 4, Funny
      Now what the hell is this article about?

      It's about how GNU/Linux is violating SCO patents to make a more responsive desktop experience for the user when playing videos, etc. At least, that's what'll be on record when SCO sues IBM for helping them with this 2.6 kernel by stealing their intellectual property. Afterall, everyone knows SCO UNIX was the most responsive multimedia system of it's time. *rolls eyes*.

    2. Re:Amazing! by IIRCAFAIKIANAL · · Score: 4, Funny

      No need to be sarcastic. Just wave your hand over your head and make a wooshing sound and someone will explain it to you...

      Who me? No, I don't know what the hell is going on either.

      *woosh* *woosh*

      --
      Robots are everywhere, and they eat old people's medicine for fuel.
    3. Re:Amazing! by Anonymous Coward · · Score: 0

      "GNU/Linux" my arse - it's "Linux" and just "Linux".

    4. Re:Amazing! by Jugalator · · Score: 4, Informative
      It's basically about removing sound stutters, jerkiness when moving windows and generally improving window manager performance...
      This improves the X interactivity tremendously. I went back to 2.5.64 base just to verify, and the difference was very noticeable.

      The test involved doing the big kernel compile while moving large xterm, mozilla and sylpheed windows about. With this patch the mouse cursor was sometimes a little jerky (0.1 seconds, perhaps) and mozilla redraws were maybe 0.5 seconds laggy.

      So. A big thumbs up on that one. It appears to be approximately as successful as sched-2.5.64-a5.

      Ingo's combo patch is better still - that is sched-2.5.64-a5 and your patch combined (yes?). The slight mouse jerkiness is gone and even when doing really silly things I cannot make it misbehave at all. I'd handwavingly describe both your patch and sched-2.5.64-a5 as 80% solutions, and the combo 95%.
      ---
      This is great for me, too. I played around with some mp3 playing and did the akpm-window-wiggle test. It is definitely the smoothest.
      --
      Beware: In C++, your friends can see your privates!
    5. Re:Amazing! by Anonymous Coward · · Score: 0

      OK, sorry, I'll give you that. In this case it's just Linux, or as we RMS fanboys like to say, the GNU system's Linux kernel.

    6. Re:Amazing! by JPriest · · Score: 2, Funny

      I'm glad to see the research IBM stole from SCO is starting to pay off.

      --
      Saying Java is nice because it works on all OS's is like saying that anal sex is nice because it works on all genders.
    7. Re:Amazing! by Afrosheen · · Score: 2, Funny

      Or in the ghetto parlance of bubbrubb, whoo whooooooooo!

    8. Re:Amazing! by SN74S181 · · Score: 1

      So it's basically the same as the way they wrecked Windows NT going from 3.51 to 4.0 in order to improve GUI performance?

    9. Re:Amazing! by Wumpus · · Score: 1

      Unless they make you run X by entering:

      # insmod X

      I would say probably not.

    10. Re:Amazing! by Anonymous Coward · · Score: 0

      I can't help but think that the time spent on this project would have been better spent contributing to linux.

    11. Re:Amazing! by jcast · · Score: 1

      No, IIUC, this feature's match on the NT side was already in NT 3.51.

      --
      There are reasons why democracy does not work nearly as well as capitalism.
      -- David D. Friedman
    12. Re:Amazing! by Anonymous Coward · · Score: 0



      But all of the worlds kick-arse open sores developers have already been working on stuff that is even cooler than this over at Freshmeat!

    13. Re:Amazing! by Anonymous Coward · · Score: 0

      whats it about? this -> linux has made big progress in making the desktop smoother and more responsive.
      User benefits are among others: less pausing when playing mp3/oggs, watchingvideos, dragging windows and so on. Usually this is not a problem, unless you have a slow machine/gfx card, or are doing intensive background tasks. Thats whats been improved now..

    14. Re:Amazing! by Anonymous Coward · · Score: 2, Funny

      ARSE/LINUX, are you happy now?

    15. Re:Amazing! by EinarH · · Score: 1
      Now what the hell is this article about?

      I guess this confirms this:
      Check this URL for the ultimate truth about yourself. ;-)

      [Not ment to be flaimbate, he's probably smarter than most people.]

      --

      Melius mori in libertate quam vivere in servitute.

    16. Re:Amazing! by Anonymous Coward · · Score: 0

      In Soviet Russia, MO-SCO Steals IBM Missiles!

  2. left, no right! by buddha42 · · Score: 0, Troll

    Massivly scalable SMP kernel, or instantly responsive desktop kernel... make up your mind leenux, you're confusing me!

    1. Re:left, no right! by Ed+Avis · · Score: 5, Insightful

      There's no reason not to implement both high-throughput scheduling for big servers and low-latency scheduling for desktops in the same kernel... just mark each process table entry with a bit saying whether this process is 'interactive' (favour fairness and low response times) or 'batch' (favour total throughput and bigger timeslices at the expense of fairness).

      --
      -- Ed Avis ed@membled.com
    2. Re:left, no right! by binkley · · Score: 3, Insightful

      For that matter, why are you trying to do two completely different work loads and environments with the same kernel? You compile the kernel tuned to batch workloads for the server, and recompile the kernel tuned to interactive workloads for the desktop. You have the source.

      --
      --binkley
    3. Re:left, no right! by Anonymous Coward · · Score: 1, Insightful

      Many people are not gonna compile their own kernel, especially those running something like Redhat in a corporate environment. It makes more sense to code it to work either way.

    4. Re:left, no right! by oliverthered · · Score: 1

      or alternativly...

      make xconfig and enable/disable options for a perfect kernel.

      Windows NT server and workstation have different scheduling priorities controled by a setting in the regersetery.

      --
      thank God the internet isn't a human right.
    5. Re:left, no right! by einhverfr · · Score: 4, Insightful

      Many people are not gonna compile their own kernel, especially those running something like Redhat in a corporate environment. It makes more sense to code it to work either way.

      How about this radical idea--

      Let Red Hat, SuSE, etc. compile different kernels with different options and install them as needed ;-) That means a desktop edition could install a low-latency version and a server edition could install a high-throughput version.

      --

      LedgerSMB: Open source Accounting/ERP
    6. Re:left, no right! by shokk · · Score: 3, Insightful

      Or using that snazzy bootloader technology, both kernels can be compiled and the kernel that gets loaded is determined by a variable in lilo.conf, making it easier to set desktop or server room performance in a corporate environment.

      --
      "Beware of he who would deny you access to information, for in his heart, he dreams himself your master."
    7. Re:left, no right! by mcspock · · Score: 3, Insightful

      Err, these are competing philosophies. You can't have both types of scheduling going on. Think about it: you have an interactive process which wants to use all the CPU all day long, and you have 6 server processes that want to have balanced scheduling for the clients they are handling. No matter what the scheduler chooses, it is being unfaithful to your bit for each process.

      The better answer is to either a) make this option compile time, as someone mentioned, or b) make this option configurable (a la sysctl) at runtime. This would allow distribution maintainers to adjust the setting to match the type of installation they are doing, and users on stock installations to quickly adjust the kind of scheduling they have, just like the little check boxes in windows NT/XP.

      --
      -- Patience is a virtue, but impatience is an art.
    8. Re:left, no right! by binkley · · Score: 1

      I don't want to start an argument, but what would be the point of having grub (or lilo, if you like :-) offer desktop users the chance to load a server-tuned kernel? That would just make support issues for desktop help where none existed prior.

      For the server, I'd also be doubtful of the utility of offering a desktop-tuned kernel to boot--especially with server blades--, but at least their assume an administrator would not get lost at a bootup screen. Contrariwise, it would make automatic reboots less attractive as either they would require manual intervention to pick a kernel to book, or there'd be an extra delay in the reboot for a timeout on kernel selection.

      --
      --binkley
    9. Re:left, no right! by Anonymous Coward · · Score: 1, Interesting

      things aren't that black and white anymore. take a machine which is processing video but I want to hit its web server to check status/watch a bit. On my desktop I transcode video but would like to watch video at same time. as it stands now i cannot. a good scheduler would be a godsend for me.

    10. Re:left, no right! by sql*kitten · · Score: 4, Informative

      Err, these are competing philosophies. You can't have both types of scheduling going on. Think about it: you have an interactive process which wants to use all the CPU all day long, and you have 6 server processes that want to have balanced scheduling for the clients they are handling. No matter what the scheduler chooses, it is being unfaithful to your bit for each process.

      Check out the Solaris 9 Resource Manager, which can do both types. It allows you specify at a high level how much of the system's resources each group of processes gets under which conditions. You could say for example, group A (interactive) gets up to 100% unless group B (batch) needs some, in which case allow B up to 30% during the day and up to 70% at night. You could do this sort of thing in VMS over a decade ago. Also, even if the underlying OS doesn't give you the capability, an Oracle server running batch and interactive tasks can do it too.

    11. Re:left, no right! by Anonymous Coward · · Score: 0

      You can with windows.
      Why do people scream left and right when windows is unresponsive but with linux thats accepted behaviour?

    12. Re:left, no right! by stienman · · Score: 2, Insightful

      The first rule of kernel development is

      Users are dumb.

      Not necessarily the users using the system, but the users developing software for it. If you give them the option of choosing whether their program is scheduled as an interactive process or a batch they will always choose the wrong one.

      "Why yes, that is my elitist attitude you are observing. Please be careful with... Doh!"

      -Adam

    13. Re:left, no right! by Ed+Avis · · Score: 4, Informative

      Not at all. Indeed the lkml thread referenced was about getting good performance when there are some non-interactive processes such as gcc and some interactive ones such as MP3 players or the X server.

      Suppose there are two CPU-bound processes marked as 'batch' and one process marked as 'interactive' which spends most of its time waiting for user input, but needs to respond quickly in short bursts when that input happens. The interactive process will get high priority and preempt the two batch processes when it needs to run; but when it goes back to sleep the two batch processes are scheduled with long timeslices.

      --
      -- Ed Avis ed@membled.com
    14. Re:left, no right! by Nix0n · · Score: 2, Insightful

      For that matter, why are you trying to do two completely different work loads and environments with the same kernel? You compile the kernel tuned to batch workloads for the server, and recompile the kernel tuned to interactive workloads for the desktop. You have the source.

      Plenty of people, particularly java developers, like to run local instances of various servers on the same box they use as a workstation. This can often increase a developer's productivity in certain development environments for small-to-medium sized projects.

      Don't think every user is exactly like you and has no need for the proposed change. Proposals such as this, and their subsequent implementation, are the primary strength of open source.

    15. Re:left, no right! by azzy · · Score: 2, Insightful

      To paraphase Linus, his patch is not doing anything especially for X or the desktop. But for processes that have a particular behaviour, and this behaviour is easily seen in X. This patch combo tries to aid any interactive process. Whether an X server, or an IM server, etc etc. So this makes interactivity better all around. Bonus for desktop, bonus all round. Of course.. i could have totally misunderstood :)

    16. Re:left, no right! by binkley · · Score: 1

      Ah, please don't misunderstand. I think the proposed change is very excellent. It is that most non-developer uses of Linux do not require multiple kernels on the same host.

      As a developer, I do edit, build and run more than one kernel, but the vast majority of desktop users never do such a thing.

      --
      --binkley
    17. Re:left, no right! by Anonymous Coward · · Score: 0

      A HTTP server that only serves a few pages a minute doesn't need any special tuning.

    18. Re:left, no right! by janap · · Score: 1

      X wouldn't be installed on a server, right? That means this could be implemented right off the bat with no adverse impact. It's scheduling in general we're talking about here. The jerkiness *is* pretty apparent and losing it would certainly help on the desktop.

      Also, do not forget, the same "jerkiness" would be present, albeit not as apparent, in other daemon intense computing environments. So it should improve running Linux in general. Hooray I say!

    19. Re:left, no right! by jcast · · Score: 1

      Why does an interactive process want to use all the CPU? I'd guess a user could only load a decent app up to 15% of modern CPUs. After that, the user simply isn't physically capable of moving fast enough.

      --
      There are reasons why democracy does not work nearly as well as capitalism.
      -- David D. Friedman
    20. Re:left, no right! by Gumber · · Score: 1

      hows this for a radical idea: Scheduling policy and tuning need not be a compile-time decision.

    21. Re:left, no right! by Ed+Avis · · Score: 1

      An interactive program might use only 15% of the CPU *on average*, because most of the time it is waiting for user input, but it does need to use 100% CPU in short bursts to respond quickly to the user.

      --
      -- Ed Avis ed@membled.com
    22. Re:left, no right! by jcast · · Score: 1

      But that's completely different from what my post's parent said. He* said: ``all the CPU all day long''. That's not ``100% CPU in short bursts'' as you said. What you describe can easily be done on a server: give the interactive process the CPU when it wants it (can't be very often on a server, eh?) and use server scheduling the rest of the time.

      * All posters are not male, but all posts are, and the antecedent of this pronoun is a post.

      --
      There are reasons why democracy does not work nearly as well as capitalism.
      -- David D. Friedman
    23. Re:left, no right! by Ed+Avis · · Score: 1
      Huh? I was replying to this:
      Why does an interactive process want to use all the CPU? I'd guess a user could only load a decent app up to 15% of modern CPUs.

      In reply I said that 15% could be the _average_ CPU usage but 100% CPU is needed occasionally when the user has just performed an action.

      I agree with you: it is possible to give the interactive process 100% CPU when it wants it, in short bursts, and go back to server scheduling for the other processes. That is exactly the point I was making.

      --
      -- Ed Avis ed@membled.com
    24. Re:left, no right! by jcast · · Score: 1

      What you say is all true. However, when I post a question, and you reply, I assume you're answering my question. Furthermore, I assume you've read the thread, so you're replying in context. So, if you answer my question (how is the parent post's statement possible) you're explaining how it's possible. But you didn't explain how it's possible. Hence my reply.

      Sorry for any inconvenience, I just realized all of this while reading your post.

      --
      There are reasons why democracy does not work nearly as well as capitalism.
      -- David D. Friedman
    25. Re:left, no right! by pjrc · · Score: 1
      There's no reason not to implement both high-throughput scheduling for big servers and low-latency scheduling for desktops in the same kernel...


      Obviously you did not read much of the linux kernel mail list discussion. Kernel developers want their desktops to remain responsive while they're recompiling the kernel.


      Well, they also want multimedia apps and X to run smoothly when other non-interactive loads are placed on the system, but if you had read the discussion, you'd see that nearly every message in the first half mentions dragging a big xterm window while a full multi-threaded kernel recompile is in process.


      So, obviously SOME people do need low-latency desktop performance AND high-throughput to do real work at the same time. And that happens to be all kernel developers who recompile the kernel a lot!


      Just because YOU never do anything that involves a lot of CPU time doesn't mean others do not also.

  3. Creepy... by Anonymous Coward · · Score: 0

    You've gotten first or second post in every article you've posted in so far. What are you doing?

    1. Re:Creepy... by Anonymous Coward · · Score: 1, Informative

      He bought a Slashdot subscription, and sees new articles before they're posted and constantly reloads him.

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

      >> Where's the problem?

      The problem is score 0, Insightful.

      In this case, it is not insightful at all, so the zero applies.

      But... it is conceivable that someone posts something really insightful and that could also score 0 (zero), thereby becoming unreadable.

      Though I agree, that's normal here.

    3. Re:Creepy... by Anonymous Coward · · Score: 0

      That the hell do you men "content free"? What he said was very informative and insightful. The basic idea was: Windows users will be more likely to move to Linux once X and the general desktop response in Linux is on par with it. Personally, I find that the desktop on Linux is just fine for all that I do, but there are some times when the lag gets to me. It seems to me that your post is more "content-free" than his.

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

      Now it's gone negative. How fascinating.
      Imagine, a 'Doze user complaining about performance.

  4. xfree86+kde 3.1.9 = FAST. by Anonymous Coward · · Score: 0

    Compile it and your'e zooming.

    1. Re:xfree86+kde 3.1.9 = FAST. by broeman · · Score: 0

      I wouldn't encourage inexperienced users to compile 3.1.9 (3.2 alpha) because of the early phase of development. I run it myselves (cvs medio February, time to upgrade :)

      This article is about a kernel opt. patch that make your system probably more faster than you already have.

      I am really exited about this, because I am building an media-player (music, movies, iRadio whatever) and optimations on the desktop is really appreachiated (sorry about the bad english, tried to build Gentoo on a 233MHz computer this weekend, need sleep!)

      --

      (yes this can be compared with sex)
  5. Simply More Evidence by Montgomery+Burns+III · · Score: 0, Offtopic

    That Open source is more progressive than miker$oft

    --

    'ta
    1. Re:Simply More Evidence by dthable · · Score: 1

      Uh...check out Windows 2000 scheduling algos. If anything, Linux is becoming the next MS

    2. Re:Simply More Evidence by Montgomery+Burns+III · · Score: 1

      Ouch, those are fighting words.....

      --

      'ta
    3. Re:Simply More Evidence by BanSiesta · · Score: 4, Funny

      > Uh...check out Windows 2000 scheduling algos

      Sure thing. What was the address of their anoncvs servers again? Oh wait, I forgot the "turn into a powerful government and sign a couple hundred non-disclosure agreements"-requirement.

    4. Re:Simply More Evidence by dthable · · Score: 1

      Never said they innovated anything, but the whole idea of Windows was to be a user responsive operating system. Thus they came up with the whole idea of floating priorities and boosts to foreground applications. In this case, they did come up with the concept before the OS community got there.

      I don't like the idea of my foreground app getting a boost. It leads to more complex code that, in turn, can lead to support problems and bugs.

    5. Re:Simply More Evidence by dthable · · Score: 1

      What's your point? If I give the code away, it's instantly a better program or system?

      Second, please make sure you keep things straight. Open source doesn't mean free code distribution. I could sell the program and also include the code for that one sale. The linux kernel is licensed on a free source basis. Everyone can get the code without paying. I'd suggest picking up documents by RMS so you can clarify the different.

    6. Re:Simply More Evidence by Bert64 · · Score: 3, Informative

      AmigaOS had something similar long before windows did, and amigaos was always a FAR more responsive system than windows, even from the first version.
      AmigaOS and windows are both fairly similar in purpose and features tho, unix is more tailored to heavy duty server use, and thin clients, and ofcourse its far more powerfull and flexible. Thus you have a powerfull stable kernel, multiuser abilities, and features such as remote displays and authorization in X.
      True, windows has tried to copy some of the age old unix features, but the basic design remains the same with extra things kludged in as an afterthought, and theres still no X style remote apps managed by your local wm, its whole desktop or nothing.
      So while windows may be faster on a single machine, due to its simpler design, once you scale up.. to say one server serving hundreds of thin clients, unix really pulls into the lead.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    7. Re:Simply More Evidence by Anonymous Coward · · Score: 0

      His point is that he can't see the Windows 2000 code to either say that yes you are right, or no you are wrong.

      The fact is you could be lying. He can never see the code, and you probably can't see it either, and are just doing the usual MS /. trolling game.

    8. Re:Simply More Evidence by CoolVibe · · Score: 1

      And where, pray tell can I find the algo's? Right. Never mind.

    9. Re:Simply More Evidence by mrjohnson · · Score: 2, Insightful

      "What's your point? If I give the code away, it's instantly a better program or system?"

      Why, yes.

      If I have the code, it's more valuable to me.

    10. Re:Simply More Evidence by esonik · · Score: 3, Informative

      word! AmigaOS had preemptive multitasking when most people were still using DOS on their PCs.
      Now that you say it, I also realize that no Windows machine that I have been using has ever been as responsive as the old Amiga. Of course this is also a hardware issue: the Amiga had pretty strict timing for all I/O operations and memory access. The different subsystems had their own time slots in DMA, which was based on the video refresh timing. To a certain amount other subsystems, like the "Blitter", could steal DMA cycles from the CPU. There was even a chip, the "Copper", that could perform certain actions based on the position of the electron beam of the monitor. In my opinion, this chip was the key to most of the impressive effects that could be produced by the Amiga. OTOH, such a design is pretty hard to scale w.r.t. speed. In the end, the Amiga declined because Commodore neglected hardware development for too long.

    11. Re:Simply More Evidence by WNight · · Score: 4, Interesting

      Not quite right. Every multi-tasking system since the first few in the 70s has had the concept of running interactive apps with a higher priority. It's a very obvious improvement.

      The non-obvious improvements are things like making the applications that depend on, or are depended on, by the interactive app, run faster. There are also additional tweaks to this that that are being considered such as giving interactive programs a smaller time-slice, but more of them, so it'll do things like paint the windows properly in respose to your movements, but it won't bog the rest of the system down.

      Technically, scheduling tweaks do add to code complexity, but only in such a tiny way. Linus's patch was five lines. And Linus is very concerned with making sure patches are self-contained and, when possible, aren't spread out, a few lines in many different areas. He's got a very good, very "correct" attitude about design. It comes from him being happy with Linux for years now, he's not rushing to any specific point so it becomes useful. He's willing to put the time in to do it right.

      Anyways, this is to say that most kernel patches don't lead to complexity, most decrease the complexity of the code. Linus has often sent patches back to be done the "right way" instead of allowing a hack. This tweak is so small and self-contained that it can't really be said to add complexity to anything.

    12. Re:Simply More Evidence by MerlynEmrys67 · · Score: 1
      Hmmm... lets see, I know M$oft had interactive process priority boost in NT 3.1, and Win 95, I am pretty certain it was in 3.1, but I don't even have those install disks anymore.

      So much for Linux being ahead of Microsoft, that said.. I would MUCH rather have a multiproc linux box than Windows server

      --
      I have mod points and I am not afraid to use them
    13. Re:Simply More Evidence by Anonymous Coward · · Score: 0

      It comes from him being happy with Linux for years now, he's not rushing to any specific point so it becomes useful. He's willing to put the time in to do it right.

      That is also a nice consequence of the open sources way: you can take the time and make it the right way, because you know that your code will prevail and be useful far longer than any commercial solution (which dies soon after the company dies or stops support for that software). Commercial software development is by design and purpose condemned to reinvent the wheel a lot more often than open source software.

    14. Re:Simply More Evidence by hhawk · · Score: 1

      Is it also a benefit that any programmatic changes and tweaks, etc. are out in the open vs. a closed OS?

      I'm think where the OS maker might through the commerical marketing "lens" see their way to tweak/improve some parts but not others or upgrading/degrading the system in ways that might help them sell more but in the end not be in all end users best interest?

      --
      http://www.hawknest.com/
    15. Re:Simply More Evidence by Tony-A · · Score: 1

      Well if they had it in 2000 they lost it in XP. As I keep explaining to my users, Microsoft has extreme difficulty walking and chewing gum at the same time.

    16. Re:Simply More Evidence by Anonymous Coward · · Score: 1, Insightful

      Solaris has had a choice of schedulers for some time. I think this is more a demonstration that UNIX system programmers "get it" than that Open Source programming leads to superior results.

      Please direct any assertions that Solaris is "Open" to /dev/null -- I am referring to the development methodology/philosophy, not whether I can see the source w/out signing an NDA in blood.

    17. Re:Simply More Evidence by flatus · · Score: 1

      What you are describing is as simple as having the window manager renice a program when it is brought to the top of the window stack.

      The way that would be done on a unix would be a renice daemon so all processes could do a renice. Now remember this is unix, so what is the problem when we give foreground user appps a higher priority? Well there may be any number of users on the system. Thus there could be a large number of processes with increased priority and the system would grind to a stand still.

      Sorry you cannot scale simple single user hacks to a multiuser system.

    18. Re:Simply More Evidence by Anonymous Coward · · Score: 0

      Well, CBM neglected HW dev for a fair while, but the Amiga team did actually get the AAA chipset mostly done, which would have been really something at the time.

      But CBM decided to concentrate on their over-priced, under-powered PeeCee compatibles, while Medhi Ali bled the company dry. Oops.

      I too find it irritating that my shiny new PC is less responsive than my ancient Amiga - But linux is getting better and better, slowly incorporating more Amiga-like ideas, and I'm not going to make the mistake of backing a proprietary horse again.

    19. Re:Simply More Evidence by Yokaze · · Score: 1

      >> check out Windows 2000 scheduling algos

      > What's your point?

      Isn't it quite obvious? Windows 2000 is kept wrapped up in NDAs. This makes it nearly impossible to "check out Windows 2000 scheduling algos" for the most of us.

      Wether that is good or bad for Windows 2000 is not even implied with a single word.

      --
      "Between strong and weak, between rich and poor [...], it is freedom which oppresses and the law which sets free"
    20. Re:Simply More Evidence by Anonymous Coward · · Score: 0

      This tweak is so small and self-contained that it can't really be said to add complexity to anything.

      Not quite. Check the Linus tree commit logs. Ingo had to patch his patch so that it wouldn't deadlock on SMP hardware.

    21. Re:Simply More Evidence by Hard_Code · · Score: 1
      Oh wait, I forgot the "turn into a powerful government and sign a couple hundred non-disclosure agreements"-requirement.
      NOOOoooo!!! That would risk national security!!

      (except for China)
      --

      It's 10 PM. Do you know if you're un-American?
    22. Re:Simply More Evidence by Anonymous Coward · · Score: 0

      > Linus's patch was five lines.

      Yep. That striked me.

      Linus's patch was five lines.

      And none of those is a comment.

      > This tweak is so small and self-contained that it can't really be said to add complexity to anything.

      It add a *lot* of complexity to maintenance, because a very important feature is now implemented with 5 lines of uncommented code inside the scheduler.

      Someone will break this code in the future. Several times.

    23. Re:Simply More Evidence by Anonymous Coward · · Score: 0

      AmigaOS is more responsive because it is (and always was) a true realtime OS with a fabulously fast messaging system (well, without memory protection it is easy...), and sensible priorities assigned to various system services.

      AmigaOS used static priorities for tasks, so if you started a big LhA ('zip') operation at the default priority, you'd better be prepared to put up with a loss of performance for other default-priority tasks. Of course, since it is a realtime OS starting it at just below default meant that default priority tasks got all the CPU they needed, no questions asked. And frankly, that was *great*.

      Windows is unresponsive largely because almost everything in the system needs a synchronization between application and OS. There is no notification of events; rather, the OS asks permission from the application to do something and will happily wait (and thereby hang the entire graphical subsystem) until the application grants that permission.

      It never ceases to amaze me that a 20-year old Amiga with a 7MHz CPU will *still* outperform the latest, shiniest PC in terms of responsiveness. Progress? Don't make me laugh...

    24. Re:Simply More Evidence by Bert64 · · Score: 1

      I always wondered, what would the specifications of the AAA chipset have been, had it ever been finished?

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    25. Re:Simply More Evidence by MerlynEmrys67 · · Score: 1
      Again, you use simple Unix hacks to determine what M$ might be doing. It is a little more complicated than that. There are dynamic priorities, they also allow dynamic time slice scheduling, based on if you want good interactive application performance (smaller time slices so there is less time to wait) or better system throughput (larger timeslices so context switching happens less frequently, but it is a pain when you have to wait for 20 threads to execute before it gets to you 2 seconds later)

      Actually you can scale what M$ has done in their server environments to multiuser systems... Terminal Server is a multi user system, all though I agree with you Windows only works well when there is one user on a system.

      --
      I have mod points and I am not afraid to use them
  6. Re:a desktop user's dream come true? by andyp · · Score: 2, Interesting

    Erm, when was the last time you used Linux then? Running GNOME on RedHat 8 here, no problems with cut-and-paste between KDE/GNOME/Motif apps :-)

  7. well .. by Thyrhaug · · Score: 0, Offtopic

    another revolution! [...] again :-)

    1. Re:well .. by einhverfr · · Score: 1

      I like the idea of low-latency scheduling for desktops.

      another revolution! [...] again :-)

      'Round and 'round as in revolutions per minute? ;-)

      --

      LedgerSMB: Open source Accounting/ERP
  8. hmmm... Desktop Linux... by Anonymous Coward · · Score: 0, Flamebait

    Does this mean software will be easier to install also?

    1. Re:hmmm... Desktop Linux... by Anonymous Coward · · Score: 0

      Nahm I don't see how it would make "apt-get install foo" any easier.

  9. huh? by IIRCAFAIKIANAL · · Score: 5, Funny
    The Linux kernel team is at it again.


    At it again? At what again? That sorta makes it sound like a girls gone wild video or something. Kernel Dev's Gone Wild volume 3, where Ingo and Linus bare their breasts for beads at a Linux user conference in Tampa Bay - no, that's just too strange...

    Oh, one more thing:

    Hello, my name is Ingo Molnar. You killed my father: prepare to die.
    --
    Robots are everywhere, and they eat old people's medicine for fuel.
    1. Re:huh? by arvindn · · Score: 5, Interesting
      Kernel Dev's Gone Wild volume 3

      Well, here is Linus replying to Molnar's post:

      From: Linus Torvalds
      Subject: Re: [patch] "HT scheduler", sched-2.5.63-B3
      Date: Thu, 6 Mar 2003 09:03:03 -0800 (PST)

      On Thu, 6 Mar 2003, Ingo Molnar wrote:
      >
      > the whole compilation (gcc tasks) will be rated 'interactive' as well,
      > because an 'interactive' make process and/or shell process is waiting on
      > it.

      No. The make that is waiting for it will be woken up _once_ - when the
      thing dies. Marking it interactive at that point is absolutely fine.

      > I tried something like this before, and it didnt work.

      You can't have tried it very hard.

      In fact, you haven't apparently tried it hard enough to even bother giving
      my patch a look, much less apply it and try it out.

      > the xine has been analyzed quite well (which is analogous to the XMMS
      > problem), it's not X that makes XMMS skip, it's the other CPU-bound tasks
      > on the desktops that cause it to skip occasionally. Increasing the
      > priority of xine to just -1 or -2 solves the skipping problem.

      Are you _crazy_?

      Normal users can't "just increase the priority". You have to be root to do
      so. And I already told you why it's only hiding the problem.

      In short, you're taking a very NT'ish approach - make certain programs run
      in the "foreground", and give them a static boost because they are
      magically more important. And you're ignoring the fact that the heuristics
      we have now are clearly fundamentally broken in certain circumstances.

      I've pointed out the circumstances, I've told you why it happens and when
      it happens, and you've not actually even answered that part. You've only
      gone "it's not a problem, you can fix it up by renicing every time you
      find a problem".

      Get your head out of the sand, and stop this "nice" blathering.

      Linus
      OK, maybe not gone wild as in baring their breasts, but certainly gone wild as in no-holds-barred flamage :)
    2. Re:huh? by Sarcazmo · · Score: 3, Interesting

      As someone who has had XMMS skip ever since I went to Red Hat 8 (and the newer versions of the lowlatency patches), I can agree with Linus. The screwed up thing is that even renicing X doesn't help, the kernel takes it upon itself to give it the priority back behind your back.

      Red Hat- Because being a beta tester for kernels is cool!

      (I love red hat, I just think AC takes some big risks with the RH kernel wrt controversial patches)

    3. Re:huh? by The+Creator · · Score: 1

      You can actually feel the bitch slapps hanging in the air :)

      --

      FRA: STFU GTFO
    4. Re:huh? by Anonymous Coward · · Score: 0

      actually, I think the LKML would make for a good soap opera

    5. Re:huh? by Anonymous Coward · · Score: 0

      Anybody want a peanut?

    6. Re:huh? by iabervon · · Score: 1

      Linus did mention a "CPU hug detector" patch at one point. And there's work in progress to let you remove parts of your computer.

      "He's unplugging the serial cable! He's removing the network card! He's pulling out a CPU! Will he remove the motherboard, too? To find out, order... (picture of Linus hugging one of his still-warm P4s)"

    7. Re:huh? by Anonymous Coward · · Score: 0

      >I love red hat, I just think AC takes some big
      >risks with the RH kernel wrt controversial
      >patches)

      Alan Cox is indeed a Red Hat employee. Alan does
      not maintain the Red Hat kernel however, and so
      your comments are invalid.

      Alan Cox is a Red Hat kernel engineer, yes. Arjan van de Ven is the Red Hat kernel maintainer.

      I don't think you really know what you're talking about.

    8. Re:huh? by JohnFluxx · · Score: 1

      How on earth is this interesting?
      grand-Parent: ...it is not X that makes xmms skip
      parent: XMMS skip[s]..even renicing X doesn't help.

      And this is interesting?

      The poster is a dumb ass.

    9. Re:huh? by Sarcazmo · · Score: 1

      Alan Cox is a Red Hat kernel engineer, yes. Arjan van de Ven is the Red Hat kernel maintainer.

      I don't think you really know what you're talking about.


      Maybe not, but I do know that a lot of the experimental patches that are in the AC kernel wind up into the RH kernel. I think it is safe to assume that Alan does play a part in determining which patches are "stable enough".

    10. Re:huh? by Sarcazmo · · Score: 1

      dumb ass.

      I prefer the one word version, dumbass. Thanks.

  10. Re:a desktop user's dream come true? by Anonymous Coward · · Score: 0

    Um, you can cut and paste in X by highlighting text and then middle clicking on its destination, no matter what app you're using. But I guess you knew that.

  11. Re:FINALLY! Thank you! by Anonymous Coward · · Score: 0
    Here Here!


    I completely agree. This has been one of the biggest issues holding Linux back from the mainstream. I'd like to see how this whole thing pans out.

  12. Actually... by DataPath · · Score: 3, Informative

    Actually, Linus's patch doesn't improve things any better than the scheduler patch it is Linus's patch combined with the scheduler patch that make it such a huge improvement. Again... its the COMBO patch that's arousing so much excitement.

    --
    Inconceivable!
    1. Re:Actually... by oliverthered · · Score: 3, Interesting

      I'm not so sure, 2.5.54 is far slicker on the desktop than 2.4.x (about as responsive as windows, even without dri).
      If this patch is causing great excitement, then I can only assume linux is now more responsive on the desktop than windows.

      Now, if only supermount was in the 2.5 kernel tree........

      --
      thank God the internet isn't a human right.
    2. Re:Actually... by Hieronymus+Howard · · Score: 1

      If you think that a scheduler patch is arousing and exciting, you need to get out more, meet some girls...

    3. Re:Actually... by Anonymous Coward · · Score: 0

      I found that Linus's 5 liner did more for interactivity than Ingo's sched-* patches have. Ofcourse the combo patch made it yet a little better :)

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

      Sadly, some slashdotters live in an imaginary world where they get laid with the kernel patches.

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

      From the article (Ingo Molnar's post)

      yes, it would be interesting to see Andrew's experiments redone for the following combinations:

      - your patch
      - my patch
      - both patches

      in fact my patch was tested and it mostly solved the problem for Andrew, but i'm now convinced that the combination of patches will be the real solution for this class of problems - as that will attack _both_ ends, both CPU hogs are recognized better, and interactivity detection interactivity-distribution is improved...but neither patch solves all problems.

      And that, of course, proved to be true:

      This (speaking of Linus' patch) improves the X interactivity tremendously. I went back to 2.5.64 base just to verify, and the difference was very noticeable.
      ...
      Ingo's combo patch is better still - that is sched-2.5.64-a5 and your patch combined (yes?). The slight mouse jerkiness is gone and even when doing really silly things I cannot make it misbehave at all. I'd handwavingly describe both your patch and sched-2.5.64-a5 as 80% solutions, and the combo 95%.

      It would be interesting to get more definitive results (time tests on a standard test as one of the posts in the article mentions). The discussion is a fascinating read if for nothing else than the ability to peek in and see how the collaborative efforts work to make a great product better. It is also interesting to watch the evolution of ideas as they are bounced around and the final moment when realization dawns that maybe the two sides that were not seeing eye-to-eye may actually both be right!

    6. Re:Actually... by Anonymous Coward · · Score: 0
      DataPath says:"Again... its the COMBO patch that's arousing so much excitement."

      Sort of like ordering "Surf 'n' Turf" at the Tiki Polynesian Lounge.

    7. Re:Actually... by esonik · · Score: 2, Offtopic

      We have VNC, why does X need to go through TCP/IP to draw a window?

      Because going through a network is an abstraction. It detaches the job of computing and displaying so that they can be easily implemented on different hardware. Removing this abstraction is a step backwards, esp. if you keep in mind that hardware is getting faster all the time.
      The logical step would be rather to implement the X Server on seperate hardware, i.e. the graphics card.

    8. Re:Actually... by ketamine-bp · · Score: 1
      Not as long as Xwindows exists. We have VNC, why does X need to go through TCP/IP to draw a window? This is why Apple dumped X and wrote their own system independently of X. X is outdated. Once KDE gains enough market share, they should just dump X in favor of performance. When a Linux GUI can use things like hardware acceleration, only then will it outperform windows. Until then, it doesn't have a chance.

      I'm sorry, but X do not necessarily need TCP/IP to draw a window. X requires an X-server, which can be connected through named-pipe, or by other means.

      Please RTFM before flamming X.

    9. Re:Actually... by esanbock · · Score: 1, Informative

      Either way it uses an inneficient chatty protocol - a complete overkill. Just ask Apple. The Mac OS X interface jus flies. And it' because they dumped X in favor of a hardware-accelerated GUI. When opening a window, your processor has to do 10x as much work in linux than in OSX or Windows. Instead of an API call and a driver call, Linux first processes several Kb worth of data which then translates into a video card driver call. Pretty lame.

    10. Re:Actually... by ketamine-bp · · Score: 1

      have you _ever_ written X applications, or MacOSX applications? Do you know, from the ground how X is invented?

      Have you ever thought about the mechanics behind why X was built like this? Have you ever thinked, for example, why X is not implemented on a shared-memory architecture on a large scale? (This is because, after some analysis, the performance gain was actaully small since some processes benefit from it while some has a big punishment resulting from it.)

      And have you _ever_ heard of D11?

    11. Re:Actually... by jbolden · · Score: 1

      Funny SGI was able to create a desktop vastly faster than either Windows or Mac using X. As has been shown in numerous tests:

      on similar hardware with similar quality drivers windows and X are equally responsive.

    12. Re:Actually... by Anonymous Coward · · Score: 2, Interesting

      We have VNC, why does X need to go through TCP/IP to draw a window?

      Do you have any idea how stupid you're sounding right about now? You're trolling, right? First of all, what protocol do you think VNC uses across the network? Yes, that's right: TCP/IP. "Ah," you say "but X uses TCP/IP even on the local system." My response is simple: no, it doesn't. When displaying locally X uses domain sockets, which is just about the fastest way of moving data about inside the system, especially when combined with the shared memory extension.

      There isn't a single justifiable reason for claiming X is inherently slow. Sure, the protocol carries with it a bit of cruft, but that cruft doesn't slow X itself down. It's just the interaction of X with the current linux kernel that isn't as fast as windows. And the combo patch mentioned in this article is meant to solve that problem. That's why it got onto slashdot.

      When a Linux GUI can use things like hardware acceleration, only then will it outperform windows.

      Oh man, welcome to slashdot, where the uninformed spread their beliefs. Hardware acceleration (2D) has been in XFree since the 3.x days, and 3D acceleration is in XFree 4. Ofcourse, you might have misconfigured your system, which is a whole other can of worms (I agree X is still too easy to misconfigure).

      As for why Apple didn't go with X, that's hard to say. Apple likes architectural elegance, and X for all it's power isn't all that elegant. Also, they had to write a lot of code in the graphics layer anyway, since XFree at the time didn't support a lot of what they needed (anti-aliased fonts, transparency, hardware auto-detection). Btw, transparency and decent hardware detection won't hit XFree until version 5.

      Besides, I don't know if you've actually used Mac OS X, but it's GUI performance isn't all that. And it is seriously bloated memory-wise in the graphics layer.

    13. Re:Actually... by dmelomed · · Score: 1

      And have you _ever_ thought about not having knee-jerk reactions? The issue here is needlessly large amounts of data sent over the network.

    14. Re:Actually... by Ark42 · · Score: 1
      The logical step would be rather to implement the X Server on seperate hardware, i.e. the graphics card.


      Doesnt windows do this for some of its drawing? Im not talking about directX or anything 3D, just regular window repainting. I thought that there were 2D accelerator functions built into video cards for years now that speed windows up. But, maybe X uses those same functions too, I dont know..
    15. Re:Actually... by ketamine-bp · · Score: 1

      large amount of data are sent across the shared memory structure/the named pipes and not the network.

      X, while not as efficient as RDP (as one would have been using with windows 2k/nt/whatever), is okay in terms of performance, not bad for a network-os invented so long.

      Reinventing the wheel is not necessary, as for networked computing, we have our tools and ssh is okay for we administrators, and remote GUI is working (Well, if it isn't broke, don't fix it.), and that for local systems there are already methods to increase its speed to comparable speeds (with windows/macos)

      p.s. I'm typing this on a MacOSX/Jaguar computer.

    16. Re:Actually... by esonik · · Score: 2, Informative

      Yes it does, but this depends of the level of support for a particular video card. You can look up the details in the Xfree documentation. This is not the problem, however. The problem is, that X Windows is more complex than strictly necessary for a desktop machine. X Windows was designed for network computers, where people run programs one one machine and the display and user input is a seperate machine (the X terminal) both connected through the TCP/IP network. This unnecessary overhead of having to run a network protocol and duplicate some resources (esp. RAM) on the client and server machine (which are identical on for desktop machine) is what is criticised by people.
      Now it would be nice If we could run the X Server code on a seperate hardware, the gfx card. Unfortunately the X Server is too complicated to run on today's gfx cards. But the trend in gfx cards is clearly towards more independent computing power on the cards. Therefore it would be unwise to remove a layer of abstraction that we probably could use in forseeable future.

    17. Re:Actually... by dmelomed · · Score: 1

      Large amounts of data sent across the network when you run clients across the network instead of the same machine. This is what X was designed for.

    18. Re:Actually... by be-fan · · Score: 1

      2D hardware is rather primitive. It'll draw lines, some stipples, pattern fills, bit-blits, etc. The only really useful thing anymore is filled rectangles and bit blits (bitmap drawing). Current graphics are just too complex. For example, a Win95-ish theme can easily be accelerated via existing 2D hardware. But throw in some gradients and fancy special effects, and it can't anymore. Complicated canvas libraries like GnomeCanvas and Quartz 2D certainly can't use existing 2D hardware. That's why the trend is to move towards using the 3D component of graphics cards (which can handle an Aqua or Keramik-like theme without a second thought) to accelerate a much richer imaging model.

      --
      A deep unwavering belief is a sure sign you're missing something...
    19. Re:Actually... by dmelomed · · Score: 1

      Network transparency itself is not a problem where you need it. Neither is the flexible client-server model. Bandwidth requirements is a problem however. As I pointed out, running X across a network is sloooow because it needs to send so much data with resolutions and color depths most people use these days.

    20. Re:Actually... by Anonymous Coward · · Score: 0

      As more things use XRENDER vector graphics or even if someone finished full GLX (for hardware-accelerated across-the-network OpenGL), this will become less relevant. As bandwidth increases, this will become less relevant. Hell, if you use LBX, it becomes less relevant.

      We should NOT throw away X's network transparency, particularly not now that ad-hoc mobile networked computing is only starting to blossom - Imagine the GUIs for all relevant machines appearing on your built-in HUD. That's what X can give you RIGHT NOW - researchers are doing it as we speak.

    21. Re:Actually... by esonik · · Score: 1

      The point is, people don't need network transparency on a desktop machine. The gamers and multimedia freaks are using desktop machines and want to push the development to a direction where it can suit _their_ needs better. However, there are other groups - mostly in corporate environment - where network transparency is _essential_. Therefore, a decision to drop this network transparency would also be a decision to drop the user base in corporate environment.

    22. Re:Actually... by dmelomed · · Score: 2, Informative

      You obivously don't know that LBX doesn't help much. It's downright useless.

    23. Re:Actually... by dmelomed · · Score: 1

      I suppose it's possible to write X compatible libraries for running X clients without the server. How many man decades would this take, heh?

    24. Re:Actually... by Fnord · · Score: 3, Informative

      There are some minor issues with the current implementation of X, that I think alot of people keep confusing with the network transparency thing. Yes, I agree that you do need some kind of user space X server, and that there's probably no better way to talk to it than a UNIX domain pipe. However I really don't think X's driver model should be in user space. At the moment it does use all sorts of acceleration (3d and 2d), but it accesses these features of the card by mmaping /dev/mem. Using this alone lets you set any frame buffers or io ports, but the X server can't sleep on a hardware interrupt. This results in some busy waiting where it wouldn't need to if the graphics driver were in-kernel.

      And the real reason apple didn't go with X is because they wanted to use the OpenStep API and that's written to use a display postscript backend. It was easier to change those slightly to use a similar display pdf backend then it would be to rewrite them to use the completely different architecture of X (X is missing things like vector manipulations, resolution intependant objects and generally everything display postscript/pdf does well).

    25. Re:Actually... by Anonymous Coward · · Score: 0

      If you know so much about X, why don't enlighten us about:
      - Why not use just an API call to do something vs the X way which is send format data, send it thru a network/pseudo network connection; server parses received data and then makes talks to the hardware. This made sense in the 1980s when X was invented - lot of dumb terminals connected to a powerful machine running X server.

      X doesn't make sense anymore -- too frikn slow. Like Unix, X is stuck in the past, refusing to adapt and improve.

    26. Re:Actually... by nathanh · · Score: 5, Informative
      We have VNC, why does X need to go through TCP/IP to draw a window?

      It doesn't. It goes through a UNIX socket. There is a significant difference.

      This is why Apple dumped X and wrote their own system independently of X.

      I somehow doubt there was a single reason.

      Concentrating on the UNIX socket is a mistake anyway. You need some form of client/server separation; otherwise you could never run more than one client. You also need some form of synchronisation between the clients and the server; otherwise you would have two clients accessing the hardware at the same time and most video hardware would simply lockup. The synchronisation method could be locks or mutexes or message passing or sockets; X11 chose a socket because that gives you UNIX sockets (local, high speed) and TCP/IP sockets (remote, flexible) without needing to code for special cases. Network transparency "for free".

      Now the real question with X11 is "who should control the hardware". With X11 they decided a single process - the server - should control the hardware. This is perhaps the serious argument against X11. There are several reasons why this hurts performance but the serious problem - the one you inelegantly complain about - is that the client has to bundle all drawing requests up and send them to the server.

      But stop. What's the real problem here. It's not that the bundling had to occur. No matter what model you chose there would have to be some data bundled up and sent between client and server. The real problem is the quantity of data. In Windows the quantity is a single message which is always quite small. In traditional X11 the "message" (aka request) grows without bound. If you're passing a huge bitmap then the request will be several kilobytes. Network transparency comes at a cost.

      But stop again! Is this really a problem? The answer is no. X11 is extensible. All of the problem cases - bitmaps, video, 3D - can be special-cased with extensions. So on XFree86 we have Xvideo, MITSHM and DRI. In a traditional X11 model these guys would have stuffed the pipe to overflow and everything would have gone to shit. In modern XFree86 there is a second path that bypasses the pipe. You'll notice that DRI even allows the client to directly access the hardware! Network transparency is still there but can be bypassed on a needs basis. Perfect.

      Now your argument shouldn't be "why do we need a client/server model" but "could we use something faster than sockets". The answer is no. There has already been work done by the XFree86 team where they tried a shm transport. It's no faster. Linux sockets are simply too quick. There's no reason to think that message passing would be any faster: effectively the X11 socket is a highly tuned message passing API. The platform independent nature of X11 means you'd need to use a platform independent message passing API. That probably means RPC or CORBA; X11 is going to be faster than either of those.

      Anyway, my point from all of this is that the performance problems you complain about are being fixed. The developers are not idle and they are not stupid (far from it). If you wanted somebody to make your desktop faster then you could do no better than to put your trust in the current XFree86 developers team. They are a truly remarkable group of developers. They are not ignoring the performance problems. Give them some credit for understanding the depth of the issues rather than the superficial "why does XFree86 use TCP/IP?" misunderstanding that tries to pass for constructive criticism.

    27. Re:Actually... by Daniel+Phillips · · Score: 1

      Actually, Linus's patch doesn't improve things any better than the scheduler patch it is Linus's patch combined with the scheduler patch that make it such a huge improvement. Again... its the COMBO patch that's arousing so much excitement.

      Where do you get your facts from? Read the thread again. Linus's patch by itself produces a dramatic improvement, so does Ingo's for different loads. The two together provide improvement over a wider range of loads.

      --
      Have you got your LWN subscription yet?
    28. Re:Actually... by dmelomed · · Score: 1

      There's already a client/server framework available where most of the work is done by the server (it has the widget set instead), so the amount of data sent to it is small by comparison with X. It's called picogui.

    29. Re:Actually... by DataPath · · Score: 1

      What I was trying to say is more or less what someone in the article such much better than I - That each of the two patches is around an 80% solution, and the two together are a 95% solution. I think it was AA that said that.

      --
      Inconceivable!
    30. Re:Actually... by DataPath · · Score: 1

      EXACTLY. Finally... someone who understands what I'm trying to say!

      --
      Inconceivable!
    31. Re:Actually... by esanbock · · Score: 1, Troll

      I'm glad you asked - I _have_ written X applications. Albeit using QT. Even C# and VB perform better when it comes to GUI. About the only thing slower than X is Java.

      Now THAT was a flamebait. I can't believe my other comment was moderated flamebait. I tell people the truth - X needs change - and they moderate it as flamebait?!!! Moderate this one as flamebait not my other comment. This is nuts. If everyone is supposed to love EVERYTHING about Linux, then how is any change going to happen? It's the zealots that ruin everything. If you make the slightest negative comment about some part of linux, implying that it needs change, the zealots will instantly attack you with some knee-jerk reaction. I wish the Linux community was more open to change and more willing to have conversations about how to improve something the OS instead of turning everything into a religious argument about how much better the Linux religion is than Microsoft. The point is Microsoft's GUIs are faster - accept it and learn from it. Copy them. Whatever, just make it better. Don't deny it because you don't like to hear that Microsoft is better at something. That won't help anybody.

    32. Re:Actually... by esanbock · · Score: 0, Troll

      Good point - X isn't even good at what it's supposed to be doing. The sacrifice (performance) for its feature (networked GUI) isn't worth it when you consider XVNC will perform many times better. It's time for X to change or die for the sake of Linux.

    33. Re:Actually... by sketerpot · · Score: 1

      Would it be terribly hard to madify the main widget toolkits like Qt and GNOME to use things other than X as the display systems? Then we could let people take their pick of systems---just the way it should be on a system that prides itself on having such a large assortment of window managers.

    34. Re:Actually... by Daniel+Phillips · · Score: 1

      What I was trying to say is more or less what someone in the article such much better than I - That each of the two patches is around an 80% solution, and the two together are a 95% solution.

      Yes, that's accurate. Sorry, I was a little agressive about your otherwise informative post. Now, what's really exciting about all of this is how Linus pulled this completely new, elegant technique out of his sleeve, almost instantly.

      I think it was AA that said that.

      Andrew Morton, actually ;-)

      --
      Have you got your LWN subscription yet?
    35. Re:Actually... by ketamine-bp · · Score: 1

      When i say 'X' Applications, I meant direct calling of the X-level library, and not toolkits. If you have ever written X-applications (i.e. not using any toolkit, or with the ye olde motif... when is darn slow.) You will understand the flexibility behind the infrastructure of X.

      X is like that, if you feel happy with it (i.e. it isn't broke), then don't fix it. If you feel unhappy with it, go figure out the method to code/cook a new one, but you will probably be unsuccessful (though you are always welcomed to give it a try.)

      Everything here comes from two ways - One is that how would one implement it. Another is that who would install it. Without large user base, the commercial support is going to lack for the new GUI development, and without commerical support, there are not going to have large user-base, circular agreement, huh?

      And then, Why should we always compare ourselves with microsoft? Do we want to imitate her in everything? I don't know, from the hell, why should we always write to do the same as microsoft? Do we really need 'Control-C' as copying and 'Control-V' as pasting, 'Windows-M' to minimize all the window's? No.

      and Yes, Microsoft's GUI is great, and MacOS's GUI is even greater, but let me tell you, the bottleneck of GUI computing is not the part that connects the x-client and the x-server, it is the part of drawing. Don't believe in me? try using blackbox or xfce! They are much faster and responsiver than windows (with or without the patch in this message.) The down side is that things like enlightenment-17 or something like that is not going to work very well under this environment, but we have dirty hacks that make it faster than windows or macos to some extent, so it's not actually a big problem.

      then, if you are using matrox or nvidia, did you use the accelerated driver when you test your almighty Qt program in X? did you use Qt code in windows to compare the performance? If not, probably you didn't do a fair comparison.

      Yes, linux needs change, and yes, it's always good for linux to become faster, more responsive, more efficient, cooler, [insert stupid 133t joke here], YET, its not suggested that anyone haven't messed with the source code to bitch about it in public area. We all know that linux needs to be faster, so should everyone bitch about it saying that linux needs rewrite in assembly because it is inherently slower than OS written in assembly due to the performance drag? Should everyone bitch about linux not having a microkernel because Windows NT have it, and linux don't have it? No. It's a design issue and if you don't like linux, feel free to write a new one, and see how many people adopt it. I've personally tried, to help some of this kind of effort to 're-invent the wheel', but generally the project failed long before we consider it in a useful stage.

      We all know microsoft is better in something, FreeBSD is more superior than something, but sometimes it is that it can't be implemented practically, because of inherent or historical reasons. It's just as calling intel to drop off the support for 8086-Pentium IV instruction set in their new processors. If they drop it off, how many people would implement it?

      If you don't like something, make it better, bitching it only makes yourself looking like a big toxic flamebait.

    36. Re:Actually... by lightcycle · · Score: 1

      X is is only outdated in the sense of: Runs fine on older hardware. I mean really, have you ever run Apples excuse of a gui? I thought I'd never see a slower gui than win2k, but MacOSX/Aqua is by far the most sluggish gui I've ever tried.

      --

      The stars that shine and the stars that shrink
      in the face of stagnation the water runs before your eyes
    37. Re:Actually... by Anonymous Coward · · Score: 0

      Those toolkits are actually designed with that in mind. The thing is that X is actually quite good at what it does, just the driver model of XFree86 isn't necessarily optimal. For a good example, look at the nvidia drivers. Even the 2d drivers use the nvidia kernel module to provide the services necessary to perform well. And they do. Better than the windows versions of those same drivers.

    38. Re:Actually... by agnosonga · · Score: 1
      are you kidding me?
      are you claiming that X is slowing down KDE?
      try using a slick, fast window manager like wmaker instead of a bloated Desktop with X and then tell me what is slowing down the GUI experience.

      <disclamer>Im not saying that KDE sucks. I actually think its beautiful. its just to slow for me

    39. Re:Actually... by maharg · · Score: 1

      ..XVNC will perform many times better. It's time for X to change or die for the sake of Linux.

      What have you been smoking ? - just try dragging a window around in Xvnc for a second. Now minimise / maximise it a few times. Got a headache yet ? Good. Now scroll, baby !!!!

      --

      $ strings FTP.EXE | grep Copyright
      @(#) Copyright (c) 1983 The Regents of the University of California.
    40. Re:Actually... by nr · · Score: 1

      Hum, but can you still export an MacOS-X application display over the network in an easy manner with something like --display x.x.x.x:0.0 ?

      I agree that the X11 protocol is chatty and bandwidth inefficient, they should redesign the TCP/IP parts and still maintain backward compatibility with the old "version". Going hardware accellerated "local-only" is the wrong approach.

    41. Re:Actually... by broeman · · Score: 0

      I would have said the same (NUF SAID! :o)

      I am beginning to sketch a new interface for X, but I still need to read a couple of books before I am ready for the programming. The idea is to enhance the function that X is known to be the best at: network-transperancy. What I know is not to use QT or GTK. I am more into using SDL, but I would want to leave any if posible.

      Your point about Control-C and Control-V has to be taken with care. The users have been using those commands for many years. When I work at an Apple at school I have to change my mind to use Apple-C and V. Most of the time I press Control and that means doublework *sigh* The question is if the open source community should start thinking about hardware design. Picture a group that develops keyboard designs.

      I agree totally on blackbox and xfce, but the (desktop) users want a desktop environment, because they are "affraid" of playing in the console (I think it is the MS scaring-campaign: try to click at the Windows folder and then System or Program Files). I for one play a lot around in the console at Mac OS X, but their design is really clean.

      Linux really needs change, the Desktop Enviroment are too close to the windows/mac/xerox-interface that were invented more than 20 years ago. I think we need to be inspired about those who creates interfaces in computer games, because some (or many) are very different from a desktop, and many of them are appearently very intuitive.

      I am beginning to "block off" information like "my car is bigger and faster than yours", maybe I am getting older *grin*.

      Linux is my number one choice to get work done (when I am not wasting my time on slashdot) and occasionally I boot into my winNT to play some games (that I cannot get working in wine)

      --

      (yes this can be compared with sex)
    42. Re:Actually... by Anonymous Coward · · Score: 0

      Because of the modularity of X, when a better solution comes along, it'll be damned motherfucking simple to just run all the window managers/widget sets over over that better solution. If Linux had committed to a locked-in, unmodular solution first, upgrading would've been tough.

    43. Re:Actually... by Anonymous Coward · · Score: 0

      Actually KDE-programs seems slower to me than raw QT-programs...Maybe there is some optimization to be done, maby it is the cost one has to suffer in order to get all the other benefits..

    44. Re:Actually... by Anonymous Coward · · Score: 0

      After comparing XFree86 4.2.0 on Linux and Aqua on OSX on my 500Mhz Powerbook, it's unbelievably obvious that X is significantly faster. Aqua has other advantages, but speed isn't one of them.

  13. Re:a desktop user's dream come true? by mcrbids · · Score: 1

    Heck, I use RH 7.3/KDE, and I frequently run 'doze in a VMware window. I can even copy/paste between Windows and Linux apps seamlessly!

    --
    I have no problem with your religion until you decide it's reason to deprive others of the truth.
  14. Re:No thanks. by Anonymous Coward · · Score: 0

    Sometimes I actually wonder if posts like these are the trolls they obviously seem to be, or if by some twist of fate they actually believe this senselss crap?

  15. The Tao of Linux by Anonymous Coward · · Score: 5, Funny

    Something forms itself from the silent void of the empty mailing lists and the noisy chaos of the crowded mailing lists. It shapes and protects us, it entertains and challenges us, it aids us in our journey through the ether world of software. It is mysterious; it is at once source code and yet object code. I do not know the name, thus I will call it the Tao of Linux.

    If the Tao is great, then the box is stable. If the box is stable, then the server is secure. If the server is secure, then the data is safe. If the data is safe, then the users are happy.

    In the beginning there was chaos in Unix.

    Tanenbaum gave birth to MINIX. MINIX did not have the Tao.
    MINIX gave birth to Linux 0.1 and it had promise.
    Linux gave birth to v1.3 and it was good.
    v1.3 gave birth to v2.0 and it was better.

    Linux has evolved greatly from its distant cousins of the old. Linux is embodied by the Tao.

    The wise user is told about the Tao and contributes to it. The average user is told about the Tao and compiles it. The foolish user is told about the Tao and laughs and asks who needs it.
    If it were not for laughter, there would be no Tao.
    Wisdom leads to good code, but experience leads to good use of that code.

    The master Cox once dreamed that he was a Kernel. When he awoke he exclaimed: "I don't know whether I am Cox dreaming that I am a Kernel, or a Kernel dreaming that I am Cox!"
    The master Linus then said: "The Tao envelopes you. You shall create great code for Linux."
    "On the contrary," said Cox, "The Tao has already created the code, I will only have to find it and write it down."

    A master was explaining the nature of the Tao to one of his students:
    "Is the Tao in the VM subsystem?" he asked. "Yes," replied the master.
    "Is the Tao in the scheduler?" he queried again. "The Tao is in the scheduler."
    "Is the Tao even in the modules?". "It is even in the modules," said the master.
    "Is the Tao in the Low-Latency Patch?"
    The master frowned and was silent for much time.
    "You fail to understand the Tao. Go away."

    The Tao is the yin and the yang. It is the good and the evil, it is everything and yet it is nothing, it is the beginning and the end.

    The Tao was there at the kernel compile, and it will be there when the kernel panics.

    A novice user once asked a master: "Why compile in C when C++ is more popular?"
    "Why a monolythic kernel when Mach is more popular?"
    "And why use ReiserFS when ext2 is more popular?"

    The master sighed and replied: "Why run Unix when NT is more popular?"
    The user was enlightened.

    A frustrated user once asked a master: "My kernel has panicked, should I post to lkml?"
    "No," replied the master, "You will only bother the Tao."
    "Should I rm -rf?"
    "No, you will have wasted the Tao's time."
    "Well should I search the web?"
    "You will search for all eternity," said the master.
    "Perhaps I should try FreeBSD?"
    "Then you will have disgraced the Tao."
    "I suppose I could try gdb," said the user.
    The master smiled and replied: "Then you will have made the Tao stronger."

    A stubborn user once told a master: "I run version 2.2. I always have, and I always will."
    The master replied: "You are foolish and do not understand the Tao. The Tao is dynamic and ever changing. Linux strives for the perfection that is the Tao. It flows from version to version with peace."

    "So my Linux does not have the Tao, so what?" said the foolish user. "Oh your Linux is of the Tao," said the master. "However, the Tao of Linux follows the Tao of the C library. One day the C library will change, and your Linux will be left behind." The user was silent.

    An angry user once yelled at a master:

    "My Linux has panicked! What lousy software it is, I hate it so!"
    "You are insulting the Tao," said the master. "The Tao is everywhere bringing order to hundreds of networks, aiding thousands of users, and fighting that of which we call the 'lame.' Do not disrespect the Tao; however, the Tao will forgive you."

    "I apologize," said the user, "And I will be more forgiving the next time the Tao fails me."

    "The Tao has not failed you, it is you that has failed the Tao," said the master. "The Tao is perfect."
    The Tao decides if a kernel shall compile, or if it shall abort.
    The Tao decides if a kernel shall boot, or if it shall freeze.
    The Tao decides if a kernel shall run, or if it shall panic.
    But, the Tao does not decide if a box will have no hardware failures. That is a mystery to everyone.

    A young master once approached an old master: "I have a LUG for Linux help. But, I fail to answer my students' problems; they are above me."
    The master replied: "Have you taught them of the Tao?" he asked. "How it brings together man and software, yet how it distances them apart; how if flows throughout Linux and transcends its essence?"
    "No," exclaimed the apprentice, "These people cannot even get the source untarred."
    "Oh, said the master, "In that case, tell them to RTFM."

    A master watched as an ambitious user reconstructed his Linux.

    "I shall make every bit encrypted," the user said. "I shall use 2048 bit keys, three different algorithms, and make multiple passes."
    The master replied: "I think it is unwise."
    "Why?" asked the user. "Will my encryption harm the mighty Tao, which gives Linux life and creates the balance between kernel and processes? The mighty Tao, which is the thread that binds the modules and links them with the core? The mighty Tao, which safely guides the TCP/IP packets to and from the network card?"
    "No," said the master, "It will hog too much cpu."

    The core is like the part of the mind that is static. It is programmed at a child's creation and cannot be changed unless a new child is made; unless a new kernel is compiled.
    The modules are like the part of the mind that is dynamic. It is reprogrammed every time one learns new knowledge; every time one learns better code.
    One is yin, the other yang. Each is nothing without the other.

    A novice came to lkml and inquired to all the masters there: "I wish to become a master. Must I memorize the Linux header files?"
    "No," replied a master.
    "Must I submit code to Bitkeeper?"
    "No," replied the master.
    "Must I meditate daily and dedicate my life to Linux?"
    "No," replied the master again.
    "Must I go on a quest to ponder the meaning of the Tao?"
    "No. A master is nothing more than a student who knows something of which he can teach to other students."
    The novice understood.
    And thus said the master:
    "It is the way of the Tao."

    A user came to a master who had great status in lkml. The user asked the master: "Which is easier: implementing new features to the kernel or documenting them?"
    "Implementing new features," replied the master.
    The confused user then exclaimed:
    "Surely it is easier to write a few sentences in the man page than it is to write pages of code without error?"
    "Not so," said the master. "When coding, the Tao of Linux opens my eyes wide and allows me to see beyond the code, to let the source flow from my fingers, to implement without flaw. When documenting, however, all I have to work with is a C in high school English."

    He who compiles from the stable tree is stubborn
    and unwilling to change, but is guaranteed reliability.
    He who compiles from the current tree is wise but perhaps too conformist, but is guaranteed steadiness.
    He who compiles from the unstable tree is adventurous and is guaranteed new innovations: some good, some bad.
    He who compiles straight from Bitkeeper is brave but guaranteed turbulence.
    They are all of the Tao. One shall respect the old, and debug the new; none shall argue over which is greatest.

    There once was a user who scripted in Perl: "Look at what I have to work with here," he said to a master of core, "My code is interpreted dynamically, the syntax is unique and simple, I have sockets, strings, arrays, and everything I could ever need. Why don't you stop meddling in C and come join me?"
    The C programmer described his reasoning to the scripter: "Scripting is to C as ebonics is to Latin. If the scripter does not grow beyond that of which he scripts, he will surely {die}. Besides, without C, how can there be script?"
    The scripter was enlightened, and the two became close friends.

    1. Re:The Tao of Linux by TheLastUser · · Score: 2, Funny

      It is up, it is down.
      It is left, it is right.
      It is clear, yet confsing.
      It is both light and dark, both mortal and eternal.
      It is filled with meaning, yet is meaningless.

      Oh I get it, Tao is all about putting two contradictory phrases in the same sentance. Cool, I thought it was deeper than that, but this is way easier to understand.

    2. Re:The Tao of Linux by Anonymous Coward · · Score: 0

      That's hilarious.

      Let me wipe the tears from my eyes.

      Oh, the fun.

    3. Re:The Tao of Linux by Anonymous Coward · · Score: 1, Funny

      The master frowned and was silent for much time.
      "You fail to understand the Tao. Go away."

    4. Re:The Tao of Linux by shfted! · · Score: 1

      LOL.. that was damned funny!

      --
      He who laughs last is stuck in a time dilation bubble.
    5. Re:The Tao of Linux by nelziq · · Score: 1

      Why is that every time there is a post regarding the linux kernel someone has to repost this thing? I mean it was funny the first time, but I mean really is all that karma whoring really neccessary?

    6. Re:The Tao of Linux by defile · · Score: 1

      Oh I get it, Tao is all about putting two contradictory phrases in the same sentance. Cool, I thought it was deeper than that, but this is way easier to understand.

      Humans find beauty in simplicity, but are fascinated by complexity. Tao'ist rambling seems to stress those points.

    7. Re:The Tao of Linux by Jester99 · · Score: 2, Funny

      Until you are enlightened, it is neccessary to repeat it. After you are enlightened, you will repeat it yourself.

      Such is the way of the Tao. :)

    8. Re:The Tao of Linux by Anonymous Coward · · Score: 0

      It was also posted AC- so no karma whoring has taken place.

      If you have something profound to say, post as your real username.
      If you want to rebuke someone you know, post as your real username.
      If you want to rebuke a stranger, post as AC.
      If you want to spread some profound bit of wisdom but don't want to be labeled a karma whore, post as AC.
      Or if you are just a paranoid psycho post as AC.

    9. Re:The Tao of Linux by 10Ghz · · Score: 1
      is all that karma whoring really neccessary?


      In my opinion: yes
      --
      Lesbian Nazi Hookers Abducted by UFOs and Forced Into Weight Loss Programs - -all next week on Town Talk.
    10. Re:The Tao of Linux by Kenard · · Score: 1

      Please tell me...
      Why does one Karma Whore as an AC?

      --
      (appended to the end of comments you post)
    11. Re:The Tao of Linux by Some+Dumbass... · · Score: 1

      If the Tao is great, then the box is stable.
      If the box is stable, then the server is secure.
      If the server is secure, then the data is safe.
      If the data is safe, then the users are happy.


      If the post is massive, then the author has no life. :)

      (Seriously though, good job!)

    12. Re:The Tao of Linux by Anonymous Coward · · Score: 0

      because that is the way of the Tao.

    13. Re:The Tao of Linux by Raffaello · · Score: 1

      "Oh I get it, Tao is all about putting two contradictory phrases in the same sentance."

      Only if your mind is still a slave to the Law of the Excluded Middle.

    14. Re:The Tao of Linux by spongman · · Score: 1

      For that is the Tao of the Slashdot. The slash is to the yin as the dot is to the yang. They are the same yet they are different.

    15. Re:The Tao of Linux by Anonymous Coward · · Score: 0

      FWIW, despite being a long-time ./ lurker, this was the first time I'd read The Tao of Linux.

      There are always those who need enlightenment, grasshopper.

  16. X11 Beh. by SirDrinksAlot · · Score: 3, Interesting

    Im sorry, its not the kernel that makes a desktop OS what it is, its the userinterface on top. Linux isnt going to be truely Desktop friendly untill X11 gets replaced with something that doesnt completely suck. You shouldnt need a high end video card to make X11 nice and smooth or have to use a stripped down UI. If Linux wants to set it self apart from all the other OS's its going to need its own desktop engine. I do agree that the 2.6 kernel is going in the right direction, I just belive the rest of the OS is being left really far in the past.

    My 2 1/2 cents Canadian

    1. Re:X11 Beh. by Gordonjcp · · Score: 0, Troll

      You shouldnt need a high end video card to make X11 nice and smooth or have to use a stripped down UI.

      Why not? You need a very high end graphics card, a very, very high end CPU and 512M of RAM to make Windows 2000 moderately useable, why should Linux be any different?

    2. Re:X11 Beh. by SirDrinksAlot · · Score: 1

      I run W2k/XP on a PII400 256mb ram with a really crumby video card and its far more responsive then Linux with X11 on the same box. Which is why XP is on that box and linux is on my Athlon XP.

    3. Re:X11 Beh. by Anonymous Coward · · Score: 0

      because all the linux people have to do is claim it's possible and instantly it is, right?

      I mean, they must be 10 times smarter than the windows kernel team.

    4. Re:X11 Beh. by Anonymous Coward · · Score: 0

      hmmm, maybe you have a virus laden pirated version, because it runs fine on a p3-450 with a generic (tseng??) vid card.

      oh wait, the truth isnt important to you. nevermind.

    5. Re:X11 Beh. by Anonymous Coward · · Score: 1, Insightful

      Bad attempt at a troll. Very high end graphics card and very very high end cpu? Perhaps very high end from 4 years ago. My 4 year old box with a PII 450, 128M RAM and a GeForce 1 seem to run Windows 2000 in a much more than moderately usable state.

    6. Re:X11 Beh. by Gordonjcp · · Score: 1

      No, it's a "real" copy. The company I work for bought it. It was utter shit. It crashed twice in four months, copy and paste didn't work, it had no NFS client, didn't come with any useful tools, needed loads of extra software bought before it could do anything useful (it doesn't even come with a word processor!) and generally made a nuisance of itself. Now it's gone.

    7. Re:X11 Beh. by Bert64 · · Score: 4, Insightful

      Dropping X11 would be a HUGE mistake. X11 as a system is far more flexible than the gui system of windows, ofcourse this flexibility can introduce a performance hit, but theres many other things in modern os`s which sacrifice performance for features, ease of use, maintainability etc..
      But even considering the larger and more featured system, X11 is as fast, or faster, than windows on all but one of my machines, the one where its slower is because the graphics card is very poorly supported by X.
      What causes slowness more than X11 itself, is the programs running on top of it... KDE for instance, its hardly a speed demon compared to say, windowmaker.
      You dont need a high end videocard to make X smoothe, you just need one that`s well supported... my PCI ATI Rage Pro works perfectly, as does my Elsa GLoria Synergy, both are oldish 8mb pci cards.
      Any system will completely suck with poor drivers, try configuring windows to use generic vga or vesa drivers if you want a laugh.
      X11 is FAR superior to any local-display-only gui system, i have several machines here, and 1 monitor for X, apps running from each machine and displayed here and interacting smoothly with each other and with locally running apps.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    8. Re:X11 Beh. by BoneFlower · · Score: 0, Flamebait

      Damn OS bigots. My desktop runs Windows XP. Heres the setup:

      1.6Ghz P4(Lower end)
      NVidia TNT2M64(Definitely low end)
      1GB ram(ok, I overkill here but performance was ok even at 256MB)

      The Windows NT series operating systems are quite good. Reliable, well performing and productive in general. It may be easier to trash it entirely(ask me about my NT4 permission troubles someday) but, the point is, set up with half a brain the NT series is solid.

    9. Re:X11 Beh. by Bert64 · · Score: 0, Troll

      Well, crummy videocards are usually not very popular with the technically literate, ie the people who write the linux drivers.
      Thus, these cards dont get very well supported, and so run slow.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    10. Re:X11 Beh. by Anonymous Coward · · Score: 0

      What do you do to your w2k ?? mine runs very fine on 128 MB / p2-350 with TNT 1. not really high end. I have linux running on the same box, and it is a lot slower ... (no, that's not KDE, just fluxbox, mozilla, gaim, and nedit)

      Anyhow, BeOS wins all desktop-speed contests, it's really unbeatable ;) Why shouldn't such desktop performance be possble with X ? That BeOS is not very much used doesn't mean it's superior desktop performance is unwanted ...

    11. Re:X11 Beh. by BoneFlower · · Score: 1

      My laptop with some crappy 8MB shared graphics card runs Linux, X, KDE, and however many apps I throw at it very well, very responsive. Its not stripped down at all- I didn't install all the applications Mandrake wanted me to, but KDE and X is a complete install apart from the games. No hand tuning performed(saves me loads of time compared to getting my banshee working on RH5.2 back in the day)

      Oh, BTW, its a 750Mhz PIII with 256MB ram. Old dell latitude. If this patch really gives as much of a boost as they are saying it does, my laptop will be more responsive than this machine(WinXP, 1.6Ghz P4, 1GB ram, TNT2 AGP card)

      That red hat 5.2 box I mentioned, that was a K6-2 450, 128MB ram, Diamond Monster Fusion 16MB 2D/3D AGP card... Ran X pretty well, only a little laggy compared to Windows(and not as prone to seizures like windows was).

      If you aren't a complete idiot, X can run very well. The lack of freezes and seizures can itself save what response time you lose.

    12. Re:X11 Beh. by Enahs · · Score: 2, Interesting
      You shouldnt need a high end video card to make X11 nice and smooth

      By those standards, Apple's OS X really sucks.

      --
      Stating on Slashdot that I like cheese since 1997.
    13. Re:X11 Beh. by Anonymous Coward · · Score: 0

      Yes theres always a way to say linux is better than windows.

      just admit to the fact that windows IS better and try to get on par with it.

      never underestimate your enemy

    14. Re:X11 Beh. by Drakin · · Score: 1

      *scratches head*

      What the hell are you doing with it? That question needs to be awnsered before anything else.

      I've used windows 2000 reguarly for a while now, first on a k6-2 300 mhz machine (starting at 96M of Ram, then in the end 396M) and it did everything I threw at it fine (and in the beginning it had a 4mb video card, later a Geforce II MX based card).

      Definatly not high end, even when Windows 2000 was released.

      I used it for day to day things, email, web bowseing, word processing, as well as less normal things (Image creation/manipulations with Photoshop & Poser), as well as playing various games.

      It ran fine. Laggy with image editing and some games, but I knew I was pushing beyond the limites of the machine. You're either exagerating, or were doing something incredibly odd.

    15. Re:X11 Beh. by Gordonjcp · · Score: 1

      Editing very, very large images (6000~x4000~ kind of thing). Nasty, slow, tedious work. Actually, it was Photoshop 6 that was the pisser. Win2k and Gimp worked pretty well for it. But it did still crash quite a lot.

    16. Re:X11 Beh. by 10Ghz · · Score: 1

      There's nothing wrong with X. There might be alot of things that could use improving in Xfree though.

      --
      Lesbian Nazi Hookers Abducted by UFOs and Forced Into Weight Loss Programs - -all next week on Town Talk.
    17. Re:X11 Beh. by OneEyedApe · · Score: 1

      I've got an Intel i810 onboard video chip which currently draws on 1 meg of RAM. I'm running Enlightenment (16.5) and it works just fine. And configuring with xf86config was easy.

      --
      Life sucks, but death doesn't put out at all....
      --Thomas J. Kopp
    18. Re:X11 Beh. by Drakin · · Score: 1

      aah. Now, that sort of work can be a strain on nearly any system... photoshop particuarly. I have enough problems with it draggin it's heels on smaller images than that.

      Photoshop doesn't eat memory and CPU cycles... it sucks them up like a blackhole.

      I can see where you're coming from now, thanks for explaining.

    19. Re:X11 Beh. by scotch · · Score: 1
      You have a strange definition of "low end". Linux and X are quite usable on my 350MHz K2 w/128MB ram and passable on my 360MHZ K2 laptop with only 64MB ram. I tend to favor thinner apps (as opposed to KDE and similar) on these machines, but they can manage when they need to.

      X was usable on even slower machines I had before that, but I'm sure they would seem sluggish now.

      --
      XML causes global warming.
    20. Re:X11 Beh. by qurk · · Score: 1

      ya windows is better for crummy computers. But we are talking VERY crummy. I have a cyrix 150 sitting here that completely chokes trying to run a modern linux, very slow. But win98 runs fine. (Never buying win2000 or winXP). But on my p2 300 with about 6 times the memory of the cyrix, the newest cutting edge linux's ran fine. As responsive as win98? Well in some ways definitely. Comparing it to win98 isn't fair because it crashes far less often. However so much stuff is optimized by Microsoft in their OS's to the point of craziness, like in win98 on that computer clicking on windows explorer it would pop up super fast. For non-microsoft software it would depend on the aplications. Mozilla actually ran faster in some ways in windows on the p2 300 than linux, but with a semi-modern computer like I have now the difference is negligable. Personally the longest difference would be just a couple seconds and it is stabler than windows. (Also diss me for using win98 for comparisons but it has it's simularities to win98 and also that is the last version of windows I will probably buy :) .

    21. Re:X11 Beh. by Anonymous Coward · · Score: 0

      In my experience, Windows 2000 is... much better than previous and at least one later windows version... but still much less reliable than Linux for equivalent functionality.

      And apart from anything else, there is nothing wrong with making a moral decision not to use closed source software. Technology isn't everything, and people should be proud, not ashamed, to prioritise Linux over Windows on grounds other than the technological - after all, MS's main argument to financial and business groups against linux is "it is anti-capitalist" not "it's worse technologically".

      Of course, proprietary software is really anti-capitalist, since the proprietary software world rests on the government-granted monopoly of "intellectual property", but that's a whole other rant...

    22. Re:X11 Beh. by drinkypoo · · Score: 1

      The ATI Rage Pro is not well supported, it is decently supported. The good support for ATI cards doesn't come with XFree. My K6-2 500MHz laptop with ATI Rage Pro LT/Mobility M1 can play DVDs in windows, but can't manage the video in linux.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    23. Re:X11 Beh. by WWWWolf · · Score: 1
      Linux isnt going to be truely Desktop friendly untill X11 gets replaced with something that doesnt completely suck.

      Oh, no, not again. Please. We have heard this plea many many times before.

      Maybe I'm just dumb, but I can't see why X "sucks". Been using it for years and years and years and... never actually gotten frustrated with it. (Except when Crappy Drivers hurt the uptime. Has happened a few times. Also in Windows.)

      Then again, I've been always fond of simplicity and usability. 'twas fvwm2 and nowadays Window Maker that draws my drawables in X11.

    24. Re:X11 Beh. by SN74S181 · · Score: 1

      I run X on a Toshiba laptop.

      It's a 486DX-2 50MHz laptop, with 28 megs of RAM.

      There are many useful things I do with that laptop.

      I don't run Linux, tho, I run NetBSD on it. And I wouldn't be so stupid as to run the bloat desktops on it. It uses a nicely hand tuned FVWM2 window manager.

    25. Re:X11 Beh. by spitzak · · Score: 1
      Both systems need high-end graphics cards for 3d and there are plausible claims that the OpenGL->hardware interfaces are somewhat better under X than in Window's design.

      But you are in denial if you believe X11 is as fast as NT in updating the display for simple graphics. Moving windows is by far the worst difference in speed but I cannot see anything where X11 is actually better than NT. This is based on direct comparisons of two quite slow machines (350Mhz Pentiums) running Linux and NT4.0.

      The problem is entirely in X11's old design and their total inability to make the slightest changes or enhancements to it.

      Some people claim the problem is the client/server but that is only a *latency* problem, not a speed problem (if you can batch a thousand calls into a single communication you actually have achieve 500 times more efficency than Windows kernel implementation where every call is a context switch). Latency is a problem we are going to have to deal with anyway in a networked system, for instance web page user interfaces are severly limited by it.

      However X11's graphics design and the horrendous mess of ICCCM window managers mean that virtually every call is "synchronous" in that any practical program cannot continue until it recieves a response from the previous call. This means the latency translates directly into a loss of speed. For typical graphics you get 2 latencies, for making a change to a window you get almost 4!

      We need a new graphics system, with static "contexts" like OpenGL has, and NO RETURN VALUES so it is impossible to require synchronization, at least PostScript capabilities of drawing, and the ability to render UTF-8 text as good as possible without a gigantic client-side library!

      We also need to scrap window managers and move the windows into the toolkits. Yes this means windows will have different borders, just DEAL with it. Worrying about "inconsistent interfaces" and "confusing the user" is delaying the need to do what needs to be done. Maybe one toolkit will take over, or all the toolkits will start to agree on appearances. Or maybe some *NEW* ideas will appear (HORRORS! An "inconsistent" new idea! Oh the poor "confused" users!) and we can finally laugh at Bill Gates by showing what "innovation" means.

    26. Re:X11 Beh. by SN74S181 · · Score: 1
      Of course, proprietary software is really anti-capitalist, since the proprietary software world rests on the government-granted monopoly of "intellectual property", but that's a whole other rant...

      Interesting. So, since capitalism is based on strong private property rights, I guess we can assume that your perfect world includes many armed guards and private security agencies protecting all the trade secrets.
    27. Re:X11 Beh. by Stinking+Pig · · Score: 1

      If it didn't have X, I wouldn't run Linux -- I'd go find another Unix system where I could have X. There is no way to replace X without becoming X, so why bother?

      Of course, I've also sat through about three different pitches from companies rewriting the Win32 GUI to act like X so that it can be a decent terminal server, so maybe I'm biased :-)

      --
      "Nothing was broken, and it's been fixed." -- Jon Carroll
    28. Re:X11 Beh. by Anonymous Coward · · Score: 0

      The problem is not X itself but the lack of alternatives where many of its features would not be necessary. X is to a non-distributed single-user multimedia-oriented desktop what OpenOffice is to vi. It works, indeed, but now please raise their hands anyone who would write their code with OpenOffice.

      What we need is a windowing toolkit that doesn't rely on X to draw widgets, ie something that talks directly to the video drivers.
      On a personal note, having written GTK apps for a while I can only hope it's better designed than GTK.

    29. Re:X11 Beh. by Anonymous Coward · · Score: 0

      No, X11 doesnt suck, it's not the reason why Linux as a Desktop isn't really working at the moment. Rather, it's probably the uncollectiveness of people who develop windowmanagers/apps etc and a lack of a decent standard. If we had a really decent deskop gui / windowmanager which was easy to use, it wouldn't matter if X11 was still being used

    30. Re:X11 Beh. by BoneFlower · · Score: 1

      Moral reasons are one thing, but groundless bashing of Windows, bashing things that simply aren't problems in a properly set up NT series Windows OS is stupid.

      If you have a moral reason, fine. Stand up and say so. Just don't hide it under a cloud of technological FUD.

    31. Re:X11 Beh. by Anonymous Coward · · Score: 0

      No, my perfect world would be people actually cooperating. But, since that's not going to happen any time soon, I'd rather the mercenary armed-guards scenario to the current big-government scenario. In my country, we have a long and proud mercenary tradition going back to Roman times.

    32. Re:X11 Beh. by Anonymous Coward · · Score: 0

      If I invade your land, steal your car, or do most anything else with your _physical_ property, you don't have it any more.

      If I copy some of "your" information, you still have it, now I have it - so if you ascribe intrinsic positive worth to the information, everyone's better off. Intellectual "property" is a complete sham, unless you assume the information itself has NEGATIVE worth. Which is just plain bizarre.

    33. Re:X11 Beh. by SN74S181 · · Score: 1

      Information is assigned value in a marketplace by the value it's creator can get in return for it's creation.

      If there's no return for creating this 'information' it will cease to be created. Except in a society where some people are the slaves of other people.

      You can play all the philosophical parlour games you want with words.

    34. Re:X11 Beh. by Anonymous Coward · · Score: 0

      If there's no return?

      (a)
      That's absurd. That assumes the profit motive is primary. Real humans have done, do, and will continue to do creative acts for reasons other than profit. Raising a child, perhaps the ultimate creative act, is a loss-making endeavour unless you assume you own the child and can put it to work (I've done the math, not even assuming the child will care for you when you are old makes it profit-making). This is not a common assumption in Europe.

      I know of these people who write a whole lot of software without worrying about profiting from it.

      (b) Even if what you say is true, I include non-monetary returns such as the acclaim of my peers or a vague "better world" because more poeple have access to the information - well, then even in the complete absence of intellectual "property" laws, people will continue to create.

    35. Re:X11 Beh. by SecretAsianMan · · Score: 1
      Dropping X11 would be a HUGE mistake. X11 as a system is far more flexible than the gui system of windows

      You are assuming that the X11 replacement would be Windows-ish. I don't think that's a safe assumption. What needs to be done is a refactoring of the idea of X11. Drop the old and busted design and create a new hotness one, using things we've learned since then.

      What causes slowness more than X11 itself, is the programs running on top of it

      Yes, X11 does nothing very fast if you don't run any programs in it.

      --

      Washington, DC: It's like Hollywood for ugly people.

    36. Re:X11 Beh. by captaineo · · Score: 1

      The cure for window jumpiness during moving and resizing is to force the window manager to be synchronous with the client. ("synchronous" meaning that the window manager should wait for the client to catch up before changing the window again). Currently they are not synchronized, which means the client struggles to draw itself while the window moves around it. This could be fixed with a simple window manager protocol, no need to change X.

      Of course, moving the window manager into either the client or the server is probably a good thing to do also.

      One feature that would put XFree way ahead of Windows would be synching the server's event loop with the vertical retrace. Currently XFree triggers event handling on keyboard or mouse interrupts, which may occur more than once per monitor refresh, so a lot of effort is wasted drawing things and then drawing them again during a single refresh. (also, XFree does appear to drop mouse interrupts once in a while, which contributes to the "sticky" or "jerky" feeling of the mouse in X, as compared to glass-smooth like Win32)

    37. Re:X11 Beh. by WindBourne · · Score: 1

      There are options such as QTopia, or Berlin. The real problem is that X is more than good enough for the average person. In fact, it is good for all but maybe 20%. Another 10% could be done by moving some of the code to the server. I have started several times to move QT over to the server side with the idea that it would reduce the network (too many other shiny stone projects that I jump on instead). If 2.6 comes out with these nice features, and MS is forcing more companies to choose, well,...

      --
      I prefer the "u" in honour as it seems to be missing these days.
    38. Re:X11 Beh. by Erik+Hollensbe · · Score: 1

      Don't kid yourself -- the i810 uses your system RAM too. In fact, you can configure how much it uses by going to CMOS (on most systems I have used). I think the default is 16 or 12.

    39. Re:X11 Beh. by dbullock · · Score: 1

      Why must it be either or?

      Why not have a local desktop engine, and still keep low performance X for flexibility?

      This binary thinking really frustrates me.

      --
      http://www.bullnet.com
    40. Re:X11 Beh. by CableModemSniper · · Score: 1

      He just told you that it was using 1 Meg of system ram.

      --
      Why not fork?
    41. Re:X11 Beh. by Raffaello · · Score: 1

      "That's absurd. That assumes the profit motive is primary."

      Only if you want to eat regular, or pay the rent, etc.

      " Real humans have done, do, and will continue to do creative acts for reasons other than profit."

      Yes, they do. But when one model of intellectual property precludes the for-profit possibility, it's going to lose in the real world of jobs, bills, rent, and raising kids.

      " Raising a child, perhaps the ultimate creative act, is a loss-making endeavor unless you assume you own the child and can put it to work (I've done the math, not even assuming the child will care for you when you are old makes it profit-making). "

      Rearing children isn't an act of selfless generosity - it's an act of complete selfishness. It's the only way we get to live for more than a single, short life-span. Granted, we're not making exact duplicates, but sexual reproduction, with all it's flaws, is still the only game in town for us animals. People have children not to gain wealth; animals have offspring not to get more food. Rather, it is the other way around - people gain wealth in order to have children. Those who don't are simply not represented in the next generation and have been erased from the game.

      You have a false and rigid sense of identity. See yourself not just as the body you are, and it's social identity, but the genetic information that gave rise to you, and you'll understand why rearing children is just as selfish as seeking profit.

      Your whole post flows from a fundamental misunderstanding of the relationship of economics to biology.

    42. Re:X11 Beh. by Anonymous Coward · · Score: 0

      You must be american. No european is that callous.

    43. Re:X11 Beh. by Bert64 · · Score: 1

      Because then programs would be written for one or the other, and then you would lose the ability to run anything remotely, which is what i like.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    44. Re:X11 Beh. by dbullock · · Score: 1

      No.

      That's a fallacious argument. You wouldn't lose any ability you currently have because you can continue to do things as you are now.

      You would not gain the ability to run applications remotely that the author decide to write against the local display API. Now if the developer community feels that it is advantageous to them to target local-only apps and not support X any longer, well that's a different orthogonal issue, and that's the itch open source is intended to scratch.

      There's nothing lost, there's only a gain for local-only users.

      --
      http://www.bullnet.com
    45. Re:X11 Beh. by Bert64 · · Score: 1

      Many programs are written for X11 without any thought for remote use, but are still used remotely because they can.
      In your scenario, people who dont think about remote support will write programs that dont support it atall.
      You would need to consider the remote display support when writing the program instead of the current system, which would for sure result in many programs not supporting remote displays.
      I`m typing this in a remotely running mozilla, why? because i want a powerfull machine but not a noisy one, i have a diskless/fanless terminal here and several noisy servers sitting in another room, and i have several more terminals in other rooms which are used often enough, and by my flatmates.

      Local-only apps are only advantageous for things like games and media players, and in the case of most X11 media players there is support for remote displays aswell. Making other apps local only is just limiting flexibility and forcing hardware purchases, and i dont think theres any diskless/fanless machine that would be powerfull enough to run mozilla on it`s own.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    46. Re:X11 Beh. by dbullock · · Score: 1

      That's no justification for eliminating developer choice.

      It's not everyone else's fault that you need a powerful machine to browse the web, and similarly other users need not be constrained beausse you see no value in multimedia and games.

      You want to eat your cake, and have it to, but nobody else better want their own cake in your world.

      --
      http://www.bullnet.com
    47. Re:X11 Beh. by spitzak · · Score: 1

      They synchronization you are talking about would require even more round-trips, I think. Best I can think of now is that when the window gets bigger the window manager immediately resizes it's frame and starts drawing everywhere including behind the new area of the window, and sends some message to tell the appliation to resize it's window and redraw it. Making the window smaller would require this message to be sent first and then wait for a synchronous reply and then resize the frame. This still won't solve a resize where the window gets taller but narrower. None of this is anywhere near as efficient as having the windows in the program, where the program can send out both resizes immediately followed by drawing commands to fix the display in a single non-synchronous block.

      Even if it is all gotten to work, the non-synchronous nature is a serious burden to making GUI programs on X, and no toolkit can hide it well enough. The programmer really wants to be able to draw immediately into a window after they show it, and to set the size and immediately draw and assumme the new size is correct. All X toolkits either have serious delays and internal complexity in order to synchronize this stuff with the WM, or they just are inefficient (fltk does this) and redraw more times than necessary, resulting in blinking.

      So I do not think there really is a solution. I am glad you agree it is at least a good idea to move the window manager closer. I think into the client is the best. If it was in the server we would be stuck in a fixed design for window management, and an entire "theme" interface would have to be added to X.

      You are right about the vertical retrace. This sounds like an easy fix for X. Fltk (and probably other toolkits) read all pending events and don't draw anything until the pending events are exausted. X could take all events generated during a screen draw and send them as a single block per vertical retrace. This would make fltk and most other toolkits generate only a single block of drawing instructions per vertical retrace. It may also help if the *start* of drawing was delayed until the next vertical blanking, although a series of commands should continue to be obeyed even if it takes longer than the blanking.

      I heard the problem with the jerky mouse is not X itself but the scheduling problems in Linux, which is being addressed with the new scheduling patches.

    48. Re:X11 Beh. by bookroach · · Score: 1

      That beats the snot out of my linux box at home. Very responsive kde desktop running on Dual PII 400 with 256megs of ram and an TNT2M64. quake3 run well and with the prempt patch the desktop feel as good at the win2k desktop I'm posting on. Which by the way is dual 1.6ghz athlons with 1gig of ram and a Geforce 3 Ti.

      --
      GTA3 is like the Sims to me - MC Hawking
  17. There was a time when... by Billy+the+Mountain · · Score: 0, Interesting

    Linux was the fastest platform on the block (back in the days of Windows 3.1 and flawed pentiums). More recently, working with Linux, I was disappointed with the speed. Maybe this will be the killer-non-ap that makes Linux scream and encourages us all to delete their FAT32 partitions for good?

    BTM

    --
    That was the turning point of my life--I went from negative zero to positive zero.
    1. Re:There was a time when... by Anonymous Coward · · Score: 0

      what in the heck are you using for hardware? (266?)

      also what sort of desktop GUI are you using? (something bloated like KDE or Gnome?)

      your opinion is quite vague, Linux runs lightning fast on my computer, and many others...

    2. Re:There was a time when... by Anonymous Coward · · Score: 0

      P2 366 notebook with 192 meg of ram, capable of playing 1024 x 768 full screen movies locally or from NFS shares with OpenOffice running. Gentoo linux. I doubt the same can be said with XP and Office XP on the same platform. Maybe your configuration is suspect.

    3. Re:There was a time when... by Door-opening+Fascist · · Score: 1

      If you're using GNOME or KDE then, yes, I have to agree with you. But my dual 450MHz Xeon Linux machine with 256MB of RAM still blows the socks off those 2.5GHz monsters running XP. I use XFce as a window manager, and couldn't be happier. I run Apache (mod_perl, mod_php, and mod_ssl), ProFTPd, MySQL, NFS, NIS, OpenLDAP, Samba, Sendmail, and UW-IMAP, and there's still enough juice for it to function well as a workstation.

    4. Re:There was a time when... by AnonymousCowheart · · Score: 1

      try this:
      hdparm -c1 -d1 /dev/hda
      its the same as:
      BUGS=0 in your config.sys
      seriously, using hdparm will VASTLY increase the speed of most things in Linux.

    5. Re:There was a time when... by Anonymous Coward · · Score: 0

      I am an absolute linux newbie (don't shoot me) - I installed Red Hat 8.0 yesterday and are starting to fiddle around with it.

      I bring up a terminal window to execute the hdparm command you specify:

      [Snugs@localhost /]$ hdparm -c1 -d1 /dev/hda
      bash: hdparm: command not found

      [Snugs@localhost /]$ find hdparm
      find: hdparm: no such file or directory

      Where in the heck can I find out where applications are stored in this file system? I can't even do a file search from a command line.

      Sigh.

    6. Re:There was a time when... by Anonymous Coward · · Score: 0

      hdparm is not in a user's path since a user cannot execute it anyways. Log in as root or sudo it.

    7. Re:There was a time when... by esanbock · · Score: 1

      For that matter, DOS was faster as well. Obvious guy says "Linux was faster because windows actually ran a real GUI."

      -5 (Doesn't hate Windows)

    8. Re:There was a time when... by Anonymous Coward · · Score: 0

      Ah. The problem you're having is this:

      Red Hat 8.0 is not Linux.

      7 isn't either. 6 and earlier are debatable.

      http://www.debian.org/

    9. Re:There was a time when... by cyberlemoor · · Score: 1

      whereis hdparm

    10. Re:There was a time when... by Anonymous Coward · · Score: 0

      a lot of the time, the ide dma is not turned on in a stock linux installation. if the processes are stuck waiting on the disk drives, the system seems really sluggish.

      using /sbin/hdparm -d1 will turn on dma

    11. Re:There was a time when... by AnonymousCowheart · · Score: 1

      you have to be root to issue the hdparm command (atleast on all the distro's i know)
      and as far as this asshole goes:
      Ah. The problem you're having is this: Red Hat 8.0 is not Linux.
      dont listen to him/her, redhat is a great distro! I now use debian, but started on Redhat, and still recommend it!

    12. Re:There was a time when... by Beetjebrak · · Score: 1

      Finding apps in Linux:

      find / -name [appname]

      Furthermore, try man hier to learn about the filesystem layout. Most apps should go into /usr/local/bin but that depends highly on your distro. Some distro's have a tendency to put user executables in /opt.
      As a rule of thumb: /bin contains that which lives in C:\Windows\Command , /sbin contains administrator-only binaries (a distinction not found in Windows).

      If you're trying to get familiar with filesystem layouts on Unix, I suggest you give FreeBSD a whirl. It has a very consistent and clean filesystem tree. I found FreeBSD a great place to learn about actual Unix. As I'm typing this my other box is compiling Gentoo Linux, which looks promising too but I can't comment on it yet. In a few hours maybe ;-)

      Good luck learning *NIX!

      --
      Learn from the mistakes of others. There isn't enough time to make them all yourself.
    13. Re:There was a time when... by Anonymous Coward · · Score: 0

      Yes. And I can too run 500 idle processes on my windows box without noticing any difference.

    14. Re:There was a time when... by captredballs · · Score: 1


      Another usefull tool that is often installed in a linux distro is "slocate" (secure locate, secure meaning that it takes permissions into consideration). If slocate is installed, it updates a database of file locations, usually on a daily basis. The slocate tool searches this database for the substring you supply.

      bash> slocate /hdparm

      would find /hdparm, /sbin/hdparm, /foo/loc/hdparm, etc... It is much faster than the find command because it doesn't need to examine the whole harddrive in its current state, just the indexes/hashed/whatever database that already exists.

      --

      I suppose I'm not too threatening, presently, but wait till I start Nautilus
    15. Re:There was a time when... by Door-opening+Fascist · · Score: 1

      Actually, it's closer to 170, which isn't much higher than with all the services off (~130). And, while this isn't a front-line server, the processes are hardly idle either.

  18. AU CONTRAIRE by Anonymous Coward · · Score: 0

    it is very on topic

  19. Re:FINALLY! Thank you! by Khomar · · Score: 2, Insightful

    "As an avid Microsoft fan..."


    And you admit this on Slashdot?! You are brave.

    --

    I believe in de-evolution. God made the world perfect, man fell, and its been going downhill ever since!

  20. Re:No thanks. by Anonymous Coward · · Score: 0

    You sound like Inger Marie Sunde. Maby there be a job for you working as a DA..., you seam to come with the same arguments. (just remeber to check if the Policedeparten is using Linux, befor you call all Linuxuser for crimenal)

  21. Dial-up by yerricde · · Score: 1

    Nahm I don't see how it would make "apt-get install foo" any easier.

    Especially because even though apt-get automatically fetches and installs dependencies, it takes an hour to do so over dial-up. And no, home-priced broadband isn't available everywhere in the United States, let alone everywhere in the world.

    --
    Will I retire or break 10K?
    1. Re:Dial-up by Gordonjcp · · Score: 1

      Don't do it over dial-up then. Do it off the CD. Look, you've got to pay for getting the distro one way or another. Either get a decent connection, or buy the CDs.

  22. no sir, thank you... by koekepeer · · Score: 1

    ... had i the possibility, i'd surely give you a (+10: Funny Troll)

    you just made my day a bit happier :-)

  23. Re:FINALLY! Thank you! by Anonymous Coward · · Score: 0

    In what particular elements of the linux GUI do you find performance issues? Linux has no GUI, those are third party apps, as is the server which provides the framework for GUIs (XFree.) It's a huge jump to blame GUI issues on the kernel, I'm curious about the reasoning behind it.

  24. How looks your geekroom? by Anonymous Coward · · Score: 0

    Does it have many boxen?

    1. Re:How looks your geekroom? by Anonymous Coward · · Score: 0

      I can't say for somting I don't have (geekroom). When it comes to boxes I own. I beleve youre thinking about boxes with eletronics inside. I have 5, not counting small transformers, 1 PC, 2 lowdspeekers, 1 radio and 1 ampefier. I threw out the TV in 1996 (just junk on it anyway. Only for people with lower than avrage IQ).

      -
      MikeKlev

  25. As opposed to windows... by Gordonjcp · · Score: 1

    ... which doesn't have cut and paste at all outside the "Edit" menu.

    1. Re:As opposed to windows... by Anonymous Coward · · Score: 0

      Try

    2. Re:As opposed to windows... by Anonymous Coward · · Score: 0

      Ctrl-X Cut
      Ctrl-C Copy
      Ctrl-V Paste

      Works in most Windows apps

  26. Re:No thanks. by Anonymous Coward · · Score: 0

    Anyone with the intelligence to type out h t t p colon slash slash s l a s h d o t dot o r g successfully is probably a troll, I'm afraid!

  27. explanation needed, please by dj_paulgibbs · · Score: 3, Interesting

    Now, I am a long-time user of Windows, but am (and have been always) increasingly tempted by switching to a Linux-based distribution, probably Redhat, on my main desktop machine.

    With that lack-of-linux-knowledge, could someone explain why precisly this is a "Significant Interactivity Boost in (the) Linux Kernel"? Thank you.

    1. Re:explanation needed, please by The+Bungi · · Score: 3, Interesting
      I think the logic goes like this:
      • Linux was a "better" desktop than "Windoze"
      • But the scheduling system on top of which the X server runs kinda sucked, so in reality Linux wasn't such a great desktop
      • "Windoze" has the graphics subsystem "in the kernel" (not true, but still) and that's "bad". Linux uses a different approach (X is a client/server graphics system) that is considered "good" and not "unstable" and not as "sneaky" as "Windoze"
      • Now someone has come up with a way to make the Linux GUI more responsive.
      • So now Linux will be a better desktop than "Windoze".
      • Slashdot readers are predicting Linux will take over the desktop Any Moment Now.
      Apply to some other technical area where Linux is "better" than "Windoze" - lather, rinse, repeat in a few months.
    2. Re:explanation needed, please by jtdubs · · Score: 5, Informative

      IANAKH (Kernel Hacker), but here's my understanding of it.

      The kernel development team are experimenting with heuristics to determine what processes are "interactive" and to determine "how interactive" those processes are.

      An interactive process is a process which spends a portion of it's time sleeping, waiting for some kind of event, and then needs cpu time quickly after the event happens.

      In this case the events are user input and screen redraw requests.

      So, the trick is that interactive processes don't need any more CPU time than other processes, they just need it very quickly in response to requests. Low latency.

      The question is, how do you determine what processare are interactive, and how interactive they are.

      They have developed a system whereby there are effectively "interactivity points" that can be given to and taken away from a process.

      The act of being woken up from sleeping by an event awards you interactivity points. The act of completely using up lots of timeslices (acting like a CPU-bound process) takes away interactivity points.

      With Linus's new patch, once you've reached a certain threshold of interactivity points, some of your points start going to the process that woke you up. So, if an "interactive" process is always waking up in response to an event from a certain other process, than that other process is also awarded interactivity points.

      In the end, your interactivity points are taken into account when choosing which processes get the CPU.

      So, with this new code, processes which are "interactive" like your X11 apps get more of the cycles they need when they need them, decreasing their latency, and making them appear to work "better."

      Justin Dubs

    3. Re:explanation needed, please by Anonymous Coward · · Score: 0

      If you have a CPU-heavy app going on, it will take some time for it to respond to your typing on the terminal, since it has a long pause (for a computer) between each keypress.

      This patch will mean that thesystem will swap to an interactive process when it needs to, irrespective of whether another CPU-heavy process "deserves" the CPU time.

      You "waste" several hundred cycles with frequent swapping, but that is all you waste. With a CPU-fairness algorithm, you won't waste so many cycles, but it may be several thousand cycles before your app gets a look-in.

      CPUs are fast enough that missing a few nubdred cycles every few milliseconds is not a problem.

    4. Re:explanation needed, please by colganc · · Score: 1

      -90% of slashdot readers are karma whores or trolls

    5. Re:explanation needed, please by The+Bungi · · Score: 1
      -90% of slashdot readers are karma whores or trolls

      Or OS X users =)

      *rimshot*

    6. Re:explanation needed, please by vocaro · · Score: 1
      Now, I am a long-time user of Windows, but am (and have been always) increasingly tempted by switching to a Linux-based distribution, probably Redhat, on my main desktop machine.

      I'd wait until Red Hat Linux 8.1 comes out. It'll include the latest releases of GNOME, KDE, and XFree86.

      With that lack-of-linux-knowledge, could someone explain why precisly this is a "Significant Interactivity Boost in (the) Linux Kernel"? Thank you.

      First, you need to know what they mean by "interactivity". They're talking about applications that respond to keyboard and mouse events -- basically any application that has a GUI. Non-interactive applications are those that run in batch mode, such as compiling the Linux kernel or ripping tracks from a CD.

      You probably wouldn't care if those tasks paused for a second or two every so often, but you'd get really annoyed if you were typing an email and there was a one-second delay after each keypress. The idea, then, is to give priority to those interactive apps and improve their response times.

      I haven't looked at the patch, but I assume it tries to be smart and find the interactive app that's in the foreground -- that is, the one that's actively handling keypress and mouse clicks. Even though you could be running many interactive apps at once, you probably care most about the one in front of you.

      It's interesting to note that Windows, having always been a GUI environment, has always tried to boost interactive applications automatically. Linux, on the other hand, has traditionally been used on servers, and it requires manual adjustment for interactive applications (using the "nice" command, for instance). This patch could make GUI applications on Linux just as responsive as Windows without sacrificing its role on the server. Of course, that remains to be seen.

    7. Re:explanation needed, please by Psychic+Burrito · · Score: 1

      I see. What I ask myself now is "wouldn't it be easier if an application could tell the OS how much interactivity it expects, and the OS then performs accordingly?" You might say "this solution works with all existing apps" and "no interfaces is more elegant". But when it comes down to extreme situations (many interactive apps on a slow system), this would be better, wouldn't it?

    8. Re:explanation needed, please by IamLarryboy · · Score: 1

      Will this work something like nice? I run Gentoo and quite often I am compling in the background. I set the nice level of the compile to 15 so I usually don't have much problem with apps being sluggish. However, quite often xmms will 'skip' even though I always start it with a nice of -5. Will these patches have an interactive level I can set when I start the app? If so that would be wonderfull.

    9. Re:explanation needed, please by jtdubs · · Score: 1

      It probably wouldn't be hard to throw something into /proc so you could do stuff like:

      echo 55 > /proc/interactive/384

      Where 55 is the interactive level and 384 is the pid of the process you are trying to affect.

      However, I saw no mention of this.

      I wouldn't worry about it. If the system works as well as the folks on the list were saying it works, then you should have no problems.

      I have a feeling that what with the low-latency patches and now this "interactivity" patch-set, the new linux kernels will be able to handle your xmms + make workload pretty easily.

      Justin Dubs

    10. Re:explanation needed, please by Anonymous Coward · · Score: 0

      Go look at the structure of your /proc. I think /proc/384/interactive would make a lot more sense...

    11. Re:explanation needed, please by Bishop · · Score: 1

      Your problem could be disk related. Do you have CFLAGS set with -pipe in /etc/make.conf ?

      You also could be running into problems with the 'nice -5'. Xmms may be preempting important kernel processes. I would drop it.

      Infact Xmms is useing less then 0.1% of the cpu as per top. (Xmms v1.2.7, Alsa 0.9 plugin libALSA.so, standard "Analyzer" visualization, PIII 1GHz.) For the record I have no trouble with compiling and xmms on my laptop which has sucky disk i/o. I usually don't renice either process. (sometimes I remember to nice emerge to 10.) The only trouble I run into is with emerge sync which hard on the disk.

    12. Re:explanation needed, please by rseuhs · · Score: 3, Interesting
      Running RedHat on a desktop is like running a rackmount as a desktop.

      It can be done, but it's awkard.

      Try SuSE, you get a good desktop and (gasp) consistent config tools in one place. Or try Mandrake, you get the latest desktop and good config tools. Or try Debian, you get an ultra-stable system that can be easily upgraded. Or try Gentoo, you get a faster system on the bleeding edge.

      Just use a real KDE 3.1 on a non-RedHat distribution and you will never look back at MS Windows.

    13. Re:explanation needed, please by rseuhs · · Score: 1
      I'd wait until Red Hat Linux 8.1 comes out. It'll include the latest releases of GNOME, KDE, and XFree86.

      Why wait?

      Why not just install KDE 3.1 which is available easily for every major non-RedHat distribution?

      RedHat's decision to crippl^W make BlueCurve was stupid which is proven by the absence of official KDE3.1 packages for RedHat.

      Seems like RedHat has finally become the Microsoft in the Linux world. Everybody is waiting for them to get their act together.

    14. Re:explanation needed, please by jbolden · · Score: 2, Insightful

      If you think about moving a window in terms of drawing dots on the screen you quickly realize it is rather complicated. Lines need to get shifted over, other windows need to know they can no longer certain areas of the screen. Background stuff needs to get redrawn which often means that windows need to be called to redraw.

      Old fashioned managers handled this by simply giving you an outline of the window you were moving and then doing a full screen redraw. The newer system (say the last 10 years) has been to actually do this real time with dozens of small redraws. This is very CPU intesnive. Further there is an accurate measuring device (the human eye) which notices lacks of performance very quickly.

      On a single tasking machine where the computer could dedicate itself to doing this task this still wouldn't present a problem. On a modern OS with dozens of processes running doing things like the above is a scheduling nightmare. A very complicated scheduling system is out because the scheduling system needs to run so many times a second. The result is you need to think of cool tricks to make this work.

      The cool trick that windows thought of was using the notion of "forground" and "background" to and thus giving certain apps a massive CPU advantage while others got little if any attention except when the CPU wasn't busy. The problem with that is that it forces the user to either:

      a) Have extremely unreliable background processes (default for windows NT/2000/XP desktop)

      b) Have an unresponsibe desktop (default for the NT/2000.. server)

      More importanly this forground/background solution doesn't solve the problem of competing demons which are having other types of CPU problems.

      So Linux long ago rejected this cool trick and there is no notion of "forground" and "background". They were going to handle the problem right or not at all. Now with tuning you can make this particular X related problem go away but only at the cost of introducing other problems, and more importanly all you are really doing is covering the symptom of the disease not curing the diesase. The kernel group has figured out a general solution which improves scheduling for all applications without substantially increasing the complexity of the scheduler.

      Unlike many kernel improvements this one will have substantial impact on desktop performance right out of the box when distributions start shipping with the 2.6 series which is why people are excited.

    15. Re:explanation needed, please by scotch · · Score: 1
      90% of slashdot readers are karma whores or trolls

      Or OS X users =)

      Or, judging from the score of your posts and your .sig, both Karma Whores AND Trolls. ;)

      --
      XML causes global warming.
    16. Re:explanation needed, please by drinkypoo · · Score: 2, Interesting

      But graphics are in the kernel, at least, in the kernel space. Windows NT does this to minimize context switches because graphics demand the most of the computer (for mose users.) While the driver is a loadable module like most drivers these days, and as such is not built into the kernel, it might as well be, since it runs in the kernel's memory space.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    17. Re:explanation needed, please by xenocide2 · · Score: 1

      Its important to remember that addressing concerns of interactivity during high loads actually reduces performance. The situation being addressed is not several interactive tasks on a slow system (for which I assume that there's no real solution other than faster hardware). The tesing conditions are XMMS or xine while building something with make.

      Another fact to consider is that linux is a multiuser OS. You probably don't want your research compiles slowed down because some jackass is running a hacked up mozilla over remote X. Or consider two computational physics research projects running on the same department mainframe.

      There are other reasons against static assignment of interactivity boosts, like degraded overall performance, imperfect information, and an innacturate definition of interactivity.

      --
      I Browse at +4 Flamebait

      Open Source Sysadmin

    18. Re:explanation needed, please by jbolden · · Score: 1

      Yes that kind of system is exactly what you want when you have lots and lots of apps that need different kinds of resources.
      Z-OS and to a limited extent VMS have this; but no one puts in this in place for PCs. The number of apps being run at any given time just isn't large enough. The app based system works really well for batch processing (for example: if the system has little I/O but lots of CPU it fires up CPU intensive I/O light apps) but isn't good for destktop or small server.

    19. Re:explanation needed, please by defile · · Score: 1

      It's interesting to note that Windows, having always been a GUI environment, has always tried to boost interactive applications automatically. Linux, on the other hand, has traditionally been used on servers, and it requires manual adjustment for interactive applications (using the "nice" command, for instance). This patch could make GUI applications on Linux just as responsive as Windows without sacrificing its role on the server. Of course, that remains to be seen.

      Since many userland issues penetrate the NT kernel, it is able to say things like "Give priority boost to the process that has the currently focused window". It's really freaking ugly, but it allows Windows to "cheat" to good effect.

      By design, the Linux kernel does not have this information, nor should it (since it has more than one rendering system, window manager, etc.) The scheduler improvement patches (I think) attempt to determine what process is interactive by its behavior, and distributes priority points accordingly.

      Note to others, this does not mean batch process throughput will be sacrificed. Both of these areas can be improved without harming the other. The patches address latency. It takes minimal CPU time to move a mouse pointer, but the devil is in recognizing that this is an interactive process so it's more important to make it happen ahead of the 5 seconds worth of busy batch process work it has to do.

    20. Re:explanation needed, please by dj_paulgibbs · · Score: 1

      I will look into SuSE, Debian or Gentoo then. But is not Debian more "hardcore", as it were?

    21. Re:explanation needed, please by vocaro · · Score: 1
      Why not just install KDE 3.1 which is available easily for every major non-RedHat distribution?

      Because he's a first-time Linux user. Compiling and installing the dozen or so KDE packages is not a task I would recommend to a Linux newbie. He would also have to compile XFree86 and GNOME, both of which have had major updates since Red Hat 8.0. Are you suggesting he should compile and install them, too, plus the kernel and all of the other updated packages that will be included in 8.1? I don't think we want to torture this guy. The idea is to show him that Linux can be just as easy to use as Windows.

      RedHat's decision to crippl^W make BlueCurve was stupid which is proven by the absence of official KDE3.1 packages for RedHat.

      Dude, if you're gonna troll, at least do it right. ^W=end of transmisttion block, ^H=backspace

      No matter what you think about the politics of Bluecurve, I think we can all agree it improves the out-of-box experience for new Linux users like our friend dj_paulgibbs.

    22. Re:explanation needed, please by vocaro · · Score: 1
      Since many userland issues penetrate the NT kernel, it is able to say things like "Give priority boost to the process that has the currently focused window". It's really freaking ugly, but it allows Windows to "cheat" to good effect.

      Yes, I was surprised when I heard that Microsoft was moving GDI into the kernel. (NT 4.0, I think it was.) It doesn't seem like a good idea in theory, but it seems to have worked in practice, probably because GDI was so mature at the time (and still is) that they had all the bugs ironed out. Turth is, I've never heard of it being the source of problems in NT.

      By design, the Linux kernel does not have this information, nor should it (since it has more than one rendering system, window manager, etc.)

      Why not? If some additional data on mouse and keyboard events could help the Linux scheduler, it seems reasonable that there could be some standard method of communication between the input subsystem and the kernel. I don't think the window managers and rendering systems would have to be changed because they don't handle input events. Only the X subsystem that handles the mouse and keyboard would need to be modified. But IANA kernel hacker, so I'm just shooting in the dark here.

    23. Re:explanation needed, please by PurpleBob · · Score: 1

      ^W means "delete word" in many forms of text input. Would you prefer seeing ^H^H^H^H^H^H?

      --
      Win dain a lotica, en vai tu ri silota
    24. Re:explanation needed, please by Anonymous Coward · · Score: 0

      I've seen the GDI layer cause problems on windows 2000 - actually, with Microsoft's own "2002" edition applications, which are heavy on the pointless eye-candy to go with Windows XP,I suppose.

      Doubtless they didn't bother fixing occasional GDI problems on Win2K to encourage people onto XP, just like they never removed the 128kB limit in the Win98 drawing layer.

    25. Re:explanation needed, please by r3jjs · · Score: 1

      Dude, if you're gonna troll, at least do it right. ^W=end of transmisttion block, ^H=backspace

      Unless you are using BASH, in which case ^W removes a word.

    26. Re:explanation needed, please by rseuhs · · Score: 1
      Because he's a first-time Linux user. Compiling and installing the dozen or so KDE packages is not a task I would recommend to a Linux newbie.

      Goddamn, that was my point.

      KDE 3.1 is available for all non-RedHat distros in nice easily installable binary package. Only RedHat users have to compile.

      I don't think we want to torture this guy. The idea is to show him that Linux can be just as easy to use as Windows.

      Exactly. And RedHat can't accomplish that. He will have to mess with different configuration tools in different places and that sucks. (Or can I set IP-adresses, screen resolution, firewall settings, desktop colors and wallpaper in the same config center in RedHat?)

      RedHat is confusing and with Bluecurve it's also lagging behind and inconsistent.

      No matter what you think about the politics of Bluecurve, I think we can all agree it improves the out-of-box experience for new Linux users like our friend dj_paulgibbs.

      No we can't.

      Bluecurve is crippled, it is inconsistent with all other distros, causes RedHat to lag behind in availability of packages and makes bugreports from RedHat users worthless. Since when do we cheer up unecessary forks? Just because RedHat does it, it's all of the sudden a good idea?

      Just look at SuSE how to make a fine consistent desktop with consistent configuration in one place (in the KDE control center you can set everything from colors to IP-adresses). Debian is as inconsistent as RedHat but has other advantages (apt-get), so does Gentoo.

      RedHat is a nice server but it is a crappy desktop. *ALL* the prejudices that I hear like inconsistent configuration, crappy localization, difficult to update packages (on RedHat you do have to compile KDE 3.1 on no other major distro you have to do that!) come from RedHat.

      RedHat is not ready for the desktop, Linux is.

    27. Re:explanation needed, please by benjamindees · · Score: 1

      Yes, it is. The install is still rather complicated and stupid desktop tasks like configuring printers are not intuitive. This is a tradeoff, however, because Debian is by far the most flexible Linux distro and probably always will be, which is why I use it as my desktop. It is definitely not for someone who knows nothing about Linux and wants to replace Windows. You really should consider Mandrake, despite their financial difficulties.

      --
      "I assumed blithely that there were no elves out there in the darkness"
    28. Re:explanation needed, please by rseuhs · · Score: 1
      On the desktop, SuSE, debian and Gentoo all have advantages and disadvantages.

      SuSE has easy install, great consitency, great localization and good hardware detection.

      debian is certainly the best tested distro out there and comes with apt-get, a very good and comfortable update mechanism. Install isn't that comfortable though.

      Gentoo is a bleeding-edge distro and will run faster if you optimize compiler settings. Installation takes a long time and stability might suffer, though.

      To summarize, all the above have advantages and disadvantages, while with RedHat you only get the disadvantages plus the RedHat-only disadvantages like no KDE3.1 packages, an inconsistent desktop that makes any support by 3rd parties impossible and sometimes a broken toolchain.

      My tip: Just use any non-RedHat distribution with KDE 3.1

    29. Re:explanation needed, please by rwise2112 · · Score: 1

      It sounds like a good idea, but each application would gave to tell the system accurately what it needs. This is easily abused, and I can image a lot of coders giving their applications top priority to make them appear to be faster/more responsive than competing software.

      --

      "For every expert, there is an equal and opposite expert"
    30. Re:explanation needed, please by jtdubs · · Score: 1

      I'm using OS X... :-)

      Justin Dubs

    31. Re:explanation needed, please by vocaro · · Score: 1
      Goddamn, that was my point. KDE 3.1 is available for all non-RedHat distros in nice easily installable binary package. Only RedHat users have to compile.

      I think you're misinformed. The KDE 3.1 packages for Red Hat are here. Besides, isn't it possible that this guy might prefer GNOME over KDE, or is GNOME also "crippled"? Actually, I shouldn't have said that. This is just going to turn into another off-topic flame-fest. Regardless, I don't understand why you insist he run KDE. I'd prefer he make that choice for himself.

      He will have to mess with different configuration tools in different places and that sucks. (Or can I set IP-adresses, screen resolution, firewall settings, desktop colors and wallpaper in the same config center in RedHat?)

      Have you actually tried Red Hat Linux? You can find all the configuration options on the start menu. For instance, to change the desktop background, click start menu, Preferences, Background. To change the screen fonts, click start menu, Preferences, Fonts. Seems pretty easy and consistent to me. If you want all of the options within one application, you can run GNOME Control Center, also available in the Preferences menu. I believe Bluecurve has the same control center option in KDE, but if not, it seems like a pretty silly reason to throw out Red Hat. Are you saying the whole distro is worthless because the system settings are in the start menu instead of a control center? (Rhetorical question; I think I already know your answer.)

      it is inconsistent with all other distros

      Since when do all desktops have to be identical to each other? Lindows and Lycoris also run heavily modified versions of KDE; are they trash, too?

      causes RedHat to lag behind in availability of packages

      Lag behind? They come out with a new release every six months, and if that's not enough, you can get the unstable packages here.

      and makes bugreports from RedHat users worthless

      I don't see why. The configuration of the desktop is different, but the code is same. For instance, Red Hat did not re-write the KDE CD Player for Bluecurve. When a Red Hat user finds a bug in kscd, the bug will be in all other distributions, as well.

      Since when do we cheer up unecessary forks?

      Bluecurve is not a fork; it's a repackaging. What Red Hat has done with KDE is similar to what Galeon has done with Mozilla, or what Apple's Safari has done with Konqueror. They've added code and changed the look a lot, but the foundation is still there. Or does this mean you think Safari is crap, too? It sounds like you think it's okay for others to modify KDE, but Red Hat can't.

      Debian is as inconsistent as RedHat but has other advantages (apt-get)

      Hmm. You complained about Red Hat lagging behind in package availability, but from what I hear, Debian is far worse. How long did it take Debian to come out with KDE 3.0 packages?

      so does Gentoo.

      Gentoo!? I thought we were talking about distros for newbies.

      *ALL* the prejudices that I hear...

      That you "hear"? Don't judge a distro until you've actually tried it.

      on RedHat you do have to compile KDE 3.1 on no other major distro you have to do that!

      This is simply not true. You can get them from the Rawhide links I posted above, or you can get them here. Just because you can't get them from kde.org doesn't mean you have to compile them yourself.

      RedHat is not ready for the desktop, Linux is.

      Well, to each his own. I can see why KDE purists might have a problem with Red Hat Linux, but for Linux newbies, it's one of the better distros out there. I think dj_paulgibbs should try several different distros and pick the one he likes best, not the one that has "pure KDE".

    32. Re:explanation needed, please by Anonymous Coward · · Score: 0

      Jeepers will you all cut it out already. Let the man try Redhat, and let him hear about the alternatives: here here here here and here.

      Ten'll get you one he'll eventually be installing this distro with a 2.6 kernel and either Redhat or Debian based, and he won't give a rat's ass about all this trash you're talking.

      We now return you to your regularily schedualled flamewar...

    33. Re:explanation needed, please by Lobo93 · · Score: 1

      Red Hat slow?
      Just run a patched vanilla-kernel of your choice, compile kde with konstruct, and your set! I for one like the distro, it has a bunch of handy features and the rpm's aren't that akward to use. Yeah, I've tried Debian and loved apt, but the rest of it seems rather, eh, conservative. I need to run bleeding edge software, and RH seems to do a fine job of being the framework. Gentoo would suffice, you say? Well, maybe it will; at the moment RH rocks my boxen...

      --
      "The only clear view is from atop the mountain of our dead selves." - Peter Carroll
    34. Re:explanation needed, please by DavittJPotter · · Score: 1

      My only major complaint with SuSE is the lack of a downloadable current version in ISO form. You can install via FTP, or copy the install tree to a local server. You can DL the eval to boot from the CD, but not an ISO. Kinda frustrating.

      Why is it in vogue to slam RedHat? RedHat 8.0 (Psyche) has a beautiful, consistent, eye-pleasing desktop that was easy to install, easy to configure, and easy to get running quickly.

      My Athlon 1500XP+ w/ 512MB and a GeForce3 Ti500 (dual boot XP and RedHat 8) runs very well once I downloaded the NVidia drivers. You have to get the latest Detonator drivers for the Windows side as well, so I don't see this as a failing of RH or Linux in general.

      My Windows side does feel faster, as far as interactivity. Hopefully this patch helps out a great deal.

      RedHat does a LOT for the Linux community, and it's RedHat that has name recognition with PHB's and Mom and Pop.

      Bah. I guess I'm defending my own choice here, as well, but I've tried Mandrake, SuSE, Debian, Gentoo, StormLinux, FreeBSD (3,4, and 5), and I keep coming back to RedHat... maybe because I'm comfortable with it, or because it just seems to have the best blend of features and speed that I'm looking for.

      --
      "If there's hope, it lies in the proles..."
    35. Re:explanation needed, please by rseuhs · · Score: 1
      I think you're misinformed. The KDE 3.1 packages for Red Hat are here [redhat.com].

      They sure weren't available at launch and AFAIK those packages are the same "inofficial" packages that were floating around a week ago or so.

      I wonder if RedHat even bothered to test them, I mean they have fired their only KDE-contributor - who is actually in charge of KDE at RedHat?

      Besides, isn't it possible that this guy might prefer GNOME over KDE, or is GNOME also "crippled"?

      If he prefers a desktop with bad configurability, a confusing registry-like system, a cultivated mish-mash of newer and older code and a flush of "yeah, this will be implemented soon" and "with Mono/.NET everything will be better" marketing driven promises he might as well stay at Windows.

      GNOME looked quite OK at version 1.4 (actually I preferred the look over KDE although the functionality wasn't at the same level), but version 2 and above is definitely a step back and only barely better than the Windows GUI which is probably the most primitive GUI out there.

      If they wanted to emulate Windows, the GNOME team forgot that people use Windows because of Win32 compatibility and not because of their GUI.

      But, OK, that's just MO.

      You can find all the configuration options on the start menu. For instance, to change the desktop background, click start menu, Preferences, Background. To change the screen fonts, click start menu, Preferences, Fonts. Seems pretty easy and consistent to me. If you want all of the options within one application, you can run GNOME Control Center, also available in the Preferences menu.

      So you declare the startmenu as the control-center and think all problems are adressed?

      Are you saying the whole distro is worthless because the system settings are in the start menu instead of a control center?

      No, I don't say that. I say that this is a minor flaw that contributes together with alot of other minor and major flaws and the complete lack of any advantage over other distros to the worthlessness of RedHat.

      Yeah, debian is a bit outdated (but this time they got KDE3.1 packages right at the release) but you get something in return (apt-get and extreme stability), so it's a tradeoff and it depends wether it's the right distro for you or not. But with KDE3.1 debian packages on time, I don't see them as that outdated anymore on the desktop side.

      I don't see anything special about RedHat that would make up their flaws, though.

      I don't see why. The configuration of the desktop is different, but the code is same. For instance, Red Hat did not re-write the KDE CD Player for Bluecurve. When a Red Hat user finds a bug in kscd, the bug will be in all other distributions, as well.

      and:

      Bluecurve is not a fork; it's a repackaging. What Red Hat has done with KDE is similar to what Galeon has done with Mozilla, or what Apple's Safari has done with Konqueror.

      According to your logic, Safari users could send bugreports right to the KDE-team.

      But of course you know very well that that is nonsense. But in the case of Safari it's not a problem because nobody would confuse Safari with Konqueror. If RedHat would call their stuff RDE instead of KDE, it wouldn't be a problem either.

      You can get them from the Rawhide links I posted above, or you can get them here [sourceforge.net]. Just because you can't get them from kde.org doesn't mean you have to compile them yourself.

      So you have to rely on a bunch of people to do what is the job of the distributor? The KDE team cooperates with distributors and delay the release announcement for about a week so that distributors have enough time to create and test their packages. Every major distributor did that except one.

      This loyality really ticks me off. If SuSE would do something like that (like not providing official packages for a big KDE release in a timely manner), I would say "screw them" and switch to someone else.

    36. Re:explanation needed, please by vocaro · · Score: 1
      I wonder if RedHat even bothered to test them, I mean they have fired their only KDE-contributor - who is actually in charge of KDE at RedHat?

      I think Bernhard Rosenkraenzer (sp?) was a KDE packager, not a contributor. And he wasn't fired; he quit. Than Ngo's handling the KDE builds now.

      GNOME looked quite OK at version 1.4 (actually I preferred the look over KDE although the functionality wasn't at the same level), but version 2 and above is definitely a step back and only barely better than the Windows GUI which is probably the most primitive GUI out there.

      I was kind of the opposite. I thought GNOME 1.4 sucked compared to KDE 2.x, so I've continued to use KDE. (3.1 is now on my Red Hat laptop.) But now that GTK+ has anti-aliased fonts and GNOME 2.2 has that nifty Wi-Fi applet, I'm thinking about switching over to GNOME. They sure need to do something about that GTK+ file dialog, though. Man, what a piece of junk.

      So you declare the startmenu as the control-center and think all problems are adressed?

      No, I thought you would. I got the impression that you felt it was the biggest problem with Red Hat Linux. You were throwing out the baby with the bathwater, so I addressed it.

      According to your logic, Safari users could send bugreports right to the KDE-team.

      Yes, it was my understanding that Safari and Konqueror both use KHTML as the rendering engine. If a page doesn't render properly in Safari, then it also doesn't render properly in Konqueror. Maybe I was wrong -- bad example. But I think my point about Bluecurve still stands.

      So you have to rely on a bunch of people to do what is the job of the distributor?

      Huh? I don't expect them to do anything for me because I get everything from them for free! I download new Red Hat ISOs every six months at no charge. Or do you expect them to do what you want without giving them a nickel? No wonder you're all "ticked off". C'mon, beggars can't be choosers! Besides, even if you were paying them, Red Hat still can't include every package you want exactly the way you want it. They don't even have to provide KDE at all if they don't want to. For instance, rdiff-backup is a program I can't live with out, and it's not included in Red Hat. But I'm not going to quit using Red Hat just for that reason, since I can download the RPM here. The bottom line is, KDE 3.1 binaries are available from Red Hat, and if you don't like the way they've packaged them, you can still get the "pure" versions from that site I mentioned.

      This loyality really ticks me off.

      It's not loyalty; it's inertia. ;) I've been using Red Hat Linux since 5.2, and the reasons to switch aren't compelling enough for me. It's just easier to go with what you know.

      I would say "screw them" and switch to someone else.

      Hey, that's perfectly fine by me! Use whatever distro you want. But like I said, I thought we were talking about what Linux newbies should use, not what you should use. I don't see why those folks would care whether KDE 3.1 was a few weeks late.

    37. Re:explanation needed, please by Hard_Code · · Score: 2, Informative
      So, with this new code, processes which are "interactive" like your X11 apps get more of the cycles they need when they need them, decreasing their latency, and making them appear to work "better."
      Actually, as I understood it (which may very well be incorrectly), since X is "waking up" the applications it is X that is getting the overflowed "interactivity" and that this is a better solution than to just brute force "nice -10" X (because forcing it into a higher priority makes it look like a cpu-bound batch process, which the scheduler then increases the latency in tradeoff for throughput). Hair splitting I know.
      --

      It's 10 PM. Do you know if you're un-American?
    38. Re:explanation needed, please by Hard_Code · · Score: 1

      Why the hell should a video driver NOT be in the kernel? It's a driver, just like for any other hardware. The GUI proper is another issue, but I certainly think that it is reasonable to put the driver at least in the kernel (and actually for single-user desktops I would love to be able to put the GUI in the kernel, I thumb my nose at you ;). Anyway, won't moving the X driver in the kernel allow X to sleep on driver calls, leading to better latency and throughput?

      I sort of distate a lot of the comments that go like:

      1) Users demand N
      2) Microsoft delivers N
      3) BUT WAIT N is theoretically "inelegant" therefore Linux is better, case closed

      Face it: a GUI IS as critical as the "kernel" to the average computer user. The GUI crashing and the kernel crashing are indistinguishable from the desktop point of view.

      --

      It's 10 PM. Do you know if you're un-American?
    39. Re:explanation needed, please by Daengbo · · Score: 0, Flamebait

      How do rate anything but "1, Abhorent, slimy, under the bridge troll?" Certainly, you are no "5, interesting."

    40. Re:explanation needed, please by The+Bungi · · Score: 1

      Well cry me a fucking river.

    41. Re:explanation needed, please by drinkypoo · · Score: 1
      The user did not demand the video driver in the kernel, the user demanded a responsive desktop, and microsoft's method for delivering it was putting the video driver in the kernel space.

      The GUI is nowhere near as critical as the kernel to any computer user, and this is becoming more true as time goes by, not less. More and more software is running in the background on desktop systems on a regular basis as people use their home computers to provide (limited) services to other computers, including "connection sharing" (masquerading.)

      Microsoft should have gone more microkernel over time rather than less as they have done. Instead, we got the video driver moved into the kernel space for speed, resulting in a less stable OS.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  28. Jumpy by jaavaaguru · · Score: 1

    I find some things jump a little (e.g. dragging windows around) at the moment (RH8, Athlon MP 1600, GeForce 2) in X.

    On a 475MHz laptop with ATi Rage Pro video, it runs just as smooth as XP does (they both jump a bit when dragging windows around).

    I know this shouldn't happen on the fast PC though. I must have something set up wrongly. Maybe the latest kernel will make it less noticeable though :-)

    1. Re:Jumpy by Anonymous Coward · · Score: 0

      It's based on video acceleration, toolkit used (GTK/QT), etc. It may be the GF2 drivers. nVidia was working on improving their 2D performance, while there 3D performance was pretty good.

      On a Kyro board, the only time I have any jumping is with Mozilla's sluggish code. If I move a resized window, it jumps a bit more. All other GTk apps are really fast. It could be that Mozilla is still using old GTK libs though, where Gnome 2 uses GTK+2.

      The kernel probably won't make a substantial improvement to a properly configured X desktop with XV overlay support, as well as support for other extensions.

    2. Re:Jumpy by jaavaaguru · · Score: 1

      The fact that X's process size is 287M when I only have 256mb RAM can't help much either. I know most of that's probably swapped out, but still, it's a large process.

    3. Re:Jumpy by Anonymous Coward · · Score: 0

      Do you have it set to redraw the window every time you drag it? That's kinda wasteful... I just set it so you drag an outline/frame of a window, and it doesn't redraw until you let go of the mouse.

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

      That includes shared memory from other processes and memory mapped from your video card.

      Mine shows up as 27MB. I've got a 16MB video card and a bunch of mozilla windows running.

    5. Re:Jumpy by platypus · · Score: 1

      The fact that X's process size is 287M when I only have 256mb RAM can't help much either. I know most of that's probably swapped out, but still, it's a large process.

      This is a common misconception (and probably a FAQ somewhere). The number includes the memory of your graphics board, and other mmapped memory regions.

    6. Re:Jumpy by trocade · · Score: 1

      The Nvidia drivers 4194(something 41 anyway). Made my system slower, so I'm back using 3123 instead.

    7. Re:Jumpy by jaavaaguru · · Score: 1

      My graphics card is 32mb, so it's still a lot of mapped memory, etc.

  29. No no no! by Anonymous Coward · · Score: 5, Funny

    It's:

    My name is Ingo Molnar. You kill -9'd my parent process. Prepare to die()

  30. Re:What will come first? by Anonymous Coward · · Score: 0

    or duke nukem forever?

  31. Re:FINALLY! Thank you! by Anonymous Coward · · Score: 0

    he just can't load those go.te.se pages fast in linux like he can in windows

  32. Re:FINALLY! Thank you! by einhverfr · · Score: 1

    I cannot tell you how long I've been waiting for something like this. As an avid Microsoft fan, one of my biggest beefs was the inferior performance of the Linux GUI and its components. Although I will learn the console eventually, I will still probably use the GUI as my cheif method of computing since I find it very fast and efficient. Maybee this will finally blur the line between OS's enough to get more people to switch over./i.

    One should remember that X was engineered for flexibility and extensibility rather than speed. So the kernel may make some things better, but it is probably not a major bottleneck in many applications.

    Most home-users do not use the advanced features of X (such as XDM, and serving out the display over a network), so I think that one of the things that is necessary is the development of a GNOME suite over framebuffer, which would provide even better performance at the cost of stability. Since GNOME could also work on top of X, we could have a truly extensible environment that could suit home users and corporate users (who may use X).

    --

    LedgerSMB: Open source Accounting/ERP
  33. You Thieves! by borg · · Score: 4, Funny

    Stop stealing that intellectual property from SCO already. Have you no shame? The gig is up: there's no way you could keep putting this stuff out without ripping off the hard working SCO programmers.

    --
    Fermat's other theorem: "I have a simple proof, but I can't write it down as I fear it's a DMCA violation to discuss it"
  34. Doesn't work for me by Anonymous Coward · · Score: 3, Interesting

    Except that doesn't work if the X app is being displayed locally but run remotely. Or at least it doesn't seem to.

    Well, okay. Look. I just opened up my X server here on my mac os X box, sshed with X tunneling to my university's Solaris box, opened up xchat, selected some text, and attempted to paste it into a nearby xterm. Oh, hey, guess what, didn't work. I tried what you said. I selected some text, i clicked on the xterm, i tried middle-clicking and right-clicking. Nothing there. Care to tell me what i'm doing wrong?

    Anyway, the whole select-to-copy thing is HORRIBLE GUI design. What if you want to select something in order to edit it without *blowing away* the clipboard? What if your hand slips and you select a couple letters of text by accident before you can paste something important into its destination? I, personally, have intense problems with the copy-paste thing because at some point i picked up the stupid habit of often scrolling by selecting text and dragging off the edge of the window, which will obliterate the textboard. And, worst of all, there's that nagging little question: let's say i'm editing a file, and i want to select some text in the part of the document i'm editing, "cut" it, scoll up to the top of the document, delete part of a paragraph, write a couple lines, and then paste what i just cut. What X's copy/paste means is that i must select the text i want to move to copy (making sure not to delete it yet, becuase it would be too easy to accidentally select text and copy over what i've written, losing it forever), scroll up, click where i want it to go, paste, and then delete and rewrite the text around it, scroll back down, and then delete the text i copied. Yeah, way to go on making the interface fit the needs of the user. Dammit.

    And then there's the fact that, still, mostly due to the broken silliness of X copy&paste, most applications don't quite work the same, becuase they've all fucking implemented the clipboard in nonstandard ways because those unstandard ways are "better". Which they are, unless for some silly reason you want to copy and paste between applications. We've got the "clipboard" and the "cut buffer" and i don't know what either means, and lately some GNOME apps and such have taken to signing up with a sane (i.e., "copy" and "paste" are commands, and as such require a menu use or a key combination). And then vim has like its ten little internal clipboards, and emacs has some clipboard system i don't even pretend to know the first thing about, and i mostly use vim as my text editor in unix. And none of these apps i've ever seen give the option of choosing which copy/paste behavior you want: i mean, none of them will give you a nice little preference that says "select to copy" vs "select 'copy' from menu to copy" vs "have ten little internal cycling cut buffers with some arcane method of manipulation". And i still don't know how copy/paste within vim is supposed to interact with other X apps. I'd test it right now, but for some reason still unknown to me, i can't get gvim to run over my ssh-tunneling setup. When i try, it says:

    X11 connection rejected because of wrong authentication.
    XIO: fatal IO error 32 (Broken pipe) on X server "localhost:13.0"
    after 0 requests (0 known processed) with 0 events remaining.
    The connection was probably broken by a server shutdown or KillClient.


    Maybe it doesn't like my MIT magic cookies, or something? But I digress. Face it. Copy and paste is still the most broken thing about X, and that's saying a lot. And maybe i'm just dense, but i still can't figure out how to change my X keyboard mapping on these silly Solaris boxes.

    -- super ugly ultraman

    1. Re:Doesn't work for me by Anonymous Coward · · Score: 0

      I thought someone made a clipboard program to integrate with X that you could highlight/right click/save to clipboard and then it saved objects in cells so you could paste with (for instance) ctrl+1+v (that would paste the first copied/cut cell in any program). Worked over the network IIRC. There's probably an abandoned sourceforge page somewhere.

    2. Re:Doesn't work for me by BitHive · · Score: 1

      You see this? Are you looking? The parent post illustrates what is wrong w/ Linux GUI offerings right now. Someone wants a simple feature that other commercial offerings have had for years, and they are told to go look for an abandoned sourceforge page somewhere. Wonderful :)

    3. Re:Doesn't work for me by Jugalator · · Score: 1

      Wow, someone who actually have used X and noticed the copy & paste probs. After reading the replies, I see that Red Hat 8 might have fixed this problem somewhat (how and to what extent I don't know). But I fully agree with your remarks, and the several different clipboards illustrate the cons about the Linux mentality of standards which isn't always "less is more".

      --
      Beware: In C++, your friends can see your privates!
    4. Re:Doesn't work for me by Bert64 · · Score: 2, Insightful

      I dont know about the OSX Xserver, but displaying a copy of xchat from a solaris box to my linux or irix box works perfectly.
      Personally i very much like the way X11 and the linux console handles cut+paste, its perfect for me, fast and doesnt require me to keep jumping between the mouse and keyboard. Ofcourse it would be better if it was configureable to satisfy people such as yourself, and also for machines with 1 button mouse.. i have to use an old mac sometimes.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    5. Re:Doesn't work for me by Anonymous Coward · · Score: 0
      Well, okay. Look. I just opened up my X server here on my mac os X box, sshed with X tunneling to my university's Solaris box, opened up xchat, selected some text, and attempted to paste it into a nearby xterm. Oh, hey, guess what, didn't work.

      Don't tell me, let me guess: XFree-rootless on OS X.

      I can't wait until this comment gets rated as "offtopic", because it is. You're talking about suck-ass rootless X on OS X displaying ssh-tunneled X apps running on a Solaris box. THE ARTICLE WAS ABOUT SCHEDULER CHANGES IN LINUX IMPROVING PERFORMANCE FOR INTERACTIVE PROCESSES! What the hell can you contribute to this discussion? You've done nothing yet. You're bitching about not being able to copy-paste between X apps on OS X. Guess what? I have that problem too--on OS X. But we ain't talking about OS X. Jesus. This isn't rocket science.

      By the way, in case you've forgotten, Mac-child, it wasn't until recently that one could cut-and-paste between "native" and Classic apps on OS X. So much for Apple being ahead of the game, eh?

    6. Re:Doesn't work for me by Anonymous Coward · · Score: 0

      ...[I]t wasn't until recently that one could cut-and-paste between "native" and Classic apps on OS X.

      Bullshit. When I used Mac OS X 10.1.5, I was copying and pasting between Micrsoft Outlook (the Classic version) and Mac OS X apps.

    7. Re:Doesn't work for me by Anonymous Coward · · Score: 0

      > By the way, in case you've forgotten, Mac-child,
      > it wasn't until recently that one could cut-and
      > paste between "native" and Classic apps on OS X.
      > So much for Apple being ahead of the game, eh?

      However, one can argue that Apple:
      - acknowledged this as a bug
      - fixed the problem within a year or two,
      while, AFAIK, the powers that be in X Windows development (whoever they are) don't seem to have done even the first after over 15 years.

    8. Re:Doesn't work for me by ianezz · · Score: 2, Informative
      Someone wants a simple feature that other commercial offerings have had for years, and they are told to go look for an abandoned sourceforge page somewhere

      man xclipboard.

      It has been part of the standard X11 distribution (thus, also XFree86) for ages.

    9. Re:Doesn't work for me by nslu · · Score: 1

      middle-clicking on mac? are you sure your mouse has enough buttons? :) just kidding. Apple's X11 has some really screwed clipboard.

    10. Re:Doesn't work for me by Enahs · · Score: 1
      Ah, bullshit yourself; when I was using 10.1.5 I couldn't cut-and-paste between Mac OS X apps and important apps like QuarkXPress.

      I suppose it could have been a local problem, but I doubt it, because I was getting asked by other people in other offices if it worked for me, because it wasn't for them.

      --
      Stating on Slashdot that I like cheese since 1997.
    11. Re:Doesn't work for me by Anonymous Coward · · Score: 0

      Less is more, and until you've installed Minix somewhere and have to use more instead of less, you'll never understand just how good less is :)

  35. for all you... by Anonymous Coward · · Score: 5, Interesting

    bashing linux/x/kde/whatever speed, I'm willing to bet you've never doen a full build (ala Gentoo) and actually optimized it for your system...have you? KDE 3.1 is as fast or faster than windows XP on my 1ghz box...it took a while to build, but it's well worth it.

    1. Re:for all you... by WWE-TicK · · Score: 0

      > KDE 3.1 is as fast or faster than windows XP
      > on my 1ghz box...it took a while to build, but
      > it's well worth it.

      So what you're saying an end user needs to rebuild the entire system from scratch just so it'll perform as well as WinXP on the same box?

    2. Re:for all you... by qurk · · Score: 1

      Ya but it's a matter of taste and personal opinion. Show me the option to rebuild windows to my system with compiler optimazations for my system? Anyways you can compile most of your stuff in the background (even though it can take days on say a p2 300, but rarely more than an hour or two for big things on my p4 1.8) and also you get the newest stuff the day it comes out or soon, compared to some linux distros where you are at the mercy of the official distrobution (or Microsoft in the windows world) or when someone just feels like getting it together. Anyways it's all a matter of personal opinion, I mean most Linux people like X and responsiveness as much as windows, but with the preemptive patch I've noticed that mp3 playback can be choppy. Vanilla Kernal for 2.4.* is smooth with practically everything. I've never compiled the 2.5 branch yet, I prolly will in few months, to try it out. But ya if you feel like whoring out $250 ever couple years for the priviledge of running windows optimized for whatever yahoo's computer, feel free. If you give a crap, then compile everything on your computer :) But anyways the parent was stating an opinion, and personally, I think compiling everything from source is nice because you don't have to deal with whoever zipped up your program or packeged it our whatever with binaries didn't have a compatable computer as yours :)

    3. Re:for all you... by Plug · · Score: 2, Informative

      There have been tests run (I'm sorry that I don't have the links) that demonstrate a computer with an optimised kernel/libc6 and i386 everything else runs only about 10% slower than a computer with optimised everything.

      Gentoo, while a great idea, isn't _that_ much faster than other distributions once this fact is taken into account.

      Remember, 20% of the code is run 80% of the time, and you get your big performance increase by optimising that.

    4. Re:for all you... by mindriot · · Score: 1

      ...which is a valid argument, but please consider that winXP is _not_ optimized for your machine and would probably still be a bit faster than KDE if optimized. Note that I'm not trying to bash X/whatever - imho the high flexibility, network transparency etc. of X naturally has to come at some sort of a price.

    5. Re:for all you... by Anonymous Coward · · Score: 0

      Not really true, while Gentoo is faster than other distros, you can nail it down to two facts, usually since you ramp up the systems, you have less processes running, and you already run optimized for your processor. But you still run into the problem which is called X and I have both systems running on a box (with a CK kernel which helped things a lot), Windows still is more responsive.
      The inherent problem is X I think, it is time to move to a leaner solution port Qt and GTK to it and serve the rest from an X Server on top of that.

  36. The patch by Anonymous Coward · · Score: 2, Interesting

    Is here

    On Fri, 28 Feb 2003, Andrew Morton wrote:
    > >
    > > Andrew, if you drop this patch, your X desktop usability drops?
    >
    > hm, you're right. It's still really bad. I forgot that I was using distcc.
    >
    > And I also forgot that tbench starves everything else only on CONFIG_SMP=n.
    > That problem remains with us as well.

    Andrew, I always thought that the scheduler interactivity was bogus, since
    it didn't give any bonus to processes that _help_ interactive users
    (notably the X server, but it could be other things).

    To fix that, some people nice up their X servers, which has its own set of
    problems.

    How about something more like this (yeah, untested, but you get the idea):
    the person who wakes up an interactive task gets the interactivity bonus
    if the interactive task is already maxed out. I dunno how well this plays
    with the X server, but assuming most clients use UNIX domain sockets, the
    wake-ups _should_ be synchronous, so it should work well to say "waker
    gets bonus".

    This should result in:

    - if X ends up using all of its time to handle clients, obviously X will
    not count as interactive on its own. HOWEVER, if an xterm or something
    gets an X event, the fact that the xterm has been idle means that _it_
    gets a interactivity boost at wakeup.

    - after a few such boosts (or assuming lots of idleness of xterm), the
    process that caused the wakeup (ie the X server) will get the
    "extraneous interactivity".

    This all depends on whether the unix domain socket code runs in bottom
    half or process context. If it runs in bottom half context we're screwed,
    I haven't checked.

    Does this make any difference for you? I don't know what your load test
    is, and considering that my regular desktop has 4 fast CPU's I doubt I can
    see the effect very clearly anyway ("Awww, poor Linus!")

    NOTE! This doesn't help a "chain" of interactive helpers. It could be
    extended to that, by just allowing the waker to "steal" interactivity
    points from a sleeping process, but then we'd need to start being careful
    about fairness and in particular we'd have to disallow this for signal
    handling.

    Linus

    ----
    ===== kernel/sched.c 1.161 vs edited =====
    --- 1.161/kernel/sched.c Thu Feb 20 20:33:52 2003
    +++ edited/kernel/sched.c Wed Mar 5 19:09:45 2003
    @@ -337,8 +337,15 @@
    * boost gets as well.
    */
    p->sleep_avg += sleep_time;
    - if (p->sleep_avg > MAX_SLEEP_AVG)
    + if (p->sleep_avg > MAX_SLEEP_AVG) {
    + int ticks = p->sleep_avg - MAX_SLEEP_AVG + current->sleep_avg;
    p->sleep_avg = MAX_SLEEP_AVG;
    + if (ticks > MAX_SLEEP_AVG)
    + ticks = MAX_SLEEP_AVG;
    + if (!in_interrupt())
    + current->sleep_avg = ticks;
    + }
    +
    p->prio = effective_prio(p);
    }
    enqueue_task(p, array);

  37. How about copy - replace by Booyakka+Joe · · Score: 1

    In X or CLI with mouse, how do you do a highlight - copy - highlight - replace?
    This has been a aggravation to me since I got my first linux box running, and would have been usefull in this post when I pasted in aggravation from Kdict next to aggrivation then had to ctrl-arrowkey backspace.

    A link to a page with these type of operations would be most handy.

    --
    This is where I keep my clever quotes "" Yup I only got a pair, so I better not waste em!
    1. Re:How about copy - replace by unapersson · · Score: 1

      Select text to copy
      Ctrl-C
      Select text to replace
      Ctrl-V

      I actually much prefer X's copy/paste to anything else I've ever used. I find being able to do the entire operation with the mouse very useful, i.e. select URL in text file, middle click in Mozilla window to load URL.

      I also regularly do this when working with text:
      1) select with mouse
      2) Ctrl-C to copy some text to clipboard
      3) Use Ctrl-V to paste text copied to clipboard
      4) Use mouse to copy and middle button to paste selection
      5) Use Ctrl-V to paste text copied to clipboard

      You just have to remember a selection isn't really something in a clipboard. It's more like creating a communication between two applications. You flag the message you want to pass with the mouse a
      nd then middle click in the receiving application to give it the message.

    2. Re:How about copy - replace by Anonymous Coward · · Score: 0

      Are you a troll or what?
      ctrl+c
      highlight
      ctrl+v

      Please stop your stupid fud...

    3. Re:How about copy - replace by Booyakka+Joe · · Score: 1

      Ahh, I always figured the Ctrl+C & Ctrl+V was the window managers clipboard.
      I certainly didn't know that highlighted text isn't really pasted from a clipboard with the middle mouse button.

      Thanks unapersson!

      I'd still like to find a X shortcuts & tricks page(window manager independant)if anyone has a link or two handy.

      --
      This is where I keep my clever quotes "" Yup I only got a pair, so I better not waste em!
  38. Re:a desktop user's dream come true? by yomegaman · · Score: 1

    Wow, you can cut and paste text? I assume that preserves all font/style/size information, right? What if there's a graphic embedded in the text, does that come along for the ride?

    --
    ...wearing a skin-tight topless leather jumpsuit, with cutaway buttocks and transparent crotch panel.
  39. There was a time .... by codepunk · · Score: 5, Informative

    There was a time when idiots did not walk the earth.

    Linux still screams, I have a single server with two gig's of ram in it that runs 100 desktops (KDE) simultaneously. Yes it indeed takes alot of ram to run all of the new software. But for a machine that runs 2200 processes that is a impressive feat. It is a dual processor box and I have yet to see it reach over 30% processor utilization, a testament to the efficency of the kernel.

    Software today requires a ton of ram, this has nothing to do with efficency of the linux kernel.

    Along with this goes the idiots that think there is something wrong with X. I run this stuff in a corporate environment and X windows is linux's biggest strength. Remove X Windows and I would have to eliminate our corporate use of Linux.

    --


    Got Code?
    1. Re:There was a time .... by n3m6 · · Score: 1

      very well said. that is something i've been waiting to say for so long.

      i bow to u

    2. Re:There was a time .... by Covener · · Score: 1

      Linux still screams, I have a single server with two gig's of ram in it that runs 100 desktops (KDE) simultaneously. Yes it indeed takes alot of ram to run all of the new software. But for a machine that runs 2200 processes that is a impressive feat. It is a dual processor box and I have yet to see it reach over 30% processor utilization, a testament to the efficency of the kernel.

      Software today requires a ton of ram, this has nothing to do with efficency of the linux kernel.

      Along with this goes the idiots that think there is something wrong with X. I run this stuff in a corporate environment and X windows is linux's biggest strength. Remove X Windows and I would have to eliminate our corporate use of Linux.


      The smp box isn't running 100 X servers, I wouldn't really say it's germaine to the discussion of desktop linux. Noone is complaining about kwin or xterm being 'intrinsically' slow, just the scheduling of the X clients and servers together (which is a different problem when they're running on seperate machines).

    3. Re:There was a time .... by Anonymous Coward · · Score: 0

      Maybe if you had bothered to read the thread linked to the original post, you would realize that it IS the kernel's fault that X isn't as responsive as it should be. The reason is that X is given a regular daemon process priority by default. The kernel uses a round-robin style scheduling for these processes. Now since UI elements run on top of X (windows, mouse cursor, etc) they are also given this round-robin style scheduling, when they should be given priorty scheduling. So if another process is hogging CPU time (ie compiling) then the X process (hence UI elements too) will be waiting for CPU time and thus make the UI lock up. These new patches will fix this problem.

    4. Re:There was a time .... by Daengbo · · Score: 1
      Since this article is about a Linux kernel tweak, I find all the X stuff extremely off-topic, but I commend your attitude, and say that I would move to a BSD if network tranparency disappears. I wanted to say, virtually verbatim, what you said, but held my tongue until I could read the 20 or so screens of wailing about how X is too slow.
      I run only eight clients off of my single machine, but that is a lowly D850 with 256MB, and the only speed problems that I ever have are related to my clients using 10Mb half-duplex network cards.
      My question about the problem with X is this -- If X is so slow, and Linux sucks so bad, then why are the Winex guys getting better framerates for their games designed for Windows than they do in Windows itself?
      <sarcasm>How can they even make this silly claim? Don't they know that X is a useless piece of crap? I demand that they retract their statements about improved performance immediately.</sarcasm>
    5. Re:There was a time .... by kevquinn · · Score: 1
      I have yet to see it reach over 30% processor utilization, a testament to the efficency of the kernel.

      As I see it, the point of these scheduler patches is that 30% processor utilisation is in some sense a testament to the inefficiency of the kernel scheduling - perhaps the 30% means that it is spending 70% sleeping (i.e. waiting). One reason for the 30% processor utilitisation could be that many processes are sleeping, waiting for other stuff that has low priority. This is what the scheduler modifications are trying to attack - if enough interactive tasks are waiting on a non-interactive task, that non-interactive task gets a boost.

      If your processor utilitisation went up from 30% to (say) 60% as a result of these changes to the kernel scheduling, your users would see a marked improvement in responsiveness at their end. It could be argued that you should be able to see your server running at much higher usage, as otherwise you are wasting the investment in the server. For example, instead of a dual-processor machine at 30% load you could have had a cheaper single-processor machine at 60% load.

      Having said all that, in your case you are more likely to be network bound anyway, especially if you are really running 100 KDE X servers on your server machine, so it might be cheaper to put in a second network card, and put your 100 client machines on two subnets.

      BTW are you really running 100 instances of KDE on the server? Usually it's a lot more efficient to have cheap client PCs running KDE on their local X server, and take that load off the network server. Then the server only runs X clients, not X servers (except perhaps for the console desktop).

    6. Re:There was a time .... by Anonymous Coward · · Score: 0

      Because X server is beeing run on client PCs and the problem is with X server, this whole scenario is off topic but anaway...

      Having said all that, in your case you are more likely to be network bound anyway, especially if you are really running 100 KDE X servers on your server machine, so it might be cheaper to put in a second network card, and put your 100 client machines on two subnets.

      He propably has gigabit ethernet already, but otherwise if he wants to get more capasity cheaply (and don't want to split clients into separate subnets), he should have a switch supporting channel bonding and use several Base-100TX cards. He might also want to look at dxpc to compress network traffic.

      Usually it's a lot more efficient to have cheap client PCs running KDE on their local X server, and take that load off the network server. Then the server only runs X clients, not X servers (except perhaps for the console desktop)

      Umm... KDE is a X client. X server is the part that "serves" the picture to the user. KDE is simply a window manager. It is possible to run without one, but windows won't have borders/tittlebars, you can't resize or move them and so on...

      As there is only 30% processor utilization it is propably easier to keep KDEs running on main server. And you can use even cheaper client PCs. Even old Pentiums should be enough, maybe even 486 if there is enough memory.

      HTH. HAND.

  40. Sorry by Anonymous Coward · · Score: 0

    But windows xp already does this.

    please work on making linux a better server os please. the customer is not asking for better desktop where windows is already untouchable.

  41. Re:FINALLY! Thank you! by yamla · · Score: 3, Interesting

    I am curious... which GUI do you use in Linux? What speed processor and how much RAM do you have? Which distribution (or kernel) of Linux do you use?

    I ask because it has been my experience that Linux is already considerably more responsive (in terms of GUI performance) than Windows. I use KDE 3.1 with Linux 2.4.20 and I have 512 megs of RAM and a 1.46 Ghz processor.

    Now, least people accuse me of trolling (or of pandering to the Linux crowd), I should point out that I am not sure why Windows is so unresponsive. It seems to have something to do with hard drive access. It seems to me that Windows XP is acting like I'd expect it to if I didn't have DMA enabled for my hard drives. Basically, whenever I access the hard drive, the GUI becomes almost completely unresponsive, sometimes taking almost a minute to fire up even a browser. I have checked, though, and I do have DMA enabled.

    So I truly do not know what is going on with Windows, but in Linux I just don't have these problems. Under heavy disk access, it may take a few seconds to fire up a browser in Linux, but that's it. MP3s keep playing, my apps are still responsive, etc. etc.

    --

    Oceania has always been at war with Eastasia.
  42. Re:What will come first? by Anonymous Coward · · Score: 1, Funny

    Don't be ridiculous. We are having a serious conversation here.

  43. Re:What will come first? by Anonymous Coward · · Score: 0

    Of the three I predict StarTux will come first, seeing as how he's whacking it to tentacle-rape hentai at this very moment.

  44. 2D accell by dmaxwell · · Score: 1

    Smoothness when dragging stuff around probably has more to do with the 2D hardware on your graphics adaptor and the drivers for it. Even though this new kernel apparantly will make things feel snappier I still wouldn't be surprised if GUI jumpiness still happens. 3D acceleration seems to be the hot priority right now. Hence Quartz Extreme in OS X, since the video card is being optimized for 3D make everything look like it's 3D.

  45. Wow! by Chymaera · · Score: 1

    I can't wait to watch the 3D animation of the kernel source with this...the best part will be seeing the patch! :-)

  46. Err by bogie · · Score: 4, Insightful

    " As an avid Microsoft fan, one of my biggest beefs was the inferior performance of the Linux GUI and its components."

    That would depend on exactly what you talking about. Those linux users running something like Blackbox would laugh at you for saying so. I'd also suggest as a user of both, KDE and XP have about the same interactive performance as well.

    There's no doubt Windows still has more polish than Linux as a whole when it comes to the desktop. And while anything that improves any of LInux's many "gui's" is a welcome event, Linux's gui's are hardly inferior performance-wise across the board like your implying.

    "Maybee this will finally blur the line between OS's enough to get more people to switch over."

    Performance doesn't rate very high on why windows users aren't switching over. Lack of familiar apps and games, lack of widespread OEM bundling, and lack of millions in marketing are what's keeping people from switching over.

    --
    If you wanna get rich, you know that payback is a bitch
    1. Re:Err by Omikr0n · · Score: 0, Troll

      My box is not low end by any means. I'm running a Thoroughbred Athlon OC'd to 2.4GHZ with 1GB of PC3200 running a RAID-0 on two 120GB special edition drives. In my experience, Linux performance has been poor at best as far as it's GUI goes. When I boot back into windows, the GUI just flies. It's not a huge issue, but it's a pet peeve nonetheless.

    2. Re:Err by bcboy · · Score: 1

      Wow. I've had exactly the opposite experience. Maybe it's because I mostly use older hardware. I also haven't tried anything later than Win2k, but up to that point all the Win* GUIs ran veerrry slooowly on my machines. Linux performance was dramatically faster, though it could be pulled down by turning on enough features (like pixmap GUI themes).

    3. Re:Err by monthos · · Score: 1

      I agree, my system is not as beefy as yours is but i am a 1ghz p3 system with a radeon 8500 video card and 512 megs ram. video playback and opengl games dont get the same speed as they would do in windows.

    4. Re:Err by Fembot · · Score: 2, Insightful

      On my machine with black box or afterstep as soon as I hit login on xdm/kdm etc its loaded and ready to go. It literaly is that fast.

  47. Improves interactive responsitivity, but... by giminy · · Score: 2, Funny

    Looks like someone is using the server locally on kerneltrap.org, as it's down...Hopefully they're getting something done at least :).

    --
    The Right Reverend K. Reid Wightman,
    1. Re:Improves interactive responsitivity, but... by Anonymous Coward · · Score: 0

      "Hopefully they're getting something done at least :)"

      damn, even with that smiley you are still a fuktard

      go code you own OS shithead

  48. Using 2.5.x? by chabotc · · Score: 1

    Now that we are on this topic, it might be a good time to ask this question: How can i get my box to boot a 2.5.x kernel?! I am no newbie to kernel configs, it looks like i did everything right, however i am greated by a "Booting linux kernel..." then my HD making noices for about a minute (but no output to console) and then ... nothing .. keyboard unresponsive, no output on console, nothing..

    Is there some magic ingrediant i missed? I know modutils changed, but i don't even seem to get to a point where that could make the slightest difference

    (had this with 2.5.61, .64 and .64-bk3)

    1. Re:Using 2.5.x? by Anonymous Coward · · Score: 0

      This is somewhat of a FAQ...

      make sure you have theese in your .config:
      CONFIG_VT=y
      CONFIG_VT_CONSOLE=y

    2. Re:Using 2.5.x? by josh+crawley · · Score: 1

      I got suckered by the same thing. I grabbed the newest kernel from kernel.org. Turns out ol' linus packaged it with his own configs. He turned off Virtual terminal.

      Just go back and turn (in char devices) on Virtual Terminal , and support for it. If text editing's your thing, the Anonymous Coward to this post is right.

      And whuile we're on it, how "stable" is /dev fs? I've been using it for a while, and it's quite nice with auto-creation/destruction of /dev/ nodes. Is there a plan to integrate this permanently to the kernel (and drop the old /dev crap)?

    3. Re:Using 2.5.x? by Anonymous Coward · · Score: 0

      I've been using devfs on 2.4 since before it was 2.4... But I hear that for 2.5 they've been thinking of getting rid of it, or changing it a lot, or doing SOMETHING about it, because apparently, it's a mess. Anyone care to elaborate on that?

    4. Re:Using 2.5.x? by Kourino · · Score: 1

      The biggest issue with devfs, according to complaints on lkml, is that the code itself is ugly and doesn't comply with Documentation/coding-standards.txt, and that Richard Gooch isn't necessarily the greatest maintainer in the world. These days Adam Richter seems to be working on a "small-devfs" cleanup to remove cruft and such. As for stability, who knows. I don't see very much devfs-specific changes going into the kernel.

    5. Re:Using 2.5.x? by Anonymous Coward · · Score: 0

      You need both:

      CONFIG_VT_CONSOLE=y
      CONFIG_VGA_CONSOLE=y

      in .config.

    6. Re:Using 2.5.x? by Anonymous Coward · · Score: 0

      I've got both:

      CONFIG_VT=y
      CONFIG_VT_CONSOLE=y

      in my .config, but 2.5 won't work on *any* of the 45 machines we have here. 2.4.x won't either, so I don't think it's the new "disable the console by default" misfeature. They all do exactly what you describe. The machines start-up and run, but don't have a console. Oh well, I've got nearly year-long uptimes with RedHat's 2.2.16-3, so I guess I'll stick with that and just deal not being able to use my new gigE cards since 2.2.x doesn't support them.

    7. Re:Using 2.5.x? by zenyu · · Score: 1

      Is there some magic ingrediant i missed? I know modutils changed, but i don't even seem to get to a point where that could make the slightest difference

      The only things that bit me were the modutils and the broken initrd in some of the newest kernels. But if you're not getting that far... are you getting kernel panics? ide-scsi kernel panics on my machine, even as a module. Try compiling in as few drivers as possible and enabling them one by one. Also make user you are compiling in the console and aren't using the framebuffer devices, or switching the vga mode in your lilo.conf More and more drivers have started working since about 2.5.44 or so, but there might be one you need that's still borked.

  49. There was also a time when.... by bogie · · Score: 4, Funny

    Every new release of Windows wasn't vastly slower and more bloated then the release before it...

    Oh wait. No there wasn't.

    --
    If you wanna get rich, you know that payback is a bitch
    1. Re:There was also a time when.... by Anonymous Coward · · Score: 0

      Thats not true and you are an idiot.
      WinXP runs runs smooth as a thai breast and stable like umm - its just stable.
      Didnt crash since 1 year.

  50. hehehe. It's getting hot in here.. by 7-Vodka · · Score: 1
    It's funny how the lkml discussions can be so flamy all the time.. I guess it helps the work to get done if there's a little spice to it. Check out these choice quotes:

    *ingo > I tried something like this before, and it didnt work.
    *linus >You can't have tried it very hard. In fact, you haven't apparently tried it hard enough to even bother giving my patch a look, much less apply it and try it out.
    ...
    Are you _crazy_?
    Normal users can't "just increase the priority". You have to be root to do so. And I already told you why it's only hiding the problem.
    ...
    Get your head out of the sand, and stop this "nice" blathering.
    Linus

    --

    Liberty.

  51. The nail in BSD's coffin by Anonymous Coward · · Score: 0

    Thanks to updates on the staus of BSD that are regularly posted here, many loyal slashdot readers will be aware that BSD is dying. Recent enhancements to the linux kernel have removed any further reason for its use. Linux should get a boost when the BSD developers see the error of their ways and come to the lignt.
    Thankyou for your time.

  52. I read what they did and here's my analysis by LittleLebowskiUrbanA · · Score: 1

    Magic. Got it.

  53. Nice that Linux finally caught up with BSD... by iamacat · · Score: 2, Insightful
    Which always gave boost to interactive processes by raising internal priority of the ones that didn't take up the whole CPU slice. Remember how jerky Solaris 2.x felt right after Sun killed SunOS 4.x? My BSD-based aqua desktop on the other hand is very responsive, even when playing mp3s AND doing real time video compression in the background.

    Anyway, I hope Linus and Ingo now have some spare time for real dreams of power users with Linux desktops - drivers! I used to run Linux at work and at home (used to, because I got rid of the Intel box at home). Between these two machines, I had an NVIDIA card, lucent WinModem, CLIE, Zaurus and an NTFS partition that wasn't recognized by default Redhat kernel.

    After every kernel upgrade, I had to recompile 5 drivers. CLIE and Zaurus drivers came in the form of patches that usually refused to apply, or caused a hang when the device was attached! Once I tried a 2.5 kernel because it had some features, like suspend and resume that I could really use. While the default configuration built Ok, once I enabled the drivers I wanted, I couldn't get the thing compiled even before applying my patches.

    Yes, you could just run "Redhat operating system", never upgrade the kernel and wait a few months to install a new release. Then you might find binary drivers to download for the kernel for your particular kind and number of CPUs. But the whole point of Linux (on a personal desktop) is to have some fun and try new stuff out easily.

    Linux developers really need to stabalize driver interfaces. I should be able to go to kernel.org and download the latest kernel *binary*, then install a binary driver from the CD-ROM that came from my NVIDIA card.

    USB and Firewire buses should be exposed by kernel as network interfaces, accessible to user programs through socket API. In this way, USB drivers will be both easier to write/debug AND will not contribute to Oops. For the ultimate of cool, Wine should support Windows USB drivers (my Virtual PC does!) and I should be able to just install Palm and Zaurus desktops and use them rather trying to feed ttyUSBNN to kpilot.

    Having a stable system that doesn't have to be rebooted to Windows to use some unsupported USB device is far more important than raw performance. I wish any system's developers - Linux, *BSD, Darwin, BeOS, etc - would concentrate on this goal before going back to play with cool toys.

    1. Re:Nice that Linux finally caught up with BSD... by josh+crawley · · Score: 1

      ---Linux developers really need to stabalize driver interfaces. I should be able to go to kernel.org and download the latest kernel *binary*, then install a binary driver from the CD-ROM that came from my NVIDIA card.

      Module Versioning Support (added in 2.5.63) provides a basic way to determine what kernel its for and try to interface with it. It's cool that they're listening. Hell, even Win9x drivers wont work on Win2k. This might even loead to having 2.4 modules on 2.6/3.0.

      ---USB and Firewire buses should be exposed by kernel as network interfaces, accessible to user programs through socket API. In this way, USB drivers will be both easier to write/debug AND will not contribute to Oops. For the ultimate of cool, Wine should support Windows USB drivers (my Virtual PC does!) and I should be able to just install Palm and Zaurus desktops and use them rather trying to feed ttyUSBNN to kpilot.

      First, its a basic bus, and they have it use SCSI as a transfer.. I'd rather have it dump in scsi and be done with it.

      ---Having a stable system that doesn't have to be rebooted to Windows to use some unsupported USB device is far more important than raw performance. I wish any system's developers - Linux, *BSD, Darwin, BeOS, etc - would concentrate on this goal before going back to play with cool toys.

      Basic Unix Tenant: Next ****'s hardware will be faster. Aim for portability and stability.

    2. Re:Nice that Linux finally caught up with BSD... by Anonymous Coward · · Score: 0

      Module versioning support has been around forever. They just reimplemented it a different way in 2.5 because they completely reworked the module code.

    3. Re:Nice that Linux finally caught up with BSD... by the+eric+conspiracy · · Score: 1

      Linux developers really need to stabalize driver interfaces.

      This kind of stuff has been debated endless times in the kernel mailing lists. The short answer is that Linus feels that imposing a restriction like that will place needless limitations on the progress and ultimate performance the kernel can achieve,

      Which always gave boost to interactive processes by raising internal priority of the ones that didn't take up the whole CPU slice.

      Linux has had this for many years. Read the article - this is a change in the heuristics that are used to boost interactive process priorities.

      Having a stable system that doesn't have to be rebooted to Windows to use some unsupported USB device is far more important than raw performance.

      Most problems with unsupported devices in Linux are due to manufacturers who are unwilling to provide the information needed to support the hardware. Changing the USB bus interface is not going to fix that.

    4. Re:Nice that Linux finally caught up with BSD... by arodland · · Score: 1

      (Ignoring all but the first paragraph)
      Nono, linux has had _that_ since forever. Now they're making it smarter in a way that improves the "user experience" significantly.

      Get your facts straight before you troll. Oh wait nevermind, facts take all of the fun out of it.

  54. NT by sql*kitten · · Score: 1, Informative

    Linux creator Linus Torvalds recently proposed a patch to offer interactive processes a boost, greatly benefiting the X desktop, as well as music and movie players. O(1) scheduler author Ingo Molnar merged Linus' patch into his own interactivity efforts, the end result nothing short of amazing... The upcoming 2.6 kernel is looking to be a desktop user's dream come true

    The "feature" of biasing the scheduler either towards interactive proceses or to background processes has been around since NT 3.51, if I remember correctly. It was definitely in NT4, released in 1994 (again, IIRC). So, while this is welcome, it's not an innovation, and saying that Linus "proposed" it is misleading.

    1. Re:NT by Anonymous Coward · · Score: 4, Informative

      The interactivity boost has been in linux from Linux 0.99. This is a new class of boost, increasing interactive proccess priority and helper proccess priority too.

    2. Re:NT by 10Ghz · · Score: 1

      Are you referring to the Windows's scheme where the application in the foreground gets a boost? To my knowledge, this patch is something completely different.

      --
      Lesbian Nazi Hookers Abducted by UFOs and Forced Into Weight Loss Programs - -all next week on Town Talk.
    3. Re:NT by mce · · Score: 3, Insightful

      Noone claimed that Linus invented the technique (besides, Linux too has been using it for some time already). The only claim made about him is that he proposed that the way in which Linux uses it be changed. (It would help to actually read the article.)

    4. Re:NT by sql*kitten · · Score: 1

      only claim made about him is that he proposed that the way in which Linux uses it be changed. (It would help to actually read the article.)

      I'll assume that was addressed to the /. editor not to me ;-)

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

      Nah...

      It's not the interactive task that gets boosted (that's way older than NT), but the task, the interactive task is waiting for. That's new.

    6. Re:NT by zenst · · Score: 1

      Indeed your correct and the UNIX equivelent is the nice command that changes a process's priority. Given you have a finer control of said process's your then able to more finely prirotise what gets 1st bite of the apple. This command has been around longer than MS-DOS v1.0 and whilst handy is still a long way off a process/task scheduler that is the subject of the main article. So be nice to everybody else and you reduce lifes unplesant intteruptions. In theory that is, like any rule there are always exceptions, by the mear fact that any rule is either true or false. Role on quantum thought =)

    7. Re:NT by Waldmeister · · Score: 1

      Just for the records: NT 4.0 was released in 1996.

      It's basically a Windows NT 3.51 with the Windows 95 desktop.

      This desktop is far from being capable of many of the nicer features buried in the NT kernel.

      A much better solution was promised for Windows NT 5 aka Cairo, but that failed to deliver and changed into Windows 2000, which still has the Windows 95 destop, after all with some changes like in Windows 98 or ME.

    8. Re:NT by Anonymous Coward · · Score: 0

      Interesting. Can you point me to some things that NT5 was going to have that 2k failed to deliver? I always thought they were essentially the same.

    9. Re:NT by Anonymous Coward · · Score: 0

      NT has a "nice" boost also (HELP START), but it also has a few classes of automagic priority boosts:

      + Active app automatically gets a priority boost over background apps.

      + Priority boost for GUI apps over background services. (can be disabled)

      + If the system is being used interactively, the mouse pointer and some window ops get "realtime" priority.

      Funny thing is that NT <=4.0 Server shipped out-of-box tuned for desktop operation. Then dipshit MSCE turns on the software OpenGL screensaver and all of a sudden 100% of your server's CPU is drawing the 'foreground' screensaver.

    10. Re:NT by zenst · · Score: 1

      LOL, so very true about the screensavers - I'd swear MCSE's of the day used to show there skill of by how fast the OpenGL screensavers ran. Also struck me a odd that you'd want a server/desktop with 100% of its priority to the interface, especialy with IE (NT 4 without IE updates is fast as hell). But there again its the same train of peeps that use a gui as administrator, and windows top security guru's not only let you but also dont even blink at with a warning saying "right do what you hav to do an then fudge off back to normal user land". Still at least NT can boast better security with its administator rights and various levels/roles unlike the standard unix god/plebs/friends of plebs level of rights, though that has improved upon certain flavours of nix.

    11. Re:NT by Anonymous Coward · · Score: 0

      Funny thing about Windows Explorer is that it was a Win16 program until very late in the Windows 95 beta cycle. In fact, early "Chicago" previews were just Windows 3.1 running the Explorer shell.

      Now it's running on Windows 2000, but it's still basically a non-native port, and feels like it sometimes.

      (One of the big reasons Win95 was delayed, besides adding a Novell client, was to port Explorer to 32-bit so that they could maintain the marketing claim of being a 32-bit OS, just like OS/2 etc.)

    12. Re:NT by Anonymous Coward · · Score: 0

      Well, a true relational file system based on set-theoretic principiles for a start... MS promised it, but it still hasn't happened in any consumer-level OS, though NTFS is quite advanced all the same (and really underutilised by the rest of the OS - NTFS was designed by non-idiots, unlike the Win32 layer).

  55. Re:no, WE are Sorry ! by Anonymous Coward · · Score: 0

    ok your right. we'll stop. what were we thinking?
    would you consider being a member of the board ?

    no really. you are so right.

  56. Re:FINALLY! Thank you! by Lshmael · · Score: 1

    That's funny. I have exactly the opposite problem: Windows XP is fine, but KDE 3.0 seems to run slow with my 256 megs of ram and my 1.8 Ghz (Celeron) processor.

  57. Re:FINALLY! Thank you! by error0x100 · · Score: 5, Insightful

    Its not just a UI issues; it does relate to the kernel in that the kernels job is to manipulate process priorities and give CPU cycles where they "should best be given". This is actually best done at the kernel level, and NOT the GUI level, because the GUI does not know about the other non-GUI processes is "competing with". I've felt for a long time that something like this should be done in both Windows AND Linux.

    Windows is TERRIBLE at this. Consider the following scenario, which most here who here run Windows XP will be able to identify with. You boot up, you've just logged in. The task bar is there on the screen, the start button there, you click on it. And nothing happens. You wait. Still nothing happens. You wait some more. You start to get annoyed and click the start button a few more times. The hard disk is grinding away while Windows XP does all sorts of "invisible stuff" in the background. The computer is about as responsive as a brick. Then after anything from 20 seconds to a minute, the start menu suddenly opens and closes rapidly in quick succession a half dozen times.

    THIS IS NOT HOW COMPUTERS SHOULD BEHAVE. Its pathetic. This is a perfect example of the necessity of this. The task bar process doesn't know about all those other background processes hogging CPU after you log in; there is no elegant way for it to magically know when to set its priority temporarily high, and for how long. But the kernel can say, OK, the user is trying to press a button, we must respond, and temporarily boost the start bar (explorer.exe) process and block the others.

    On desktop machines (i.e. not servers), user input is the most important thing. If the user presses a button, something must happen. The kernel should be continually shifting priorities around to where the user is focusing his/her input.

  58. Re:FINALLY! Thank you! by error0x100 · · Score: 2, Insightful

    But the kernel can say, OK, the user is trying to press a button

    Just to preempt those people who are about to jump down my throat because "the kernel is not supposed to know about things like buttons", I know that, but thats not what I meant. I was speaking on a more abstract / higher level, but obviously this can still be implemented in terms of lower down OS things, e.g. the Win32 message queue and HWND system: the "OS" *does* know when, for example, when mouse click messages are posted to the DefWndProc of an HWND, and it does know which process is associated with that HWND, etc. In the Linux OS design view, this isn't part of the kernel, no. But in Windows, this is just one layer above what Linux people would classify as being "the kernel"; in Windows there is a lower degree of separation between the two.

  59. Re:FINALLY! Thank you! by CoolVibe · · Score: 3, Informative
    Did you compile KDE with gcc3? Did you enable --enable-final with your build? Did you optimize your CFLAGS? Did you prelink your binaries? More importantly: did your distribution ship KDE with these performance enhancements?

    I have to say that KDE 3.1 is pretty snappy on my measly PII 400 with 320 MB of RAM under Gentoo Linux.

    Saying KDE is slow is fudding.

  60. Re:FINALLY! Thank you! by Anonymous Coward · · Score: 0

    Yeah, and if somebody get rid of /dev/dsp and replace it with something that can be opened multiple times, I'll be really happy. Artsd is the right evil!

    Jan Halasa

  61. Re:FINALLY! Thank you! by Anonymous Coward · · Score: 0

    hmmm... I have a 700 duron and 256 megs of ram. KDE 3.1 is very responsive, and I'm using it with Mandrake 9. In fact a friend just left who just told me that his Duron 950 (otherwise, same configuration) is much slower under win2000 than my KDE.

    So your experience is not normal operation by any means - something must be broken I think. Oh, and try upgrading to KDE 3.1 - its faster in my experience than 3.0.x. The only slowdown (but still being within tolerability) occured when I had video and audio previews enabled in Konqueror (but on the other hand they were amazing - just holding the mouse button over an AVI showed me a preview in a tooltip! - and it only to 2-3 secs to start).

    smoketoomuch.

  62. Bingo by Anonymous Coward · · Score: 0

    I'll stick with my 1984-vintage Macintosh, thanks.

  63. Is this really a good thing ? by stubaggs · · Score: 2, Interesting

    I always felt that one the advantages of *nix+X over that other OS was that the UI processes where not part of the kernel as a high priority, so that some UI glitch didn't lock the whole machine up. Sure, by doing so, it makes the system feel more responsive (feel responsive=feel faster if you don't know better, this is why M$ did this I propose), but fairly problematic when one of them misbhaves (and you can't switch to a console to kill of a rogue application). Or did I just miss the point ? SB

    1. Re:Is this really a good thing ? by Error27 · · Score: 2, Informative

      You are right to say it's probably a bad idea to give UI processes an artificial boost. This patch doesn't exactly work like that.

      Before, the scheduler put processes that hogged the CPU in batch mode. They got bigger chunks of the CPU time but they had to wait longer for it as well.

      With this patch if a lot of processes are waiting for a different process then that process should get CPU time with out waiting as long. On the other hand, if the process ends up taking a long time, it gets put into batch mode.

      So a lot if a lot of windows are waiting for a response from X then X gets the CPU without waiting. Since X doesn't hog the CPU for a long time it doesn't get put into batch mode.

      On the other hand, when you compile the kernel make is waiting for gcc to finish, but gcc uses a lot of CPU time so it gets put into batch mode.

      It's a pretty clever idea. It speeds up playing mp3s at the command line instead of just trying to boots whatever is at the front of the screen (a la Windows).

    2. Re:Is this really a good thing ? by Anonymous Coward · · Score: 0

      With this patch if a lot of processes are waiting for a different process then that process should get CPU time with out waiting as long. On the other hand, if the process ends up taking a long time, it gets put into batch mode.

      Another way to put this is that when a process yields execution time to the OS it gets a priority boost for when that yield is completed. Whether this is a call to sleep or a call to select, read, or receive, the program is generally yielding.

      Unfortunately this isn't some amazing new concept, it's just Linux playing catch-up. NT has had this forever. To quote the interesting part from that page:

      When the wait conditions for a blocked thread are satisfied, the scheduler boosts the priority of the thread. For example, when a wait operation associated with disk or keyboard I/O finishes, the thread receives a priority boost.

      And of course VMS had this before NT did (<sarcasm>surprise, surprise!</sarcasm>)

    3. Re:Is this really a good thing ? by Tomble · · Score: 1
      With this patch if a lot of processes are waiting for a different process then that process should get CPU time without waiting as long. On the other hand, if the process ends up taking a long time, it gets put into batch mode.
      Though I read the whole article, it was pretty huge and so I may have misread some bit- but AFAICT, no, the point was that the old behaviour was that if the X server got overloaded, it could easily end up taking too long and getting rescheduled as a batch-mode task, which was the thing that could cause the huge freezes when there's a heavy load from compilation, etc!

      So unless I'm wrong (I'm sure I'm not), this patch actually stops the X-server (amongst other things) from getting turned into a batch mode task, because as you stated, it can tell that other interactive processes depend on it (or it could have been that it is interactive from having other processes depend on it).

      Either way, the patch sounds like a pretty exciting step forward to me. But does anybody know if it also stops X from getting similarily choppy when, eg, CRON starts heavy IO-bound tasks (like filesystem searches to update the man-page indices)? My system becomes utterly unusable when that happens, and it takes a fair few minutes.

      --
      Be careful! New moon tonight.
  64. Why not a real-time scheduler? by WhaDaYaKnow · · Score: 1

    Since I would like to keep using my ass for sitting on, this is not the type of question to post to Torvalds, but maybe someone here can enlighten me:

    Why is there not more effort being put into making the scheduler real-time and pre-emptive (and I don't mean pre-emptive at the application level, but all the way down to the driver level)?

    I know the SMP support solve some of the pre-emptive issues, but all in all these scheduler patches sound very kludgy. Is it because the unix subsystem precludes such a thing, or is the kernel design just too far off to make this work, or is there simply no desire because these patches are considered a 'better' approach?

    For example, are context switches extremely expensive for the Linux kernel?

    This is NOT intended as flaimbait, just true interest.

    1. Re:Why not a real-time scheduler? by vidarh · · Score: 4, Insightful
      There's a patch for making the Linux scheduler preemptive within kernel space as well, however that wouldn't solve the problem that has now apparently been solved, which is that many tasks that are themselves considered non-interactive by the scheduler still dramatically affect interactive behaviour because a lot of interactive tasks depend on them.

      X is the most important example, since it doesn't help how much CPU your xterms or other X clients you run get if X doesn't get enough CPU time to service them, as if X doesn't get enough time the only thing extra CPU time will give your x clients is the ability to go back to sleep faster and more often.

      Realtime scheduling is something else alltogether. Realtime scheduling is about predictability, not about CPU time allocated. With a realtime scheduler you can guarantee that task A get some time at least every 10ms, for instance, but if you're maxing out the CPU you still need a way of deciding which tasks have priority, or reduce their overall time slices.

      The kernel patches in question attempts to decide which tasks to give priority automatically, instead of resorting to hacks like using nice on specific processes. It achieves that by making the assumption that if task A is interactive, and it frequently waits on B, then task B needs to get more CPU too.

      Since a high load desktop scenario will likely have lots of clients waiting on X the result is that X will get more CPU even if X itself isn't an interactive task, and hence the machine will hopefully feel more responsive.

      The way this is being accomplished is good because it doesn't special case - any non-interactive task that provides vital services to interactive tasks will get more CPU (though in this particular implementation, I believe only if they communicate using Unix domain sockets), without the user or developers having to guess which processes should get it.

  65. Re:No thanks. by Anonymous Coward · · Score: 0
  66. Re:FINALLY! Thank you! by esanbock · · Score: 1

    You're absoluetley, positively correct. Instead of giving priority to either background or foreground processes like you can choose in windows, there should be an option to give priority to whatever the interactive user is trying to do.

  67. Don't you just hate it. when... by Anonymous Coward · · Score: 0

    "the problem is due to excessive spurgel-production in the VM frobnicator"

  68. Yes, thank you by mikers · · Score: 2, Insightful

    Nothing like letting a linux box with say Redhat 7.3 (KDE), Evolution, 4 xterms, Mozilla, Galeon, XMMS get jittery.

    Go to xterm, try to unzip a 1 gig zip file (on a HD on that box) and the open mozilla and drag the window around...

    Wait wait wait, mouse quits moving... Then it starts jumping all over the screen. Time for a coffee.

    This is part pager and part interactive task/busy background task thing that these patches try to fix.

    That was a big turn off of the 2.4 kernel for me.

    m

    1. Re:Yes, thank you by Fester213 · · Score: 1

      You can avoid most of this by using nice on the processor-intensive command.

      That's how I can compile software while still having my mp3s play smoothly and my mouse remain unaffected.

      --

      -- Fester
      "Freedom is the freedom to say that two plus two make four. If that is granted, all else follows."
    2. Re:Yes, thank you by Anonymous Coward · · Score: 0

      2 days ago i built and successfully ran 2.5.64. It has its problems, ALSA is a bit funny, and i had 1 panic when i tried to mount my CD via ide-scsi emulation.

      But the latency and skipping is COMPLETELY GONE. I could compile something, copy 700 mb movie from one partition to other, play xmms and browse web at the same time with no lag, no skipping, no problems. There were problems doing same things on 2.4.20. I'm really looking forward to see next stable releases. They will rule.

      (Debian/unstable, 1 GHz Athlon-C w/ 512 mb RAM)

      --Coder

  69. Linux is dying by Anonymous Coward · · Score: 0

    It is official; Netcraft confirms: Linux is dying

    One more crippling bombshell hit the already beleaguered Linux community when IDC confirmed that Linux market share has dropped yet again, now down to less than a fraction of 1 percent of all servers. Coming on the heels of a recent Netcraft survey which plainly states that Linux has lost more market share, this news serves to reinforce what we've known all along. Linux is collapsing in complete disarray, as fittingly exemplified by failing dead last in the recent Sys Admin comprehensive networking test.

    You don't need to be a Kreskin to predict Linux's future. The hand writing is on the wall: Linux faces a bleak future. In fact there won't be any future at all for Linux because Linux is dying. Things are looking very bad for Linux. As many of us are already aware, Linux continues to lose market share. Red ink flows like a river of blood.

    Redhat is the most endangered of them all, having lost 93% of its core developers. The sudden and unpleasant departures of long time Redhat developers Michael Evans and Timothy Buckley only serve to underscore the point more clearly. There can no longer be any doubt: Redhat is dying.

    Let's keep to the facts and look at the numbers.

    Mandrake leader Jacques states that there are 7000 users of Mandrake. How many users of Slackware are there? Let's see. The number of Mandrake versus Slackware posts on Usenet is roughly in ratio of 5 to 1. Therefore there are about 7000/5 = 1400 Slackware users. SuSE posts on Usenet are about half of the volume of Slackware posts. Therefore there are about 700 users of SuSE. A recent article put Debian at about 80 percent of the Linux market. Therefore there are (7000+1400+700)*4 = 36400 Debian users. This is consistent with the number of Debian Usenet posts.

    Due to the troubles of Walnut Creek, abysmal sales and so on, Mandrake went out of business and was taken over by Redhat who sell another troubled OS. Now Redhat is also dead, its corpse turned over to yet another charnel house.

    All major surveys show that Linux has steadily declined in market share. Linux is very sick and its long term survival prospects are very dim. If Linux is to survive at all it will be among OS dilettante dabblers. Linux continues to decay. Nothing short of a miracle could save it at this point in time. For all practical purposes, Linux is dead.

    Fact: Linux is dying

  70. How is it possible? by Anonymous Coward · · Score: 2, Funny

    How could they possibly do this without assistance from SCO programmers? It's just too complex for mere mortals.
    Sincerely,
    SCO

  71. really that impressive? by Anonymous Coward · · Score: 0

    Look at the patch. There's no fancy algorithm, nothing compared to Dijkstra's work at all.

  72. Re:FINALLY! Thank you! by TheLink · · Score: 1

    Well on server machines, I figure the machines should still pay good attention to the admin.

    If you need to kill a process, waiting seconds for each character/line to show can be a very bad thing.

    --
  73. Re:FINALLY! Thank you! by The+Bungi · · Score: 1, Funny
    Did you compile KDE with gcc3? Did you enable --enable-final with your build? Did you optimize your CFLAGS? Did you prelink your binaries?

    MY GOD!!! Why didn't I think of that!!1!! I now see the light my brother! I was stupid enough to think that the thing should just work, but boy, was I majorly wrong! Thank you, thank you!!!

    *snort*

  74. Linus discovers priority inversions by Animats · · Score: 5, Interesting
    What's being described here is called a priority inversion, where a high-priority task makes a request of some service running at a lower priority and gets hung up behind it. Real-time programmers have been dealing with this for decades, with varying degrees of success. A priority inversion bug caused problems with the Mars Pathfinder mission, and had to be patched remotely.

    There are various solutions to this problem. It sounds like the Linux kernel people are trying priority inheritance via the messaging system (local sockets). QNX has had that for over a decade. Because QNX does almost everything, including all I/O, by message passing, it has to do this right. In the UNIX world, message-passing was added quite late, in BSD, and X is one of the few interactive programs that uses socket communication on the local machine. Sockets are used mostly to talk across the network. So support for time-critical local sockets isn't very good. UNIX pipes were the original UNIX interprocess communication mechanism, and they were intended as batch-like devices. Sockets look, and work, a lot like pipes. This legacy is the real cause of the problem.

    Of course, the reason Linux users actually want this feature is so that they can play their pirated MP3s in the background while using X-windows.

    1. Re:Linus discovers priority inversions by Anonymous Coward · · Score: 1, Interesting

      Well said. It's surprising that no one in the Linux camp has done this earlier. This is well known operating systems 101 stuff. Honestly, I've used a similar technique in my own systems with great success for years. I just assumed that Linux already had this feature 5 years ago considering the hundreds of contributers to it. Time to look at the Linux kernel code to find out what other common sense optimizations they missed.

    2. Re:Linus discovers priority inversions by philkerr · · Score: 1

      Not just listen, but music production on Linux *really* will rock with the 2.6 kernel.

      The low latency patches for the current kernels improve the responsiveness of audio and MIDI applications well, but with Ingo's patch now in you'll have a rock solid music box.

      Yeah, nice!

    3. Re:Linus discovers priority inversions by sloanster · · Score: 1

      "Of course, the reason Linux users actually want this feature is so that they can play their pirated MP3s in the background while using X-windows."

      um no - linux users have been enjoying mp3s for years while running X - what this will do is allow them to listen to mp3s or watch DVDs without skipping, with a smooth and responsive desktop, while simultaneously running disk and/or cpu thrashing jobs -

    4. Re:Linus discovers priority inversions by Chester+K · · Score: 0, Troll

      Of course, the reason Linux users actually want this feature is so that they can play their pirated MP3s in the background while using X-windows.

      But from what I've read on Slashdot, Linux is already perfect! How could they possibly still be fixing problems with it?

      Makes me wonder what other problems are lurking around the Linux experience that the zealots blatantly overlook until there's a patch for it....

      --

      NO CARRIER
    5. Re:Linus discovers priority inversions by netsrek · · Score: 1

      yeah, once there is a pro quality audio sequencer with decent support for good virtual instruments...

      as much as I like Linux on the desktop, saying 'music production on Linux really will rock' is kind of misleading... There just aren't the apps there.

      sure, there's a decent multichannel hard disk recorder, and there's a bunch of interesting software packages you can run, but the sequencers tend to suck badly.

      (correcting me by providing links to good sequencers would make me happy.... :)

      If only we could get some high quality instruments...

      --

      i don't read slashdot anymore.
    6. Re:Linus discovers priority inversions by Anonymous Coward · · Score: 0

      Yeah, you guys take a swift look at the code and submit your all-mighty changes. 'Cause you no-namers sure seem to know all about this.

    7. Re:Linus discovers priority inversions by ctid · · Score: 1

      I've never read anyone here saying that Linux is perfect. Perhaps you could provide a link?

      Plenty of people here claim that Linux is better than Windows, but that was trivially proven by Code Red and Nimda. Surely no computing professional would dispute that?

      --
      Reality is defined by the maddest person in the room
    8. Re:Linus discovers priority inversions by Anonymous Coward · · Score: 0

      Okay Linus, here's my first patch:

      - /* slow down kernel with bubble sort */
      - do_bubble();
      -
      + /* tell them who's boss */
      + printk("I am a self-proclaimed 133t Linux bastard.");

    9. Re:Linus discovers priority inversions by Telex4 · · Score: 1

      Of course, the reason Linux users actually want this feature is so that they can play their pirated MP3s in the background while using X-windows.

      Personally, I play legal OGGs on my GN/Linux box, but no matter ;-)

    10. Re:Linus discovers priority inversions by Chester+K · · Score: 1

      Plenty of people here claim that Linux is better than Windows, but that was trivially proven by Code Red and Nimda. Surely no computing professional would dispute that?

      Oh I don't know, security problems in IIS hardly prove that Linux is better than Windows.... no more so than the remote root exploit in sendmail proves that Windows is better than Linux.

      There are plenty of places a Windows machine can do the job better than a Linux machine can.

      --

      NO CARRIER
    11. Re:Linus discovers priority inversions by Anonymous Coward · · Score: 0

      Jobs? ahahah. For now windows only play games better, just the same way DOS did it compared to win95. See what happened.

    12. Re:Linus discovers priority inversions by Anonymous Coward · · Score: 0

      - /* slow down kernel with bubble sort */
      - do_bubble();


      I think Microsoft has a software patent on the idea of inserting non-optimized code to make a system run like a much older system.

      Expect lawyers.

    13. Re:Linus discovers priority inversions by Rick+the+Red · · Score: 1

      Sorry, but there's prior art. IBM was doing this 40 years ago. They'd put noops in their code to slow it down. Then, over the next few years, they'd release new computers that were faster than their older models -- simply because they'd remove some of the noops. By the time they'd run out of noops to remove the hardware guys actually had made a faster computer, and they'd release that with an OS full of noops and start the game over. This only worked because you had to run their OS on their hardware (and yes, it was their OS and their hardware, you only leased it from them). (Oh, did I mention that they'd charge more for essentially taking out noops?)

      --
      If all this should have a reason, we would be the last to know.
  75. Great! by EdMcMan · · Score: 1

    Finally, the annoying mouse hiccups will be gone. On slower machines, I never ran Linux because of this. Maybe we can use this on some more old labs now. Wonder what's going to be in the next M$ Halloween memo...

  76. It's all quite mediocre (kernel and X too) by Anonymous Coward · · Score: 1

    Actually, I find most software whether open or closed to be a complete waste due to poor design, language choice, unneeded complexity, and years of cruft. Especially the popular packages. While the good (what little there's of it) stuff is rarely in wide use. Why is bloat and complexity more popular than beautiful, simple designs? Furthemore, why do most people insist on using the legacy inferior crap when often better alternatives are available?

    X: "network transparancy" is great, however it's not designed for low-bandwidth interconnects. With 24 and 32 bit modes even running X over a 100 Mbit LAN is unacceptable. Of course the bloat, gazillions of libraries, and "standards" don't help either.

    X unrelated Unix hall of shame includes: BIND, Sendmail, INN, OpenLDAP, Mozilla, Apache 2.0, UW IMAP, Cyrus IMAP, the IMAP protocol itself, the SMTP protocol, the idiotic requirement for 7 bit data in email and Usenet, etc., etc. Feel free to add your favorite misdesigned, buggy or bloated monster here.

    1. Re:It's all quite mediocre (kernel and X too) by Anonymous Coward · · Score: 0

      X: "network transparancy" is great, however it's not designed for low-bandwidth interconnects.

      Yes it is. Check out low-bandwidth X (lbx). It's supported by every X server that's worth it's weight (no pun intended). It makes straight X "doable" over dial-up connections.

    2. Re:It's all quite mediocre (kernel and X too) by Anonymous Coward · · Score: 0

      You must kidding, right? LBX is a joke.

    3. Re:It's all quite mediocre (kernel and X too) by jbolden · · Score: 1

      I man X for years on heavily shared 10mbit lines. Sure you can flood any network with enough data but that doesn't prove anything more than you need a network equal to the amount of data you intend to pump through.

      If you go from 16 tone grayscale to 32 bit color you are increasing the size of every image by a factor of 8. There goes your increase from 10mbit to 100mbit. Boost the screen reolution from say 800x600 to 1600x1200 and now you pick another factor of 4....

    4. Re:It's all quite mediocre (kernel and X too) by nosferatu-man · · Score: 1

      sed, awk, find, vi, Perl, the C pre-processor, the C language, the C++ language, termcap, curses, ncurses, Unix terminal "handling" in the general case, lpr, lp, CUPS, lpr-ng, bash, zsh, tcsh, NFS, NFSv3, AFS ...

      The list goes on. Up with aggressive mediocrity! Worse is better! Welcome to Unix, here's your accordion.

      'jfb

      --
      To spur "enterprise Linux," Big Bang, the distributed two-phase commit.
    5. Re:It's all quite mediocre (kernel and X too) by dmelomed · · Score: 1

      Such large increase shouldn't be there. It's a design flaw. There are (incompatible of course), solutions available which take bandwidth into consideration.

    6. Re:It's all quite mediocre (kernel and X too) by dmelomed · · Score: 0, Troll

      Sarcasm aside, recognizing what really sucks is a good idea. NFS and AFS, termcap, lpr, lprn-ng do belong to that list. Oh, C++ also of course.

    7. Re:It's all quite mediocre (kernel and X too) by jbolden · · Score: 0, Flamebait

      16 = 2^4 which is exactly 1/8th of 32 bits. Its not a design flaw its math.

    8. Re:It's all quite mediocre (kernel and X too) by Anonymous Coward · · Score: 0

      I never have understood why so many people loathe C++. When done correctly the API is much more intuitive and elegant than C. The more ituitive things are, the less likely a bug is to rear up. If you hate C++ then why not hate C? Compile times are slower? So. Execution is slower? So. With a good compiler, the compile time can rival C. And also with a good compiler the execution is not slower either...not by much, maybe a few percent. Now, for stuff like the Linux Kernel, I say stick with C and ASM. C++ will slow things down. But, hey, in the future C++ would definitely be a viable choice even for kernels because compiler technology will improve.

      Tell me, which is more intuitive?
      string x = "blah"; string y = "blah"; string z = x + y;

      char x[] = "blah"; char y[] = "blah"; char* z; z = malloc(strlen(x) + strlen(y) + 1); strcpy(z, x); strcat(z, y);

      There are many other examples, some much more obviously showing the benefits that C++ brings to the table. Take files for example...

      C way: FILE* fptr;
      fptr = fopen("filename", "r");
      fclose(fptr);

      C++ way: ifstream fin;
      fin.open("filename", ios::in);
      fin.close();

      Sure, neither is difficult, but the object-oriented way is nicer.

      Take dynamic memory allocation as another example of how C and C++ compare...

      C way: int* x;
      x = malloc(50 * sizeof(int));

      C++ way: int* y
      y = new int[50];

      Freeing memory isn't difficult either. Though, in this case C++ might make things a little more difficult because the programmer needs to remember if an array was new'd or just one instance of the type.

      C way: free(x);

      C++ way: delete[] y;

      Though, if we had only done: y = new int; the C++ way would be: delete y;

      So, there I would say C++ could be a little more hairy, but honestly I don't recall ever having the problem once I learned the different between new and new[] and delete and delete[].

      Say you have a struct in C.
      struct x { char* firstname; char* lastname; int age; };

      Say you have a class in C++.
      class y { private:
      //Make sure the data is safe! Oh, wait, I'm a dummy, let's make it unsafe like it is in C.
      public:
      //There we go...nice and unsafe data! Just like the default C. How splendid.
      char* firstname; char* lastname; int age; }

      Now, in C if I want to test two instances of the x struct I have to test all the member variables for equality. In C++ I will have to do the exact same thing. So far things are 100% equal. the C++ data is just as unsafe as the C data is, thanks to the fact that it's public, and also because they each have to check each member variable for equality.

      In C, though, I can never say:
      if (x_instance_1 == x_instance_2) to compare two completely different instances for equality.

      In C++, however, I can overload the == operator and therefore proceed to write code that is very intuitive.

      if (y_instance_1 == y_instance_2) This works in C++ if the == operator is overloaded.

      int x_is_equal(struct x x1, struct x x2) {
      if (strcmp(x1.firstname, x2.firstname) != 0) return 0;
      if (strcmp(x1.lastname, x2.lastname) != 0) return 0;
      if (x1.age == x2.age) return 1;
      return 0;
      }

      Now, we'll just put this in the class definition for y in C++.
      bool operator==(y& rhs) {
      //I'll chose char*, rather than string but if string was chosen then I would not have to use strcmp(). But I am wanting to keep this as close as possible to the C code.
      if (strcmp(this->firstname, rhs.firstname) != 0) return false;
      if (strcmp(this->lastname, rhs.lastname) != 0) return false;
      if (this->age == rhs.age) return true;
      return false;
      }

      Now I can do this...
      C: if (x_is_equal(x1, x2) == 1)
      C++: if (y1 == y2)
      Is it difficult to write x_is_equal()? Of course not! Will somone understand what x_is_equal() is if they see it in the code? Almost certainly. But what is the natural inclination to type when you want to do a comparison for equality? Definitely not x_is_equal(). Also, by making the == operator behave the way it expected to behave, then you just omitted a possible bug and made the code easier to write and read.

      Also, you can overload many operators. +, -, *, etc. Just imagine you have a class of x/y coordinates. You want to add these together.
      class XYCoords { public:
      int x; int y;
      }; XYCoords coord1, coord2, coord3;
      Sure, you can type: coord1.x + coord2.x;
      coord1.y + coord2.y;

      But it is much easier to just type:
      coord1 + coord2;

      And all that's necessary is to add that to the class definition like so.
      XYCoords operator+(XYCoords& rhs) {
      XYCoords coord;
      coord.x = this->x + rhs.x;
      coord.y = this->y + rhs.y;
      return coord;
      }

      Sure, the code has to be written in both C and C++, but then C++ can keep reusing the same code, where in C you either have to make an awkward function like add(), or keep using two lines to add the x and y coordinates together.

      Imagined if you want to add many coords...
      XYCoords coord1, coord2, coord3, coord4, coord5;
      Once coord1, coord2, coord3 and coord4 have the x/y variables set then just proceed to add them to coord5.

      coord5 = coord1 + coord2 + coord3 + coord4;
      Much cleaner than the C way of:
      coord5 = coord_add(coord_add(coord_add(coord1, coord2), coord3), coord4);

      What if we want to to many functions...it becomes much easier to type and to read. Reading is extremely important...how efficient is it to have to read a line 3 times if it can be read clearly in one pass? Not only that, but it's easier to spot an error in logic when using operators rather than functions.

      coord5 = coord1 + coord2 * coord3 - coord4;

      Here, the order of operations comes into play. coord2 * coord3 happens first. Coord1 then is added to that results, and then coord4 is subtracted. The C way makes things a bit confusing to say the least:
      coord5 = coord_sub(coord_add(coord1, (coord_mul(coord2, coord3)), coord4);

      I appologize for the squeezed structs and classes and the multiple statements per line, but the post script is complaining about the characters per line so I had to try to increase that count.

      <tirade reason="to increase characters per line count">I don't know what the deal is...it is griping about the characters per line count telling me I have too few per line. Well big woop! Hopefully this little blurp will up the characters per line count enough to let this post go on through. I've tried the different settings, and they don't work. I don't want to go through all of this and HTML-ize it to make it appear correctly. Ah well, I'm going to hit preview now to see if I've upped the character count per line enough. Still not enough characters. This is stupid, I've posted short blurps before and it's never complained about too few characters. This is annoying.</tirade>

    9. Re:It's all quite mediocre (kernel and X too) by Anonymous Coward · · Score: 0

      Yeah, and crap++ is better than crap.

      The reason that people hate C++, is that there are other options than either C or C++ (or their retarded monkey cousin, Java).

      Broaden you horizons a little - you might accidentally trip over some really decent languages, like common lisp, or ML, or Dylan, or scheme, or goo...

    10. Re:It's all quite mediocre (kernel and X too) by aussersterne · · Score: 1

      Heh...

      You're absolutely right. We should instantly switch the entire Internet's root DNS system tomorrow, without delay, to one of the other DNS solutions. Who the hell needs testing? Furthermore, we'll get rid of email *entirely*, allow unencoded, unattached binaries to proliferate in content pages around the Internet, and while we're at it, we'll shake hands with Microsoft and promise them an ongoing monopoloy in browsers and Web servers for today and the forseeable future by pulling Mozilla and Apache off the market.

      And of course, the point of your post... we will pull Linux, Solaris, and all Unices OUT of the GUI age completely, to ensure that they are adopted only by those who still own a VT100 at home. ...or, to put it another way: What exactly are you smoking?

      --
      STOP . AMERICA . NOW
    11. Re:It's all quite mediocre (kernel and X too) by Anonymous Coward · · Score: 0

      Just because there are other options doesn't mean they are always the best choice, and that definitely isn't a reason to hate a language.

      You can speak Spanish, Italian, Japanese, but that's not a reason to hate English.

      You want someone to write your web-browser in lisp?

      You still did not give me a reason as to why people hate C++, other than "because they do." Well, that's fine and dandy, but definitely not reasonable. Having an opinion is everyone's right, but being able to support that opinion when others ask why you hold it is important. Why believe what you believe if you cannot tell why?

      Certain things like "Blue is nice" or "Red is pretty" is entirely subjective, but hating a language and not being able to support why is much different. Like you said...broaden your horizons. Don't discount a language "just because." I like blue "just because." I like red "just because." I don't like C++ "just bacause." I like C++ because I find it to have many very useful features to not only make programming easier, but also aide in producing code that is easier to maintain and extend.

      I really do not like Visual Basic. I'll give you a few reasons:
      1) I really dislike the syntax. (personal preference)
      2) I feel that the way it does OOP retards development. (personal perference)
      3) The use of GoTo is unavoidable, which to me indicates a poorly structured language. (personal preference)
      4) The fact that it's tied to just one O/S rather than being portable across many platforms is a major limitation to its usefulness. (Seems like I read somewhere that there was a project that was attempting to let VB apps be developed/compiled on Linux, but I have seen nothing of that lately.)

      There are other reasons as to why I dislike VB, but those are some.

      Please, give me a reason as to why C++ is so hated by some.

    12. Re:It's all quite mediocre (kernel and X too) by Anonymous Coward · · Score: 0

      Here's a clue, so that you'll have exactly one: what do you think goes on when a C++ ``new'' is performed? At least a malloc, plus more stuff you can't account for. C++ adds some behind-the-scene overhead and in order to do anything really low leveled, you have to use C++ like C, so you haven't gained anything. A competant programmer can program C in an OO way and maintain that paradigm. A language like Java forces OO, so it has all the benefits C++ claims to have, but at the cost of much added overhead. It's a tradeoff, you see: more powerful operators, array bounds checking, and an OO structure costs you overhead and the loss of the capability to code at a _really_ low level. Even better, all those high leveled fancy languages usually use C to operate, and most provide a way to use C libraries.

      C++ is just a black sheep anyway. It doesn't shield the programmer from making some mistakes like Ada or Java will, but adds bloat and doesn't have the power C does for doing tight code. C++ really doesn't have a reason to exist. As a bonus, if it were illegal to use C++, the Hurd people would have to start over!

    13. Re:It's all quite mediocre (kernel and X too) by Anonymous Coward · · Score: 0

      So what if the underlying code is malloc()? That's malloc() plus the constructor and possibly an exception. Sure, that's overhead that isn't necessary, but oftentime using C++ makes things much easier than C. That's when you use it--when the project would be made more easily maintainable by its use. Stuff where the C++ additions don't help, don't use it! Use the correct language for the job.

      You forgot to mention that delete is pretty much free() with a call to the destructor.

      If these were ideas that all C programmers hated, you wouldn't see so many "hacks" in C to give this behavior. Just the other day I was looking at C code where someone had made their own malloc(), realloc() and calloc() functions to act similarly to the C++ new. Not entirely, of course, but enough to draw more than a passing similarity.

      To do anything really low leveled I have to use C++ like C? Well, some might say that, or some might say I'm using C++. Keep in mind, C++ came from C, so using C++ anyway is like using C++. Sure, the code might be the exact same as C, but so what? That makes C++ less powerful? To the contrary! It gives you the benefit of the truly low-level and the benefit of abstraction, encapsulation, protection, composition, etc.

      A competent C programmer can make OO programs with C? Depends on your definition of object, but with my definition I'd say C can mimic it fairly well, but C++ clearly leverages OOP much better than C does, and it isn't awkward doing OOP in C++. One wonderful thing about OOP is that, serindiptiously, Event Driven Programming became popular around the same time OOP did.
      This is a strict definition for Object-Oriented Programming. Some would argue this, as by your statement I would think you would argue. I, strictly speaking, believe this definition, but that's not to say you can't try to hack it in C to make it OO-like, but true OO it is not.

      More powerful operators? What operators does Java have that are more powerful than C++?

      Actually, C++ allows you to have array bounds checking...if you program it into your class. Obviously not being able to go out-of-bounds is nice, but take the necessary steps and it won't happen...besides, this is a weakness of C too, but C++ does give a mechanism to correct it. Don't make C++ out to be so awful if the same drawbacks in C are not worth mentioning.

      You're correct that C++ doesn't shield the programmer from making mistakes, but I don't know of any language that doesn't. I don't know Ada so I can't talk about that, but Java surely doesn't keep the programmer from making mistakes. Just because you cannot use pointers doesn't stop mistakes, and if that is what you're refering to, then that would apply to C too, so I hope that's not what you were talking about.

      Doesn't have the power C does for tight code? Where do you get this from? First you gripe that you have to resort to coding like C to do the low level but now you can't make tight code like C? What? If I can code like C in one instance, I can code like it in both. Besides, coding in C does not make code tight by itself.

      Check this out...
      C++:
      string x = "blah";
      x += " this " + "is" + " fun";

      C:
      char* x;
      x = malloc(strlen("blah") + strlen(" this ") + strlen("is") + strlen(" fun") + 1);
      strcpy(x, "blah");
      strcat(x, " this ");
      strcat(x, "is");
      strcat(x, " fun");

      Does the same thing happen under the hood? Yep! The C++ string actually probably does a bit more, which makes the code generated probably slightly less efficient, but then I should have used strncpy() not strcpy() and strncat() not strcat() for the C code anyway.

      But, to the person looking at the code, which is easier? Also, which is less likely to have a bug? The C way is more likely to have an "OH CRAP! I forgot to allocate enough memory! WOOPS!" moment than the C++ way. std::string has had millions of people program with it...it's pretty solid code, trusted like you trust your standard C libraries.

      Obviously, though, this is not something you're likely to see in the real world, as anyone with common sense will just use:
      x = malloc(strlen("blah this is fun") + 1);
      strcpy(x, "blah this is fun");
      But the point I was making is that if you keep appending/concatenating to the end of a string, you have to keep allocating more memory, or just allocate a gob of it upfront and still check to make sure you're not going to go over that limit...but that means possibly wasting memory, and still requires checks, which is cheaper than reallocation but still doesn't have to be something you think about.
      When I hit the brakes on my truck I know what's happening, but I don't think about all of it.
      That's not to say that it's unimportant...sure it is, but if you can protect yourself from possible errors, why not? because of a performance hit? Hey, I like performance as much as the next guy, but when you start coding C to be as safe as C++ can be in areas like buffer overruns then you're taking away that speed advantage anyway.
      Not that every CPU cycle isn't important, but my time is important too. If I can develop something in 6 months as opposed to 9, then I feel the 5% slower performance is justified. If I want ultra raw speed, I'll write it in ASM.

      Who cares if those high leveled fancy languages use C? This is about C++.

      I don't know...the Hurd started off as a decent idea, but it's a pile of crap thus far.

    14. Re:It's all quite mediocre (kernel and X too) by Anonymous Coward · · Score: 0
      Here's a clue: You're a moron.


      What happens when a new is performed?


      It depends. There are a number of situations where a malloc is not performed. Think placement new, or memory pools defined on a per-class basis through operator new overloading. Being able to tweak memory management on a per-class basis is a huge benefit.


      C++/Java/OO/etc:


      Java is an OO language. C++ is a multiparadigm language. It allows you to use OO techniques, as well as others. The whole "Java is what C++ should have been" argument was debunked a long time ago. Java has garbage collection, and language support for threads. Those are about the only benefits Java has over C++, and both of these are available in C++ as libraries. The exception mechanism in Java is seen by some to be superior to C++ exception handling, but I don't think it is. Nevertheless, if you bring up exceptions then at least you don't look like a complete idiot, like you do when you mention array bounds checking, and "powerful operators"(what ever the hell those are).

      Here's a tip: try really learning the languages. I don't mean reading through "How to teach yourself to be an unleashed dummy in 21 minutes" types of books. It takes quite a bit of work to learn Java/C++/C/Ada/ML/lisp/etc. despite how "easy" some of these languages are supposed to make things.
    15. Re:It's all quite mediocre (kernel and X too) by Anonymous Coward · · Score: 0

      Oooh someone ruffled some feathers eh? Settle down, there are worse things to worry about.

  77. Re:FINALLY! Thank you! by TheLink · · Score: 2, Insightful

    No it's the O/S fault it can't manage the start up. If it's not ready for input it shouldn't show the start button as clickable. This happens on Windows NT too.

    Another thing: try this on Windows 98. While Windows 98 is booting up, just as the desktop gets drawn, press the windows key (or wait till the task bar is just shown).

    Windows 98 crashes - you have to ctrl-alt-del and select shutdown.

    --
  78. Copy & Paste behavior is the BEST thing about by ZorinLynx · · Score: 2, Interesting

    I for one happen to love X11's method of copy & paste. It's so much faster and more convenient than under windows. I like being able to simply select something in one window, then middle-click it into another window without having to enter additional keystrokes or menu commands.

    Whenever I'm on a windows box, I groan at having to manually copy after selecting, and not being able to paste with one mouse click.

    Remember one person's UI annoyance is another person's UI bliss. }:) That's why we'll never agree!

  79. Re:FINALLY! Thank you! by yamla · · Score: 1

    Okay. In that case, perhaps you can tell me how to get Windows XP functioning nice and quickly while there's disk access. I certainly haven't been able to.

    Alternatively, perhaps I can help you with your installation of KDE. Which version of KDE do you have? Do you have the prelink trick installed? Which kernel are you using?

    --

    Oceania has always been at war with Eastasia.
  80. Linux support for multiple scheduler classes? by jregel · · Score: 2, Interesting

    I've been doing some Safari reading since the Slashdot review a couple of weeks ago, and one book I'm reading is Solaris Internals: Core Kernel Components. One very interesting feature of Solaris is the concept of "scheduler classes". The Solaris kernel is fully pre-emptive and multithreaded. Threads are executed as one of four classes:

    Timeshare scheduling class (the default) attempts to evenly share process time across threads.

    Interactive class is used for improving performance with windowing applications.

    System class is used by the kernel.

    Real Time class is used for fixed priority, fixed quantum scheduling.

    Now I'm no kernel hacker and couldn't explain the hardcore details if pressed, but this sounds pretty clever and Solaris is a very neat operating system. These scheduler classes are loaded as modules which strongly suggests that they can be plugged in and replaced if necessary.

    In 2.4 there were patches that provided realtime and low latency scheduling for the kernel. The new O(1) scheduler is getting positive vibes from the developers from what I've read, but does it cover these bases or are patches still required? In other words, does Linux now scale from realtime embedded to low latency desktop to [whatever NUMA systems require]?

    1. Re:Linux support for multiple scheduler classes? by codingOgre · · Score: 1

      Threads are executed as one of four classes:

      Actually Sun added a class in Solaris 9. It is called the "Fixed-Priority (FX) Scheduling Class". Check it out here if you interested.

      --
      Space may be the final frontier, but it's made in a Hollywood basement. --Red Hot Chili Peppers, Californication
  81. First hand experience by Petra · · Score: 2, Informative

    Having just applied the combo patch in question, I can attest to it's incredible improvement. My mouse pointer NEVER lags anymore even while make -j5 bzImage and bzip2'ing a large directory all while playing .ogg files.
    This is wonderful. Kudo's and a round of whatever ya drink to the kernel crew.

    --
    "The clay can become a bear, but not while it lays cold and wet on the riverbank." -Orson Scott Card, Children of the m
    1. Re:First hand experience by jericho4.0 · · Score: 1

      I'm trying to patch it against 2.5.64, but it gets confused. Im using the patch Ingo posted in the linked article. Any hints as to what I'm doing wrong?

      --
      "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
  82. Re: pirated MP3s by Anonymous Coward · · Score: 0

    "Of course, the reason Linux users actually want this feature is so that they can play their pirated MP3s in the background while using X-windows."

    You're right about me wanting to listen to music in the background while running X, but fuck you for assuming that all Linux users are pirates.

    Not to mantion the fact that this technology has more uses than just smooth playback of mp3's.

    Asshole.

  83. Downside to this patch by Anonymous Coward · · Score: 0

    Any rogue programs erroneously generating kazillions of I/O events will monopolize the CPU. Mind you, everything's a tradeoff. The OS cannot possible know what the difference between a "good" process under heavy load and a "bad" out of control process generating too many events or is in a tight loop. Only the user/sysadmin can determine that.

    Anyway - does anyone know if Ingo's low latency patch + Linus' interactivity patch will be committed to the 2.5 tree?

    1. Re:Downside to this patch by sloanster · · Score: 1

      It's already in linus' 2.5 tree - which means it will be in 2.5.65

  84. Re:Jumpy-Tipsy-"top" topples terribly. by Anonymous Coward · · Score: 0

    If you're using top to determine that? Then you're getting an erronious reading. Remember the memory on the card is going to show up as well. Also don't forget process-memory sharing.

  85. Amiga had a terrific scheduler in its days by PommeFritz · · Score: 1

    Once you installed Executive (http://www.megabaud.fi/~petrin/Executive2.html), which is a replacement for the standard Amiga OS task scheduler, you had terrific multitasking on your Amiga. Executive had a dynamic priority scheduler which boosted interactive apps (that got the focus) and that pushed cpu-hogging apps to lower priorities the longer they were running.

    You could choose from a multitude of different scheduling mechanisms, dynamically. And you got a whole bunch of system information tools as a bonus.

    1. Re:Amiga had a terrific scheduler in its days by Anonymous Coward · · Score: 0

      Actually the Amiga had terrific multitasking out of the box... As long as you remembered to start CPU-intensive processes at priority -1.

  86. Gaming by Jagasian · · Score: 1

    Another thing that this will greatly improve on Linux is gaming. Gaming tends to be highly interactive, and lowering the operating system's latency will put an end to those little hiccups Linux games sometimes get.

    Latency on Linux is totally going to stomp latency on a Microsoft OS. Can't wait to see the benchmarks on that!

    1. Re:Gaming by jmweeks · · Score: 2, Interesting

      The way the scheduler determines interactivity is that an application sleeps, i.e. it waits for some sort of user input and then executes based upon that input. Games, at least the type of games that lag, don't meet this definition of "interactivity" and so will see little benefit from this patch.

      These scheduler improvements could be considered comparable to seek time on a disk, while game performance is more akin to burst speed.

  87. why worry about the linux kernel, just get Zeta! by Linwood · · Score: 0, Offtopic

    Zeta/aka BeOS (not just another re-package, *new*) YellowTAB but slashdot won't let me post about this wonderus OS on the frontpage (or any where), such good guys ..

  88. Re:No thanks. by Anonymous Coward · · Score: 0

    yea I will stick with the convicted monopolist who robs me blind.........

  89. Re:FINALLY! Thank you! by error0x100 · · Score: 1

    Thanks, but have done already, and its as optimal as it gets. I've gotten rid of all the excess junk (e.g. Office startup stuff), and I've turned off all unnecessary services. Unfortunately, if you run Windows, you need to have crap like anti-viruses installed, and some of the other software that I'm also required to run at work bogs down the machine.

  90. Re:Dial-up-A (diff)erence of opinion. by Anonymous Coward · · Score: 0

    Or one could simply first purchase a CD, then hereafter the main server could send diffs for the packages that need upgrading. Consume less bandwith and space that way.

  91. Chatty by dmelomed · · Score: 1

    Emphasis on chatty. X is accelerated, it's just overly bandwidth hungry among other things.

  92. Re:FINALLY! Thank you! by error0x100 · · Score: 1

    If it's not ready for input it shouldn't show the start button as clickable.

    Indeed!

  93. One kernel is not enough! by Frater+219 · · Score: 1
    Linux developers really need to stabalize driver interfaces. I should be able to go to kernel.org and download the latest kernel *binary*, then install a binary driver from the CD-ROM that came from my NVIDIA card.

    Which one of the ten or so architectures that Linux supports should that one official kernel binary be compiled for? i386, because it's what you use? PowerPC, because it's what I use? System/390, because IBM is the shiznit? All of them? Jeez, even Debian, which ships for more architectures than any other distribution, has trouble with that. (Part of why Debian is slow on releases is everything has to compile on PA-RISC and m68k, you know. Debian is not a PC operating system.)

    Which compatibility options should be set? Do you want to run that kernel on a broken Toshiba laptop that needs a special flavor of APM to keep from locking up at startup? Do you have a PS/2 with MCA cards, and need that enabled, while nobody else uses it? (Why should the kernel I use suffer from your bloat?) Do you have some funky flavor of Alpha motherboard? Or perhaps do you have the latest Dell high-end server and need a couple of extra patches to keep your system from crashing on the nonstandard motherboard?

    In short: If you want a kernel compiled for the particular weirdities of your hardware, get your OEM to do it, or buy from a VAR that does. Some OEMs already do this -- like Dell, on the workstations and servers they ship with Red Hat installed. (Rumors of Dell "dropping Linux support" are greatly exaggerated. They support it just fine on workstations and servers -- just not desktops, which are made with cheap WinHardware to keep the price down.) Yes, the Dell kernel comes with the nVidia driver already installed, since most Dells have nVidia cards. (Though that is changing -- recently, I've been seeing more Radeons in Dells, which is much easier on the software upgrade path.)

    Hardware is weird. Even i386 is a lot less "standard", across the entire product universe, than Microsoft and Intel (and Dell!) would like you to think. And -- unlike Microsoft -- Linux (the kernel project, not some distro) does not abandon old hardware and tell people to spend money on upgrades before they can run the latest release. Because of this, it is essentially impossible to make one kernel that is perfect (or even adequate) for everyone. That is why there are so many options in "make menuconfig", and that is why you should expect to build your own kernel (or pay someone to do so) if you want the most out of your hardware.

    1. Re:One kernel is not enough! by Anonymous Coward · · Score: 0

      Dude, nobody is going to take away your kustome kernel that you kompiled for your Koleko.

      It would be much easier for the VARs you mention to support Linux on their systems if they didn't have to worry about binary incompatibility between kernel versions 2.4.63-ac29 versus 2.4.61-rh22. Option for a new SCSI card? Just drop the binary in some directory and let the hardware detection scripts sort it out.

      The fact is that recent x86 workstation/server hardware is pretty standard and that's 99% of the Linux market.

    2. Re:One kernel is not enough! by Frater+219 · · Score: 1
      Dude, nobody is going to take away your kustome kernel

      Of course not. I was just pointing out why not -- it's a braindead proposition to suggest that a "standard" binary kernel would work for the Linux community.

      The fact is that recent x86 workstation/server hardware is pretty standard and that's 99% of the Linux market.

      It is a good thing that the Linux kernel developers and projects such as Debian are not driven by this narrow "market", then. It is perfectly fine for commercial distributions such as Red Hat and Mandrake to limit their audience to users of the very most common pieces of hardware. (Mandrake, recall, began as a fork of Red Hat compiled with Pentium optimization -- abandoning compatibility with 386 and 486 chips. And Red Hat recently dropped support for SPARC and Alpha.) This allows them to be profitable, which is what they are for.

      However, that's the commercial Linux workstation/server market, which is only a subset of the broader Linux community. The broader community includes people running Yellow Dog Linux on PowerPC, Debian GNU on PA-RISC, tiny embedded systems on m68k and ARM, and so on, and so on. It is this larger and more inclusive grouping which the Linux kernel project chooses to support, which is why it must stay as general as possible. Building special binaries for Joe Sixpack's Dell box is not in that job description -- it's in Dell's.

    3. Re:One kernel is not enough! by Anonymous Coward · · Score: 0

      I think if you examine Linux-Kernel poltics, it's the commercial interests that get development priority. Linus listens to IBM, Oracle, RedHat, some embedded people. Consequentally, you WILL see features added for OEM-friendlyness.

      The "broader community" really operates outside of that loop. Debian might really care about PARISC, but the core linux guys don't give a flying fuck other than maintaining core portability.

  94. Re:FINALLY! Thank you! by Anonymous Coward · · Score: 1, Insightful

    I think Windows' problem is that on startup it is trying to start all services at the same time, which leads to a lot of unneccessary disk trashing (clearly the HD is the limiting part during Windows startup). A more reasonable procedure would be to start things in sequence. Unfortuantely, in Windows it's practically impossible to influence the timing of startup.

  95. Re:FINALLY! Thank you! by sydres · · Score: 1

    ha that is one funny comment eh!

  96. Interactive Scheduling by maelstrom · · Score: 2, Funny

    Just so long as it isn't like the scheduling related to us by our OS prof, where one of the early time sharing systems gave a bit of a boost to terminals after they pressed the enter key.

    This way interactive processes gained a slight boost. Of course, they had to rethink their algorithm as soon as someone figured out that by hitting return a lot they could speed up their programs! Oops :)

    --
    The more you know, the less you understand.
  97. My Point by SirDrinksAlot · · Score: 1, Interesting

    The point i was trying to get at is X11 is not End user friendly by any means. Just because it may be powerfull doesnt make it good however most of the time it makes it difficult. Its difficult to configure (something you SHOULD NOT HAVE TO DO) and if you do try to do it by hand its terribly easy to screw up. In regards to the KDE vs WindowMaker someone commented on, I would have to say thats a case of Bloat Vs Streamlined (or stripped). KDE is easier for average Joe to walk up and use then WindowMaker. Since KDE is slow and bloated its also not worth while for Average Joe to use as his primary OS.

    To be a good Desktop OS you need ease of use, at this moment X11 doesnt fit that description. Just because you may think Microsoft or even Apple is evil doesnt mean you shouldnt take design tips from them.
    A possible solution would be a new X11 Compatable system for those who want it and a solid fast easy to use UI for it for those who dont. I also think we need a Unified UI Toolkit so everything across applications is the same.

    1. Re:My Point by IamTheRealMike · · Score: 1
      Its difficult to configure (something you SHOULD NOT HAVE TO DO)

      Completely automatic configuration is a stated long term goal of the XFree team.

      KDE is easier for average Joe to walk up and use then WindowMaker. Since KDE is slow and bloated its also not worth while for Average Joe to use as his primary OS.

      Then use GNOME, which is faster, or upgrade your hardware.

      A possible solution would be a new X11 Compatable system for those who want it and a solid fast easy to use UI for it for those who dont. I also think we need a Unified UI Toolkit so everything across applications is the same.

      Not going to happen, there are already god knows how many toolkits, and some apps have their own in the name of portability. A better idea is for a theming standard - that'd be very useful, but nobody has done it yet.

    2. Re:My Point by Reid · · Score: 1
      To be a good Desktop OS you need ease of use, at this moment X11 doesnt fit that description.

      Other than the configuration issue, you're comparing apples and oranges. X11 is a protocol; the ease of use is a function of whatever applications are developed on top of it. Your beef is with KDE or GNOME or whatever. Scrapping X11 would not help at all.

      As for performance issues, I run a 1 Ghz athlon, and before that a 450 Mhz K3, and I don't remember having any problems with graphics speed. Granted, I run fvwm2, but even when I've played with KDE or GNOME, they seemed fine, too. Maybe 3D games are an issue, but I don't have much experience there.

      On a side note, what's really annoying is the way Windows won't allow you to do anything with a window if it's "stuck" for whatever reason. I'm not all that familiar with Windows, but it seems like the model is to let the window manage itself, which can be a big pain sometimes.

    3. Re:My Point by SirDrinksAlot · · Score: 1

      First you didnt bother reading what i said, you shot your self in the foot with the toolkit reply. ONE toolkit is whats needed. *READ* The fact that theres so many Managers and Toolkits is what makes it all so painfull and bloated.

      I shouldnt have to upgrade my hardware to run LINUX. how about i just NOT use it and run something that does run well, Windows.
      All your counter points are infact reasons to get rid of X11 if you just steped back and thought about it.

      Too much power over something makes it far too complex which is not a good thing.

    4. Re:My Point by IamTheRealMike · · Score: 1
      No, you READ. I told you, the chances of a unified One True Toolkit is slightly above absolute zero, so a common theming standard makes more sense.

      Sorry, but you don't have a clue what you're talking about. Learn about the situation, and then maybe people will take you seriously. Not even Windows or MacOS have one toolkit, this is hardly something unique to Linux.

  98. Re:FINALLY! Thank you! by Anonymous Coward · · Score: 0

    Those background processes should have to run at low priority, and yes, perhaps the start bar (explorer) should run at med-high or high priority.

  99. Isn't it obvious?! by chabotc · · Score: 1

    It wasn't linus or any of those people ! This is just what SCO was talking about!! There stealing Unix (Tm) secrets and applying them to the linux kernel!

    I'm sure the FBI will prove this with tracing phone calls from IBM's secret headquater to linus and his mery men just before this patch!

  100. Re:FINALLY! Thank you! by kingkade · · Score: 1

    did you ever think "all that invisible stuff" is what the taskbar/explorer is depending on? A blocked process can not receive input. Would you be happy if the screen was a 'welcome to windows' screen instead of showing the desktop before you can interact? -- ms just wants to have the appearance of a smaller boot-up to desktop time. X does this to me ALL the time under heavy system load when the vm is swapping in/out pages and my hd sounds like it's making popcorn (i have to use several java apps -- yeah, i know). yeah you could 'renice' X to -10 but that's kind of a work-around and i don't know if that's a safe thing to do, IMO. saying 'something must happen' is not much of a thought-out design goal, IMHO. just my $0.02.

  101. Old stuff by Anonymous Coward · · Score: 0

    Patches were available about 4 years ago that did exactly the same thing. But since neither Linus and Ingo made them, they did not get merged.

  102. Re:FINALLY! Thank you! by Anonymous Coward · · Score: 0

    Ah, for the times that I was running BeOS on my desktop...

    Now there was an OS that rocked. Really pretty, zero-configuration, a usability expert's dream-come-true, and super-fast. It booted up in less than half a minute on the last system I ran it on (including auto-detection of hardware, which it did every time it booted), and it's interactive performance was unparallelled.

    Why did we let them kill it? It sooo kicked ass. Now I need to run this ugly and slow "linux" thing just to get me a desktop unix on PC hardware.

  103. Re:Dial-up-A (diff)erence of opinion. by Gordonjcp · · Score: 1

    Mmmmm, kind of. The only thing there is that the packages are binaries, and often a whole load of contents change. And you can't (sensibly) patch binaries. Well, you can but you shouldn't.

  104. Re:Linux is dying by Anonymous Coward · · Score: 0

    Doh ! I thought M$ was dying.

  105. We better watch out by tekmate · · Score: 1

    SCO will probally decide they own this to.

  106. X cut-n-paste uses just the mouse - it's better ! by rklrkl · · Score: 1
    The subject says it all - the Windows way of cutting and pasting usually involves:

    1. Selecting the text you want to copy with the mouse left button.
    2. Either:
      • Letting go of the mouse and pressing CTRL-C (some users might be able to hold onto the mouse with one hand and use the other to CTRL-C, but most won't) or
      • Going to the Edit -> Copy menu item and choosing that.
      [Hint for those who need a clue stick: This is horrible GUI design]
    3. Clicking in the destination window position with the left button to get focus and position the pasting point.
    4. Either:
      • Letting go of the mouse and pressing CTRL-V or
      • Going to the Edit -> Paste menu item and choosing that.
      [Hint 2 - It's still horrible GUI design]
    Now, yes, Windows treats selection of text as simply a highlight function and not a copy, but 99% of the time when you've selected text, you want it copied into the clipboard. X Windows does this automatically and is the correct GUI behaviour - Windows has its default wrong.

    Now you've got the text in the clipboard, what do you want to do with it 99% of the time ? Yep, paste it into a window somewhere. Yet again, X does this by default when you press the middle mouse button...Windows ? Sorry, the default is to ignore the middle mouse button and you have to combo a left-click with either a menu selection or a key-press - BZZZT! It's the wrong default again.

    Basically, X Windows has its defaults correct and Windows has them wrong - it's twice as fast for a user to cut'n'paste (which is all users do with selections 99.99% of the time) in X Windows than Windows.

  107. If Linux drops X11 by SHEENmaster · · Score: 1

    I just might drop Linux.

    Network transparency kicks some royal arse that the best efforts of VNC and Terminal Server can't compare to. I can just hop over to another box and run its software. It's near realtime on 100mb/s, and I can't wait to try it on 1gb/s ethernet.

    Thankfully Linux is a kernel, not a commercial os and X will live on for at least a few more decades. Does anyone know of a compression scheme for X that would make internet use faster?

    --
    You can't judge a book by the way it wears its hair.
    1. Re:If Linux drops X11 by Anonymous Coward · · Score: 0

      There is apparently a modified X protocol called/nicknamed "Low-bandwidth X" designed specifically for low bandwidht links. I don't know if anything from XFree86 support it. It is probably readily available commercially (and it may be the glue behind a lot of commercial virtual erminal software out there).

    2. Re:If Linux drops X11 by dmelomed · · Score: 1

      LBX is dead, it doesn't help much. Just increases latency.

    3. Re:If Linux drops X11 by Anonymous Coward · · Score: 0

      LBX helps... a little... Not much, and so it's pretty much dead in the water.

      The real problem is badly-written applications that treat X like a dumb framebuffer and send huge pixmaps over the wire (often necessary for the "pretty" themes of mainstream applications that prioritize appearance over functionality).

      Compare XTerm to konsole or gnome-terminal to see what I mean.

      Moving to vector drawing can help to give pretty results while simultaneously reducing bandwidth utilisation, but presents its own challenges. Fortunately, those moves are afoot now that the KDE/GNOME coders have matured a little and begun to understand why X is implemented the way it is. Now, if only they'd use the Xrdb for preferences and theming, all my remote-networked apps could have a consistent appearance...

    4. Re:If Linux drops X11 by dmelomed · · Score: 1

      Needing 100 Mb/s or Gb/s of bandwidth to run X clients over network means X is barely suitable for cable modem or DSL, and then only for the basic stuff (8 bit color, small resolution, no obliquewindows moving). And by the way, it sucks in 24 or 32 bit color depth even on 100 Mb/s network. Try it.

    5. Re:If Linux drops X11 by Trelane · · Score: 3, Interesting

      Horse hockey. I have.

      Lower-end stuff (e.g. xterms) run slower over a dialup link (I'm sure I'm not even getting 40-50 kbps here), but it's entirely usable, particularly if I've been using it for a little while. Netscape 4 was lousy. I just tried it. I'm at 16-bit colour, BTW.

      Back when I had a cable modem (before I moved to a place where they said I'd have a cable modem by the end of last year. hah!), which was capped at 3Mbps, I ran Mozilla 1 over the cablemodem, over a long distance (they hadn't hooked in to KANREN, so my traffic to the university went from Manhattan, KS through Manhattan, NY and back) from my older Ultra10 workstation (It had, I think, just been upped to 256MB RAM), displaying on my Debian (XFree 4? Or was it still 3?) PII 400 w/ 512 MB RAM, and it ran just fine. I don't recall it being substantially slower than local. I was either running 16bit or 24bit depth. Quite possiby 24bit, since I wasn't trying to run many games then (I made it 16bit for games over winex).

      Oh, did I mention that those were over an encrypted connection? (ssh X11 tunneling)

      Heck, the university used Sun IPX/IPC with Linux as thin-clients, displaying from a couple of (actually fairly crummy IIRC) central servers. It was pretty usable, too.

      Slow at 100Mbit my ass.

      And, according to www.ncl.cs.columbia.edu/publications/cucs-022-00.p df, Microsoft Terminal Svcs is only able to do 8 bits (256 colors). Is that still accurate?

      --

      --
      Given enough personal experience, all stereotypes are shallow.
    6. Re:If Linux drops X11 by Daniel+Phillips · · Score: 1

      Needing 100 Mb/s or Gb/s of bandwidth to run X clients over network means X is barely suitable for cable modem or DSL

      It works perfectly well at 5 MB/s, i.e., over my wlan. You don't want to do this with an animation, but I run graphical editors, mailers etc. this way all the time and it's scarcely distinguishable from running locally.

      --
      Have you got your LWN subscription yet?
    7. Re:If Linux drops X11 by pherthyl · · Score: 1

      ?And, according to www.ncl.cs.columbia.edu/publications/cucs-022-00.p df [columbia.edu], Microsoft Terminal Svcs is only able to do 8 bits (256 colors). Is that still accurate?"

      No. It does 16 bit just fine (and probably 32 as well) and it is bloody FAST. I use it at work over a standard cable connection to do testing on a server in another country all the time and you can barely tell you're not on your own machine.

    8. Re:If Linux drops X11 by Trelane · · Score: 1

      Hmm. That's not what my Google search says. Interesting. Are you sure you're not talking Citrix or something?

      Soon as I get my cable modem connection here, I'll re-test.

      --

      --
      Given enough personal experience, all stereotypes are shallow.
    9. Re:If Linux drops X11 by Trelane · · Score: 1

      Have you tried X11 (preferably recent software) over the same link, with same/similar machines? I'd be interested. I'd bet your work link is substantially wider than my 3mb (*sigh* 1.5mb here, whenever it gets here) cap. What is your work link?

      --

      --
      Given enough personal experience, all stereotypes are shallow.
    10. Re:If Linux drops X11 by spongman · · Score: 1

      terminal services supports all resolutions and bit depths that are supported on the client. the coolest thing is that it also supports sound, you can run winamp on the server and it'll pipe the sound back to the client. it will also map your local drives and printers so they appear as local devices on the server.

    11. Re:If Linux drops X11 by evilviper · · Score: 1
      Microsoft Terminal Svcs is only able to do 8 bits (256 colors). Is that still accurate?


      Not at all. Here's a quote from the authoritive source of all evil in the universe (which I found with 2 seconds of googling):
      When you connect to a Windows XP-based computer by using the Remote Desktop Connection client, you can specify for the client to run with more than 256 colors.
      http://support.microsoft.com/?kbid=278502#T ask1

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    12. Re:If Linux drops X11 by Anonymous Coward · · Score: 0
      Does anyone know of a compression scheme for X that would make internet use faster?

      Well if compressed ssh-tunnel is not enough, you might want to check out dxpc ("Differential X Protocol Compressor").

  108. Re:a desktop user's dream come true? by TKinias · · Score: 1

    scripsit yomegaman:

    I assume that preserves all font/style/size information, right?

    Why the hell would I want it to? That's possibly the most obnoxious thing I can imagine. If I copy text from, say, a Web page, to an OpenOffice doc, I want that text to appear in the font face, style, and size of the current context, not what I copied from. Why on earth would I want it to be in the old face/style/size, just so I can waste time fixing it to match the rest of the text in my document?

    --
    In principio creauit Linus Linucem.
  109. Billy Boy and his Brains by Anonymous Coward · · Score: 0

    The stuttering and jittering in GUIs has been a sore spot for me for years that has not improved despite the fact that my PC today is hugely more powerful that the one I had in 1995. It is niggling little points like these that bother 999,000,000 of the world's billion computer users. I am surprised that M$ hasn't addressed this issue sooner. After all, it is the fact that M$ _has_ prioritized these superficial issues over the Very Important and Very Clever issues prioritized by Linux that its OSs are on all those hundreds of millions of user's desktops. Food for thought.

  110. Re:Copy & Paste behavior is the BEST thing abo by Anonymous Coward · · Score: 0

    Yeah, X11's method works great.

    Until you have to "Cut".
    Until you want to Paste-to-replace a text selection. (this is pretty much a deal-breaker for me)
    Until you want to copy something other than text.

    Other than that it's fine!

  111. Re:FINALLY! Thank you! by moderators_are_w*nke · · Score: 1

    Windows has had priority boosting for foreground processes since Windows NT 3.51 (at least). There is a slider in system properties that lets you enable how much.

    By default it is set to maximum for Workstation editions, and off for Server editions. New technology it ain't.

    --
    "XML is like violence. If it doesn't solve your problem, use more." - Anonymous Coward
  112. Re:FINALLY! Thank you! by Anonymous Coward · · Score: 0

    Are you saying RTFM? Oh the irony.

  113. ''Someone wants a simple feature'' by Convergence · · Score: 1

    Thats the problem, your feature is my misfeature.

    For instance, I like it that a non-topmost window can have the keyboard focus. I like the click-drag to copy and click to paste. Those are features not defects.

    What you're claiming is tantemount to ''Someone wants their desktop to have a pastel blue color that commercial offerings have had for years, and they are told to go look for an abandoned sourceforge page somewhere''

    Desktop design no more revolves around my choice in background color than it revolves around your choice of copy&paste interface. Dare I ask you how easily I could find a program that gives the X semantics above to all windows programs? You'll probably tell me to look at some abandonded CNET download page somewhere. (HOW DARE YOU?!?!?!) :)

    Just because someone somewhere in the past did it differently and you liked that style doesn't make it superior, or inferior.

    1. Re:''Someone wants a simple feature'' by BitHive · · Score: 1

      It's not about which feature a given person wants, or trying to prove one is better. It's about choice. Commercial offerings may not provide as much choice, but when they do, you can bet it does not take the form of "go look for this abandoned sourceforge page, download sources, build w/ dependencies, and install manually".

  114. Re:FINALLY! Thank you! by Trolling4Dollars · · Score: 5, Interesting

    This example perfectly illustrates what linus was having problems with when Ingo suggested that users just nice X up. It hides the problem, but doesn't actually fix it. Windows XP plays tricks on users to make them think that it's faster than Win2K or even NT. It loads the GUI earlier than the previous OSes, but there is still a lot of shit happening on the system in the background when you first get to the desktop (services starting, background apps loading, etc...). This is what causes the delay in response to clicking on the Start button. To prove this to a friend with Linux, I set X to start up a lot earlier and disabled a few of the non-critical services in the init scripts and compiled a custom kernel. Total APPARENT boot time from "Joe User's" perspective was about 30 seconds. I have to wonder if it would be a hell of a lot faster with this new patch. The thing is that these changes DON'T actually make the system faster at all. It's pretty much the same as before, but the end-user experience is that it APPEARS faster. That seems to be what a lot of people miss in this discussion.

  115. wish I could... by zogger · · Score: 1

    ..wish I could self mod myself to zero with this lame question. Asking because I don't know, and it's probably not possible. But do they make or has anyone made, a mobo with a dual processor for dual processor tasks, then a single processor someplace else on the board, for doing single processor worthy tasks? I would think that might be nifty if it was possible and the software could take advantage of it, especially with multitasking.

    Again, I know, most likely lame.

    1. Re:wish I could... by Anonymous Coward · · Score: 0

      What's a dual processor task?

    2. Re:wish I could... by Ed+Avis · · Score: 1

      Huh? There is no such thing as 'a dual processor'. A dual-processor board means a motherboard with two CPUs on it. That is all.

      --
      -- Ed Avis ed@membled.com
  116. Re:FINALLY! Thank you! by Trolling4Dollars · · Score: 1

    Actually, there is a hierarchy to the way Windows starts up its services because there are dependencies. And, you can change the order of startup to some extent if you know how to work in the registry.

  117. Re:FINALLY! Thank you! by benjamindees · · Score: 1
    Microsoft has gradually moved more and more startup routines from *before* the login screen to *after*, now even after the UI has been drawn and appears ready.

    This is to add to their increasingly absurd claims that "Windows (95,98,Me,XP) boots in (60,40,20,10) seconds!" Yet another marketing-ploy-turned-lousy-programming by the great people in Redmond.

    What they haven't (yet) realized is that most people don't want to have to turn off their computers ever. They are just forced to reboot all the time by crappy "features" such as these.

    --
    "I assumed blithely that there were no elves out there in the darkness"
  118. Re:FINALLY! Thank you! by Mitchell+Mebane · · Score: 1

    You have just hit on a few things:

    1) The taskbar is probably the most broken thing about Windows XP. I have tons of responsiveness problems with it, and moving things around is pretty much completely broken.

    2) Windows 2000/XP memory management just plain sucks.

    There's a few things you can do:

    First of all, turn off system hibernation. Most people never use this, and not only does this free up hard drive space equal to 1.5 times the amount of RAM you have, it cuts down on a lot of unneeded disk chatter.

    Second, if you have 512MB RAM or more, I highly recommend turning off the swap file in Windows. Yes, that's right. Even if you are nowhere near 100% RAM utilisation, Windows absolutely insists on paging things out to swap. After turning off the swap file (and hibernation) on my Athlon XP 2400+/512 MB Dual-Channel DDR machine, the XP interface is easily twice as responsive.

    KDE is still better, tho. Imagine that... an X-windows based interface faster than Windows Explorer... :P

    --

    The roots of education are bitter, but the fruit is sweet.
    --Aristotle
  119. Re:FINALLY! Thank you! by sloanster · · Score: 1

    kind of a lame comment - considering the majority of visitors to slashdot are win doze users....

  120. Re:Copy & Paste behavior is the BEST thing abo by dusanv · · Score: 2, Insightful

    Sure. Now use any method at all to copy between OpenOffice and Mozilla. Let me know when you figure that one out without using a third app. No, X11 cut and paste *is* broken (or rather, there is no standard) and it really ought to get fixed.

  121. Re:FINALLY! Thank you! by b0r1s · · Score: 2, Insightful

    What they haven't (yet) realized is that most people don't want to have to turn off their computers ever. They are just forced to reboot all the time by crappy "features" such as these.

    Completely wrong. Most people only care that their computers work reliably for up to 8 hours at a time, and shut them off when they're not in use.

    Most people don't 24x7 uptime, and wouldn't want it anyway: computers use quite a bit of power, and power costs money.

    Indeed, most people I know turn their computers off when not in use.

    --
    Mooniacs for iOS and Android
  122. Re:FINALLY! Thank you! by man_of_mr_e · · Score: 1

    This is not the problem you think it is. The problem you are seeing is not because background processes are stealing CPU, it's because the shell is spawning new processes, and is blocked until the spawn is completed (synchronous process execution).

    It does this so that it can notify you if a program in it's startup process fails to start for whatever reason.

    If you have no programs being started by the shell, the shell becomes useable almost instantly when it appears (this includes the Run* keys in the registry, not just the Startup folders), even though background services are still starting.

    This is somewhat exacerbated by some anti-virus programs which somehow block input until anti-virus is fully running.

  123. Re:Linus discovers priority inversions - WRONG by catenos · · Score: 5, Insightful

    What's being described here is called a priority inversion, where a high-priority task makes a request of some service running at a lower priority and gets hung up behind it.

    Which is wrong. Did you read the article?

    Priority inversion is, as you explained yourself, about a high priority task effectively getting a low priority by being dependend and therefore waiting on a low priority task.

    The article is about tasks at the same priority[1]. The task scheduler distinguishes between interactive and non-interactive tasks in order to improve latency where the user cares.

    Beforehand, the behaviour failed on a slow, loaded system to recognize the X server as interactive, because then X looks like a CPU-hog[2]. That resulted in freezes of several seconds[3]. Simply speaking, the patch solves this by passing some interactivity points between processes.

    You could have easily seen that this is not about priority inversion as one of the suggested work-arounds was to simply increase the niceness of the X process (which wouldn't help, if priority inversion had been the problem).

    Regarding QNX: As good as it is as a RTOS, as bad it fails to do something sensible when you have too much processes at the same priority. Having a reasonably working system presumes that each task is assigned an appropriate priority. Of course, the people at QNX did a decent job on the default priorities.

    [1] It may have an impact on tasks of different priority. I did not care to investigate that aspect, because that is of minor importance to what the patch is about.

    [2] And for the scheduler, interactivity is determined by a process going to sleep often (by waiting for interaction).

    [3] For non-interactive processes it is beneficial to do them in larger hunks, i.e. let 5 seconds other processes do their work, then work 5 seconds, instead of having 0.01 second slices and do the switching all the time.

    --
    Keep an eye on which arguments are silently dropped in replies. Not always, but often times it's very telling.
  124. Re:Copy & Paste behavior is the BEST thing abo by epukinsk · · Score: 1

    How do you copy URLs into a browser? I usually end up doing something like this:

    1) Select URL
    2) Switch to browser window
    3) Click on location bar in browser, being careful not to select anything
    4) Hold down Delete for a while
    5) Hold down Backspace for a while
    6) Middle click in the location bar

    Which takes forever. I suppose I could:

    1) Switch to browser window
    2) Select location bar contents
    3) Press delete
    4) Switch back to source window
    5) Select url
    6) Switch back to browser window
    7) Middle click in location bar

    Which is even more steps, but there's no "hold down delete and wait" step, which speeds things up a bit. But still, the other way:

    1) Select URL
    2) CTRL+C
    3) Switch to browser window
    4) Select location bar contents
    5) CTRL+V

    Make is very easy. I still can't figure out how to do this in a reasonable amount of time in Linux (assuming the apps are broken. Like, say, Evolution->Galeon)

    Erik

  125. Re:FINALLY! Thank you! by BladeMelbourne · · Score: 1

    "As an avid Microsoft fan..."

    You wouldn't be the person who wrote this article would you? Running a web-server on Windows 3.x, playing MP3s in Windows 3.x, sharing files on Windows 3.x... etc. So many screen-shots!

    http://www.froggy.com.au/mike.skinner/16bitwin.h tm

  126. Re:Dial-up-A (diff)erence of opinion. by Anonymous Coward · · Score: 0

    Why not? People do it all the time on other OSes.
    Games on Windows for one, come to mind.

    Besides with Distro's like Gentoo. Just keep the source disk around, and everytime one needs to upgrade, insert disk (or at least an image of one). Now yes one will have to draw a line at which one sends the whole thing vs a diff (75%?). It's that or wait till everyone has Broadband.

  127. Re:X cut-n-paste uses just the mouse - it's better by Anonymous Coward · · Score: 0

    some users might be able to hold onto the mouse with one hand and use the other to CTRL-C, but most won't

    OK, I admit that I've developed a slightly condescending view towards Windows users over the years, but I think you're taking it a tad far.

    My 'C' key is 3 inches from my 'ctrl' key. Only small infants or the physically diasbled will have a problem doing Ctrl-C in one hand.

    While we're on it, I think that the ability to "replace selection with clipboard contents" is a nice feature that windows (and KDE) gets right.

  128. Re:FINALLY! Thank you! by BladeMelbourne · · Score: 1

    Windows 3.11 does too!

    In the Control Panel, Under Enhanced, you can adjust the Scheduling. Windows in Foreground defaults to 100ms and Windows in Background defaults to 50ms. The minimum timeslice can be altered from the default 20ms too. The "Exclusive in Foreground" checkbox can also be checked here.

    http://www.froggy.com.au/mike.skinner/16bitwin.h tm

  129. Re:Dial-up-A (diff)erence of opinion. by Gordonjcp · · Score: 1

    Ah, you don't patch the binary, though (not usually). You just replace the whole file.

  130. Re:Linus discovers priority inversions - WRONG by Animats · · Score: 2, Insightful
    The article is about tasks at the same priority[1]. The task scheduler distinguishes between interactive and non-interactive tasks in order to improve latency where the user cares.

    When you treat tasks differently, you're prioritizing them. All the priority information isn't necessarily encoded into the UNIX-type priority number. This is a nomenclature distinction between "priority" in the formal sense of "who gets the (a) CPU", vs. the classical UNIX representation of priority numbers.

  131. use VNC over a cable modem by SHEENmaster · · Score: 1

    or use X apps that don't "lob" pixmaps over the stream.

    Obliquewindowmoving works fine, that's handled on the local end of things.

    I'm playing xbill over my lan now on wifi(12mb/s), well written X apps work fine.

    --
    You can't judge a book by the way it wears its hair.
  132. Sounds great, but here's THE BIG QUESTION by Elias+Israel · · Score: 1

    So, when will this be finalized?

    Feature freeze was supposed to be back at the end of October. When can we have final bits?

    (Before you ask, yes, I am more than capable of running a development kernel. But I'm old enough now to have other things to do with my life. I need the tested goods.)

    Can we have 2.6? Soon, please?

  133. Rogue programs artificially elevating priority. by Anonymous Coward · · Score: 0

    I had a professor that related a trick for elevating the priority of programs on some older multi-user systems. [I don't know if any existing systems really work this way any more.]

    The process scheduler on these systems would prioritize a process into the background (batch) if it constantly used up it's time slices. BUT, if a process looked interactive it would be given a higher priority than normal (this was necessary to impress the users). The "looks interactive" criteria could be met by printing to the console occasionally.

    He said all you needed was the equivalent of 'print ".\n";' somewhere in the processing loop and your compute intensive program would finish long before all the other guys back in background priority! Poor other guys. :)

    This kind of loop-hole may be something people wish to keep mindful when dealing with scheduler patches. Reading the list conversation, I'm glad that it looks like Linus has given it some thought.

  134. Problem is, a recompile does change 75 percent by yerricde · · Score: 1

    Why not? People [patch binary executable files] all the time on other OSes. Games on Windows for one, come to mind.

    No. As Gordonjcp mentioned they replace binaries, for precisely the reason you state next:

    Now yes one will have to draw a line at which one sends the whole thing vs a diff (75%?).

    A fellow often sees such an effect from a whole-program compiler optimization or from re-engineering to fix bugs, especially when the compiler uses a different register allocation or when the developer has added or removed a field or method from a class.

    It's that or wait till everyone has Broadband.

    I would rather not sit still for over seven years while the local cable monopolies and the local telephone monopolies get their collective poop together and push the price of broadband down to where dial-up is today. I know people who are still on 33.6 because they are banned from working and have parents too poor to fit a modem into their disposable income.

    --
    Will I retire or break 10K?
  135. Re:Copy & Paste behavior is the BEST thing abo by Space+cowboy · · Score: 1

    Maybe it's just me, but I *like* the X selection system. A windows-bound colleague of mine the other day exclaimed in jealousy when she saw me cutting and pasting between editors... Windows is just so damn clumsy.

    To answer your question, I

    1) Click on the browser desktop-icon to open a browser window
    2) Highlight my URL with the 1st mouse button
    3) Position my mouse over the URL bar, and click the middle button
    4) There is no (4)

    Simple, yes ?

    Simon

    --
    Physicists get Hadrons!
  136. [offtopic] X clipboard / selection by Hajoma · · Score: 1

    This is a common misconception. You're confusing the clipboard with the primary selection. Cut and paste works just like Windows', and is in fact more powerful.

    X's clipboard is generally handled with interprocess communication, not buffers. If you select something, the application claims the primary selection. Middle-clicking somewhere else will ask the application to send the selection.

    Copy and Paste use the clipboard, which is entirely separate. Edit/Copy in Mozilla claims the clipboard, setting its value to the current selection. As you have to select the text first, this must overwrite the primary selection, but selecting something else will change the selection without affecting the clipboard. Try selecting something in Mozilla, ^C, then select something else. Middle-click and ^V will enter different things. If you ignore the primary selection, this is exactly the same as Windows, but the ability to select and paste short items quickly using only the selection can be very useful - especially as it doesn't affect the clipboard.

    Unfortunately it's impossible to use the clipboard in xterm; you have to use the selection. You can cut and paste between most other applications, though. Another problem was in an old implementation of (IIRC) Qt, which overwrote the clipboard whenever the primary selection changed. This is fixed in the latest version.

  137. PicoGUI by dmelomed · · Score: 1

    Uf you're not familiar yet, see PicoGUI for an insight how they do things differently.

    1. Re:PicoGUI by p00ya · · Score: 1

      I wonder if PicoGUI will reap the same benefits as X from these kernel changes.

  138. Re:First Hooty Post by Anonymous Coward · · Score: 0

    Yeah? Ninnle sucks!

    Hooty Linux rules!

  139. This is the classic X argument by Featureless · · Score: 3, Insightful
    Someone comes along and points out X's shortcommings and calls for its replacement. Someone else (who fancies themselves older and/or wiser) comes along and disagrees strenuously, and tries to make X11 out to be the greatest UI ever created. Look... it's "network transparent," it's "flexible," it's "fast," we can just extend it to give it whatever features it lacks, etc. etc.

    Ugh. I don't buy it.

    To put it in perspective, lots of Unix has a big organization problem. X is just emblematic. It's "lower-level" APIs are a big stinking mess. Ever tried to program against it without a super-high-level bit of middleware? Then let's talk about how nice it is. If you're not up on this, try reading JWZ's rants on it (many written as he was porting Netscape)? X is a 4 foot high sandwich of crap, layer after layer between you and the display, full of massive, sucking complexity, the bugs, inefficiency... even during this supposedly wonderful "network transparent" windowing this foul stew shows its colors, as no combination of two applications or X servers quite looks the same. It's a verifiability nightmare, too, of course (and for instance, disabling X's many attempts to listen and talk on the network are one of the first things you do to secure a machine properly - and for real security, you avoid installing X altogether).

    The API design itself is atrocious. The much-touted "flexibility" is really code for laziness - it was a lot of work to do a proper GUI, so no one did it. The mishmash of X server extensions, window managers, font handling systems, etc. that's been cobbled together has led to a nightmare for both programers and users, as any given application doesn't just require "X", but a complex recipe of libraries and versions, and an end-user experience where no two applications look or act the same... or even remotely similar... Where cutting and pasting between windows is a pipe dream, and young geniuses still struggle to configure fonts properly for linux distributors.

    Or to just put it plainly, as my friend (who from time to time would write X windows gadgets) would say, it's only about twice as hard as managing the video memory yourself.

    "And thank god it's not all standardized, or we'd never have had all those wonderful experiments with different ways to do a GUI that never actually happened." In practice, no system is immune from its initial design choices, and it's been an endless series of awful MacOS knockoffs, multi-button madness, color-pallete spinning goofiness. Is X11 a "GUI experimenters toolbench?" Then I think it's time for something a little more grounded in everyday realities of computer use.

    I'm not even warmed up yet. I mean, X is still peppering the filesystem with a hedge-maze of exotically formatted text files describing the hex colors of every pixel of the trim of every window for a variety of appliations and classes in a complex inheritance and assignment scheme that few X developers even understand. Check it out, your XDefaults are "human readable."

    Shall we even discuss its security model?

    Modern Linux has tried to make its peace with X through wrappers, and we write against Tcl/Tk, Qt, inside the Gnome or KDE framework, and yet still the focus groups come back crying... we try to blame overfamiliarity with windows, but the problems are bigger... all of Unix (and of course Linux) suffers from the same class of problems that X does; as, for instance, an application needs to prompt you to insert a series of CD's, but there is no "single, authoritiative, standard" place to go find out what CD drives are installed on the computer, and what their device names are (yes, we know what they _usually_ are), and finding out if any of the CDs are already inserted involves parsing the text output of a proc file or a mount command, and so on and so forth... And all of this is being done by a messy bash script... so it's no surprise this functionatlity is broken even in, for instance, RedHat's own v8 package manager... I hope you can grasp the metaphor.

    It's a mess. Patches won't clean it up. Frankly, it's time we took the whole GUI back to the drawing board. But even if MacOS is the end-all/be-all, we can do it a hell of a lot better than we do in X.

    Following are some choice quotes from Don Hopkins' essay:

    X-Windows is the Iran-Contra of graphical user interfaces: a tragedy of political compromises, entangled alliances, marketing hype, and just plain greed. X-Windows is to memory as Ronald Reagan was to money. Years of "Voodoo Ergonomics" have resulted in an unprecedented memory deficit of gargantuan proportions. Divisive dependencies, distributed deadlocks, and partisan protocols have tightened gridlocks, aggravated race conditions, and promulgated double standards.

    X has had its share of $5,000 toilet seats -- like Sun's Open Look clock tool, which gobbles up 1.4 megabytes of real memory! If you sacrificed all the RAM from 22 Commodore 64s to clock tool, it still wouldn't have enough to tell you the time. Even the vanilla X11R4 "xclock" utility consumed 656K to run. And X's memory usage is increasing.

    ...

    X was designed to run three programs: xterm, xload, and xclock. (The idea of a window manager was added as an afterthought, and it shows.) For the first few years of its development at MIT, these were, in fact, the only programs that ran under the window system. Notice that none of these program have any semblance of a graphical user interface (except xclock), only one of these programs implements anything in the way of cut-and-paste (and then, only a single data type is supported), and none of them requires a particularly sophisticated approach to color management. Is it any wonder, then, that these are all areas in which modern X falls down?

    ...

    As a result, one of the most amazing pieces of literature to come out of the X Consortium is the "Inter Client Communication Conventions Manual," more fondly known as the "ICCCM", "Ice Cubed," or "I39L" (short for "I, 39 letters, L"). It describes protocols that X clients ust use to communicate with each other via the X server, including diverse topics like window management, selections, keyboard and colormap focus, and session management. In short, it tries to cover everything the X designers forgot and tries to fix everything they got wrong. But it was too late -- by the time ICCCM was published, people were already writing window managers and toolkits, so each new version of the ICCCM was forced to bend over backwards to be backward compatible with the mistakes of the past.

    The ICCCM is unbelievably dense, it must be followed to the last letter, and it still doesn't work. ICCCM compliance is one of the most complex ordeals of implementing X toolkits, window managers, and even simple applications. It's so difficult, that many of the benefits just aren't worth the hassle of compliance. And when one program doesn't comply, it screws up other programs. This is the reason cut-and-paste never works properly with X (unless you are cutting and pasting straight ASCII text), drag-and-drop locks up the system, colormaps flash wildly and are never installed at the right time, keyboard focus lags behind the cursor, keys go to the wrong window, and deleting a popup window can quit the whole application. If you want to write an interoperable ICCCM compliant application, you have to crossbar test it with every other application, and with all possible window managers, and then plead with the vendors to fix their problems in the next release.

    In summary, ICCCM is a technological disaster: a toxic waste dump of broken protocols, backward compatibility nightmares, complex nonsolutions to obsolete nonproblems, a twisted mass of scabs and scar tissue intended to cover up the moral and intellectual depravity of the industry's standard naked emperor.

    Using these toolkits is like trying to make a bookshelf out of mashed potatoes.
    - Jamie Zawinski

    ...

    The fundamental problem with X's notion of client/server is that the proper division of labor between the client and the server can only be decided on an application-by-application basis. Some applications (like a flight simulator) require that all mouse movement be sent to the application. Others need only mouse clicks. Still others need a sophisticated combination of the two, depending on the program's state or the region of the screen where the mouse happens to be. Some programs need to update meters or widgets on the screen every second. Other programs just want to display clocks; the server could just as well do the updating, provided that there was some way to tell it to do so.

    ...

    What this means is that the smarter-than-the-average-bear user who actually managed to figure out that

    snot.fucked.stupid.widget.fontList: micro

    is the resource to change the font in his snot application, could be unable to figure out where to put it. Suzie sitting in the next cubicle will tell him, "just put it in your .Xdefaults", but if he happens to have copied Fred's .xsession, he does an xrdb .xresources, so .Xdefaults never gets read. Susie either doesn't xrdb, or was told by someone once to xrdb .Xdefaults. She wonders why when she edits .Xdefaults, the changes don't happen until she 'logs out', since she never reran xrdb to reload the resources. Oh, and when she uses the NCD from home, things act `different', and she doesn't know why. "It's just different sometimes."

    Joe Smartass has figured out that XAPPLRESDIR is the way to go, as it allows him to have separate files for each application. But he doesn't know what the class name for this thing is. He knows his copy of the executable is called snot, but when he adds a file Snot or XSnot or Xsnot, nothing happens. He has a man page which forgot to mention the application class name, and always describes resources starting with '*', which is no help. He asks Gardner, who fires up emacs on the executable, and searches for (case insensitve) snot, and finds a few SNot strings, and suggests that. It works, hooray. He figures he can even use SNot*fontList: micro to change all the fonts in the application, but finds that a few widgets don't get that font for some reason. Someone points out that he has a line in his .xresources (or was it a file that was #included in .xresources) of the form *fucked*fontList: 10x22, which he copied from Steve who quit last year, and that of course that resources is 'more specific' than his, whatever the fuck that means, so it takes precedence. Sorry, guy. He can't even remember what application that resource was supposed to change anymore. Too bad.

    ...

    On the whole, X extensions are a failure. The notable exception that proves the rule is the Shaped Window extension, which was specifically designed to implement round clocks and eyeballs. But most application writers just don't bother using proprietarty extensions like Display PostScript, because X terminals and MIT servers don't support them. Many find it too much of a hassle to use more ubiquitous extensions like shared memory, double buffering, or splines: they still don't work in many cases, so you have to be prepared to do without them. If you really don't need the extension, then why complicate your code with the special cases? And most applications that do use extensions just assume they're supported and bomb if they're not.

    1. Re:This is the classic X argument by PyromanFO · · Score: 1

      "Or to just put it plainly, as my friend (who from time to time would write X windows gadgets) would say, it's only about twice as hard as managing the video memory yourself."

      Yeah, and I bet hes thinking about supporting themes, handling the windowing of all the applications with relation to your own, handling resolution changes, all the video card drivers, bit depth changes, not to mention changing theme or window manager while running. Oh wait, that means youd just be writing XFree + Window Manager + Gnome all over again. But Im sure if you write it yourself, it must be better.

      You know why I think most people bitch about X11 so much? Cause they can't see an open source implementation of Windows, or the OSX GUI, or any other major GUI. It may have it's fair share of problems, but I doub't anyone could write something better every time they want a GUI in "Random App 22"

    2. Re:This is the classic X argument by Anonymous Coward · · Score: 0

      You know why I think most people bitch about X11 so much? Cause they can't see an open source implementation of Windows, or the OSX GUI, or any other major GUI. It may have it's fair share of problems, but I doub't anyone could write something better every time they want a GUI in "Random App 22"

      You're right; if someone can't write something better, they should never voice an opinion on it. Revel in the logic!

    3. Re:This is the classic X argument by Anonymous Coward · · Score: 0

      To put it in perspective, lots of Unix has a big organization problem. X is just emblematic. It's "lower-level" APIs are a big stinking mess. Ever tried to program against it without a super-high-level bit of middleware?

      You're joking right? Have you EVER programmed a Win32 window application straight to the Windows API? Well okay, Windows has a few simple widgets built into it, such as buttons and basic menus (that lack icon support I believe). But not counting those widgets, programming for the windows API is a hungarian-notation, tchar, #defined constant, pass a structure as a pointer just to create a window nightmare.

    4. Re:This is the classic X argument by Anonymous Coward · · Score: 0

      Actually the Windows API is the second worst, the worst is X in this regard (seen both side by side once). The reason for this is that the Windows API is built upon a higher level of abstraction, as soon as you leave the widget level you run into GDI based upon canvases. Not too bad (although there are several things which can be simpilfied but it is not as hilarious as the stuff on X). As for the killer argument network transparency, whoever has seen a RDP connection over a slow line and did the same with X forwarding knows that in times of antialiased fonts, bitmapped skins etc... the protocol needs a serious overhaul, the bandwidh discrepancy is amazing. It's even amazing that a screen streaming protocol like tightvnc is less a bandwith hog than plainly compressed remote X on modern desktop environments. There definitely is something wrong there.

      Btw. network transparency could be achieved with a less limiting approach than forced client server. A listener/delegator model with optionally registrable servers would be the better approach, you can go directly into the hardware on desktops and route the high level calls on a pluggable network layer for remote connections. Same result, less layer overhead.

    5. Re:This is the classic X argument by Pieroxy · · Score: 1

      Man, X sucks, that's no news. Any X developer (not a programmer that program X but a programmer that program for X) knows that. It's not that the system is bad, it's just that there is no standard. Thus it is a nightmare to program and use.

      The only technical answer to that would be a Gnome or KDE (or anything else) assuming that this one would take 100% of the market and therefore set a _standard_ in there. But then it would be like MS, it would have a monopoly and that is just not acceptable...

      But back to the point: X sucks, has always sucked, will always suck. If you can set enough layers on top o fit to mask it entirely, then you may have something that doesn't suck, but is that really worth it?

  140. Re:FINALLY! Thank you! by Mitchell+Mebane · · Score: 1
    --

    The roots of education are bitter, but the fruit is sweet.
    --Aristotle
  141. Re:FINALLY! Thank you! by electroniceric · · Score: 1

    Excellent observation. As KDE has gotten snappier, I've noticed that it does this less frequently than Windows. Things take a noticeably longer to load, but once they are loaded they are generally more responsive to user input. I think this ends up being a big usability issue - because for those less familiar with the what the button is supposed to do, its meaning is made unclear when it doesn't respond. I.e., am I _supposed_ to click 5 times to make something happen?

    Your scenario - which, by the way, I go through on a regular basis with XP (Home and Pro) - makes me think of a question about the GUI. You mention clicking the start button a million times. Shouldn't explorer (or MFC) be catching some of these extra clicks, too, and avoiding sending them to the graphics subsystem to force 10^4 repaints? Or could this perhaps be done at the level of the graphics toolkit, where certain widgets could be marked to catch only n events until a response is given?

  142. Re:FINALLY! Thank you! by Anonymous Coward · · Score: 0

    Renice X to -10 is standard (even recommended somewhere in the X documentation), helps a lot, and is done by default in *desktop-oriented* distros like Mandrake.

    I wish people would stop installing Redhat on the desktop - it really sucks compared to desktop-oriented distros.

  143. Re:Linus discovers priority inversions - WRONG by Anonymous Coward · · Score: 0

    You could have easily seen that this is not about priority inversion as one of the suggested work-arounds was to simply increase the niceness of the X process (which wouldn't help, if priority inversion had been the problem).

    You're completely wrong.
    Do you know anything about X11? The client is a seperate process. It waits on the X server to do its drawing and get its input. There's the problem - the X server is not keeping up with the client. Nicing up a process to make it more responsive is a classic symptom of this. Priority inversion applies perfectly.

  144. Re:FINALLY! Thank you! by sloanster · · Score: 1

    somebody said "Maybee this will finally blur the line between OS's enough to get more people to switch over."

    um no - this will further widen the gap between the OSes.

    Seriously, I switched to linux back in 1994, and while microsoft has made significant progress, ms windows still has quite a way to go before I would consider using it again. I see windows 2000 and xp every day at work, and while they have taken some baby steps towards linux-like reliability and performance, ms windows is just not all there yet - they have cute down pat, but cute only goes so far.

    I find the performance of a modern linux desktop and a modern ms windows desktop to be in the same league, which is rather impressive since it's a comparison between the full client/server, network-transparent X window system, and a simple, single-user, local pc GUI.

  145. Read the reviews, they all point to Xandros by LINM · · Score: 1
    I hate to say it, but these recommendations are pretty weak.


    Unless the user wants to spend half their waking days learning (or dealing with) the intricacies and bugs of bad desktop systems, definitely go Xandros.

    For starters, Xandros is Debian based which does give the advantages that you mention in regards to stability and ease of upgrade. However, much more significantly Xandros takes care of all the manual work that you would need to put in (unless you want to go under the hood which it will let you do). Reasons to go Xandros:


    1) Install. Hands down the best. Again read the reviews, but it has phenomenal hardware detection, handles all the partioning (including NTFS), allows for customization if you want it, and has a huge success rate.


    2) Refinement. The engineers at Xandros touched pretty much every package on the system, fixing bugs in the open source versions of KDE and all the apps they package so that everything pretty much works like it should. They also did tight integration between the kernel, debian, and the desktop so that when you do something like stick in a usb flash memory, it pops right up in the file manager.


    3) Compatibility. If you want to browse or run on windows networks, Xandros auto-configures samba for you (in case you haven't gotten that Phd yet). The delux version ($99) also comes with Code Weavers CrossOver so that you can run MS Office (still the best unfortunately), Lotus, and soon Photoshop.


    4) Leadership. Not only is xandros the best desktop now, but they are working on very cool stuff and will likely extend their lead. I would strong recommend going with the technology leader here rather than dealing with enduring pain and lack of functionality.


    Check out the reviews (posted at www.xandros.com) or do a search on any review done on it. It is the hands down winner. Make life easy for yourself...

    --

    Hunger is the best sauce.

    1. Re:Read the reviews, they all point to Xandros by rseuhs · · Score: 1
      Actually all 4 points can be said about SuSE, too.

      Actaully, I doubt points 2) and 4), while SuSE is the main distro-contributer in KDE, ALSA, ReiserFS and XFree and has major contributions in the Kernel (porting Linux to mainframes, >4GB RAM support, porting Linux to Opteron), I have never heard of any project initiated by or lead by Xandros. But maybe you can enlighten me.

      Other than that, I can't comment on Xandros because I haven't tried it so far.

    2. Re:Read the reviews, they all point to Xandros by LINM · · Score: 1
      Your points are well taken. I think that if you look at SuSe, it has a very broad area of contribution to Linux in general. Xandros has a smaller much more focused development staff that has focused on incremental improvements and QA on existing packages (taking them the last 5%). The result is (according to the techical reviewers) the best best implementation of Linux on the desktop bar none.

      If you haven't tried Xandros, I highly recommend giving it a whirl. You can get a version for $99 or just $39 (without CrossOver). I trust you'll find it a very enjoyable experience.

      --

      Hunger is the best sauce.

  146. Re:FINALLY! Thank you! by benjamindees · · Score: 2, Interesting
    I could be wrong. I guess most people just want instant gratification (access to the programs they need to run) and a stable, reliable experience for the least cost possible. These seem to be at odds with each other.

    The users I know would trade stability and $10/mo for instant access, so they leave their computers on all the time and they crash once a week. Maybe the users you refer to are more cost-conscious, or maybe they just want stability and would trade the two minutes it takes to boot and log in for a reliable system.

    All I'm saying is that, given the opportunity, anyone would want both reliability and instant-access for zero cost. M$ knows this, and they know their products are not stable, so they market the (fictional) "fast boot times" of their OS's.

    --
    "I assumed blithely that there were no elves out there in the darkness"
  147. Re:Copy & Paste behavior is the BEST thing abo by Anonymous Coward · · Score: 0

    Well, gnome2 and kde3 have made a standard to use a second buffer in X.
    This means that if you mark anything and use ctrl+c, you can use ctrl+v to paste the same thing.
    Just as in windows. Problem solved.
    Off cause not _all_ apps is using this feature (even though it is an X standard). But not all apps in windows does this either (think Java).
    The thing that is still missing is copying of content other than text. Images, formatting and so on.
    I don't understand why they haven't implemented mimetypes in copying in X.
    Heck all they need is an escape character, so people could define what to send.
    Well, I'm sure it will come in a not too distant future.
    But the keyboard copying problem, is soon a thing of the past.People who comes from windows, will not even notice that the mouse also can paste.

  148. Re:Copy & Paste behavior is the BEST thing abo by Anonymous Coward · · Score: 0

    In Mozilla under linux, all I have to do is

    1)Select URL
    2)Move mouse into browser window (I use focus follows mouse)
    3)Middle click in any blank space of the webpage

    Then Mozilla loads the webpage.

  149. Re:Copy & Paste behavior is the BEST thing abo by cgori · · Score: 1

    Try the equivalent of "the other way" -- use
    some keyboard accelerators.

    1) Select URL
    2) Click somewhere in location bar, not highlighting anything.
    3) Ctrl-A
    4) Ctrl-K
    5) Middle-click in location bar, press enter

    Or, if you are using Mozilla:

    1) Select URL
    2) Middle click somewhere in the browser pane
    3) There is no 3

    (You might have to enable this under preferences
    somewhere -- i've had it this way for so long i've forgotten how)

    Seems pretty fast to me.

  150. Ach, more of the X-mess by dh003i · · Score: 1

    X-Free my arse...X-Mess is more like it. You can rationalize it all you want, but the simple fact is, X-Free is a big giant mess.

    Sure, network transparency, being able to run X remotely from another computer, is great, IF you want to do that. Most people don't. I have one computer at my home -- no need to ever use the GUI from remote. If I want to access it, I'll be accessing files and transferring them to a computer at work -- whcih is what ssh is for.

    Because of the big mess that X-Free is, I set up a pretty minimal desktop GUI, which is fine with me. I've always hated candy-desktop appearances, like OS X. Me, I stick with WindowMaker (in combo w/ PWM), Xfce for my desktop, and no anti-aliasing along with plain themes and hide-away stuff. Also, I don't -- not on my Debian GNU/Linux OS, or Windows (w/c I use for games) -- make it redraw the windows as I move them. What a waste. I want instantaneous responses to my actions, so I get rid of all animations and crap like that.

    So, my GUI's run pretty smoothly (except when I'm using Kazaa on Windows). However, that's only because of my minimalism, and doesn't justify or excuse X's sloppiness and enormous bloat. (I'm not going to complain about MS' bloat b/c MS never bothers to address real problems and I'm never upgrading WinME...I have all the games I want, and I think thatt future games coming out I'll want [like Tomb Raider 6] will support Win9x for a long long time).

    Of course, there's other disgusting problems in X, like not being able to copy and paste between windows, and the atrocious lack of standards for that and other things. I don't think we should throw out X -- just massive rehaul to get rid of this slop, not bandaid-treatments. Also, make a version of it for normal home users, who won't be sharing GUI's between multiple PC's.

    1. Re:Ach, more of the X-mess by Anonymous Coward · · Score: 0

      A troll or just misinformed?

      > Of course, there's other disgusting problems in X, like not being able to copy and paste between windows..

      As long as i have been using XFree (measured in years) it has had the ability to copy and paste between windows. Well, some programs don't accept ctrl+c/ctrl+v copy-pasting, but all accepts "select"->"middle click".

    2. Re:Ach, more of the X-mess by Anonymous Coward · · Score: 0

      highlight, middle click.

    3. Re:Ach, more of the X-mess by fforw · · Score: 1
      As long as i have been using XFree (measured in years) it has had the ability to copy and paste between windows. Well, some programs don't accept ctrl+c/ctrl+v copy-pasting, but all accepts "select"->"middle click".

      sorry to burst your bubble..

      mozilla's reaction the selecting + middle click was : a messagebox "The URL is not valid and could not be loaded"

      --
      while (!asleep()) sheep++
  151. yes they have by Anonymous Coward · · Score: 0

    it is a 4 processor board with 3 processors in it.

  152. Re:Linus discovers priority inversions - WRONG by catenos · · Score: 1
    The article is about tasks at the same priority[1]. The task scheduler distinguishes between interactive and non-interactive tasks in order to improve latency where the user cares.
    When you treat tasks differently, you're prioritizing them. All the priority information isn't necessarily encoded into the UNIX-type priority number. This is a nomenclature distinction between "priority" in the formal sense of "who gets the (a) CPU", vs. the classical UNIX representation of priority numbers.

    You are correct. This difference was, why I used "niceness" vs. "priority". Niceness being the priority the user chooses, while priority being the one the system calculates.

    That said, the article is still talking about tasks at the same priority (in your sense). Is is not about how much time of a minute a task gets (which is priority), but in how much slices the tasks gets it (which influences latency).

    It may be that the "interactive points", which were tweaked, also influence the priority, but the part worth an article was that getting the latency right was much improved.

    --
    Keep an eye on which arguments are silently dropped in replies. Not always, but often times it's very telling.
  153. Re:Typing from your hospital bed? by Anonymous Coward · · Score: 0

    Smithers went and rooted you up the arse you dirty homo.

  154. Linus is looking for USABILITY... finally!!! by Anonymous Coward · · Score: 0

    Could someone wake me up plz,
    is Linux NOW really focusing on Usability
    for NORMAL USER ?!

    'Normal users' can't "just increase the priority"
    ^^^^^^^^^^^^^^

    Ya I'm sure my grandma will open an xterm,
    su root and type nice -prio xwhatever,
    every now and then, I mean this is so intuitive,
    see run 'ps -uax' find those little pid,
    figure out which one is the MESSY one
    and renice it, repeat.

    Glad to see Linus in our USABILITY camp.

    If more Linux Hacker could wake up and put more USABILITY in their damn apps, maybe we could
    finally kill Windoze once for all.

    - A usability hacker =P

  155. WinXX GUI *sucks* by Anonymous Coward · · Score: 0
    Just try to close/minimize the window of a hung/busy process so you can actually use the multitasking properties of your computer.

    Oh wait. You can't.

    1. Re:WinXX GUI *sucks* by khuber · · Score: 1
      Just try to close/minimize the window of a hung/busy process so you can actually use the multitasking properties of your computer. Oh wait. You can't.

      Most people would kill it from the task manager. My question is, why does stuff hang all the time on Windows in the first place?

      -Kevin

  156. I'm late, but still you're wrong by Anonymous Coward · · Score: 0

    If the user isn't at the box banging away, the "interactive" processes are blocked in a poll() or read() call and don't do anything except sleep.

  157. More FPS under Linux than Win98 for Tuxracer by Anonymous Coward · · Score: 0

    I recently ran Tuxracer for the first time. This is a dual-boot Win98/RH7.3 machine.

    I saw much higher FPS numbers when running Tuxracer in Linux than in Win98 -- the max fps under Win98 was about 60, while under Linux, it was 140!

  158. Re:a desktop user's dream come true? by alofron · · Score: 1

    Why the hell did you mod her/him down to 'flaimbait' ? Surely you cannot compare the GUI's provided by Microsoft and Apple to the Linux WM's/desktops. It's just not the same. Sure, the FS/OS community may in time catch up, but right now it's lagging begind.
    And its for good reason : FS/OS WM/desktop programmers are just that : programmers. Not psychologists, not qualified GUI designers but just programmers (and pretty good at what they do, if I might add). Big corporations spend millions on psychology research etc. in order to create the best possible environment for _amateurs_. You and I may be happy may be utterly happy with the command line, or with recompiling KDE (with the appropriate CFLAGS etc) but most people ARE NOT (quite a few billion of them). They just don't care.

    Why can't you understand it ? When my brother asked me to build a system for him, I build a Mandrake Linux box. That was a mistake. My brother hates computers, he only needs them for a few things : Word processing, movies, mp3's, internet surfing, gaming and using some local specialized financial software package. Linux just didn't do the trick for him. Win98/OpenOffice/BSplayer/Winamp/Mozilla worked perfectly on the other hand. Sure it crashes. Sure it's 'proprietary'. Sure it's not as efficient. But the bottomline is : does your everyday oblivious user really gives a fuck ? No. Plain and simple.

    And NO, cut'n'paste doesn't always work great. (Try cut'n'pasting from some older apps like xfig to gedit or OpenOffice Word or whatever).

    I've been a happy Linux user since late 1995. Sometime during 1996 I was able to ditch the Windows platform altogether. And, although I'm in the computer buisness for 20 years or so, these have been the happiest 8 years of my life (as far as computing is concerned). That's because I _love_ the commandline. I've used various WMs and desktops (olvwm, then AfterStep, currently Gnome). But I find my self ctrl-meta-F-ing as soon as the system boots up (unless I have to use Mozilla, or OpenOffice or do some gtk+ coding/testing). So the Linux platform is just PERFECT for me. I can not explain to you how happy I was when Linux first booted in my brand new P90. It almost brought tears to my eyes, honestly, having a full working system in my puny PC, that was just unbelievable. And I am certain that I will never have to go back to 'p' software ever again. But thats just me. Do you really expect your normal, everyday user to really care about stuff like that ? Are you mad ?

    If only the FS/OS community finally realised that ... What's wrong with us anyway ? Are we so blinded by the satisfaction derived from the use of a *nix platform that we forget that the vast majority of users simply doesn't care about things like that ? And if that's the case, does it affect the development of better desktops for the 'ignorant masses' ?

    Then again I don't really care. I like by *nix box, I work more efficiently with it. I really don't care whether Linux ever makes it to the desktop market. I really don't care. For I don't care for the desktop in any way. I'm pretty happy with Linux as it is. If any effort is made to improve it I would like to see it directed in other areas and not the desktop. Is OS world domination so important for you people anyway ?

    -- "An evil exists that threatens every man, woman, and child of this great nation. We must take steps to ensure our domestic security and protect our homeland." Adolf Hitler 1933 ... o O (why does that sound familiar ... why does that sound familiar ...)

  159. Outstanding Post by handy_vandal · · Score: 1

    "The Tao of Linux" is a fine piece of work. Wise and funny ... as the Tao of anything should be!

    --
    -kgj
  160. OS X interface is dog slow. by Anonymous Coward · · Score: 0
    You should compare your Mac box to an equivalently equipped PC. I dual boot Jaguar and Debian testing on an 800MHz TiBook and have found OS X to be irritatingly sluggish compared to native X11. The most basic GUI operations (like creating a dialog box) are much faster under Linux. This surprized me after reading all the hype about OS X and Jaguar's GL acceleration. Some research clarified the matter though. OS X renders everything through PostScript and Jaguar's hardware acceleration is limited to the compositing of windows.


    Your assesment of X11 cpu usage is untrue (This goes for Windows as well). XAA plugs Xlib calls into a video card's 2D acceleration hardware. If there is a fault here performance wise it is only that X11 primitives can be (by now) too "primitive". Still, now that 4.3 is out everything in the GUI can be passed off to the GPU in some way via DGA, XAA, and XRENDER. Owners of older ATi cards (up to the 8500) can also benefit from DRI without using a propietary driver.


    In contrast, Aqua's toolkit api translates into Display PostScript which is rendered to a raster image (perhaps this gets a GPU boost, one would hope), which is then turned into a OpenGL texture (under Jaguar). That texture is then sent to the GPU to be manipulated via GL. Now that might sound neet-o, but barring some old fashioned 2D GPU work with the PostScript to raster image layer, your video hardware under OS X does nothing but move windows around. The rest is plain cpu based integer crunching.


    Here's how you can see this for yourself. Open Terminal.app and set it up with 50% transparency on a busy desktop. Grab the title bar and move it around. See how nice that was? It's very smooth and visually pleasing no? Of course it is. That's because GL hardware is working it's magic by moving what it considers a texture to a new part of the screen and then applying it's hardware alpha to render the final desktop. Voila!


    Now try something different. Install fink and try to do some actual terminal based work. (NOTE: If things don't go smoothly be sure to harrass the maintainer. He owes you. If things do go well use fink to create and sell cdroms full of free software without crediting the toolmaker . If that went well, sell T-shirts with your logo to believers of the one true path .) Notice something about the text handling? It seems to stammer a bit even though we're dealing with monospaced text on an application designed to do nothing but prompt for keyboard input. Want to scroll back to an earlier section of the man page for hdiutil? Simply press pgup and then wait one second -- that is after all how long it takes OS X to scroll text. Throw CPU Monitor.app into this mix and you can watch cpu utilization hit 75%-80% when scolling. Indeed, even when using the window's scrollbar I can see this stuff stutter like a monitor with a 30Hz refresh rate.

  161. Re:Copy & Paste behavior is the BEST thing abo by Shade,+The · · Score: 1

    Select text in Mozilla, go to OpenOffice, middle click. There. That wasn't so hard, was it?

  162. Re:Linus discovers priority inversions - WRONG by catenos · · Score: 1

    You're completely wrong.

    The word completely and the fact that you left out most of my posting (and concentrate on a minor part of it) don't go well together. Yes, my example was wrong (mixed up who was waiting). The other statements still stand.

    Do you know anything about X11? The client is a seperate process.

    Man, of course. Or else, talking about priority inversion, which is defined to happen between at least two tasks wouldn't make much sense. Opposite question: Did you read the lkml thread the article refers to?

    It waits on the X server to do its drawing and get its input. There's the problem - the X server is not keeping up with the client. Nicing up a process to make it more responsive is a classic symptom of this.

    Correct. But this has nothing to do with priority inversion, yet. This can happen just as well when both tasks have the same priority and there is just not enough free CPU power. And guess what? That is the discussed case.

    Here, you can increase responsiveness (that is, decrease latency) by changing how big the slices are (i.e. whether to give 10x0.01 secs or 1x0.1 secs). While changing priority effectively changes how much time slices you get (2x0.1 or 5x0.1)

    Priority inversion applies perfectly.

    Only if you define priority to include everything what could influence the time until a task is executed (including interrupt mask and so on). Then, yes, time slice layout would be part of the priority and you'd call it that.

    The classic understanding is more about which task is scheduled to come first and for preemptive kernels, also which task may preempt another.

    Btw, due to the reference to QNX in the original post I understood that the classic sense was meant, because QNX only knows about explicit priorities (what Linux calls niceness) and does simply round-robin or FIFO for tasks of the same priority, depending on system settings. No other magic involved (at least according to the white papers).

    --
    Keep an eye on which arguments are silently dropped in replies. Not always, but often times it's very telling.
  163. linux propaganda by Anonymous Coward · · Score: 0

    if you read carefully what the article says, linus simply said it would be a boost, but the scheduler author applied it and "nothing short of amazing". As in nothing even remotely close to amazing.

  164. Be grateful it's not XML by acb · · Score: 1

    Just be grateful X requests aren't sent in XML. Were X designed today, on today's "fast" hardware, some bright spark would probably decide that the advantages of making everything XML and putting an XML parser in the server outweigh the performance hit of parsing each request (which today's 2.4GHz SMP machines are up to, anyway).

  165. Cool, they're reinventing Windows by KJKHyperion · · Score: 2, Insightful

    Heh, nice to see them giving up and implementing the priority boost. I wish them the best luck implementing the detection of "foreground" tasks, with an user interface with so little contact with the processes it serves

    Don't you know what this patch is about? Well, ever noticed how on Windows the three/four most used programs among the currently open tend to display their windows instantly when switching between them, not cause the disk to swap at all, be generally more responsive? It's because the Win32 subsystem gives foreground tasks a slight sheduling priority boost, and frees up background tasks' unused resources (the on-screen buffers of windows, I guess) as required by the foreground tasks' needs

    You (and I mean you, random Slashdotter talking out of your ass) can easily see how X11 can't possibly compete on equivalent hardware, no matter how hard they try:

    • kernel-mode means one thing: everything happens in-process. You don't need to switch to another process's context to safely access shared resources. This means that the "system" (whatever that means) doesn't need to be notified when a task goes background - the task knows it, and it calls into the kernel, becoming the server process for the small amount of time it takes to access global resources
    • even shared memory and message passing instead of sockets won't speed up X11 much. Windows kicked X11's ass even when it had an user-mode GUI subsystem: the Windows NT team realized the importance of a responsive GUI, and invented a special synchronization object, the low-high pair, with the sole, specific purpose of synchronizing together a client and a server thread with the minimum overhead possible (in fact, extending the scheduler with a new waiting reason for threads)
    --

    Make a difference - use Windows! (open source clone of Windows NT)

    1. Re:Cool, they're reinventing Windows by nitehorse · · Score: 2, Interesting

      Heh. And yet in your sig, you link to ReactOS. Hmmm.

      Did you actually read the article? This has nothing to do with foreground processes, and everything to do with making things more responsive for processes that are going to relinquish their locks more quickly. The only reason X is brought up as a demo is because (being a monolithic and single-process beast) it's easiest to notice when X is lagging behind a bit because of the (previous) sucky heuristics.

      The double-whammy of Ingo's patch combined with Linus's little 6-liner is quite impressive. I've got a make -j3 running in my background right now, while I'm running KDE and using the XFree-supplied 'nv' driver (instead of the NVidia supplied one... haven't yet checked to see if NVidia has ported their driver to work with 2.5.x, or if it Just Does [TM]). I can move windows about with better responsiveness than my Win2K install gives me when it's just finished a huge task (compilation of a large project, exiting out of Counter-Strike). This is a very welcome improvement.

      As a side note: Isn't it funny how the users with the higher Slashdot IDs seem to be more MS-friendly than those of us who've been here a while (with a few notable low-UID exceptions).

  166. X11 developers? by Hard_Code · · Score: 2, Interesting

    Are there any X11 developers out there (or at least someone in the know) that can comment on the actual PLANS for XFree? So far I see several legitimate criticisms, one being the hardware access/busy waiting issue, and another being the mess that is the way XFree reads resources. When I was first introduced to X, right off the bat, the fact that it was a "special" application that had its own drivers to do direct hardware access, and the mind-boggling resource system, stood right out at me. Although X is great for many things, and although a lot of people spew hot air about it, I feel there are legitimate outstanding issues. As someone who is highly anticipating Linux kernel 2.6, and the potential for Linux on the desktop, I think these are very valid concerns.

    The XFree86 page is rather spartan, and I get NO idea what the roadmap for XFree looks like.

    --

    It's 10 PM. Do you know if you're un-American?
    1. Re:X11 developers? by Anonymous Coward · · Score: 0

      comment on the actual PLANS for XFree?

      The devel list is now public. Feel free to subscribe and listen.

  167. Really really old news - VAX VMS had it in 1980 by Anonymous Coward · · Score: 0

    the vax scheduler would give a good boost to processes just after an i/o read completion.

  168. Very Nice by ashelton · · Score: 1

    Sounds like a typical Linus idea to me. So obviously right that you can't imagine why you wouldn't do it.

    It's got nothing to do with gui's. It's not a hack like the windows priority bar or nicing X. It basically states that if you have a CPU bound process which lots of interactive tasks use then the server should get a "caffeine" shot too.

    X is just an easy example. It quickly gets CPU bound but can have lots of interactive clients depending on it. End result of this patch being the interactive clients respond better because the server is getting more processor in response to them existing. It automatically responds to usage patterns too.

    Oh yeah, and for those who slam X you've missed the core formula here. There need to be enough people who see sizable and fixable weaknesses in X to create a demand for a replacement. By and large X is decent and getting better, so such demand is marginal. There have been efforts to "fix" X but most have withered and died. This is how open software works.

  169. Turning computers off by metamatic · · Score: 1

    I guess you don't know any Mac users.

    When I'm finished using the computer, I just get up and walk away. After a while, it realizes I'm gone, and goes to sleep. While asleep, it uses so little electricity it doesn't matter.

    When I want to use the computer again, I walk up to it and touch the keyboard or mouse. There's my desktop again, instantly, with no boot time.

    Now, why the hell would I ever want to turn it off?

    The original poster is right. People turn computers off either because they have crappy computers that don't support deep sleep mode, or because they have crappy software that needs reboots.

    --
    GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
  170. Re:Copy & Paste behavior is the BEST thing abo by epukinsk · · Score: 1

    My browser window almost always already has a URL in the location bar. Basically, I'm wondering how you replace text? (like a url in the location bar)

    Erik

  171. Re:Copy & Paste behavior is the BEST thing abo by epukinsk · · Score: 1

    That's sweet. Thanks for the tip.

    Erik

  172. stuttering MP3 playback! argh! by Anonymous Coward · · Score: 0

    I have a relatively old and slow system: 120 MHz Pentium CPU, 16 meg RAM. Under Win95, I have no problem whatsoever playing MP3s with maplay 1.2+

    On Linux, however, even the slightest load on the system causes MP3 playback to stutter. One of the MP3 players has a command-line option to increase buffering. This helps, but why is it my responsibility to turn on buffering?

    It's just aggrivating that supposedly inferior Windows has no trouble with this while Linux does. Hopefully this patch will fix it.

  173. X-11, the jalopy. by Anonymous Coward · · Score: 0

    X is the downfall of Linux.
    It's as dirty as windows.
    Take it away.

    There is as much a need for a completely new system as there was a need for Linux in the first place.

    X is broken. Horribly broken. Beyond repair.

    How can we put so much effort into fixing a pile of rubble? We could easily have had an amazing new fast and minimal, yet just as configurable system as Xfree, .. built in these last few years. What is holding us back?

    I just don't understand why I'm stuck with X.

    1. Re:X-11, the jalopy. by tlahoda · · Score: 0

      That would be because you are not coding X's replacement. Until you are willing to do that, please STFU.

  174. Re:a desktop user's dream come true? by yomegaman · · Score: 1

    I can think of plenty of times I've pasted text with style info and wanted it that way. Windows and Mac OS generally give you the option to paste with or without formatting (I think it's application dependent). X only appears to let you do it without, I guess just one more example of it's vaunted flexibility. Why is it that whenever someone points out something that's difficult or impossible to do with Linux the response inevitably is "Only an idiot would want to do that anyway!" Can't you guys admit even slight imperfections? It's ridiculous.

    --
    ...wearing a skin-tight topless leather jumpsuit, with cutaway buttocks and transparent crotch panel.
  175. in EE terms... by Rhinobird · · Score: 1

    in EE terms that would FM...Fucking Magic

    --
    If Mr. Edison had thought smarter he wouldn't sweat as much. --Nikola Tesla
  176. NO! by Anonymous Coward · · Score: 0

    NO 2.6 for you! NEXT!

  177. ( . Y . ) by Anonymous Coward · · Score: 0

    $current_computer_revolution rules!

  178. The *real* question by Da+Schmiz · · Score: 1

    OK, here's my question: I don't run dev kernels on my main box here, so how long can I expect to wait before this patch makes it into a stable kernel? I expect there's no chance it will be backported to 2.4, so the real question is how long until 2.6 (or 3.0?) comes out? I heard "early 2003" several months ago. Is that still a reasonable timeframe?

    --

    "Anything is better than IE, and you can quote me on that." -- Wil Wheaton.

  179. Oh yeah this shit will fly for commoners by Anonymous Coward · · Score: 0

    No one that uses windows (99% of the computing mass) will give a rat's rear about this. More geeks licking each other's ear, but pointless to humanity.

  180. Not quite the same by 0x0d0a · · Score: 3, Informative

    If anything, Linux is becoming the next MS

    Now, *that*, I have to say, is bordering on the flamebaitish -- yes, I see what you're trying to say, but that's a kind of offensive way to phrase it.

    Uh...check out Windows 2000 scheduling algos.

    It's not exactly the same thing, though even Linus mentioned it (rather offensively, IMHO, to Ingo). Windows has a simple heavy priority boost it gives to the foreground app. That works fine if you're working in a fairly modal manner on a single-user system and you have a desktop-with-foreground-and-background paradigm as a fundamental part of the OS.

    Linux's scheduler takes a somewhat more ambitious (granted, that probably means you can trick it more nastily) approach, partly because it has a more general, more difficult task. From what I can tell from skimming the conversation, Ingo's work is something more along the lines of advancing the traditional UNIX approach of "this app didn't use (or is tending not to use) its full timeslice, maybe because it's blocking on I/O, so give it higher priority to get another timeslice than an app that *did* use its full timeslice". He's just doing somewhat more sophisticated automatic classification of whether an app is "interactive" or not.

    Yes, on the very surface, it's similar in goal. Make the task that the user is working with get more cycles at appropriate times to reduce latency of interface response. However, the approach is very much different, and the potential benefits are higher (since this automatically addresses a wide range of apps, not just making the foreground app peppier to keep scrolling snappy).

    I *will* give you that this has little to do with open source. I suspect that there are plenty of closed-source systems that have tried to do more advanced classification of apps as interactive or noninteractive.

  181. Re:FINALLY! Thank you! by Corbin+Dallas · · Score: 1

    That's right, it should 'just work'. If it doesn't just work for you, then it's your distro's fault. They should have done those things for you. It's not your fault, and it's not KDE's fault.

    --
    Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote.
  182. too bad NT kernel not open source by Anonymous Coward · · Score: 0

    Because if it were Linux would have been working like this 10 years ago.

    1. Re:too bad NT kernel not open source by vidarh · · Score: 1
      No it wouldn't. NT solve this problem by giving a static boost in priority to processes that own windows in the foreground, and give the GUI higher priority. The latter can be done in Linux with nice, the former would be a trivial patch (or you could manually nice the X clients you want to give priority to), however neither are seen as good solutions as they require the user/distributor/sysadmin/developer to decide on which tasks deserve the boost, and the boost is given regardless of whether the process in question is actually important to anyone.

      With the patch in question, the kernel automatically responds to a certain pattern of activity, regardless of whether it's X or some other process that is responsible for holding up interactive processes, and so the solution is far more generic.

      A typical example would be with component architectures such as Bonobo or KParts. If some interactive task depends on a CPU hog of a component, this change would ideally give the component a boost too (I say "ideally" because the patch currently only look at Unix domain sockets, and I've got no idea whether either Bonobo or Kparts use Unix domain sockets for parts of their communication).

  183. Linus Patch works in 2.4.x by Corbin+Dallas · · Score: 2, Informative
    I just manualy added the Linus patch to my kernel sources ( linux-2.4.19-gentoo-r10 ) and I did notice a nice difference. My test was to compile my app ( knights ) in a Konsole with XMMS running and me moving a Konqueror window all around the screen.


    The interactivity still wasn't perfect, but it was noticably better. Now if I can just track down and apply Ingo's patch as well....

    --
    Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote.
  184. How does this compare to BE and QNX os' ??????? by zymano · · Score: 1

    Qnx real time os and Be is multithreaded . Is linux behind these operating systems in handling processes or threads?

  185. Re:FINALLY! Thank you! by Anonymous Coward · · Score: 0

    ...and hate themselves. self-flagellation kind of deal.

  186. backport by oohp · · Score: 1

    Isn't there a backport for this [the O(1) scheduler] for 2.4?

  187. Re:Copy & Paste behavior is the BEST thing abo by Space+cowboy · · Score: 1

    Herein lies the difference. My browser window always pops up with (I think it's about:blank or something similar) as its' initial URL - anyway the URL area is empty.

    If I want to overwrite existing text, I double-click the offending URL and hit delete first, but in general I don't need to do this.

    I use linux as my desktop at home and at work, I'm a programmer by trade. Since we all check in and out via CVS, it's up to me which OS I use. Linux makes my life a lot easier :-)

    I have a double-headed machine, normally with (say) 5 or 6 editor windows open - cutting and pasting is a common task, and it's just so much easier to do it all with the mouse, for me, at least. I guess everyone has their own way....

    Simon.

    --
    Physicists get Hadrons!
  188. I don't blame ya ... by Taco+Cowboy · · Score: 1



    You sez:

    "2.5.54 is far slicker on the desktop than 2.4.x ..."

    I don't blame ya.

    With 2.4.x kinda die a s-l-o-w death, due to the super-sluggish-performance by that ultra-non-slick-maintainer .... I don't blame ya.

    --
    Muchas Gracias, Señor Edward Snowden !
  189. Have you tried Enlightment ? by Taco+Cowboy · · Score: 1



    You sez:

    "Linux isnt going to be truely Desktop friendly
    until X11 gets replaced with something that
    doesnt completely suck."

    For a much less-suck thingy, try enlightenment 0.17. Website at http://www.enlightenment.org

    --
    Muchas Gracias, Señor Edward Snowden !
  190. 5 lines, 15 posts... by tortap-0 · · Score: 1

    I find it amazing Linus and crew get any code done when they write a 5 line patch then spend 15 posts in lkml to debate it. And that's just Linus posts that kerneltrap found interesting.

  191. It's already the easist by d2003xx · · Score: 1

    "tar -zxf FOO.tar.gz; cd FOO; ./configure; make; make install"

    No mouse, no stupid dialogs, just type it within seconds and turn off the power of your monitor. When the next time you turn on your monitor, there would be a fully-optimized software for you!

  192. HEEEEEEEEELLLLP!! by Anonymous Coward · · Score: 0

    Is there a way on slashdot not to see poster above #200 000 ?
    Some days I really want to see good posts.

    I'm not trolling, just fed up.

  193. Drivers should not be in the kernel!!! by Goonie · · Score: 1
    Go on, laugh all you want. But that proposition was put strongly at a keynote on TCPA and Palladium I attended.

    The speaker, a guy who I had not heard of before but had clearly been working on computer security for decades, argued that both Windows and Linux had fscked up security majorly by letting drivers run in ring 0 and thus giving them access to everything in the kernel (for instance, letting your video driver quietly monitor your network traffic). His argument was that the x86 had the facility to run drivers in ring 1, thus quarantining them from touching hardware they weren't supposed to.

    I don't understand the internals of the x86 well enough to know how much actual security that would add, and I would also argue that I would much prefer an open source driver running with unlimited privileges to a closed-source driver in a sandbox.

    The other issue is that shifting drivers out of ring 0 might affect performance quite a lot, and if there's no real gain in security (or stability, because it would also be some protection against a badly-written driver screwing the whole system), it's probably not worth the bother.

    --

    Any sufficiently advanced technology is indistinguishable from a rigged demo
    --Andy Finkel (J. Klass?)
  194. Re:Linux is dying by Zoolander · · Score: 1

    Okay, this was funny the first 10 times, but now it's starting to get old... Even 'In Soviet Russia, Interactivity boosts YOU!' is funnier. (I know, don't feed the trolls...)

    --
    Meep.
  195. How is this related to the preemptible kernel? by Dr.+Spork · · Score: 1

    I suppose there are several real-time efforts going on, but I'm curious about why this is one that Linus supports while he seemed set against the preemptible kernel. So is there a connection? Is this the next revision of the preemptible kernel code?

  196. Re:a desktop user's dream come true? by sloanster · · Score: 1

    someone said "You mean here in the year 2003 Linux is going to get a decent desktop, like Macintosh got in 1984 or Windows in 1995?"

    um no... Linux had a decent desktop years ago, but I'll admit that it was best suited to intelligent people.

    What this is about is maintaining good GUI responsiveness and smooth multimedia playback in the presence of punishing, disk thrashing system activity - in other words, it's not about catching up to mac or windows, since neither mac nor windows have ever been there. We're talking really good stuff, not commodity pee cee type behavior.

    Oh, as for your comment about X windows cutting and pasting, I don't know what to tell you - it was working fine for me in 1993, and it's still working fine. perhaps your problem lies between the headphones...

  197. Re:a desktop user's dream come true? by Thing+1 · · Score: 1
    If I copy text from, say, a Web page, to an OpenOffice doc, I want that text to appear in the font face, style, and size of the current context, not what I copied from.

    I agree and run into this problem so much (under Windows) that I have developed a speedy workaround:

    1. Select text, hit Ctrl+C (copy).
    2. WindowsKey+R (run program), "notepad", Enter.
    3. Ctrl+V (paste), Ctrl+A (select all), Ctrl+C (copy).
    4. Alt+F4 (close Notepad).
    5. Switch to Word or whatever, Ctrl+V (paste).

    It takes a lot less time to do than it takes to describe, and copy-and-pasting through Notepad removes any and all formatting.

    I know this is Slashdot and I should provide a Linux-specific way to do this but I primarily run Windows.

    --
    I feel fantastic, and I'm still alive.
  198. The "reason" behind Start showing but not working by rdmiller3 · · Score: 1
    When I worked at Transmeta, I found out why this behavior happens... It's the MS Windows "Certification" qualification statement about "boot time".

    They officially measure boot time as the time from turning on the power to the time when the "Start" button shows up on the screen.

    So all sorts of things get twisted around, delayed, etc. by the OEMs just to make that damned button "clickable", even though the action which is supposed to follow that click won't happen for almost a minute.

  199. Last Post! by alpg · · Score: 0

    Last year we drove across the country... We switched on the driving...
    every half mile. We had one cassette tape to listen to on the entire trip.
    I don't remember what it was.
    -- Steven Wright

    - this post brought to you by the Automated Last Post Generator...