Slashdot Mirror


Linus And Alan Settle On A New VM System

stylewagon writes: "ZDNet are reporting that Linus Torvalds and Alan Cox have finally agreed on which Virtual Memory manager to include in future kernel releases. Both have agreed to use the newer VM, written by Andrea Arcangeli, from kernel version 2.4.10 onwards. Read more in the article."

167 comments

  1. sensation seekers by selmer · · Score: 5, Informative
    There never really was a big dispute about the VM subsystem, read alan's diary for an account of what happened in his opinion.

    I cite November 2nd: The great VM dispute really isn't. It went something along the lines of "Putting a new vm in 2.4.10 is crzy", "Probably it was but its done so lets make it work" and at 2.4.14pre8 "See it works" "Yep".

    1. Re:sensation seekers by hconnellan · · Score: 3, Offtopic

      Read about the big news on 5/6 Nov. Alan is installing windows. Alan's diary

    2. Re:sensation seekers by 42forty-two42 · · Score: 1

      What?! Alan is installing _Windows_?!! ;)

    3. Re:sensation seekers by ScumBiker · · Score: 1

      duh. Follow the link. Think physically, like a hard object.

      --
      --- Think of it as evolution in action ---
    4. Re:sensation seekers by Gleef · · Score: 4, Funny

      And people say it's easy to install windows. Two days and there's still more work to do.

      --

      ----
      Open mind, insert foot.
    5. Re:sensation seekers by Ardax · · Score: 1, Troll

      I don't know why this got modded funny. I can't get a Windows installation back to full usability for at least three days, and that's assuming that I've done the Great Internet Driver Hunt beforehand.

      Sure Windows and drivers only take a few hours, but then you have to tweak it up so it's not walking with 4 toes on each foot and make sure you don't take off a leg in the process.

      Then you start installing applications:

      void install_program(void) {
      run_installer();
      reboot();
      while (! last_update()) && (reboot_count 0x10) {
      install_update();
      reboot();
      }
      }

      void main(void) {
      while (! last_program()) && (reboot_count 1e10) {
      install_program();
      reboot();
      }
      }

      That's why it takes forever.

      Yes, one could argue that doing your own Linux "from scratch" would take longer (especially if you want to compile XFree), but if you have good file management, you don't have to rebuild linux every 3 months to keep it running smoothly.

      --
      Pax, Ardax
    6. Re:sensation seekers by prog-guru · · Score: 1
      This involved them taking out the front windows again to fit the correct sized pieces and then installing them properly as well as finishing the upstairs windows.

      I see he had to reinstall windows :)

      --

      chris@xanadu:~$ whatis /.
      /.: nothing appropriate.

    7. Re:sensation seekers by Anonymous Coward · · Score: 0

      Who says Windows doesn't have security holes?

  2. good news by Psychopax · · Score: 2, Insightful

    Though I do not think that Linux would have been doomed just because there were two different versions of the kernel out there it would have been probably more difficult for Linux.
    So that's good news. J.

    1. Re:good news by tshoppa · · Score: 1
      Having a single unified kernel source is, IMHO, not a worthy goal. The biggest advantage to an open-source kernel is that you can go in and tinker with it; having multiple folks pursue multiple tacks to VM is not in itself bad.

      There are other "branches" off the kernel tree for real-time kernels, etc. Getting rid of these would not be "good news".

    2. Re:good news by Psychopax · · Score: 1

      I did not meen to get rid of other kernel trees than the "main Linus tree" (as far as i know e.g. some architectures aren't integrated in this tree too). But I mean it is not very good to have more than one "standard" kernel. It does not make a good appearance.
      Of course, perhaps after a while these two kernels would differ more and more from each other so that one of them gets another kernel for "special purposes" (e.g. real time kernel you mentioned above).
      Another kernel tree for an area where it is clearly visible other things are needed is not bad. But two kernel where the average user don't know which one to choose are not good in my opinion.
      Nice day,
      j.

  3. NUMA?! by ssimpson · · Score: 5, Informative

    It's previously been argued that Andrea's VM doesn't work with NUMA architectures, hence work should continue on Rik's 2.4.x design

    Not a problem now, but it's one of the major aims of 2.5, according to Linus. Anyone know how they are going to square this circle?

    --
    "Mary had a crypto key, she kept it in escrow, and everything that Mary said, the Feds were sure to know."
    1. Re:NUMA?! by Prop · · Score: 4, Insightful

      I have to ask ... shouldn't a NUMA-efficient VM be left as a patch, or thru a kernel fork ? I mean, how many people have access to NUMA machines, let alone own one ?

      The VM in the mainstream kernel should be optimized for what Linux runs on 99% of the time : single CPU, with a "standard" memory bus.

      With that being said, I couldn't believe that Linus made such a major change in a stable kernel. I'm glad it works, and that Alan Cox has agreed to go with it, but it wasn't an example of software engineering at its finest...

    2. Re:NUMA?! by Alan+Cox · · Score: 4, Informative

      Getting NUMA to work well with Andrea/Marcelo's VM might be more interesting. On the other hand Martin and the other IBM folks don't seem duly perturbed on list so I'm not that worried

    3. Re:NUMA?! by Ed+Avis · · Score: 2, Insightful

      I'm currently wondering about NUMA - or something close to it. I'm running Linux on a couple of machines where the memory is of differing speeds: a fast eight megabytes and then the rest of the RAM is a lot slower. Can existing Linux kernels handle that sensibly?

      --
      -- Ed Avis ed@membled.com
    4. Re:NUMA?! by Anonymous Coward · · Score: 2, Insightful

      but it wasn't an example of software engineering at its finest...

      In the strictest sense... you are correct. However, engineering of any sort is a real world activity, not some dry academic subject (Wirth is full of shit on many topics, for example). Knowing when it's time to give up on a bad job, chuck it out and give something else a chance is a valuable thing (but not something to do lightly, or often).

    5. Re:NUMA?! by Sneakums · · Score: 2
      I'm running Linux on a couple of machines where the memory is of differing speeds: a fast eight megabytes and then the rest of the RAM is a lot slower. Can existing Linux kernels handle that sensibly?

      One way might be to configure the slow RAM as a ramdisk and use it as swap.

    6. Re:NUMA?! by Ed+Avis · · Score: 1
      One way might be to configure the slow RAM as a ramdisk and use it as swap.
      I considered that, but it's a lot of overhead pagefaulting and going through the VM system and ramdisk driver every time a page is needed from outside the eight fast megabytes. It works fine to run processes using the memory above 8M, it's just slower. So I'd like Linux to somehow 'prefer' using the lower pages of memory and maybe rearrange things occasionally so that the more frequently used pages are kept in the fast RAM.
      --
      -- Ed Avis ed@membled.com
    7. Re:NUMA?! by Nicopa · · Score: 1

      And I'd like to add that the fact that the VM worked fine from the very start, and Alan's choice to switch to it shows that Linus is capable of taking these decisions. Perhaps he shouldn't have been so second-guessed.

    8. Re:NUMA?! by led · · Score: 1

      Actualy I had some problems with it, on a few of my web servers, when the load was high a mem low....
      2.0.x,2.2.x,2.4.x kernels are suposed to be safe... the 2.4.x broke this... I don't think I will trust installing a new kernel like I used to...

    9. Re:NUMA?! by Anonymous Coward · · Score: 1

      If you install the most recent kernel release (stable series or not) on a production box, you are a fool. No two ways about it, and it's never been any different.

      I only install kernels from Redhat (they've been throughly stress tested) on important boxes. I take risks with non-essential machines.

    10. Re:NUMA?! by Prop · · Score: 1
      Knowing when it's time to give up on a bad job, chuck it out and give something else a chance is a valuable thing (but not something to do lightly, or often).

      Well, I don't disagree with you on that. Rules are meant to be broken.

      But in some ways, Linus got lucky - AA's VM worked much better than RvR's, so it makes look like it was the right decision. But the real question is - if RvR's VM was so broken, how did it get in there in the first place ?

      I think this is a situation where 2 wrongs made a right : bad move introducing RvR's VM when it was not ready for prime time (or at least, no tested enough to know if it was), and then switching VMs in a "stable" tree.

    11. Re:NUMA?! by Anonymous Coward · · Score: 1

      But in some ways, Linus got lucky - AA's VM worked much better than RvR's,

      And it was accepted as a replacement because it worked better!

      But the real question is - if RvR's VM was so broken, how did it get in there in the first place ?

      Simple... you try something new, it doesn't work - but you don't know it isn't working until you try. The old VM "worked", in that it functioned as a VM, but certain problems came to light, and fixing them proved to be more complicated than just choosing a new, simpler, VM.

      It's not as simple as saying "Linus used a broken VM."

    12. Re:NUMA?! by psamuels · · Score: 2, Interesting
      But the real question is - if RvR's VM was so broken, how did it get in there in the first place ?

      Something had to get there. Let me explain.

      Back in 2.3.7, Linus merged a huge change that moved most file I/O from a buffer cache (caching of device blocks) to a page cache (caching based on virtual memory mappings). The VM was severely affected by this, and it never quite recovered.

      So the Riel VM was not something wholly new, although it has some bits Rik put in late in the 2.3 cycle. -- But to answer your question, the "new" part of the 2.4 Riel VM was only accepted because the 2.3.7 VM was even worse.

      The real question is, why did Linus stop merging Rik's VM patches back in early 2.4? At least according to Rik, Linus's VM between 2.4.5 and 2.4.9 stayed the same even though Rik was still tweaking it and submitting patches.

      --
      "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
    13. Re:NUMA?! by Anonymous Coward · · Score: 2, Interesting


      I mean, how many people have access to NUMA machines, let alone own one?

      All multi-processor AMD Hammer machines are / will be NUMA, so we may see a lot of mainstream users getting NUMA machines in the next few years.

      That having been said, there are more linux users than just mainstream users .. there are a lot of universities playing with NUMA machines, and some businesses too. Linux is working hard at being all things to everyone, but if it drops niche users whenever it's convenient its credibility will suffer in those niches. You may say "devil may care", but this is more or less what happened with gcc -- a lot of fringe groups got abandoned, and one of the reasons egcs was a success was because it picked up these fringe groups again (GNAT, et al) and made'em all one big happy family. If nothing else, the current maintainers need to avoid ostracizing people if they want to avoid having the mountain moved out from under them, like Cygnus did when they took over gcc maintanence from RMS. (OTOH, if Linus + friends don't care, then this is moot.)

    14. Re:NUMA?! by RestiffBard · · Score: 2

      we can always get dirk pitt to solve this right? or maybe I've got the wrong acronym. :)

      --
      - /* dead coders leave no comments */
    15. Re:NUMA?! by Prop · · Score: 1
      Simple... you try something new, it doesn't work - but you don't know it isn't working until you try. The old VM "worked", in that it functioned as a VM, but certain problems came to light, and fixing them proved to be more complicated than just choosing a new, simpler, VM.

      But shouldn't that have been caught in the 2.3.x series ? I thought the stable series (ie: 2.4.x) were to catch small "ooopsies", not "let's chuck out a key part of the kernel"

      Maybe the pressure Linus got to release 2.4 was a the culprit ? I recall the Zdnet's of this world making quite a bit of hay over the fact that 2.4 was long in coming ....

    16. Re:NUMA?! by tkrotchko · · Score: 2, Informative

      If you're wondering what NUMA stands for (as I did), you can get a good 2 sentence definition at the Webopedia

      --
      You were mistaken. Which is odd, since memory shouldn't be a problem for you
  4. More information is available: by ssimpson · · Score: 3, Offtopic

    At eWeek.

    --
    "Mary had a crypto key, she kept it in escrow, and everything that Mary said, the Feds were sure to know."
  5. This article is a joke... by Juju · · Score: 3, Offtopic

    It claims that SuSE is a US company (funny how I could have sworn it was German ;o)
    It also says that Alan Cox will take over 2.4 once 2. 5 is opened which is wrong...

    The whole war story is totally ridiculous. There has never been a talk about a fork. All there was were discussions of whether a new VM should be brought in 2.4 instead of 2.5, and some talk about the validity of benchmarks showing the improvements with the new VM.

    I guess there is not much going on in the news for them to feel like writing about this...
    Besides, this is nothing new since Alan Cox sayed that his last ac patch would probably be the last one with the old VM.

    --
    Black holes occur when God divides by zero.
    1. Re:This article is a joke... by Syberghost · · Score: 4, Informative

      It also says that Alan Cox will take over 2.4 once 2. 5 is opened which is wrong...

      Just in case somebody doesn't believe you, here's the proof.

    2. Re:This article is a joke... by dangermouse · · Score: 3, Informative
      It claims that SuSE is a US company (funny how I could have sworn it was German ;o)

      Just for the record (I've pointed this out elsewhere), SuSE Inc. is a U.S. company... SuSE has done the general equivalent of incorporating in several countries, including the U.S. SuSE Inc. is, in fact, in Oakland as the article reports.

      Of course, it might not be SuSE's U.S. corporation that's involved here, but that's a completely different possible source of inaccuracy. ;)

    3. Re:This article is a joke... by TheMidget · · Score: 1

      Didn't the SuSE cease its US operations a while back, due to the economic slowdown?

  6. In related news... by Oshuma.Shiroki · · Score: 5, Funny

    Linus Torvalds and Alan Cox have finally agreed...

    In related news, pigs are now flying all over town, and hell just froze over.
    </sarcasm>

  7. why not just say linux almost contracted anthrax! by mark_lybarger · · Score: 1, Insightful

    from the article- The accord also ends speculation that a fragmented Linux community would be doomed in the face of Windows.


    where does this ludicrious speculation come from? this sort of reporting of unsubstanciated claims is quite funny on the surface. but the more general audience reading this article will think MUCH less of the stability of the linux kernel reading crap like this. sure there is/were two different VM systems that has caused lots of posting here on ./ and probably much discussion on the kernel mailing list. how in the hell does that indicate that the linux community will be doomed in the face of windows? ARRRGGGGG!

  8. Was there really any "dispute"? by sphealey · · Score: 3, Insightful

    Was there really any dispute between ac and Linus, or was it just a technical competition to see which system could be pushed the farthest?

    I thought the eWeek article took an unnecessarily confrontational tone.

    sPh

    1. Re:Was there really any "dispute"? by nyteroot · · Score: 2, Interesting

      yeah, plus the gross inaccuracy saying alan was going to maintain the 2.4 kernel.. didnt they *just* announce that it would be marcelo? oh the joys of clueless linux reporting..

      --
      Ratio of replies to old sig content : replies to actual post content > 0.5. Sig changed.
    2. Re:Was there really any "dispute"? by Royster · · Score: 2

      Was there really any dispute between ac and Linus, or was it just a technical competition to see which system could be pushed the farthest?

      It was primarially a stability issue. To rip out a tested (but poorly performing under certain loads) VM for a brand spanking new one in the middle of a stable series was a big move. AC maintained the old VM for those who didn't want to participate in the inevitable tuning and bug-fixing that the new VM required.

      It's not like it wasn't unprecedented. Andrea Arcangeli's (what a cool name!) VM rewrite eventually solved the 2.2 VM problems. But those has been dveloped as a seperate set of patches before they were incorporated into the stable 2.2 series.

      --
      I have discovered a truly marvelous sig, unfortunately the sig limit is too small to contain i
  9. Really glad to see this happen by tannhaus · · Score: 2, Flamebait

    I was talking to a friend yesterday about this very issue. I'm glad to see it resolved. To the outside world, Linux already looks fragmented compared to windows (many different distributions of linux compared to one Microsoft). This may not be a correct assumption, but having two different kernels did not help the situation at all.

    Now, finally, we can say again : "There is one linux kernel, there are many different distributions. The kernel is the same and the different distributions differ only in programs and scripts".

    Linux isn't ready for the desktop? Ohhhh crap....do I have to erase it then?

    1. Re:Really glad to see this happen by Anonymous Coward · · Score: 0

      Except that's not true. Alan wasn't keeping his own tree just because of the VM. He's been doing so for a long time. Alan's tree is where more 'experimental' things go for testing, etc, before Linus puts them in the main tree. Alan will, undoubtedly, keep doing ac (at least when 2.6 comes out, I assume he'll be doing a lot with 2.5 now). This was just a highly publicized 'rift' in the two kernels.

    2. Re:Really glad to see this happen by gmack · · Score: 1

      That's not actually correct.

      Right now we have 3 kernel trees being sepperately
      maintained: 2.0.38, 2.2.20, 2.4.14 are all diffrent trees.

      Forking happens all of the time and it's in general a good thing if done right. People were making much too big a deal out of this.

    3. Re:Really glad to see this happen by tannhaus · · Score: 0

      I understand that part..but when the official kernel came out, didn't ac use it, then add new patches to it? patches that would eventually make it into the official kernel?

      so 2.4.5-ac1 was the 2.4.5 kernel with these changes..

      ?

    4. Re:Really glad to see this happen by Anonymous Coward · · Score: 0

      You make a statement:

      There is one Linux kernel. If that is true, then why is RedHat Linux, the LEADING linux have a different kernel?

      Looks like practice varies from your theory of 'one' kernel.

  10. Minor point by Anders · · Score: 5, Informative

    From the article: Torvalds is close to handing over the stable 2.4 kernel to Cox.

    ...and I thought that Marcelo Tosatti was going to maintain 2.4.

  11. So what? by CMBurns · · Score: 0

    Does this really matter to the average Linux user in daily life? I've been using Linux for several years now and never stumbled upon some obscure VM (besides Java VMs, but that's another story). It just used to work, and it worked good.

    So what's this all about? How does the average user profit from this change? Maybe Linus was right when he stated that the really important/interesting work is now done on the desktop frontier and no longer under the kernel's hood.

    Any suggestions?

    1. Re:So what? by afinn · · Score: 1

      Dont mean to be pedantic but VM here is virtual memory. The java VM is virtual machine. Quite different. Your average linux user doesn't need to know about the virtual memory system. But if your programming java, you should have an idea how the java VM works.

    2. Re:So what? by stilwebm · · Score: 4, Informative

      For one, the new VM is less likely to begin killing processes or swapping randomly. Also, the new VM works in a more simple (relatively speaking) way that uses about 1/2 the swap space as the previous 2.4 VM. Like the VM system in 2.2.x kernels, having 128MB of RAM and a 128MB swap file will result in about 256MB of virtual memory available to the system. In the previous 2.4.x VM system, a computer with 128MB of RAM needed 256MB of swap space to effectively use 256MB of virtual memory.

    3. Re:So what? by Anonymous Coward · · Score: 0

      ...if you're programming...
      -1 Offtopic

  12. SuSe in Oakland... by AndroSyn · · Score: 2

    It seems these folks decided that using the whois database for the companies location was a good idea.

    It turns out that the registration for suse.com does point to an office in CA. But if this moron would do some real research, he'd find out that they are infact in Germany. Of course all of us knew this.

    Then again most reporters are morons..

    1. Re:SuSe in Oakland... by Anonymous Coward · · Score: 0
      But if this moron would do some real research, he'd find out that they are infact in Germany. Of course all of us knew this.

      Or maybe, in the spirit of patriotic fervor, EVERY GOOD THING IS NOW MADE IN THE U.S.A.?

    2. Re:SuSe in Oakland... by dangermouse · · Score: 1
      SuSE, Inc. (SuSE's United States corporation) is in fact located in Oakland. Unless it's one of the other SuSE companies in another country that's paying the man, they got it right.

      Make your words less bitter... that way when you eat them later it won't suck so much.

    3. Re:SuSe in Oakland... by LizardKing · · Score: 2

      Last time I read lkml, Andrea's e-mail address was a .de one, which suggests that he works for the parent company in Germany.

  13. the way i heard it was resolved was... by motherhead · · Score: 4, Offtopic

    Linus and Alan had their wrists taped together and sort of danced/knife fought while eddy van halen played guitar in the background...

    oh wait that was a michael jackson video... sorry... though still this might be as accurate as anything else...

  14. Good news. by rmadmin · · Score: 2, Interesting

    Regardless of what the article almost implied (that Cox and Linus were at dispute), this is good news for the kernel. From the sounds of it this new VM will make quite a difference from a performance aspect. I could almost care what people are fighting about. As long as new features get implimented, or the system is revamped to improve performance/stability, I'll be happy. And thats what the point is here... A new VM is going to be implimented, and its supposed to kick butt. So enjoy it and quit squabling about weather or not Cox and Linus are fighting!

  15. Summary as I see it... by Duncan+Cragg · · Score: 5, Insightful

    1. Everyone knew the Rik VM was poor
    2. Linus was stressed about it and took a brave decision to go with Andrea's VM
    3. It was VERY late to be doing this, but necessary.
    4. Linus' decision was correct as it turns out.
    5. Alan's decision was also correct in that you shouldn't be doing this kind of dramatic about-face in a 'stable' kernel.
    6. Alan's going with Andrea was also correct.
    7. I've been waiting, along with many others, for this whole mess to be sorted before 2.5 was started and I upgraded kernels.
    8. Passing 2.4 over to Alan means we can upgrade in confidence. This should be the test of stability for 2.6: upgrade when Linus passes it on to Alan.

    1. Re:Summary as I see it... by hey! · · Score: 4, Interesting

      1. Everyone knew the Rik VM was poor


      Even that may be a bit strong. I'd say more that it was late than poor. I'm running a recent ac kernel on one of my production servers (long story, but suffice to say that I needed a bunch of things and this turned out to be the simplest way). I was initially concerned about the Rik VM, but so far it has worked fine. Of course this is anecdotal, but I almost certainly would have had serious problems if I had installed one of the earlier 2.4 kernels, which shows progress.

      Rik is right that you make things right before you make them fast; on the other hand the VM really needs to be right AND fast to be truly ready for prime time (and early releases in the 2.4.x series weren't all that "right" to begin with). The Rik VM is supposedly more advanced and featureful, but it may have simply been a bridge too far, at least given the time and resources he had to prove his ideas.

      I feel sorry for Rik, but thems the breaks. He may have been right but you don't get forever to prove your ideas. At some point the clock runs out on you, even if you are really close to pulling it off.

      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
    2. Re:Summary as I see it... by Anonymous Coward · · Score: 0

      You don't have to feel sorry for Rik. Both VMs have benefitted greatly from this recent slugfest. Rik's is simply a bit ahead of its time in some ways, addressing issues that are not that much of a concern on current midrange hardware. Rest assured, his good ideas will creep back into the kernel as time goes on.

    3. Re:Summary as I see it... by 4of12 · · Score: 3, Insightful

      but it may have simply been a bridge too far

      I think so. I always got the impression that Rik is an extremely intelligent programmer with not enough time on his hands to do the enormous job of VM writer for all of Linux.

      Which was important, because it seemed, too, like he was one of a handful of people in the world that really understood how his VM system worked and, more importantly, was the ONLY one in the world that understood what needed to be done to it get it to work right.

      --
      "Provided by the management for your protection."
  16. The Days of Our Kernel by rnd() · · Score: 5, Funny
    Posting dramatic stories about the heated debate among supergeeks in the Kernel newsgroups is a brilliant propaganda tool.


    What better way to insure the longevity of Linux than to recruit new Kernel Hackers with tales of heated debate and intrigue (I've noticed two in the last week).


    What's next, the KernelCam? Tune in to watch Linux, Alan, and the rest hacking away. View live feed of USENET postings! Only $3.99 per minute.

    --

    Amazing magic tricks

    1. Re:The Days of Our Kernel by Anonymous Coward · · Score: 0

      What's next, the KernelCam? Tune in to watch Linux, Alan, and the rest hacking away. View live feed of USENET postings! Only $3.99 per minut

      Didn't Bill Gates^h^h^h^h^h^h^h^h^h^hTim Robbins have something like that in 'Antitrust'?

  17. Strength of our style of development by gaj · · Score: 5, Insightful
    This just further illustrates the strength of an open development process. There was a problem, and that fact was discussed openly and pointedly. That scares many people. I don't get why. It's code, not a person. It doesn't look like Rik is taking it very hard, at least as far as his posting on lkml shows.

    I like to think of Linux development as sort of a modified IETF style: rough consensus and running code, with a sprinkle of holy penguin pee when Linus thinks it's ready to ship. Linus saw a problem, had a solution presented to him, and just went for it. Alan thought it was a bit insane to switch horses in midstream. I would normally agree with Alan; better to try to get the horse you're on to do the job than try to jump to another one. Worry about getting a newer, better horse once you're safely on the other bank.

    Given the time frame for 2.5/2.6, though, and given the seriousness of the VM issues, I can see why Linus decided to take the risk. Apparently so does Alan. I'm kindof anal about release numbers, so I'd probably have started a 2.5 branch to test the new VM in, and refused any other changes, then released 2.6 with the new VM. That fundamental a change should probably get a point increase in version number.

    Regardless, the short version is that this is much to do about nothing. The rest of the industry just isn't used to seeing this sort of thing happen in plain view. It normally happens behind the scenes, with a carefully scripted spin put on it by marketing. Maybe if they see the process work enough times people will become comfortable with it. I doubt it.

  18. Details please by lythari · · Score: 4, Interesting

    how does this new VM manager compare to the old one? I assume it's better, but exactly how does it improve over the old one.

    And how does it compare to VM manager in other 'nixs out there, especially FreeBSD.

    1. Re:Details please by Tsk · · Score: 1, Flamebait

      Yes Please compare with what's supose to be the best *BSD implementation, NetBSD's one.

      --
      none Yet.
    2. Re:Details please by easter1916 · · Score: 0
      "L'histoire est nôtre elle est l'oeuvre des peuples"


      I think you need a comma or a period after "nôtre".
    3. Re:Details please by Anonymous Coward · · Score: 3, Informative

      They both had stability problems at 2.4.10. Both are fairly stable at this point.

      Rik's VM is considerred "smarter." It works harder to balance things out and keeps track of all kinds of info.

      Andrea's is not very well documented.

      Andrea's is simpler.

      Andrea's uses "class zones" which are not good for NUMA. We want to have NUMA in 2.5.

      Andrea's is faster.

      Linus is considerred the leader and Alan Cox is considerred the second in command. If it's a really tough call to make then probably going with Linus is the less contraversial thing to do.

      When Linus switched VM's we had gone through 10 point releases of the kernel and the VM still wasn't as stable as it should have been. If Andrea's VM took 10 releases to become stable then that would have sucked. A lot of people pointed this out to Linus in a blunt way. People thought it might take nearly that long but it only took 4.

      So it worked out in the end.

    4. Re:Details please by Anonymous Coward · · Score: 0

      A little question, when running 2.4.13-ac7 and watching divx movies, they ran just fine, but after upgrading to 2.4.14 they do not run as smooth as before. Is this because of different VMs?
      And if that is the case, why switch to something that's slower? Or is it just me?

    5. Re:Details please by Anonymous Coward · · Score: 0

      It could be the VM although it's not necessarily that simple. I'm not sure what else besides the VM is different between the two anymore. Alan and Linus have been merging for the big 2.5 fork.

      >>Or is it just me?

      Probably not just you but for most people it seems Andrea's is faster.

    6. Re:Details please by fferreres · · Score: 1

      It's not only you. On a P100 machine i can compile the kernel and listen to mp3 and some other nasty stuff with Riks VM.

      Andreas VM doesn't pay in that setup. Everything skips and is less "inteligent". Linus ran out of patience...that may be a reson, but what i really think is that he got scared because of the complexity of Riks solution.

      They will have the same problem in the future, needing a better VM. They only advantage is that as AA VM is simple, it's more easy to replace.

      Fede

      --
      unfinished: (adj.)
  19. ZDnet is not the ACM by Kefaa · · Score: 5, Insightful

    We seem to take things too personally here. Alan and Linus had a disagreement about when and why. Much like people I work with on a daily basis have differences of opinion on approach. In the end we do not start working for other companies, we reach an agreement.

    ZDnet is not the ACM; they are trying to sell magazines (or at least sponsors). A little conflict spices up the story. Should they put a more reasonable context around these things? Sure. However, if they did : "Linus and Alan agree on future" is hardly news worthy.

    The more people hear about LINUX the better. (positive spin coming...)

    In this context people can believe we know how to operate as open source and an effective business model. The need to evaluate, compare and when necessary compromise can be accomplished in this model for the benefit of everyone. People who appreciate that the people we want to be making business decisions for Linux.

  20. Open Source vs Corporations by darkov · · Score: 5, Insightful

    I think it's unfair to characterise robust debate as fracturing or a lack of unity in the Linux comunity. Isn't it normal for people to disagree on things? It may look like disunity to your average joe, but the fact is that corporations very carefully control what the media knows and what discussions go on behind closed doors. I'm sure everyday people in companies all over the world not only argue till they are blue in the face, but also undermine each other's authority, turn coworkers against their opponent and other nasty political bullshit.

    Open software has an open process. That is a strength. Suggesting that just because there is disagreement in the Linux community means that it is less co-operative or cohesive than Microsoft or anyone else is utter crap. Open debate and having your own opinions are healthy signs, much better than some coerced worker toeing the company line, idependent of what is technically best.

  21. Embrace & ... by Anonymous Coward · · Score: 0

    The new VM has been embraced, is it now time for the extending-part?

  22. Media perception of Linux by Count · · Score: 2, Interesting

    Its so funny how everything that goes on in the Linux community that is reported on, even by "tech-sauvy" news orginizations, has to do with the doom and gloom of Linux. It seems that almost weekly Linux is narrowly "saved" from total destruction. I think the media wants people to believe that Linux is so unstable and that the smallest dissagreement will seperate the whole community and send it into complete chaos.

    ..."The accord also ends speculation that a fragmented Linux community would be doomed in the face of Windows."...

    It seems that news about Linux is not intresting enough unless it is a struggle against Microsoft or has some doomesday issue that could cause it to "fall".

    just an observation ... I would just like to see a news article that didn't mention the "unknown future" of Linux

    1. Re:Media perception of Linux by Glytch · · Score: 3, Funny

      Don't you get it? Kernel development is like an old Flash Gordon serial. Team Linux has to race to save the universe every week from evil. They literally do save us from doomsday all the time.

    2. Re:Media perception of Linux by Anonymous Coward · · Score: 0

      I wouldn't be surprised if Microsoft is actually paying media companies to skew truths.

  23. one heck of a daily commute: by Bazman · · Score: 4, Offtopic

    "Cox, who also works for Red Hat, in Durham, N.C., and lives in Swansea, Wales."

    1. Re:one heck of a daily commute: by DeadPrez · · Score: 1

      Alan was doing ok until they cancelled the Concorde flights. Lucky for him they just started them up again.

  24. Stable & reliable VM design PSE! by Anonymous Coward · · Score: 0

    I just want to have the most stable && reliable VM design. I couldnt believe when I switched to 2.4.1 and had so many problems with the VM. Also I remember strange comments from Linus saying that you had to have twice the swap space of RAM, which is incorrect, as the VM is supposed to start been used when you havent enough RAM (am i wrong ?).

    I think they made a mistake releasing a buggy VM design in a stable kernel serie (2.4), which was solved just with the beginning of 2.4.10 series.

    Hope to not suffer never again this behavior. I dont care if is they choose Andrea Arcangelis or Riks VM design but please keep working on it, its a major concern for an OS that claims to be stable & reliable (I dont want to switch to *BSD).

    Kind Regards.
    jc.

    1. Re:Stable & reliable VM design PSE! by Rollo · · Score: 1
      Different VM philosophies work in different ways. Linux has traditionally worked the way you describe - writing to swap starts when real mem is exhaust. AIX and, I believe, Win NT keep a image of the total virtual memory in swap - including stuff currently in real memory.

      The second approach (AIX & NT) results in a smaller performance hit when real mem is exhausted - since anything that has to be swapped out already is written to disk, the VM subsystem just frees the real mem associated with the process that is being swapped out. This disk I/O costs a bit (and requires a larger swap space), but is generally faster on systems where swap usage is common.

  25. From 2.4.10? by rweir · · Score: 2, Funny
    1. Re:From 2.4.10? by baptiste · · Score: 2

      The post is correct. The new VM was added in 2.4.10 so that VM will be in the kernel from 2.4.10 onward. It does read a bit odd given 2.4.14 is out :)

  26. What is a vm? by Manes · · Score: 2, Troll

    Anyone care to give a short explanation on what this system is?

    I've always been interesting in kernel coding, but some of the concepts sound pretty black-magic for me :)

    1. Re:What is a vm? by Isle · · Score: 0, Troll

      In case you dont know:
      You REALLY dont want to know!! Just enjoy or go back to Windows ;-)

    2. Re:What is a vm? by LizardKing · · Score: 2

      Your computers processor maps memory addresses used by the kernel to physical addresses in the machine. The VM handles the software side of this, as well as paging less regularily accessed memory out to the swap partition on disk. The endless debates and tinkering stem from how difficult it is to create a VM that performs brilliantly under all situations. For a good treatment of Unix internals, see "Design and Implementation of the 4.4BSD Opertaing System" or "Design of the Unix Operating System" by Bach.

    3. Re:What is a vm? by chefren · · Score: 0, Redundant

      As pointed out by someone whose name I can't recall on the lkml, the best vm is no vm. If you want to be immune to vm bugs do this

      1. Calculate how much memory you use at MAXIMUM. Be pessimistic (double the result).
      2. Buy that much memory.
      3. Turn of swapping

      This is not a good approach for desktop machines, but a useful one for dedicated servers.

    4. Re:What is a vm? by big_hairy_mama · · Score: 1

      For my desktop, I've got a Gig of cheap ram and I've never used swap.

  27. 2.5.0, here we come! (-: by leonbrooks · · Score: 2

    ...and not before time. Perhaps Linus can make a firm decision by, say, 2.5.10 on what goes into 2.6 and what gets kept aside for 2.7? That way we might see 2.6 before the end of 2002. We can always hope.

    It's important for a lot of this new stuff to get thoroughly used so that alternatives, replacements, options and enhancements can be devised at warp speed. It's also important to have an odd kernel series active so that imaginitive new stuff has a home and doesn't stagnate.

    --
    Got time? Spend some of it coding or testing
    1. Re:2.5.0, here we come! (-: by neroz · · Score: 0

      That way we might see 2.6 before the end of 2002.

      You must be joking. I'd expect a 2.6 near the end of 2003 or start of 2004 - 2.4 should last a while IMHO, and they can hack away on 2.5 and make a good [and stable] release for 2.6.
      Personally, I dont think 2.4 should have been released when it was, so you can think of 2.4.14 as 2.4.0pre14 [heh].

    2. Re:2.5.0, here we come! (-: by Anonymous Coward · · Score: 0

      I still have fond memories of Slackware and the 1.2.13 kernel.

      Silly me.

  28. Settlement? by utdpenguin · · Score: 2, Insightful
    Maybe I am conpletely erroneous here, but I dont think so. :)

    But, is this really soemthign that cna be defined as "settling." As I understand it (correct me if I'm wrong) Linus put the new VM into his kernel. Its been there ever since. And its not going away. Rather Cox is giving in the Linux, as he should, since Linus is in charge. This isnt settlement, its the natural course of development. A change is proposed, Linus oks it and impelments it. Everyone else follows suit sooner or later.

    I understnad the potential horror of a kernel split, but does anyoner eally ebelieve that was going to happen? Im betting Cox would rather use a far inferior VM than allow a total split, simply because of the magnitude of suhc an action.

    --
    In Soviet Russia you dant have to put up with these crappy jokes
  29. That is good news. by Bender+Unit+22 · · Score: 1

    Thas is good news. If there's one thing that I don't need it is the choice of two trees.

    Now if only I could get Mandrake to work on my i2o contoller, only RedHat72 seems to work for me but it is having problems booting on the 300gb raid after install. fscking disk geometry, it always gives me problems. :-)

    1. Re:That is good news. by Anonymous Coward · · Score: 0

      Booting from your RAID array! Shame on you.

      This is a lame sentence for the lameness filter.

  30. VM solution? by X86Daddy · · Score: 1, Funny

    What does Voice Mail have to do with Linux??!!

  31. linux on the desktop by peachboy · · Score: 1

    while i don't pretend to know a lot about how to code kernels or vm's, if the new vm is better and faster than the old, i say kudos to linus and alan. this will bring linux one step closer to being ready for primetime on the desktop. little improvements such as this (although some may not see it as being as little as others) will further solidify the linux reputation as a fast, stable platform for desktop computing.

    --
    "I just want to thank my coach Eric a.k.a. Disco for shattering my reality..."
    1. Re:linux on the desktop by psamuels · · Score: 1
      this will bring linux one step closer to being ready for primetime on the desktop.

      What is it with you people? Does everything have to do with "Linux being ready for the desktop"?

      How does having two competing VM subsystems make Linux less "desktop-ready"? Since when did the average desktop user compile his own kernel anyway? He installs a kernel pre-tested and pre-built by Red Hat or SuSE or Debian or Mandrake and never has a clue whose VM is under the hood.

      For that matter, this only affects Linux 2.4.x and beyond. What features of 2.4, exactly, make Linux more suitable for the desktop market as compared to 2.2?

      Or were you saying that Linux needed an improved VM to compete with the "don't try to open more than four applications at once or you might run out of memory and the machine will go into a tailspin" VMs of other popular desktop systems?

      --
      "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
  32. Trusted Source (meta-topic, not off-topic I hope) by MeerCat · · Score: 5, Insightful

    ... honestly not meant to be a troll, but does anyone else find it strange that slashdot is reporting a ZDnet story about news re:the Linux kernel development ??

    Have I missed something here ? I used to work in fraud investigation and there we have a dual scale of trusting information

    - how trustworthy is this source ?
    - how trustworthy is this source with regards to this type of information ?

    (e.g. The Queen as a news source is considered trustworthy, but if The Queen told me the local 7-11 was going to be robbed at 11:30 tonight then I'd doubt the information).

    Maybe that Jesse bloke really does know what he's talking about...

    T

    --
    I spent a lot of money on booze, birds and fast cars. The rest I just squandered. - George Best
  33. Shock as Alan Cox installs Windows by Martin+S. · · Score: 2


    Shock as Alan Cox installs [new double glassed] Windows.

    Phew that was close. NOT!!!

  34. Yeah! by Greyfox · · Score: 5, Funny
    In a company, you can't just come out and call your manager or a member of your programming team an idiot. That tends to get you fired, usually. Even if they really are an idiot (Generally, or about one decision in particular.) In the open model, you call someone an idiot and the community decides who the idiot is.

    I haven't been following this thing closely but my impression from this forum was it went something like this:

    Alan: You're an idiot!
    Linus: You're an idiot!
    Alan: Fine! I'll take my kernel and go home!
    Linus: Fine! I'll get someone else to do the kernel!
    Later...
    Alan: Linus, you bitch! Have you been seeing another kernel developer on the side?
    Linus: Yes, but I was a fool! I love you! I've always loved you!
    Alan: And I love you!
    Linus: You're not an idiot!
    Alan: Oh, Linus! (Kiss kiss kiss)
    Linus: Oh Alan! (Kiss kiss kiss)
    Linus: Oh! Alan!

    Hmm. Maybe I've been reading too many romance novels lately...

    --

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

    1. Re:Yeah! by bgarcia · · Score: 2
      In a company, you can't just come out and call your manager or a member of your programming team an idiot.
      Heh. You haven't been a member of the work force for very long, have you?
      --
      I'm a leaf on the wind. Watch how I soar.
    2. Re:Yeah! by SubtleNuance · · Score: 1, Offtopic

      Hmm. Maybe I've been reading too many romance novels lately...

      What? You read romance "novels"?

      Ill be reporting you to CommanderTaco for proper reeducation if this is confirmed. We will have to confiscate, and burn of course, every romance "novel" you own and re-issue you a library of SciFi proper... do not dispare commrade - THERE IS HOPE FOR YOU YET!

    3. Re:Yeah! by Anonymous Coward · · Score: 0

      Hmm. Maybe I've been reading too many romance novels lately...

      maybe you are less a clue.

      People in corportate projects call each other
      idiots all the time. you just don;t get to
      read about it in a mailing list.

      this whole incident.. it's called the development
      process.

  35. ZDNet Advertising by noz · · Score: 1

    I think it's funny that so much attention is paid to your origin (i.e. location and language) in advertising engines, and the fact that it's an article about Linux is ignored. I got a random Windows advert here. Check it out.

  36. RHe is by wiredog · · Score: 5, Funny

    This article is from yesterday. Today they are reporting that Cox Won't Be Maintainer of 2.4 Linux Kernel

  37. stable vm at last? by goonda · · Score: 1

    i had been using 2.4.[789] for the past month or two on my stinkpad, and noticed some horrible swappage, especially after the system had been up for several days, with terrible interactive performance. After upgrading to 2.4.13, the problems all seem to have mysteriously vanished -- so I'm glad Linus decided to take the risk with the new VM. Hopefully we can approach something like a stable kernel. sheesh.

  38. Differences between LINUX and FreeBSD VM design? by Anonymous Coward · · Score: 2, Interesting

    Can somebody explain the differences between the Andrea Arcangelis and FreeBSD VM desing ?.

    I heard a lot of times that the *BSD desing is a lot better than the Linux, is this true ?.

    Thanks for comments.

  39. Re:In other news by easter1916 · · Score: 0

    Actually, Isreal doesn't exist. Israel does, however, and is indeed part of the middle east.

  40. Final Nissan VP agrees to stop calling it Datsun by Unknown+Bovine+Group · · Score: 1

    I didn't see the lowercase w. I wouldn't be surprised if Microsoft's marketing picked up on this and used it. :D

    Seriously though. This 'news item' is roughly akin to "Final Nissan VP agrees to stop calling it 'Datsun'".

    --
    m00.
  41. Rik van Riel on the Future of VM Work by rmadmin · · Score: 4, Informative

    I ran across an archive at OSDN.com that had a video from the 2.5 Kernel Summit (March 30th and 31st 2001). On the list of videos is 'Future VM Work presented by Rik Van Riel. Its a 1 Hour 4 Minute Video clip, but after listening to it for 5 minutes I knew it was WAY too technical for me. =P Anyways, if you want to see what he said about improving VM, head over to:

    http://www.osdn.com/conferences/kernel

    They have Real format in both 56K and 128K streams, Mpeg, and Mp3 of his speach. Looks interesting if you've got the bandwidth and the time.

  42. virtual memory by Lethyos · · Score: 5, Informative

    In brief and ONLY the basics... Modern operating systems today handle memory addressing in a virtual sense so that "fences" can be placed around memory owned by the OS and different applications. These fences serve to protect memory from being overwritten by other rouge programs. This works by making each program think that it's start of memory IS the actual start of physical memory. For example. Program "foobar" may be located at memory address 0xFF44 bytes, and have 0xFF bytes allocated to it. Instead of addressing its memory in the base:offset format as 0xFF44:0xFF, it thinks that 0xFF44 is actually address 0x00 and the top of memory is 0xFF. That way, it can't write to physical addresses at 0xFF43 or anything else lower. This range of memory can be broken into fragments and scattered through memory so that if other programs have been allocated since foobar started, it's not trapped.

    Bear in mind, this is only the basic gist of what virtual memory is all about. This particlar subsystem will also handle memory paging (which is part of swapping out to disk), amongst other tasks.

    Before you really get determined to start hacking the kernel tomorrow, I suggest you start with something a little more meager. You need to get some experience in computer arcitecture fundamentals, then really basic OS design. Read a few books. Learn Motorola or IA32 Assembly language. Learn to write some old DOS programs (a number of DOS emulators with free, open source DOS distros are available, so some searching) where you have to allocate every byte and word by hand, and not just say "Foo *f; f=new Foo();". Next, start to learn C and figure out what malloc() is all about. Then try coding a kernel module. This is obviously not an extensive road map, but computers and their operating systems are sophisticated. You can't really (unless you're someone like Cox or Torvalds) just dive right into systems programming and know what you're doing. It may take years of experience before you start to tinker with code in the kernel and actually write something that works.

    --
    Why bother.
    1. Re:virtual memory by hawk · · Score: 3, Funny
      >These fences serve to protect memory from being overwritten by other
      >rouge programs.


      Yeah. I just *hate* it when my programs end up with makeup on them . . .


      :)


      hawk

  43. Re:Differences between LINUX and FreeBSD VM design by Art+Deco · · Score: 1

    This would be interesting for a high level discussion. One of the reasons I switched from Linux to BSD for servers in the mid 90's was because BSD's VM system was miles ahead of Linux. I know both systems have changed a lot since then. I don't know if Linux has caught up and surpassed FreeBSD or if FreeBSD has maintained its lead.

  44. My biggest problem with Linux was the old VM. by TurboRoot · · Score: 5, Informative

    We run on alot of small systems, we are talking 8-16 megs of ram here and pentium 75ish processors. We tried to use linux once, but when linux runs out of memory with the old VM, it sucked HARD. I mean, I had processes being swaped out of memory compleatly that were ACTIVE!

    Why do we use such small systems? Because we want them to perform under extream load when placed on larger systems. Its smart really, its easy to benchmark a few functions on a pentium 75, than a 2 ghz pentium. If your application doesn't run peppy with one usuer on a pentirum 75, it sure as hell won't support 1000 users on 2 ghz pentium.

    Thats why we have used FreeBSD for all this time, in FreeBSD the VM manager is perfect, and isnt' even slated for upgrade in the near future due to the fact it works like it should. If you are using telnet on a FreeBSD machine, and _one_ applications uses a ton of resources, that one application will run slow. But your telnet will continue on fine. Try putting 12 megs of RAM in your machine, than compiling PostgreSQL while using a telnet session. You won't even notice the compile on FreeBSD, but you will with Linux.

    Funny enough, this also ties into the article earlier regarding why Linux isn't used for alot of large scale databases. Databases consume HUGE amounts of RAM and the OS under it has to be peppy about it. Linux in the past has been tuned for desktop/single user performance and not what those databases need. They need TONS of resources, and quick _CONSISTANT_ access to it.

    That said, I am very happy to see them getting a better VM. Because my biggest problem with FreeBSD is its crappy java support, the most recent stable JDK it supports is 1.2.2. And thats in Linux emulation mode!

    So if things work out, and Linux supports java well, and doesn' crap out when it runs out of resources. We will defiently switch to Linux, and life will be good!

    1. Re:My biggest problem with Linux was the old VM. by Anonymous Coward · · Score: 0

      The latest linux Sun JDKs work in FreeBSD just fine. Even the Netscape plug-ins works, although it crashes a lot. I don't think that is a FreeBSD issue though.

      It is a bit of work and tinkering to get the plugin working from the binary tarball.

    2. Re:My biggest problem with Linux was the old VM. by Kakemann · · Score: 1

      While we're on the topic of the FreeBSD vm, let's see what Matt Dillon, the FreeBSD vm hacker has to say about the Linux vm:

      "I think Linux is going through a somewhat painful transition as it moves away from a Wild-West/Darwinist development methodology into something a bit more thoughtful. I will admit to wanting to take a clue-bat to some of the people arguing against Rik's VM work who simply do not understand the difference between optimizing a few nanoseconds out of a routine that is rarely called verses spending a few extra cpu cycles to choose the best pages to recycle in order to avoid disk I/O that would cost tens of millions of cpu cycles later on." (Read the rest of the interview here.)

      Kakemann

    3. Re:My biggest problem with Linux was the old VM. by lparosii · · Score: 1

      And lets see what Moshe Bar wrote about the subject (read the last section of the article):

      http://www.byte.com/documents/s=1436/byt20011024s0 002/1029_moshe.html

      Could it be that the "Wild-West/Darwinist development methodology" of Linux has created a VM that is on par with or maybe surpassing FreeBSD's VM ??? If that is the case, I bet Matt Dillon would want to use his clue-bat on himself.

    4. Re:My biggest problem with Linux was the old VM. by wickidpisa · · Score: 1

      Moshe Bar says _nothing_ about this subject. All he says is that the results are interesting and that they will be posted later. He seems to imply that the linux vm did better, but for all we know they might have done worse.

  45. flamebait?! by tannhaus · · Score: 0

    How in the world did my original post constitute as flamebait??

    That's just too weird..had to say something

    1. Re:flamebait?! by ffatTony · · Score: 2

      I agree, its certainly not flamebait, just not well informed. There are many forks of the linux kernel as others have already mentioned.

  46. Holy Penguin Pee by Bonker · · Score: 2, Insightful

    I like to think of Linux development as sort of a modified IETF style: rough consensus and running code, with a sprinkle of holy penguin pee when Linus thinks it's ready to ship.


    This is perhaps the most beautiful description of the process I have ever heard.

    I agree with you. People are used to dealing with a companies like MS, Apple, and Oracle, who are built from the ground up to never admit deficiency or the need for change even though that is a crucial aspect of any kind of upgrade cycle.

    When a group of firebrands come around that can freely admit deficiency, it does cause some waves.

    --
    The next Slashdot story will be ready soon, but subscribers can beat the rush and slashdot the links early!
    1. Re:Holy Penguin Pee by psamuels · · Score: 1
      MS, Apple, and Oracle, who are built from the ground up to never admit deficiency or the need for change

      Actually, they do admit the need for change, but only after the new version is a fait accompli. Then it's all about why the old version needs to be upgraded. (:


      One might think that vaporware hype would talk about the need for change, but for some odd reason they always seem to stress glitzy new features rather than glitzy new bugfixes. Come to think of it, for some companies this is the case even after the new version ships. (Remember BillG - getting bugs fixed is the "stupidest reason I can think of" to upgrade software.)

      --
      "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
    2. Re:Holy Penguin Pee by Anonymous Coward · · Score: 0

      Maybe slightly offtopic, and *quite* inflammatory, but closed versus open development reminds me of religion versus science.

      Religion/Closed development: "You'll accept what we give you. We're always right."

      Science/Open development: "It doesn't work? We were wrong. Now let's get it right."

      ( Posting anonymously for obvious reasons. :) )

  47. Incorrect memory usage by Virtex · · Score: 2, Interesting

    Has anybody else noticed that, since 2.4.10, the reported memory usage appears to be wrong? I noticed in the change logs that this was supposedly fixed in 2.4.13-pre1, but I still see the problem. Running "free" shows that I'm using up 245MB of RAM on the "-/+ buffers/cache" line (I'd paste it here, except Slashdot is rejecting the post due to "lameness filter encountered. *sigh*). Now I know I'm not using 245 MB of RAM (after subtracting out the buffers and cache), and I can prove it by running a program which allocates about 350MB of ram then frees it. When I do that, my memory usage, including swap, drops to about 70-80 MB. Is anybody else seeing this?

    --
    For every post, there is an equal and opposite re-post.
    1. Re:Incorrect memory usage by Anonymous Coward · · Score: 0

      Yes I also noticed this problem, but I wasnt sure if it started since I compiled the latest AC kernel or since I upgraded my system to 512Mb RAM during last week.

      I see the VM wrongly reported by 'free'.

    2. Re:Incorrect memory usage by wickidpisa · · Score: 1

      I have the same problem, and I have been trying to figure it out for a while now. I am 95% sure that it is triggered by something in my daily cron jobs, because I can use my computer all day and it reports memory perfectly well (as far as I can tell at least), but every morning when I wake up it reports about 90% used when I know that's not true. It tends to get fixed when I run an apt-get upgrade, but that may just be due to it using enough memory and not necesarily be due to the program itself. It happens _every_ night and only at night, which is why I'm pretty sure it's a cron job that triggers it. (haven't figured out which one yet)

    3. Re:Incorrect memory usage by Anonymous Coward · · Score: 0
      You probably have nearly all your memory used by the buffer cache. The updatedb program runs on Red Hat systems every night. It trawls through most of your filesystem, which causes linux to cache it if the RAM isn't needed by any other applications.

      Never fear though, as soon as an application needs the memory, it is taken from the cache, which will shrink. This is evidenced by those posts that claim the free memory goes up when they run things like apt-get. The app allocates a ton of memory, uses it (or not), then exits. The cache is shrunk, re-allocated to the app, but when the app exits there is now a big chunk of free memory. The cache size doesn't grow until something happens that causes disk IO.

      P.S. updatedb is run to update your 'locate' command's database. This lets you find files in your filesystem without using the much slower 'find' command.

    4. Re:Incorrect memory usage by wickidpisa · · Score: 1

      probably have nearly all your memory used by the buffer cache.

      No, that's the problem. I know about updatedb (although I could swear it's called slocate on RedHat systems) and I would expect it to cache a lot. Unfortunately, even the +/- buffers/cache line in free reports the memory usage wrong. I don't know if the memory really is just cache and free is reporting wrong, or if somthing is going wrong with the VM and it is treating it as normal memory rather than cache.

  48. Between a rock and a hard place by renehollan · · Score: 3, Informative
    Oh, it is SOOO tempting to patch what you know, rather than start over with something new, and relatively untested, espescially when deadlines loom.

    Of course, this might not fix the problem: either the patch doesn't fix enough, or the design is flawed to start with (I have not delved into either Linux VM to competently present an opinion here, just speculation on what might be wrong). But there is something to be said for "the devil you know". At least the problems with the old VM were fairly well known. Moving to a new VM could potentially introduce new ones. Not something you want to do close to release.

    Now, those plagued by problems with the older VM might, in exasperation, think anything would be better. Enter Linus with Andrea's alternative: "looks good, ship it!" [my paraphrasing]. Those of us who'd tremble at the thought of new, untested code, could, well, stick to an older kernel, even if it meant giving up some new features.

    But wait! It's Alan to the rescue!! Picking up all the relatively easy fixes and enhancements, and giving me a choice. Leave the contentious parts till later..

    It strikes me that the minor, temporary -ac fork served both camps of users until the issues were resolved.

    Some might argue for a more disciplined approach, and not make major changes so close to release. (But, if it isn't "ready", why not just postpone release? Is Linus feeling pressure to release prematurely? Or just trying to release "often enough".) But that stands in the way of progress -- I've seen managers crippled by fear of changing anything. Sometimes you gotta take a chance, even if some things break while (many) others get fixed.

    While smaller, digestable kernel changes might be more palatable, they're already available in interim development releases. Sometimes a change is sufficiently profound that it touches everything (yes, that's an argument to refactor, but hindsight is 20/20, so I won't argue that point too much) and takes a while.

    I am not one to say which approach is globally better -- I can only comment on what works better for me. I can say, though, that when a community is really split over a course of action, and any single choice will not satisfy a large number of people, a fork, even if temporary, is probably the least painful route in the short term, even as the long term consequences are undesirable if it goes on too long.

    After all, all progress is a mini-fork from "stable" to "untested".

    --
    You could've hired me.
  49. The AA VM "beats the pants off" Rik's VM??? by TopherC · · Score: 3, Interesting
    "I took the older VM plus fixes Rik felt would solve all the problems. Linus took Andrea's work. Right now, as of 2.4.14pre, Andrea's VM seems to be beating the pants off Rik's VM. All the current numbers suggest it's the better path."

    Hey, I thought slashdot cited a comparison of the (fixed) Rik VM and the AA VM, and came to the conclusion that they performed about the same! They were both MUCH better than the 2.2 (old Rik) VM. What's Alan's evidence that the AA VM is "beating the pants off Rik'v VM?" If they really do perform about the same, I would have to side with Alan's original decision to just patch the old VM.

    1. Re:The AA VM "beats the pants off" Rik's VM??? by Zog · · Score: 1

      If you read the kernel traffic stuff, there were some very significant changes in the 2.4.14-pre series to the VM, which could affect performance quite a bit. Now, about beating the pants off of it, I haven't seen it in action, but it is very possible.

  50. wait by andy_from_nc · · Score: 1

    A few days ago I thought there was an article about Alan NOT being the maintainer anymore to focus more on "red hat customer issues" and other things?

    Has this changed?

  51. what crack are you smoking? by InfinityEdge · · Score: 0, Offtopic

    $ uname -a
    FreeBSD ***.***.*** 4.3-RELEASE FreeBSD 4.3-RELEASE #6

    $ /usr/local/jdk1.3.1/bin/java -version
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-internal-****
    Classic VM (build 1.3.1-internal-****, green threads, nojit)

    All I had to do was to download the tarball from sun into the ports directory and do your standard make, make install (you have to specifically download the file due to sun's fubared licensing). This took all of 15min to do and works great (just finished a CS project using it, javac, JavaCUP, and JLex).

    The ports directory is your friend.

    --InfinityEdge

    1. Re:what crack are you smoking? by flink · · Score: 1

      I wouldn't consider a java implementation with no native threads and no jit "good" java support.

    2. Re:what crack are you smoking? by cobar · · Score: 1

      Are you a CS160 student at UCSB as well? I just did my project using linux-sdk out of ports.

  52. Re:Final Nissan VP agrees to stop calling it Datsu by TheMidget · · Score: 1
    I didn't see the lowercase w. I wouldn't be surprised if Microsoft's marketing picked up on this and used it.

    The comment you replied to has a lowercase w. Alan's diary has an uppercase w. And that's correct. Indeed, English spelling rules dictate that the first word of a sentence should be capitalized...

  53. Crack makes me lazy, why is sun such a Nazi? by TurboRoot · · Score: 0, Offtopic

    As of just a few months ago, we had to download the sdk from sun. Than apply a series of patches, than do a hopeless compile that never worked due to some reason or another. It usually failed due to some X library or another, which sucked because all we wanted to run was Orion.

    The ports entry for it is rather recent, and I am happy that you pointed it out to me. Just goes to prove how FreeBSD is always improving and evolving over a matter of months instead of years.

    Another question is this, why is sun such a nazi about its jdk? It would be incredibly nice to be able to "fetch" the jdk instead of creating an account on sun just to download it.

  54. Mod parent up! by chefren · · Score: 1

    Why, oh why did I have moderator points *last* week?!? Look at me, I just spilled orange juice over my keyboard. I guess there is no such thing as a free laugh.

  55. Newsforge by blkros · · Score: 1

    reported this yesterday. Where have you guys been?

    --
    Damnit, Jim, I'm an anarchist, not a F@#$!^& doctor!
  56. 2 Kernels?!?! Pluh--eeeezzzee by TheLostOne · · Score: 3, Insightful

    Really.. why is everybody getting their panties all in a bunch here? Two kernels? My big toe! Making Linux look fragmented?! WHAT?!

    No I'm not a moron.. heh.. well maybe.. but I have two points..

    1- There are not '2 kernels'.. this is crap.. there is ONE linux kernel (currently at 2.4.14.. which is development anyway.. but thats for another post ;) and a couple of different development kernels that most 'normal users' (ie not kernel hackers) will never touch. I think we can agree that those adventurous users who dwelve into pre and ac patches at least know enough to know they are called pre/ac for a reason. And yes.. I know there were 2 kinds of kernels.. at a sort of esoteric level but when we say 'the Linux Kernel' in the context of a normal running system doesn't that rather imply the stable branch of it? How many distros ship with ac? In the default... not in 'super expert mode'? Too many distros to say none.. but I've never seen one..

    2- How is this going to ever possibly give the impression that linux is too fragmented compared to anything?! I figure (and I know this is a grevious over simplification) that there are basically two kinds of users.. those who know and those who don't. Those who know (IBM, Compaq.. those companies we want so bad) will know enough about the story to realize this is a disagreement in timing if anything and no big deal... Those who don't haven't heard about this anyway.

    So other than the kernel developers needing to run both.. what's the problem?

    --


    '..that kernel panicked like a nun in a crack house!'
  57. Re:2 Kernels?!?! Pluh--eeeezzzee by Anonymous Coward · · Score: 0

    Normal users touch tens of different kernels. Normal users use distributions, which are usually forks of their own; like the RedHat kernel, which has much of the -ac thing. It's very rare for a distribution to use a pristine, Linus release kernel.

  58. It's called the development process, people by Anonymous Coward · · Score: 0

    And it's a darn good one.

    The best example of that this DOES happen all the
    time in closed source companies is Microsoft.
    Gates is famous for developing a climate where
    rival teams are pitted against each other.
    Viciousnes is not only tolerated but encouraged.
    Linux mailing lists are peacefest in comparisom.
    Like the Universe the kernel development is unfolding as it should.

    To all those complaining about instability you aren't supposed to run the latest kernel
    unless you want ( in any capacity ) to help
    with it's testing and development.
    -

    Hey, its great kernel 2.5 is imminent.

    did anyone else say something ?

  59. Blatent lies? by wickidpisa · · Score: 1

    Many people have pointed out that the article is wrong about passing on the 2.4 tree to Cox, so where does that Linus quote come from? "Alan will clearly be the maintainer of it. I just want to turn over 2.4.x to Alan in a shape where I'm personally happy with it-and I was not happy with the VM before." Did Linus really say that? I find it hard to believe he did. Is ZD just making up quotes now, or what is going on?

  60. Microsoft VM by Anonymous Coward · · Score: 0

    No way, the Microsoft VM is far better - and Bill Gates is a Real American (tm), not like this Torvalds/Cox comedy duo ;-)

  61. Whew! What a fucking relief from my worrying. by SensitiveMale · · Score: 0
    Now I can sleep.


    Big DEAL!


    WHO CARES?

  62. StarOffice by sparkz · · Score: 1

    Does the new VM mean that StarOffice loads any quicker? It thrashes for about 10 seconds under MS Windoze before being ready, 12 under Solaris_x86, and 30 under Linux 2.2.18 or 2.4.7

    Yeah, there are some high-falutin' OS concepts flying around here, but what really matters to me is, does it actually affect what I'm doing? Not a huge database, but if it can stop StarOffice thrashing so much (and it must be Linux doing it, since Solaris_x86 is so much quicker), then maybe I'll upgrade my kernel.

    (All timings taken on identical 433MHz Celerons, 128MB, single 6MB IDE disk)

    --
    Author, Shell Scripting : Expert Re
  63. Re:Slashdot Troll Awards 2001! by Anonymous Coward · · Score: 0

    very, very good idea. I have always been a fan of
    slash-trolls, i even collect the witty and smart
    ones.

    you Sir will be receiving my submission soon.

  64. Then why are Linux users religious zealots? by cpeterso · · Score: 1

    Religion/Closed development: "You'll accept what we give you. We're always right."

    Science/Open development: "It doesn't work? We were wrong. Now let's get it right."

    1. Re:Then why are Linux users religious zealots? by Anonymous Coward · · Score: 0

      Offhand, I'd guess it's the same reason people who don't use Linux are drooling morons.

  65. Re:Differences between LINUX and FreeBSD VM design by Anonymous Coward · · Score: 0

    Don't feed the trolls.

  66. Faster? by Anonymous Coward · · Score: 0

    I'm not so sure. How well has this new VM been stress tested? Mozilla and Quake3 seem to kludge about just about the same. Will Rik be continuing his work? Seems like if his is more advanced and documented I would rather be running and working on that.

    oh well, I guess I'll have to stay with 2.4.10 then....

  67. A sensible solution to the ongoing VM dispute. by Gendou · · Score: 2

    Buy more RAM, fools.

  68. SuSE Inc. is a sub of SuSE AG, Germany by heilbron · · Score: 2, Informative

    just for the sake of correctness:

    SuSE is a wholly owned subsidiary of SuSE AG, Germany. Although its US web site doesn't explicitly state that it may be deduced from
    http://www.suse.com/us/company/legal/index.html
    ...