Slashdot Mirror


New Linux 2.5 Benchmarks

Sivar writes "Andrew Morton of EXT3 fame has posted benchmarks of Linux 2.5.47 prerelease compared with the latest from the current 2.4 series. With some tasks more than tripling in performance, the future looks very promising."

244 comments

  1. 2.6 by mpost4 · · Score: 0, Offtopic

    Do they have any idea when the 2.5 will be ratifyed to 2.6?

    1. Re:2.6 by jas79 · · Score: 1
    2. Re:2.6 by mpost4 · · Score: 1

      Thanks you for the infomation. I missed that artical before.

      Apperciated.

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

      How's life on Mars?

    4. Re:2.6 by iriki · · Score: 0

      ROTFL

  2. Triple? by sheepab · · Score: 5, Funny

    With some tasks more than tripling in performance, the future looks very promising

    Damn, I wish my video card had kernel updates :-(

    1. Re:Triple? by Alan · · Score: 4, Informative

      Well, there was an nvidia driver update that advertised an increase in performance of something like 25%, which isn't that bad....

    2. Re:Triple? by Anonymous Coward · · Score: 1, Interesting

      What really amazes me is that _every_ major release of nVidia drivers has a huge performance gain for an already-great card. Hell, ATi can't even get their own cards to work right!

    3. Re:Triple? by Ziviyr · · Score: 1

      nVidia said that about three drivers, at least.

      I think that while they do make progress, the marketing machine is turned a bit high.

      --

      Someone set us up the bomb, so shine we are!
    4. Re:Triple? by kingkade · · Score: 1

      nVidia driver performance on win nt has been stellar, but their linux support is crappy.

      I thought ATI was actually [as] competent for their linux drivers.

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

      I've made the mistake of buying an ATI 9000 Pro. I wish I had stayed with Nvidia, at leat their drivers work well. Linux support for this ATI card is below crap. I am using one rigth now (the card is only recognized with the latest CVS from DRI) and performance is shit. OpenGL is so jerky that it is not possible to play anything more sophisticated then tuxracer. Play Unreal with an ATI 9000 Pro in Linux is a complete no no !!

    6. Re:Triple? by bfree · · Score: 2

      Well according to Linux Format the reason you need a NVidia card for UT2003 is that only a commercial driver can implement the patented S3 texture compression used by UT2003! Sounds like the beef there is with Epic not ATI. btw, is there a good source on how to get cvs X up and running (on debian for preference)? I got a new laptop with an ATI M9 a couple of weeks ago and know that this is only supported in CVS at the mo. The last times (4+ years ago) I tried compiling X things worked far less than wonderfully!

      --

      Never underestimate the dark side of the Source

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

      If NVidia says their drivers increase 25% each time, it's 25% since the last driver update.. thus after three times is only about 35% higher from the original speed. (get it?)

  3. Re:Can't get a speedup of more than 10 by Zorton · · Score: 3, Insightful

    So in other words the more time you spend rescheduling things the less time you have for executing the code you have scheduled.

    Hmm..... sounds like modern business management :)

  4. I'll do what ever it takes to squeeze the last bit by Sir_Ace · · Score: 1

    I'd be happy to get a 3x kernel speed up out of my 16-way Hammer.... Speaking of which I'm still waiting for it Kandy... {grin} E-Mail me ;)

  5. Andrew Morton?? by T-Kir · · Score: 2, Funny

    I'm glad you put the "of EXT3 fame" bit, I was worried the article might be talking about the infamous author.

    Although he might end up on the front page of /. if he writes an unauthorized biography of Mr. Gates, what kind of juice could be dragged up from the past... I wonder?

    --
    Are you local? There's nothing for you here!
    1. Re:Andrew Morton?? by Anonymous Coward · · Score: 0

      Excuse me.

      "Infamous" means having an extreemly bad reputation. I wonder why people use this word when it's just so obvious. The word you should be looking for is "famous".

    2. Re:Andrew Morton?? by Anonymous Coward · · Score: 1, Informative

      He used the word correctly. Andrew Morton is infamous, after basing his career on gossipy biographies of minor celebrities.

  6. 2.5 by Anonymous Coward · · Score: 5, Funny

    Will it make the internet faster?

    1. Re:2.5 by Goalie_Ca · · Score: 1

      Of course it will, with linux servers everything should be snappy :P

      --

      ----
      Go canucks, habs, and sens!
    2. Re:2.5 by Fefe · · Score: 1

      No, you will need a Pentium 4 for that.

    3. Re:2.5 by iriki · · Score: 0

      No, you will need an Ahtlon connected to an OC-3 :D

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

      In MS terms - yes

  7. I'm really sorry. by FreeLinux · · Score: 5, Informative

    Try it again.

    In a reply on lkml to Aaron Lehmann's praising of the contest results of the latest 2.5-mm kernel Andrew Morton [interview] explains some of the important performance and design differences between the 2.4 stable series and the 2.5 development series accompanied by illustrating benchmarks.

    Most significant gains can be expected at the high end such as large machines, large numbers of threads, large disks, large amounts of memory etc. [...] For the uniprocessors and small servers, there will be significant gains in some corner cases. And some losses. [...] Generally, 2.6 should be "nicer to use" on the desktop. But not appreciably faster.

    From: Aaron Lehmann
    To: linux-kernel
    Subject: Re: [BENCHMARK] 2.5.47{-mm1} with contest
    Date: Mon Nov 11 2002 - 18:04:53 AKST

    On Tue, Nov 12, 2002 at 10:31:38AM +1100, Con Kolivas wrote:
    > Here are the latest contest (http://contest.kolivas.net) benchmarks up to and
    > including 2.5.47.

    This is just great to see. Most previous contest runs made me cringe when I saw how -mm and recent 2.5 kernels were faring, but it looks like Andrew has done something right in 2.5.47-mm1. I hope the appropriate get merged so that 2.6.0 has stunning performance across the board.

    From: Andrew Morton
    To: linux-kernel mailing list
    Subject: Re: [BENCHMARK] 2.5.47{-mm1} with contest
    Date: Tue Nov 12 2002 - 02:04:23 AKST
    Aaron Lehmann wrote:
    >
    > On Tue, Nov 12, 2002 at 10:31:38AM +1100, Con Kolivas wrote:
    > > Here are the latest contest (http://contest.kolivas.net) benchmarks up to and
    > > including 2.5.47.
    >
    > This is just great to see. Most previous contest runs made me cringe
    > when I saw how -mm and recent 2.5 kernels were faring, but it looks
    > like Andrew has done something right in 2.5.47-mm1. I hope the appropriate get merged so that 2.6.0 has stunning performance across
    > the board.

    Tuning of 2.5 has really hardly started. In some ways, it should be tested against 2.3.99 (well, not really, but...)

    It will never be stunningly better than 2.4 for normal workloads on
    normal machines, because 2.4 just ain't that bad.

    What is being addressed in 2.5 is the areas where 2.4 fell down: large machines, large numbers of threads, large disks, large amounts
    of memory, etc. There have been really big gains in that area.

    For the uniprocessors and small servers, there will be significant gains in some corner cases. And some losses. Quite a lot of work has gone into "fairness" issues: allowing tasks to make equal progress when the machine is under load. Not stalling tasks for unreasonable
    amounts of time, etc. Simple operations such as copying a forest of files from one part of the disk to another have taken a bit of a hit from this. (But copying them to another disk got better).

    Generally, 2.6 should be "nicer to use" on the desktop. But not appreciably faster. Significantly slower when there are several processes causing a lot of swapout. That is one area where fairness really hurts throughput. The old `make -j30 bzImage' with mem=128M takes 1.5x as long with 2.5. Because everyone makes equal progress.

    Most of the VM gains involve situations where there are large amounts of dirty data in the machine. This has always been a big problem
    for Linux, and I think we've largely got it under control now. There are still a few issues in the page reclaim code wrt this, but they're
    fairly obscure (I'm the only person who has noticed them ;))

    There are some things which people simply have not yet noticed.

    Andrea's kernel is the fastest which 2.4 has to offer; let's tickle its weak spots:

    Run mke2fs against six disks at the same time, mem=1G:

    2.4.20-rc1aa1:
    0.04s user 13.16s system 51% cpu 25.782 total
    0.05s user 31.53s system 63% cpu 49.542 total
    0.05s user 29.04s system 58% cpu 49.544 total
    0.05s user 31.07s system 62% cpu 50.017 total
    0.06s user 29.80s system 58% cpu 50.983 total
    0.06s user 23.30s system 43% cpu 53.214 total

    2.5.47-mm2:
    0.04s user 2.94s system 48% cpu 6.168 total
    0.04s user 2.89s system 39% cpu 7.473 total
    0.05s user 3.00s system 37% cpu 8.152 total
    0.06s user 4.33s system 43% cpu 9.992 total
    0.06s user 4.35s system 42% cpu 10.484 total
    0.04s user 4.32s system 32% cpu 13.415 total

    Write six 4G files to six disks in parallel, mem=1G:

    2.4.20-rc1aa1:
    0.01s user 63.17s system 7% cpu 13:53.26 total
    0.05s user 63.43s system 7% cpu 14:07.17 total
    0.03s user 65.94s system 7% cpu 14:36.25 total
    0.01s user 66.29s system 7% cpu 14:38.01 total
    0.08s user 63.79s system 7% cpu 14:45.09 total
    0.09s user 65.22s system 7% cpu 14:46.95 total

    2.5.47-mm2:
    0.03s user 53.95s system 39% cpu 2:18.27 total
    0.03s user 58.11s system 30% cpu 3:08.23 total
    0.02s user 57.43s system 30% cpu 3:08.47 total
    0.03s user 54.73s system 23% cpu 3:52.43 total
    0.03s user 54.72s system 23% cpu 3:53.22 total
    0.03s user 46.14s system 14% cpu 5:29.71 total

    Compile a kernel while running `while true;do;./dbench 32;done' against
    the same disk. mem=128m:

    2.4.20-rc1aa1:
    Throughput 17.7491 MB/sec (NB=22.1863 MB/sec 177.491 MBit/sec)
    Throughput 16.6311 MB/sec (NB=20.7888 MB/sec 166.311 MBit/sec)
    Throughput 17.0409 MB/sec (NB=21.3012 MB/sec 170.409 MBit/sec)
    Throughput 17.4876 MB/sec (NB=21.8595 MB/sec 174.876 MBit/sec)
    Throughput 15.3017 MB/sec (NB=19.1271 MB/sec 153.017 MBit/sec)
    Throughput 18.0726 MB/sec (NB=22.5907 MB/sec 180.726 MBit/sec)
    Throughput 18.2769 MB/sec (NB=22.8461 MB/sec 182.769 MBit/sec)
    Throughput 19.152 MB/sec (NB=23.94 MB/sec 191.52 MBit/sec)
    Throughput 14.2632 MB/sec (NB=17.8291 MB/sec 142.632 MBit/sec)
    Throughput 20.5007 MB/sec (NB=25.6258 MB/sec 205.007 MBit/sec)
    Throughput 24.9471 MB/sec (NB=31.1838 MB/sec 249.471 MBit/sec)
    Throughput 20.36 MB/sec (NB=25.45 MB/sec 203.6 MBit/sec)
    make -j4 bzImage 412.28s user 36.90s system 15% cpu 47:11.14 total

    2.5.46:
    Throughput 19.3907 MB/sec (NB=24.2383 MB/sec 193.907 MBit/sec)
    Throughput 16.6765 MB/sec (NB=20.8456 MB/sec 166.765 MBit/sec)
    make -j4 bzImage 412.16s user 36.92s system 83% cpu 8:55.74 total

    2.5.47-mm2:
    Throughput 15.0539 MB/sec (NB=18.8174 MB/sec 150.539 MBit/sec)
    Throughput 21.6388 MB/sec (NB=27.0485 MB/sec 216.388 MBit/sec)
    make -j4 bzImage 413.88s user 35.90s system 94% cpu 7:56.68 total - fifo_batch strikes again

    It's the "doing multiple things at the same time" which gets better; the
    straightline throughput of "one thing at a time" won't change much at all.

    Corner cases....

  8. Nice to see Linux "Growing Up" by zanerock · · Score: 4, Interesting

    Nice to see Linux doing good on big machines with standard packages and such. I love linux, and it's the only thing I use at home for anything serious, but commercial software has always had the edge on *big* things (big disks, large processes, etc.). With recent advances in process management, and now this, a lot more people will be able to use Linux top to bottom.

    I think one interesting thing that could come out of this is that IBM (and others) will be pushed more and more towards a pure service or application only niche. They won't always be able to say, "Sure Linux is great for the workstation, but what about your 8 TB database?" There's a ways to go, but a lot of the features are falling into place.

    Having a unified OS from your palmtop to your TB file server will open up a lot of possibilities for people. My personal interest is in a next level of integration which is more natural to use and easier to develop, and we're getting close.

    1. Re:Nice to see Linux "Growing Up" by iabervon · · Score: 3, Insightful

      IBM is also going to stay in the high-end hardware department; it'll be "Sure commodity hardware is great for the workstation, but what about your 8 TB database that has to survive even if someone saws it in half down the middle?" This also puts them in, essentially, the BIOS department for these machines (you want to run you web site off of whatever portion of your database machine isn't actually being used by the database, without risking problems if the web server gets hacked).

    2. Re:Nice to see Linux "Growing Up" by zanerock · · Score: 3, Interesting

      I don't disagree at all. I said that this would begin to push others more to service. With each new thing that you can get for free that works just as well as what other's charge for, you capture a little bit more of the market. This alone, and what has been developed to date, will not push IBM out, nor is everything that needs to be done for such things as you say been done. But it's a step.

      I'm not talking now, nor even tomorrow, but in 5-10 years, I think we could see a very different landscape in how old school commercial software and hardware companies (or, in IBM's case, departments) work.

      If you can spend $1 million on developing your whizzy new file system, or you can use something that's freely available (or spend $100,000 to tweak it), then the economics of it start to push people out of commercial development in some areas, especially around OS and OS functionality. Instead, you just consult, or deploy, or support and such.

    3. Re:Nice to see Linux "Growing Up" by yomegaman · · Score: 1

      Big changes in the computer industry over a 5-10 year period? Wow, what a bold prediction! That would be totally unprecedented!

      --
      ...wearing a skin-tight topless leather jumpsuit, with cutaway buttocks and transparent crotch panel.
    4. Re:Nice to see Linux "Growing Up" by Anonymous Coward · · Score: 0

      Linux grew up a long time ago, where in the hell you been. Linux has been running circles around NT, Solaris and Irix for years.

  9. Excellent by PhysicsScholar · · Score: 3, Troll

    This was a major reason that 2.5 is, put simply, needed by any and all serious Lunix users.

    Based on this image (0202_lab_xp_4.gif), one can see that large volumes of asynchronous I/O is, as the author puts it, the "Achilles' Hell" of Linux.

    The Linux kernel itself in all versions 2.5 serializes disk Input/Output with a single spinlock.

    (The yellow is the Windows XP box; the green line is the data for the SuSE Linux pee sea)

    --

    Department of Physics and Atmospheric Science, Dalhousie University, Halifax, N.S., Canada, B3H 3J5
    1. Re:Excellent by Anonymous Coward · · Score: 0

      I doubt seriously you have any grip on what this really means. Tell me, what's a spinlock, eh?

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

      I don't know if you meant to say Linux (typo) or not, but changing it to Lunix would surely help. No more *n*x, *nix, and all the other variations. You'd just use one of them.

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

      as the author puts it, the "Achilles' Hell" of Linux.

      Achilles' Hell? shutup you!

      P

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

      Honestly, I have been working with windows * for many years and Linux since 1993. When it come to disk I/O - Windows is hopeless behind.

    5. Re:Excellent by GooberToo · · Score: 2

      Hello moderators! This is not a troll. He pointed out something that has a nice graph to support what he's saying. Not only that, but it's very well known. AIO on Linux has never been stellar...but should be soon enough.

      Someone, please mod the partent back up. He wasn't trolling and was simply stating fact!

    6. Re:Excellent by GooberToo · · Score: 2

      LOL

      And how long have you been comparing AIO implementations?

    7. Re:Excellent by Dante · · Score: 2

      Then it's just karma whoring then? Look he pulled the giff out of his ass, and tried to pass himself off as a expert. You might look at some of his other posts.

      --
      "think of it as evolution in action"
    8. Re:Excellent by GooberToo · · Score: 2

      If you say so.

      Meanwhile I do recall seeing such a graph much like, if not that graph, by Open Bench Labs (name my not be correct -- it's been a while). Not only that, but the graph EXACTLY matches known expectations on a common Linux AIO Linux implementation (which is purely userland). This is why kernel level AIO implementations have been underway for some time now.

      In other words, you may not like the message but it EXACLY matches the current state of some AIO implementations on Linux. Call is a lie if you like, meanwhile those of us that know, will simply nod, move on, and occationally laugh at those that continue to hide their heads in the sand.

      Believe it or not, Linux isn't the be-all, end-all of OS's. If it were, there wouldn't be a need for the 2.6 kernel.

  10. Re:Make it simple please by Sir_Ace · · Score: 1


    It is simple, tar -xvzf linux-{current}.tar.gz.
    cd linux; make menuconfig; make dep bzImage modules modules_install
    Assuming you can do a bzImage on your platform....
    Anyway, It's not so hard, you just need to know what the hardware in your machine is, and what you actually want to work out of that hardware, then turn it on. {grin}

  11. Re:Can't get a speedup of more than 10 by certron · · Score: 3, Informative

    "It's impossible to get a speedup of more than 10 with any processor-related activities.

    Using Amdahl's Law, one can find that
    Speedup = (s + p ) / (s + p / N ) where N is the number of processors, s is the amount of time spent (by a serial processor) on serial parts of a program and p is the amount of time spent (by a serial processor) on parts of the program that can be done in parallel."

    While I'm no expert in software engineering (and I haven't really looked over the equation you put too closely) I think it assumes the original was written with some sort of intelligence behind it. I bet I could write some really atrocious code that would be so incredibly inefficient that almost anyone else could get a huge performance gain from it.

    I'm not sure if I would have to try hard or not try at all to write really bad code. :-)

    --

    fair.org counterpunch.com truthout.com indymedia.org salon.com
    eff.org guerrilla.net debian.org gentoo.org
  12. So what does this mean for the everyday linux user by pardasaniman · · Score: 3, Interesting

    For a guy such as myself, who does all his daily tasks on a linux box, what does this mean? Will it mean faster loading time/stability. Or will it make little difference at all?

  13. Re:The data from the benchmarks is pasted here: by Sir_Ace · · Score: 0, Offtopic


    I have a spare deathstar lying around tell me the coordinates of your homeworld so I may vaporize it please!

  14. Performance gains mostly for high-end by Dacmot · · Score: 5, Interesting
    I'm a huge linux fan and I love to brag about how much better than Windows it is, etc. However I don't think it's right to say false truth like "linux 2.6 will be 3 times faster!!!!!" KernelTrap mentions that:
    Most significant gains can be expected at the high end such as large machines, large numbers of threads, large disks, large amounts of memory etc. [...] For the uniprocessors and small servers, there will be significant gains in some corner cases. And some losses. [...] Generally, 2.6 should be "nicer to use" on the desktop. But not appreciably faster.

    Some of the biggest improvements for desktop responsiveness can be found (for Kernel 2.4.x) at Con Kolivas' web site of performance linux patches.

    --
    1. Re:Performance gains mostly for high-end by Anonymous Coward · · Score: 0
      However I don't think it's right to say false truth like "linux 2.6 will be 3 times faster!!!!!"


      Yes, it would be wrong, but you're the only one I've seen say that so far.
    2. Re:Performance gains mostly for high-end by Sivar · · Score: 2

      However I don't think it's right to say false truth like "linux 2.6 will be 3 times faster!!!!!"
      That would be why I said: "With some tasks more than tripling in performance,..."

      I doubt any semi-knowledgeable person is going to take that statement to mean that kernel 2.6 makes a Linux system three times faster, but depending on what they use that system for, it may do just that. The performance figures are very respectable alone, but when you consider that they kernel hasn't even been frozen yet and that tuning hasn't begun, as I sais, the future looks very promising.

      --
      Computer Science is no more about computers than astronomy is about telescopes. --E. W. Dijkstra
    3. Re:Performance gains mostly for high-end by Anonymous Coward · · Score: 0, Flamebait

      I doubt any semi-knowledgeable person...

      Remember, these are Slashbots we are talking about here.

    4. Re:Performance gains mostly for high-end by ImpTech · · Score: 1

      True enough... my question, though, is will there be any appreciable improvement for those of us running 2.4 with the lowlatency and preempt patches? From what I'm reading, it sounds like those are really the only desktop improvements.

    5. Re:Performance gains mostly for high-end by blakestah · · Score: 4, Informative

      Yes.

      The fine-grained locking improvements on SMP will make it noticeably better for SMP boxes.

      A very big improvement is that IDE has been parallelized, meaning that if you use multiple IDE devices at once you will see a "night and day" difference in performance.

      If you are uniprocessor and all SCSI and already use low-latency patches, well, as you were.

  15. This is This is the exact opposite of my findings. by Professor+Collins · · Score: 1, Troll
    When I first heard about some of the things going on in the 2.5 branch, such as the newly tuned VM system, improved filesystem code, and especially Ingo Moyar's O(1) scheduler project, I was ecstatic. The promise of an average workstation computer handling 100,000 threads with as much grace as it handles 100 sounded too good to be true. And alas, it was. There are a number of serious problems with Linux 2.5's scalability pushes, trading performance for normal tasks in order to run better at more esoteric tasks, and many of these can be traced back to the new O(1) scheduler.

    A month ago, I downloaded the 2.5.44 kernel, and have been benchmarking it extensively on one of the Pentium 4 2GHz workstations in the computer lab. For a control, I ran a stock 2.4.19 kernel on the Athlon XP 2000+ machine next to it. My test consisted of running an increasing number of parallel processes each executing a for(;;) loop repeatedly nanosleep(2)ing for 10ms, thus yielding the scheduler every time they awake. This made sure that the scheduler was more or less the only thing running on the system, and that I could get an accurate count of the average task-switching time.

    By gradually increasing the number of threads on each machine in parallel, I was able to graph the comparative performance of the two schedulers. The results do not bode well for the new scheduler: (forgive my somewhat clumsy approximation, text is not the best medium for graphic content)

    S |
    c | .
    O(n) scheduler (2.4.19)
    h | .
    e | .
    d |-----.-------
    O(1) scheduler (2.5.44)
    T | . |
    i | |
    m | |
    p
    e |_______|_______
    No. of Threads
    As you can see, the new scheduler is in fact O(1), but it adds so much initial overhead that task switching is slower than under the old scheduler until you have a certain number of threads, labeled p above. My benchmarking experiments put p at around 740 threads.

    Now, this is obviously good for high-end applications that run thousands of processes concurrently, but the average Linux user rarely has more than 100 processes on his machine at a time. The vast majority of servers rarely exceed more than 250 concurrent processes. In these cases, the O(1) scheduler is cutting their computer's performance almost in half.

    What we're seeing here is the likes of IBM and Sun putting their needs before those of the hobbyist hackers and users who make up the majority of the Linux user base. While the O(1) scheduler project is a noble cause and should certainly be made available as an option for those few applications that benefit from it, outright replacing the old scheduler at this point is a folly.

  16. Re:So what does this mean for the everyday linux u by FreeLinux · · Score: 2

    It means that you won't see too much speed-up on your desktop machine. But, if you run a big server that does multiple processes at once, say Oracle, you could see significant performance gains.

  17. Re:Make it simple please by straponego · · Score: 2, Insightful
    You mean, when will compiling a Linux kernel, which most users will never need to do, become as straightforward as recompiling your Windows kernel, which you can't do?

    make xconfig && make dep && make bzImage && make modules && make modules_install && make install

  18. KDE 3.1 IS FAST! by Anonymous Coward · · Score: 0

    Its very fast and snappy on a 450 mhz box, just get rid of that cheezy keramik and replace it with something lighter, its never been so fast!

  19. More bad news for MS in server market by 00_NOP · · Score: 0, Redundant

    Well, this is going to position Linux as (once again) the insurgent force in the server market and is going to leave MS looking pretty bad. But you don't have to be a rocket scientist to see how MS might exploit the changes in scheduling on desktop applications. But I suppose that is the right way for Linux to go.

  20. Well by kentyman · · Score: 2, Informative
    For those of you wondering, this is not a proof that you cannot optimize something to be more than 10 times faster in general.

    For example, suppose you have an algorithm A that takes X time. And then suppose you change it to algorithm B that takes 11X time by making it do algorithm A 11 times. Well algorithm B can be optimized to be 11 times faster by making it algorithm A instead, since they give the same result.

    Anyway, just wanted to make sure no one was missing the "processor-related activities" clause in your statement.

    --
    You know where you are? You're in the $PATH, baby. You're gonna get executed!
  21. Re:Make it simple please by jericho4.0 · · Score: 5, Informative
    It'll be quite a while before recompiling a kernel gets any simpler. Recompiling assumes that you know (somewhat) what you're doing. Keep at it. It took me at least 10 tries before I compiled a bootable kernel.

    quick hint; isnstall the kernel sources that came with your dist. Use the .config file found in this to compile first. These are the settings that your kernel was compiled with. The you can use make xconfig alter a known working config. Good luck.

    --
    "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
  22. Re:By Sturgeon's Law by rangek · · Score: 2, Insightful
    The parent post should be ignored. The information content, while real, is misapplied, and that "10" number is pulled out of his ass.

    That is what I thought at first, too. But the orignal poster is right (in a way), a factor of 10 is about the best you can hope for when parallelizing code. Since Amdahl's (or some other guy's) law also says something like 90% of the time is spent in 10% of the code. That makes s=10 and p=90. The limit of his equation, (s+p)/(s+p/n), as n goes to infinity is 10. A number not pulled out of anyone's ass.

    Maybe the original poster should be moderated down because I don't think the stuff here is really about parallelization (they talk about speed ups on uniproc systems too), but for the parallel case, he seems to be right.

  23. That formula.... by Anonymous Coward · · Score: 0
    ...can be simplified to Speedup=N

    So basically, the maximum speedup in an ideal situation is equal to the number of processors used. Wow.

  24. Re:This is This is the exact opposite of my findin by be-fan · · Score: 5, Informative

    Um, doing benchmarks between an Athlon XP and a Pentium 4 is folly. The P4 has notoriously slow context switching performance. Also, if you are running a small number of threads, your computer isn't spending a whole lot of time thread switching anyway, so the hit doesn't really affect you. When you have lots of threads, scheduling becomes far more important, and so the increase is much more noticible.

    --
    A deep unwavering belief is a sure sign you're missing something...
  25. Re:So what does this mean for the everyday linux u by Anonymous Coward · · Score: 0

    What's a razon? Is it like a raisin? Those aren't very sharp.

  26. Re:Make it simple please by Adnans · · Score: 2

    Your command line can be much shorter:

    make xconfig dep clean bzImage modules modules_install

    -adnans

    --
    "In short: just say NO TO DRUGS, and maybe you won't end up like the Hurd people." --Linus Torvalds
  27. Re:This is This is the exact opposite of my findin by Sir_Ace · · Score: 0

    Oh, good another benchmark... If you seem so apt to pointe out some things broke, maybe you should troll through the code, and see ***Where*** it broke. Then maybe submit a nice E-Mail to Linus {make sure to pronounce it right in the E-Mail :)} and say:
    you made this cool fix but it broke this: here is the fix. Then you benchmark might have two lines one of which will not have a y'=0...
    {end rant}

  28. If you'd read his past posts... by 0x0d0a · · Score: 1

    You'd notice that the respectable Prof. Collins is one of the more sophisticated trolls. He generally garners quite a few responses.

    1. Re:If you'd read his past posts... by cscx · · Score: 0, Offtopic

      Regardless, kudos to being the first person to ever include a graph in his slashdot posts to back up his claims.

  29. Linux Benchmarks by snellac · · Score: 0, Troll
    I've actually contributed several patches to the SMP cycle router in the new 2.5.47 kernel. Me, as well as several of my associates, have had the privilege of testing Linux on our quad-proc machines at our development firm where we work. The speed is absolutely marvelous, my manager's jaw dropped when he saw how fast we could compile our corporation's PHP scripts.

    On the video front, the bus core of the latest AGP 8x cards are now implemented with dual-feed data ports, as BSD has implemented in their last main release. This increases the pixels per second speed by order of magnitudes, all with about two hours worth of code tweaking.

    As a side note, however, I recommend if you want to try these significant kernel improvements on your boxen at home, please use extreme caution - the stability of these releases are questionable, and they have been known to cone dump into various output files. Please, do not deploy this on mission critical desktops or NT workstations!

    By the looks of it, the Linux 2.5 kernel is ahead of schedule, and it looks as though it may be fully ready by year-end 2002. How's that for a Christmas present!

    1. Re:Linux Benchmarks by geogeek6_7 · · Score: 4, Funny

      Great, now people compiling PHP are committing patches to linux.... ;)

    2. Re:Linux Benchmarks by ealar+dlanvuli · · Score: 0, Offtopic

      This post proves the slashdot moderation system is completly worthless.

      Thanks for playing.

      --
      I live in a giant bucket.
    3. Re:Linux Benchmarks by Anonymous Coward · · Score: 0

      Dude... try Zend or PHP Accelerator.

    4. Re:Linux Benchmarks by jmt9581 · · Score: 1

      Not only that, but apparently compiling PHP when using a 2.5 kernel can cause cone dumps into various output files.

      :)

      --

      My blog

    5. Re:Linux Benchmarks by Anonymous Coward · · Score: 5, Funny

      I don't know about troll, but perhaps just an overactive imagination :)

      Apparently he works for a
      development firm,
      studies meterology,
      works for Verizon store at a local mall,
      owns a chain of pet stores in London, and
      has a thing for CmdrTaco.

      Read together, they make amusing reading :)

    6. Re:Linux Benchmarks by Anonymous Coward · · Score: 1, Funny

      I have a new idol. This guy's posts are like an experiment in flushing out dumbass moderators.

    7. Re:Linux Benchmarks by pzilla · · Score: 2, Funny

      the stability of these releases are questionable, and they have been known to cone dump into various output files.

      Cone dumping is a problem... hopefully, this new vehicle solves it.

      --

      --
      Karma is overrated, whoring is ok.
  30. Re:This is This is the exact opposite of my findin by Anonymous Coward · · Score: 0

    So, why not have a scheduler that switches mode depending on the number of threads? Obviously there would have to be some profiling of which scheduler works best when, but it sounds like you're already doing this. Also, of course some hysteresis in the switching so there isn't a pathological case where the scheduler flails between modes as threads come and go. I'm not volunteering to implement this ;-), just asking whether this approach would work.

  31. Re:Can't get a speedup of more than 10 by Daniel+Phillips · · Score: 4, Informative

    Informative? I don't think so. (Moderators, please check the crack that you are smoking)

    Amdahl's law makes a (wrong) statement about the amount of speedup that can be obtained through parallel as opposed to serial execution. (By the way, the number 10 doesn't come into it anywhere. You might as well have mentioned the speed of sound.).

    Here, we are talking about the comparative performance of two operating systems running on the same number of processors. Since there is no limit on how stupidly the original could have been implemented, there is correspondingly no limit on the amount of possible speedup due to a better implementation.

    Anyway, if you think you know something about Amdahl's law, you need to google for "Gustafsons's law". Executive summary: Amdahl was wrong. Exactly how wrong is still a matter of debate, but it's generally agreed that it lies somewhere between "very" and "completely". Please don't quote this nonsense in support of anything, just don't do it.

    --
    Have you got your LWN subscription yet?
  32. Re:Make it simple please by Sir_Ace · · Score: 0

    Does everyone on earth but me user the damn xconfig? Some of use still use real terminals, {not xterms} and menuconfig and config work nicely...
    I do admit you may have to run config several times if you turn on lower list options but hey... They work!!! {Dons Asbestos Armour}

  33. What is your degree, Professor? BS? by FreeLinux · · Score: 0, Troll

    You ran an experiment to test two different kernels and used two totally different processors? Don't you think that you should have been using identical hardware for this test?

    Your "testing" is of no value at all. That is, if you actually did these tests. I suspect this is simply a crafty little troll.

  34. Re:So what does this mean for the everyday linux u by iabervon · · Score: 5, Informative

    You'll get better interactive performance under load. So if you're encoding an mp3 and writing your home directory to a CD, your mouse cursor won't stick and your windows will refresh reasonably well. Unless you're doing something kind of disk/processor intensive, you won't notice the difference, because 2.4 is too good already for there to be much improvement. If you try to encode 32 mp3s at the same time, 2.6 will actually do worse than 2.4, but at least it won't make ls quite so slow.

    The main goals are interactivity (input gets handled quickly), low latency (your mp3 player gets a chance to send the next second of audio to the sound card before this second is over), and fairness (every program makes at least a little progress after a short amount of time).

  35. Re:So what does this mean for the everyday linux u by Azar · · Score: 5, Informative

    Overall throughput has not increased (actually, it is believed to have decreased). So the overall speed of the system is relatively equal to the 2.4 series of kernels. You probably won't see any major performance speedups in any apps you use.

    However, the overall responsiveness of the system is improved. Most people who have used it have claimed that it felt much faster than the 2.4 series. You won't have starved processess.

    This means if you're running XMMS and you compile a kernel, XMMS won't just hang until the compilation is done. The kernel developers have done a great job in improving -fairness- between processes.

    Mostly, the results will be seen on Big Iron and server applications, but the overall desktop experience is expected to improve.

  36. Re:The data from the benchmarks is pasted here: by Goalie_Ca · · Score: 1

    I like this one: "WXP ......... more secure than Linux" Well i lost track but there are far more than 200 security articles for xp last time i checked. That page with the number of articles no longer appears. I wonder why :P

    --

    ----
    Go canucks, habs, and sens!
  37. Any experimental distros with the new kernel? by Anonymous Coward · · Score: 0

    For those of us who hate kernel compiling, is there a distro that has 2.5 in it? I'd love to be able to just burn an ISO, boot it and go to town.

  38. Re:By Sturgeon's Law by Daniel+Phillips · · Score: 2, Insightful

    the orignal poster is right (in a way), a factor of 10 is about the best you can hope for when parallelizing code. Since Amdahl's (or some other guy's) law also says something like 90% of the time is spent in 10% of the code. That makes s=10 and p=90.

    No it doesn't. How do you know the 90% is serializable and the 10% isn't? Answer: you don't, there is no relationship whatsoever.

    Sheesh.

    --
    Have you got your LWN subscription yet?
  39. Karma whore or just trolling? by Dante · · Score: 3, Insightful

    If I pulled a gif compleatly out of context as proof of anything would you trust me?

    --
    "think of it as evolution in action"
    1. Re:Karma whore or just trolling? by npietraniec · · Score: 1

      sure!

    2. Re:Karma whore or just trolling? by Dante · · Score: 2

      Good lend me 100 bucks till tuesday?

      --
      "think of it as evolution in action"
    3. Re:Karma whore or just trolling? by Wolfrider · · Score: 1

      "I will gladly repay you Tuesday, for a Hamburger today." == Wimpy from Popeye
      .

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
    4. Re:Karma whore or just trolling? by Anonymous Coward · · Score: 0

      No. You didn't give us an out-of-context image telling us why we should.

  40. inexperience by sstory · · Score: 1, Flamebait

    I don't know much about linux, but seeing these benchmarks suggests that the performance is getting faster confuses me. I recently tried linux again when Mandrake 8 came out, and on a hellafast computer it was taking a long time for basic things to be accomplished. I thought winXP was slow compared to win2k, but this mandrake was taking even longer to do the comparable things like open Konqueror, and open text-editing programs. Is there a simple explanation?

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

      I believe part of the slow load times is due to the fact that glibc on most modern distros does not include object preloading technology. The latest glibc has this I believe, and the only distro I know that uses the latest glibc are currently beta. I think around the Redhat 9.2 timeframe you will see linux that is more than suitable for the desktop.

    2. Re:inexperience by cymen · · Score: 2

      There was at least one performance bug with Mandrake 8 that resulted in extremely slow X performance. I don't remember the details but maybe someone will share them...

    3. Re:inexperience by myz24 · · Score: 2, Informative

      The short answer is that KDE is written in C++.

      The long answer is that anything written in C++ on Linux will load slow (but should run fairly quick once loaded) because of something to do with loading the C++ libraries and some other compiler gook. I can't remember where I read it, or how I found it on google, but aparently this will be fixed soon in glibc.

      Of course, I could be WAY off, so if someone could back me up...

    4. Re:inexperience by Coke+in+a+Can · · Score: 1

      I tried Mandrake 9 recently, and it turned me off linux for weeks. This is what you do: get a different distro. RedHat is good, and KNOPPIX is great too (knoppix.de).

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

      These benchmarks are about the kernel, which has very little to do with Konqueror or text editing programs. (They aren't even developed by the same groups.) The kernel provides all of the services that these programs run on top of. It's extremely important that the kernel performs well, or everything else will perform poorly, especially in server environments.

      Linux has not been competing for a long time in the desktop market, and the focus for desktop applications right now seems to be more on functionality than speed.

      Having said that, if you really want to see your system fly, try switching the interface over to AfterStep, and running a smaller browser, like Opera or Galeon. While you're at it, turn off all the services that you dont need that it's running in the background. (Find out what they do first!!)

      You'll be getting less whistles and bells, but you get them a lot faster. After all, one of the great things about linux is that you can choose exactly what you want your system to do.

    6. Re:inexperience by Anonymous Coward · · Score: 0

      Knoppix is junk. I tried it and had nothing but problems. Let's hope this isn't the direction Linux is headed for "user friendliness." Sheesh.

    7. Re:inexperience by Anonymous Coward · · Score: 0

      Actually, I beleive that RH8 and the newest Mandrake uses glibc 2.2.5 or newer that combined with the newer binutils which I also believe they use, does have the object pre-linking.

    8. Re:inexperience by Coke+in+a+Can · · Score: 1

      Really? Well I'm running it right now (on both laptop and desktop), and IMO, it's great for semi-newbies. It's a great idea, because if you screw something up, you just reboot. And then, when you're ready, you can install it to the HD, and then you've got a fully loaded install of Debian.

      What were your problems?

    9. Re:inexperience by Coke+in+a+Can · · Score: 1

      oops, replace:

      and then you've got a fully loaded install of Debian.

      with:

      and then you've got close to Debian, with pretty much everything you'd need for work installed (i.e. KDE, OpenOffice, WINE, Mozilla, and pretty much everything else).

    10. Re:inexperience by Anonymous Coward · · Score: 0

      Check out the program hdparm. The command:

      hdparm -m16 -c1 -d1 -u1 /dev/hda

      should speed up your harddisk access tremedously.

    11. Re:inexperience by Wolfrider · · Score: 1

      --Um, then you're an idiot. Go away.

      --I use Knoppix on an almost daily basis, AND I'm constantly helping ppl out on the support board.

      --So there. :P
      .

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
  41. Re:Make it simple please by Anonymous Coward · · Score: 0

    Do you have a learning disorder? The first Linux kernel I compiled worked flawlessly - and that was in 1993 before the hand-holding configuration process was available.

  42. Re:The data from the benchmarks is pasted here: by Anonymous Coward · · Score: 0

    Please provide links to linux-1.5 kernel source so I can test.

  43. Re:Make it simple please by Wavicle · · Score: 5, Interesting

    It is simple , tar -xvzf linux-{current}.tar.gz.
    cd linux;
    make menuconfig ; make dep bzImage modules modules_install

    You're joking, right? How many options in 2.5.47 must be selected in order for your run of the mill $9 generic PS/2 keyboard to work? I can't tell you how much fun it was building 2.5.47, missing one *somewhere* and suddenly I couldn't do anything because my keyboard stopped working.

    The kernel only has an expert mode. It would be nice if there were a higher order config that asked you basic questions and built the things you were most likely to need, with the option of going into a more expert mode if you needed to fine tune something.

    --
    Education is a better safeguard of liberty than a standing army.
    Edward Everett (1794 - 1865)
  44. Re:Make it simple please by Anonymous Coward · · Score: 0

    This is easier:

    make oldconfig dep clean modules modules_install install

  45. How long for Steve Jobs to... by Anonymous Coward · · Score: 0

    ... steal this, too, plug it into the BSD he stole (twice), call it incredible, and then charge way too much for it.

  46. So this means... by nothing+safe · · Score: 0

    that i can run three times more instances of AMOR?!? w00t!

  47. Re:Make it simple please by Anonymous Coward · · Score: 0

    rpm -ivh kernel-2.4.20.i386.rpm

    or even easier:

    System Tools->RedHat Network

    Then just let the Update Agent install your new kernel for you.

  48. Wow, you can disprove Ahmdahl's law? by Fefe · · Score: 5, Informative

    Please write and publish a paper about it!

    This is a major breakthrough in computer science.

    It also is quite unlikely, since Ahmdahl's law is a trivial observation that is completely independent of parallelization or even software engineering (it also applies to hardware design or even accounting). Basically, it says: if initially only 10% of X (CPU cycles, money, whatever you are trying to save) is spent in the part you are optimizing, there is an upper bound of 10% to the X you can save.

    I'm very interested in how you can disprove that.

    1. Re:Wow, you can disprove Ahmdahl's law? by Daniel+Phillips · · Score: 3, Informative

      Please write and publish a paper about it!

      Such rhetoric, oh my.

      This is a major breakthrough in computer science.

      It also is quite unlikely, since Ahmdahl's law is a trivial observation that is completely independent of parallelization or even software engineering (it also applies to hardware design or even accounting). Basically, it says: if initially only 10% of X (CPU cycles, money, whatever you are trying to save) is spent in the part you are optimizing, there is an upper bound of 10% to the X you can save.


      Sorry, wrong law. You seem to be thinking "90% of the time in 10% of the code", a rule of thumb that nobody to my knowledge has ventured to dignify with the term "law". Amdahl's Law (which IMHO doesn't deserve the dignity either) was an attempt to make a statement about the limitations of parallel computing. Relying on wrong assumptions, he drew wrong conclusions, and in the event, parallel clusters have gone on to scale nearly linearly into the tens of thousands of processors, a result he would have liked to have proved impossible.

      Read more here.

      --
      Have you got your LWN subscription yet?
    2. Re:Wow, you can disprove Ahmdahl's law? by Hott+of+the+World · · Score: 2

      I do believe the term you were looking for is "Talking out his other hole, since thats obviously where his head is located"

      --
      | - | - |
    3. Re:Wow, you can disprove Ahmdahl's law? by Anonymous Coward · · Score: 1, Informative

      No, the original poster got it right. Amdahl's law is simply a formalism of the stement "make the common case fast". Simply put, if you are speeding something up on the chip, speed up something that gets used a whole lot. If your feature is only used 1% of the time, and you double the speed, you get at .5% speedup. If, on the other hand, your feature is used 50% of the time and you double the speed, you'll get a 25% speedup. Amdahl's Law helps us make formal arguments about where we should optimize.

    4. Re:Wow, you can disprove Ahmdahl's law? by miu · · Score: 1
      You seem to be thinking "90% of the time in 10% of the code", a rule of thumb that nobody to my knowledge has ventured to dignify with the term "law".

      Probably more familiar to most as the 80/20 rule.

      Amdahl is probably more familiar as diminishing returns.

      --

      [Set Cain on fire and steal his lute.]
  49. Re:Make it simple please by Guilly · · Score: 0

    If you're not using stable series don't complain about missing options.

    You could compile 2.4 kernels straight out of the tarballs and they would actually support your 9$ generic PS/2 keyboard.

  50. Re:Make it simple please by kasperd · · Score: 2

    This is easier:

    make oldconfig dep clean modules modules_install install


    Yes oldconfig is nice when you already have a .config file from a previous kernel. But I have really been missing xoldconfig, that will give me the xconfig interface but with only the questions I'd need to answer when using oldconfig.

    --

    Do you care about the security of your wireless mouse?
  51. Re:Make it simple please by Anonymous Coward · · Score: 0

    You forgot make clean and optionally, make bzimage.

  52. Re:Can't get a speedup of more than 10 by mrobinso · · Score: 0
    Daniel Phillips writes:

    > (Moderators, please check the crack that you are smoking)

    Pimply-faced highschoolers camping out in the basement of their daddy's house can't afford crack. It's model airplane glue I'm sure.

    --
    -- Karma whore? You betcha. --
  53. in certain cases... by 7-Vodka · · Score: 2
    I looks like if you are talking about large internet operations and large cpu intensive tasks and large io tasks all at the same time... then YES! it will make the internet faster.

    So maybe this will help some people stand up to being /.'ed.

    --

    Liberty.

  54. Re:This is This is the exact opposite of my findin by Sivar · · Score: 2, Insightful

    The P4 has notoriously slow context switching performance.

    The Pentium IV has notoriously slow performance in some areas, but a processor being slow in context switching doesn't make sense. Depending on the context(English context, not computer context), context switching is either the system switching from kernel mode (running kernel code) to user mode (user applications) or vice-versa, OR it is simply moving from one execution path to another (as was scheduled by the, um, scheduler)

    The processor has nothing to do with it. Context switching in BOTH instances is handled entirely by the operating system. While Windows NT 3.1 may have "slow context switching" and Linux with the O(1) scheduler may have "fast context switching", the Pentium IV cannot "have fast or slow context switching" because it doesn't have anything to do with the Pentium IV.

    One might theorize that the original poster's comment was refering to the Pentium IV being particularly slow at the actual instructions used in context switching. Regarding the discussion of the kernel scheduler, the meaning of "context switching" that we are using probably refers to switching between tasks (AKA multitasking), so the important instructions would simply be jump instructions like "jmp", which AFAIK are not particularly slow on the Pentium IV like, say, bit shifting (which is glacially slow on the Pentium IV).

    --
    Computer Science is no more about computers than astronomy is about telescopes. --E. W. Dijkstra
  55. I like this one better... by Some+Dumbass... · · Score: 2, Flamebait

    How about this image, from the same article. Note how green, which is SUSE Linux, is winning :)

    Needless to say, context is everything.

  56. Re:Make it simple please by Sir_Ace · · Score: 0


    Right up into the pointe where you get a panic, unable to mount root file system, because your raid dirvers aren't turned on..... Loose the Redhat. Slack up ;)

  57. Re:Make it simple please by momobaxter · · Score: 3, Insightful

    A home user (meaning non hacker) never has the need to recompile a kernel. NEVER. Your distribution has all the modules available and if you're running the more popular distros, they will even detect your hardware and load the module for you.

    Sometimes people shouldn't mess with stuff, the kernel is one of those things. RedHat does a good job with their builds and an average user doesn't need to rebuilt it at all. A more experienced user might want to tweak, but then he can use make menuconfig or make config...and choose his options.

    My grandmother will never recompile her kernel.

    --
    "Full sources for linux currently runs to about 200kB compressed" --Linus Torvalds 31-Jan-1992
  58. I hear you... by Mustang+Matt · · Score: 2

    I know exactly how you feel. I actually use linux quite a bit, but it's all precompiled suse packages for the most part except when I need oddball stuff like gif support for GD. Then it's time to compile php.

    I'm blessed to have friends that know more than I do and are willing to help me out when I get stuck.

    Compiling the kernel is something I haven't attempted since 386DX40 days.

    --
    The man who trades freedom for security does not deserve nor will he ever receive either. - Benjamin Franklin
  59. 2.5.x are DEVELOPMENT kernels by streak · · Score: 1

    For all of you who have issues compiling 2.5.x let me remind you that 2.5.x are development kernels.
    They aren't perfect.
    They may have issues building in certain configurations, because they are development kernels.

  60. Re:Make it simple please by Anna+Merikin · · Score: 4, Informative

    I grew up with DOS, too. If you installed Borland's Sidekick (many did) successfully, you can compile. That's the stuff that went on in Sidekick's install process: it used Borland's compiler -- and that's why it ran so well.

    I just finished *this morning* compiling a 2.2.22 (yes, RH-6.2) for my box. Use the .config file from the stock kernel sources for your distro, usually in /usr/src/linux* (you may have to install them) open a root terminal window in /usr/src, issue `make xconfig' choose the .config from the load configuration file box and start disabling everything you KNOW you do not need. The help buttons are mostly very helpful. If your box is used for web surfing, compile in ppp, same with lpd if you need to print. Unless you have a SCSI drive, disable all SCSI boxes. Load as much of your equipment into the kernel as you can, and disable the modules that enable hardware and features you don't have or use, like firewire or USB. Make sure equipment you DO HAVE are supported either in the kernel or as a module. Keep doing `next' until the end, when there is no `next.' Choose Main Menu,

    Then save the new configuration. Do a 'make dep bzImage modules modules_install' and copy the ~/System.map file as System.map-new.kernel.number and drill down to /usr/linux/arch/i86/boot and copy bzImage as vmlinuz-number.of.kernel to /boot.

    from /usr/src/linux , do make modules_install.
    Modify /etc.lilo.conf to include the new kernel and System.map. Activate lilo (/sbin/lilo -v -v).

    Reboot into new kernel. If you get lots of error messages about modules not loading, reboot at the command prompt, and everything will have been rewritten magically. Use your new kernel for testing. You may find you want to try another configuration. Do it all again, changing the Makefile each time under line 3 EXTRAVERSION with another digit or letter to keep it from overwriting a working kernel when you copy in to /boot and to keep the modules straight (though they appear not to care....)

    Frankly, I've tried nine builds and although my kernels are smaller than stock, use about 5Kb less RAM and benchmarks seem to indicate about 5-6 per cent increase in speed, I feel no difference in use.

    I do feel better knowing I am using the latest (and perhaps the last) kernel in the 2.2.x series, though. FWIW.

  61. Re:Make it simple please by Anonymous Coward · · Score: 1, Insightful
    The kernel only has an expert mode. It would be nice if there were a higher order config that asked you basic questions and built the things you were most likely to need

    There are. They are called RedHat, Mandrake, SuSE, etc.

  62. Re:Can't get a speedup of more than 10 by Anonymous Coward · · Score: 0

    actually the constant E in Amdahl's equation is *highly* variable. For some tasks it might be practically unity. For others (eg. numerical codes -- matrix manipulation, etc.), there are algorithms with extremely low E. These algorithms are *esigned* to be run in parallel by thousands of scalar processors or a handfull of vector processors, in either case thousands of FLOPS executing simultaneously. Check out some ScaLAPACK numbers at top500.org.

    Basically, nobody knows the optimal algorithm for any non-trivial task and therefore we can't know how low E can go, but we do know that it is = E for any known algorithm!

  63. Re:Make it simple please by Istealmymusic · · Score: 2
    This is even easier:
    make installkernel KERNCONF=GENERIC
    make buildkernel KERNCONF=GENERIC

    Of course, you have to be using a BSD kernel. Theres nothing wrong with using GNU userland tools and a BSD kernel...

    --
    "The lesson to be learned is not to take the comments on slashdot too literally." --Vinnie Falco, BearShare
  64. Re:This is This is the exact opposite of my findin by cpeterso · · Score: 2


    I think some processors have multiple register sets, so threads do not have to thrash the same set of registers for every thread context switch.

  65. Re:Can't get a speedup of more than 10 by ctr2sprt · · Score: 2
    It actually doesn't matter, because speedups are calculated using algorithm speed, not clock ticks or anything concrete like that. In other words, speedups only give you part of the story. A poorly-written program using a O(log n) search algorithm may be slower than a well-written program using a O(n) one; but in the normal case, the programmers will be sufficiently competent for the better algorithm to make the better program as well.

    There are a whole bunch of ways you can conceal information or mislead readers by claiming really good big-oh times, but this isn't really one of them. (How about a perfect hash table that calculates keys using a O(m^n) hashing algorithm?)

  66. Re:Can't get a speedup of more than 10 by Ondo · · Score: 2

    Anyway, if you think you know something about Amdahl's law, you need to google for "Gustafsons's law". Executive summary: Amdahl was wrong.

    If you had actually tried using google for "Gustafson's law" you would have seen as the first link a paper claiming it and Amdahl's law are identical, not that Amdahl was wrong.

  67. Re:This is This is the exact opposite of my findin by puetzk · · Score: 3, Interesting

    well, this guy is apparently a troll, but just for the sake of argument... Anyone repeating his test would probably find very similar results. HZ (the constant controlling how often the scheduler runs) has been changed from 100 to 1000, improving smoothness for many things (multimedia apps espescially) at the cost of making the schduler overhead 10 times what it was before.

    Luckily, it was very small before, and it's still very small. Maybe it went from taking 0.001% of your CPU power to 0.01% :-). The *only* times the scheduler was really a problem before were a) when it made bad choices and b) when there was gazillions of tasks. The rest of the time, it was totally negligible.

    So, even if the scheduler did slow down by a factor of 2 as he claimed (and in fact, it would have slowed down by a factor of 10 due to the HZ changes so his claim would leave O(1) 5 times faster than the old scheduler) it really wouldn't matter to an ordinary desktop/server. The scheduler time is too small to be important on normal machines .

    --
    The Matrix is going down for reboot now! Stopping reality: OK. The system is halted.
  68. Why did they get rid of the old make xconfig? by dcstimm · · Score: 1

    Why did they get rid of the old make xconfig, it sucks now, it uses gconf or kconfig, stupid.... Makes life harder, I wish they would never had changed, the old system rocked, now I have to have either gnome or kde installed, or use make menuconfig from the terminal! arg! Come on go back to normal! But good work Linus! keep up the great work!

    1. Re:Why did they get rid of the old make xconfig? by Anonymous Coward · · Score: 0

      Cause they are f**in brain dead and noone from the tcl camp was contacted to rehash xconfig.
      Grab the source from an older kernel and fix
      it if you want to do linus a DEless favor.

    2. Re:Why did they get rid of the old make xconfig? by gmack · · Score: 3

      Because the old system had 3 diffrent parsers each with their own bugs and it had become a maintainance nightmare.

      Making new configurators is simple with the new system and I'm sure there will be gtk/whatever else configurators available.

    3. Re:Why did they get rid of the old make xconfig? by Anonymous Coward · · Score: 0

      long as menuconfig works... xconfig is stupid

    4. Re:Why did they get rid of the old make xconfig? by romey · · Score: 1

      you only need to install Qt, or the GTk libs.

  69. Re:This is This is the exact opposite of my findin by be-fan · · Score: 4, Informative

    The instructions involved in the context switch are slow on the Pentium 4. The P4 has a long internal pipeline to flush, and a huge amount of internal state to synchronize, which makes context switches slow. For example, an interrupt/return pair take 2000 clock cycles on the P4!

    --
    A deep unwavering belief is a sure sign you're missing something...
  70. Re:Can't get a speedup of more than 10 by zachusaf · · Score: 1

    You mean like this? http://www.cis.temple.edu/~shi/docs/amdahl/amdahl. html /QUOTE/Interestingly, a careful analysis reveals that these two laws are in fact identical. The well publicized arguments were resulted from misunderstandings of the nature of both laws. /QUOTE/

  71. Re:Make it simple please by bankman · · Score: 1

    The kernel only has an expert mode. It would be nice if there were a higher order config that asked you basic questions and built the things you were most likely to need, with the option of going into a more expert mode if you needed to fine tune something.

    You are right of course, but did it ever occur to you that this is a development kernel, to be used primarily by experts, i.e. people who can submit useful bug reports?

    Your average Linux user (not a professional admin and/or geek) should not use this stuff, unless he or she is willing to provide information other than "2.5.47 doesn't work for me. Help!" As long as this kernel is still in development and not even testing, only experts should use it. But, I agree that the configurator has to change when 2.5 reaches the testing, RC phase so that Joe Average-Linuxuser can run it.

    --
    I feel so sig.
  72. Re:Make it simple please by Anonymous Coward · · Score: 0

    I would argue that make menuconfig is easier than hitting up vi on GENERIC to make a custom kernel. This is all about making custom kernels right? Why would you post anything about a GENERIC kernel?

  73. Re:By Sturgeon's Law by rangek · · Score: 1
    How do you know the 90% is serializable and the 10% isn't? Answer: you don't, there is no relationship whatsoever.

    You are right, maybe you can't parallelize the 10% of the code that is costing you 90% of your time. That makes s greater than 10 and p less than 90. The limit of that as n goes to infinity is less than 10; that is the assertion of the original poster, that a 10 times speed up is about the best you can hope for when parallelizing a code.

  74. Disk buffers & memory subsystem updated?? by Anonymous Coward · · Score: 5, Interesting

    I'm a big time VMware user (I use it for testing and Windows). I usually have 2 or 3 VMware machines running at any given time and I have plently of memory (usually 1GB, sometimes more). However, the disk buffer (or disk caching) of Linux sucks ass. I'm not kidding, if I have 1GB of memory, 900+ megs will be used for disk buffers and my very important interactive VMware processes will be swapped out to the slow disk swap file. Just using one of the VMware processes causes a lot of disk I/O and all that I/O gets loaded into the disk buffers in memory then when I go to use another VMware process it has to come out of swap. Linux is pretty bad about this with normal processes, but VMware exasperates the problem.

    To boil it down: The disk buffering in 2.4 is way , way too aggressive and I haven't figured out a way to fix it. I need to be able to either limit the total ammount of memory the buffers will use or a better method would be to tag certain processes so that they will never be moved into swap for disk buffers (moving to swap "normally" is OK, just not for disk buffers). Or maybe just make it never swap out any process for disk buffers.

    It seems Windows uses a more reasonable disk buffering technique and VMware works better there (especially when using several instances). I don't want to use Windows as my primary OS though because I like the built-in disk encryption and network security of Linux (the ip filter stuff is much better than Windows).

    Anyone know if 2.5 has got any better disk buffering?

    1. Re:Disk buffers & memory subsystem updated?? by cgleba · · Score: 3, Insightful

      > would be to tag certain processes so that they
      > will never be moved into swap for disk buffers

      I beleive that this is what the sticky bit was intended for. Before I go about explaining what it is and how to use it, does anyone know if Linux actually *honors* the sticky bit or does it just have it for compatibility?

    2. Re:Disk buffers & memory subsystem updated?? by Luminous+Coward · · Score: 1
      Linux is pretty bad about this with normal processes, but VMware exasperates the problem.
      I think you meant exacerbates .
    3. Re:Disk buffers & memory subsystem updated?? by Anonymous Coward · · Score: 0

      I thought the sticky bit is so that in a world-writeable directory (such as temp), only the current owner or group (depending on the permissions) can delete a given file or directory.

      Actually now that I think about it I do remember...yes you are right. The above behaviour describes the sticky bit for directories. When it comes to files (or is it just executables), if that program is run it's not supposed to be swapped out of memory. I'm pretty sure I read this in Jon Lasser's excellent book, "Think Unix".

    4. Re:Disk buffers & memory subsystem updated?? by charnerd · · Score: 1, Informative

      Turn on the "Sticky" bit. That tells the OS that the process is priority and keep it in memory if at all possible.

    5. Re:Disk buffers & memory subsystem updated?? by Anonymous Coward · · Score: 0

      Yes, that's what I meant. However exasperates is valid, if obsolete according to M-W.

    6. Re:Disk buffers & memory subsystem updated?? by Anonymous Coward · · Score: 0

      My understanding is that Linux does not honor that bit because "Linux's virtual memory management makes this use irrelevent".

      Although I have not tried this, I don't think it will work. There has been a lot of discussion on this subject and no one ever mentioned the sticky bit.

    7. Re:Disk buffers & memory subsystem updated?? by Anonymous Coward · · Score: 0

      I'm not so sure, see my response to the post above this.

    8. Re:Disk buffers & memory subsystem updated?? by Part`A · · Score: 1

      Know what? This is pretty much the same problem I have in windows. Copy a CD worth of data across the network, and then I find that all my programs have been swapped out of memory...

    9. Re:Disk buffers & memory subsystem updated?? by Anonymous Coward · · Score: 0

      Yep... except at least on Linux it should be possible to tune it to your preferences. Even if that means hacking the source.

    10. Re:Disk buffers & memory subsystem updated?? by sheepman · · Score: 4, Informative

      Configure kswapd.
      For example, add the following to /etc/sysctl.conf

      vm.kswapd = 12800 512 8

      When no free memory, kswapd will free more
      memory than that in default.

    11. Re:Disk buffers & memory subsystem updated?? by muixA · · Score: 3, Informative

      Linux does not honor the sticky bit.

      man chmod: ...and the Linux kernel ignores the sticky bit on files. Other ker-
      nels may use the sticky bit on files for system-defined purposes. On
      some systems, only the superuser can set the sticky bit on files.
      --
      Matt

    12. Re:Disk buffers & memory subsystem updated?? by Anonymous Coward · · Score: 0

      Do you have a pointer to more information on what those settings are? I couldn't find a man page and a search on Google wasn't very helpful.

      My gut feeling (seems like I looked this up before) is that I don't think this will work. kswapd does not control the disk buffers, they are handled by something else.

    13. Re:Disk buffers & memory subsystem updated?? by perbu · · Score: 1

      Try using raw IO for the VMware disks. Raw IO bypasses the caching so the kernel can't buffer any of this. For VMware this is a good thing - whatever operating system you are using probably has its own buffering and caching routines.

    14. Re:Disk buffers & memory subsystem updated?? by Anonymous Coward · · Score: 0

      You can only do raw IO on a device though. That would mean a separate partition for every VMware machine. That definately won't work in my case as I have over 10 different VMware systems at any given time.

      I wonder if the loopback device might work. I also wonder how much of a performance hit that would be. I haven't had great luck with high bandwidth loopback connections, eventually something bad happens (kernel crashes, file corruption, or the system just hangs). I have a feeling that a loopback device based on a filesystem will still use disk buffers.

    15. Re:Disk buffers & memory subsystem updated?? by Anonymous Coward · · Score: 0

      Why is this moderated up? Sheesh... morons.

      This will not fix the disk buffering problem. Those settings are ralated to kernel memory swap space. Disk caching/buffering is a completely seperate system.

  75. Re:Can't get a speedup of more than 10 by Xarin · · Score: 1

    You are starting to sound like Gary Hart. I googled it and it says they are equivalent.

    Checkouthttp://www.cis.temple.edu/~shi/docs/amda hl /amdahl.html

  76. Re:Make it simple please by Anonymous Coward · · Score: 0

    Almost correct. There is no 'lpd' in the kernel for printing.

  77. Re:Can't get a speedup of more than 10 by mdechene · · Score: 3, Interesting

    Amdahl's law is used to predict speed increases for multi-processor systems. In this case, you can see a gain of more than 10 if you have enough processors in use, and the majority of the work is in parallel.

    I think it assumes the original was written with some sort of intelligence behind it. I bet I could write some really atrocious code that would be so incredibly inefficient that almost anyone else could get a huge performance gain from it.

    It doesn't really assume anything. The equation pertains to gains simply by increasing the number of parallel processors, not the strength of the code.

    Anyways, this is probably redundant, but the big gains from the new kernel is that the amount of parallel processes are increased and the serial processes decreased. In a single processor system, performance decreases as there is more overhead in swapping processes in and out. In multi-processor systems, the gains would be enormous.

    --

    Karma: Not Particularly Funny.
  78. Well this is certainly newsworthy by precedent... by pimpinmonk · · Score: 1
  79. Re:Make it simple please by Marco+Polo · · Score: 1

    Very funny I'm dealing with the same issue right now.... but i found i could still ssh in to the computer... so after 3-4 trys i found the ps/2 keyboard stuff....

    do remember it's 2.5 not 2.6(3).... so things are broken....

  80. Re:This is This is the exact opposite of my findin by UncleFluffy · · Score: 2

    The Pentium IV has notoriously slow performance in some areas, but a processor being slow in context switching doesn't make sense.

    Well, those of us who actually design CPUs and stuff rather than pretend we know about them use the term "context switch" to describe dumping the current CPU state (to memory, other registers, whatever) then loading a new state, or something logically equivalent. This can be for a thread switch, interrupt handling, whatever.

    The processor has nothing to do with it.

    A CPU level context switch is part of what happens during an OS level context switch, and therefore has a significant effect on OS performance.

    --

    What would Lemmy do?

  81. Amdahl's Law by Anonymous Coward · · Score: 0

    Amdahl's law makes a (wrong) statement about the amount of speedup that can be obtained through parallel as opposed to serial execution.


    Sorry, Amdahl's law is 100 percent correct. Most people who believe the law doesn't apply are simply measuring something else. Instead of measuring the change in time required to solve a problem by adding more processors to it (which is what Amdahl's law is concerned with), they measure the change in the size of the problem that can be solved by adding additional processors (about which Amdahl's law says nothing).

    The point is that while Amdahl's law is correct, it's not the only type of analysis that can be applied to parallel problems, so it is by no means the only thing that should be considered when judging the potential performance of parallel systems.


    Executive summary: Amdahl was wrong. Exactly how wrong is still a matter of debate, but it's generally agreed that it lies somewhere between "very" and "completely".


    Amdahl may very well have been wrong about some things. If he claimed that his law encapsulated all anyone would want to know about parallel systems (which is doubtful), then he would be wrong. His law itself, however, is correct.
  82. Let's ask the inventor... by Anonymous Coward · · Score: 0

    Let's ask Al Gore.

  83. Re: 386DX/40 by Anonymous Coward · · Score: 0

    I had one of those early AMDs (I am aware that AMD made 8086s and 286s, but the AMD 386 was the first unlicensed AMD CPU) and was first introduced to Linux on the machine using an old version of Slackware some five to six years ago. It had kernel 1.1.19, and I remember compiling it several times before getting the machine to play nice. Remember what hardware support was like way back when? Nowadays the Linux kernel supports far more hardware out of the box than any version of Windows!

  84. Same tests on BSD? by chrysalis · · Score: 2

    It may be very interesting to run the same tests on various other free operating systems, especially BSD.

    --
    {{.sig}}
  85. You aree arguing the wrong point by The+Creator · · Score: 2

    He newer say that linux is worse, just that linux has an achilles heal.

    --

    FRA: STFU GTFO
    1. Re:You aree arguing the wrong point by Some+Dumbass... · · Score: 2

      He newer say that linux is worse, just that linux has an achilles heal.

      On the contrary, you stated that there was a reason why serious Linux users needed the 2.5 kernel. But if Linux and XP perform the same overall, why do serious Linux users need the 2.5 kernel? They don't.

      I'm not saying that this particular article doesn't make certain conclusions about asynchronous I/O. It's a simple fact that it does. But you made a conclusion based on those conclusions, and your conclusion is what disagreed with.

      I also pointed out that presenting a single image without understanding the full context of the article is silly. The tests in the article you quoted were run on laptop computers. What kind of "serious Linux users" with great need for asynchronous I/O use a laptop for that purpose? The image I quoted showed performance in a more typical laptop use pattern (according to the article's author). For that matter, would they use ReiserFS, or would they use XFS, JFS, or another filesystem?

  86. Re:So what does this mean for the everyday linux u by FooBarWidget · · Score: 2

    How does it compare to 2.4 with the low-latency, preemptive and O(1) patches?

  87. Linux is already grown up in auto industry! by viggen · · Score: 1

    this article shows clearly linux is grown up and has nothing to fear from M$ other than lawsuits

  88. Re:mod this up by eggsovereasy · · Score: 1

    I believe all Anonymous Coward posts start at 0...

  89. Re:By Sturgeon's Law by khuber · · Score: 1
    90/10 is not a law or empirical result, just a rule of thumb, and probably rarely true within a reasonable enough margin of error to plug it into another equation. So yes, 10 is just pulled out of someone's ass.

    Obviously some codes scale far beyond an order of magnitude or there wouldn't be supercomputers with hundreds or thousands of processors.

    Amdahl's law was used as an argument against massively parallel processing in the 1960s because it shows dramatically diminishing returns. Presumably IBM wanted people to buy their single processor systems... (See also Gustafson's law from the 1980s) It wouldn't apply to true parallel algorithms, for example. As other posters stated, the constant factor in Amdahl's law can change that curve significantly.

    -Kevin

  90. Interesting, but not for me... by pavera · · Score: 2

    Inspired by the numbers and new "snappyness" under load, I decided to download and compile the 2.5.47 kernel, and see for myself, disappointed is all I can say,
    2.4.19 with preempt and low-latency is snappier by quite a bit than 2.5.47. My test isn't quite as numeric as the stories... I simply start ripping a DVD (oops did I say that...) to avi, and compiling something (in this case xmms) and then get my term window, open limewire, and drag the term window around on the maximized limewire window, under 2.4.19 I can never get the whole window grey (as I drag the term window it acts as an eraser on the limewire window, until that window is redrawn) undery 2.5.47 I can easily grey out the entire limewire window, normally for 2 or 3 seconds before it redraws... under 2.4.19 I can maybe grey out about 1 term window worth of area in the limewire window before it is redrawn...

    Of course it states in the story that 2.5 has not been tuned at all really, so hopefully this will improve, but for now I'm sticking with 2.4.19 preempt low latency

    1. Re:Interesting, but not for me... by GooberToo · · Score: 2

      You wouldn't happen to know where I can get a pre-patched 2.4.19 kernel that has O(1), low latency, preempt and XFS all rolled together would ya?

    2. Re:Interesting, but not for me... by pavera · · Score: 2

      I use gentoo,
      the gentoo-sources kernel has low latency preempt pre-patched
      but it doesn't have xfs, they have an xfs kernel as well, but I don't know if it has low latency and preempt already, I seem to remember something about low latency and or preempt causing problems with the xfs kernel, but I might just be smoking crack.
      check forums.gentoo.org. Ok I just did, and yeah, preempt + XFS is a bad idea, much instability, the patches fight with each other (XFS trying to journal, preempt trying to let something else use the cpu) result, massive instability. So, no I don't think you can get all three to play nice, but you can run low-latency+XFS, or low-latency+preempt, but you can't throw preempt in with XFS... gentoo is nice and patches the kernel automatically, if not running gentoo, you'd have to patch the kernel yourself...

    3. Re:Interesting, but not for me... by GooberToo · · Score: 2

      Okay. Thanks.

      I've tried manually patching XFS, O(1) and a couple of other odds and ends (latency, preempt) and wind up with something that doesn't even boot or crashes/panics right after words.

      So thanks...that pretty much confirms that it's not something I'm doing... ;)

  91. Will this help Java at all? by Rothron+the+Wise · · Score: 1

    I'm quite curious to see if the new improved threading will help Java performance at all (especially swing) which because of the event model spawns new threads like there is no tomorrow.

    --
    A witty .sig proves nothing
    1. Re:Will this help Java at all? by fimbulvetr · · Score: 0

      Java is so damn slow and bloated, I cannot see a kernel fixing it.

  92. Why go for fairness in all situations? by BerntB · · Score: 1
    Why not attempt to get both?

    If disk trashing gets high, turn "down" fairness? (Say, swapping out whole processes to disk for a few seconds?)

    Too complex? Would that lose badly in some situations?

    --
    Karma: Excellent (My Karma? I wish...:-( )
  93. Disable your swap. by Effugas · · Score: 3, Informative

    Buy more RAM and disable swap. Or just disable it -- at 1Gb, you're close to what you need anyway.

    I'm serious. With another gig costing a hundred dollars -- maybe less -- the overhead of disk-based VM is just no longer justified.

    WinXP benefits from this optimization even more than Linux.

    Yours Truly,

    Dan Kaminsky
    DoxPara Research
    http://www.doxpara.com

    1. Re:Disable your swap. by Anonymous Coward · · Score: 0

      This is not an alternative for me. Since I have so many VMware sessions running (I may run up to 5 or more at a time), and sometimes I'm running graphic software at the same time. Eventually I do need swap. It is OK for the processes to be swapped out at that point. I just believe that disk cache (disk buffers) should never replace interactive processes... The whole idea doesn't make any sense. Often you're just reading a large file once and what happens is all that data gets buffered and swaps out processes.

      You take a double hit when running VMware because the Windows/Linux inside of the VMware machine is also disk buffering. So you end up having disk buffers of disk buffers, all in memory. Overall it's just a bad situation. This doesn't happen when you use Windows as the host.

  94. Older boxen? by soupforare · · Score: 2, Interesting

    I'm still milling over which kernel to use with my old 486's.
    Right now, they're running 2.2.10, iirc; whatever the debian stable had on her boot disks.
    I'm not going to compile any kernels until my dual ppro is fixed, because compiling a kernel on a PoS 486 portable is not fun :P

    Anyone have any comments/recommendations on if/which new kernels are good to run on old shite?

    --
    --- Do you believe in the day?
    1. Re:Older boxen? by distributed.karma · · Score: 2
      I've just installed NetBSD+Apache on a 33Mhz 486 laptop with 8MB RAM. I did recompile the kernel on another machine, though. This was essential because the generic laptop kernel was taking too much memory. The end result is nice and quite smooth.

      Of course there are lighter webservers such as Boa, but I needed PHP, and the Apache process is taking less than a megabyte of memory.

      --

      --
      If you moderate this, then your children will be next.

  95. Gentoo by hughk · · Score: 2
    Most distributions go with a more or less specific kernel (586/686/Atholon, etc) but only i386 applications. Newer processors only really sing with specially compiled code.

    A distribution such as Gentoo may not be the easiest to install but you get the whole gubbins, X, Gnome or KDE and the apps compiled for your system.

    Microsoft tend to distribute generic code, and if you are lucky you may get a model specific dll. What Microsoft can not do is to distribute code that can be compiled for a specific model, well not until they deliver code that gets compiled during setup. Note, this can be done with optimisable intermediate code rather than source, but it wouldn't be easy.

    --
    See my journal, I write things there
    1. Re:Gentoo by Coke+in+a+Can · · Score: 1

      This really anooys me.

      Gentoo is not the distro for a linux newbie. I wouldn't recommend Slackware, Debian, SuSe or any other complex distro to a newbie, and I don't see why you should. I've tried Gentoo. Something makes me think a newbie won't know how to configure his network card from a command line.

    2. Re:Gentoo by hughk · · Score: 2
      Please note that I *did* state that it wasn't for the newbie. However, if the packaging was improved (i.e., loading of groups of programs), I don't see why compilation from source can't be hidden from installer and a better configuration shell added for configuration.I wouldn't not recommend Gentoo to someone who was a novice. Did you try configuring Linux in the early days? A learning experience, but not neccessarily a bad one. However if somone doesn't want to learn a lot about Linux, then, yes, Gentoo isn't the best.

      Installation from source allows a system to be customised and is extremely powerful. With many home systems equipped with significant hard disk and memory, why can't a system rebuild itself overnight automatically?

      --
      See my journal, I write things there
    3. Re:Gentoo by Coke+in+a+Can · · Score: 1

      That's fine, I just don't see why people come in and recommend a complex operating system to a linux newbie.

      If Gentoo had a fully GUIed and (insert word for not being so user-intelligence dependant) installation process, I'd be fine with you guys recommending it to a linux newbie.

      Just, please, try and restrict your evangelism to people who know how to run Gentoo.

    4. Re:Gentoo by hughk · · Score: 2
      The user stated that they were inexperienced. Inexperience is not an absence of intelligence and this is clearly a person who is at least willing to try things.

      I'm sorry that you consider that an inexperienced person should be afraid of other ways of installing. Please remember that the idea of a GUI installer for an operating system is quite new. Haven't you ever tried to get an operating system up and running with inadequate documentation, a lot of unwritten dependancies and nothing but the command line?

      I don't consider myself an evangelist for Gentoo but I want to explain that there is a faster way to run Linux. Wouldn't you agree? Would you be happier putting in a slow distro, getting the hang of it and then moving onto something faster, if you know that things *will* get better?

      --
      See my journal, I write things there
    5. Re:Gentoo by Anonymous Coward · · Score: 0

      Here's a funny story.. I spent 3 weeks installing Gentoo, and well RedHat 8 was just as fast with a generic kernel.

    6. Re:Gentoo by Coke+in+a+Can · · Score: 1

      I think I used the wrong wording... I meant experience, not intelligence.

      I'd agree that a faster distro is always better. That's why I don't use Mandrake 9.0, or Windows 98.

      Explain that there's a faster way, just explain to the people who have experience. I believe that car analogy works for this too. The one with the fast but really, really hard to control Ferrari (Gentoo), and the slow but much, much easier to drive Ford Taurus (Red Hat). No one should recommend a Ferrari to someone who's just learning to drive. That's my entire point.

      "Haven't you ever tried to get an operating system up and running with inadequate documentation, a lot of unwritten dependancies and nothing but the command line?"

      I don't see what you mean. I've tried that, yes. That's what happened when I tried to install Gentoo.

    7. Re:Gentoo by hughk · · Score: 2
      I found Gentoo relatively easy to get up. It took a lot loooonger to get it do what I wanted though.

      No, I have worked on a lot of computers in the past and have had to struggle through a lot worse than this.OTOH, my notebook is running RH and I keep Gentoo for some other systems.

      I've been in a much worse situation courtesy of Redmond with their dependency hell which forced an operating system reinstall.

      --
      See my journal, I write things there
    8. Re:Gentoo by Coke+in+a+Can · · Score: 1

      Well, I guess you might have better luck than me, especially if you've had experience. I tried Gentoo about 2 weeks after my failed, almost windows-like mandrake install, which was my first linux install EVER (excluding that old copy of linux4windows that kernel paniced on boot), so that's why I relate to the newbies, and why I object to advocating Gentoo to them.

      I'd be totally in favor of using Gentoo were I more experienced, or if this was a server I'm talking about.

      "I've been in a much worse situation courtesy of Redmond with their dependency hell which forced an operating system reinstall."

      You're one to talk. The windows install I had that caused me to try Linux was so incredibly crashy, I kept opening up the case to check for a disconnected CPU fan, or a dead rat on the mobo (please see the iBook infested by Ants story comments for more information). And multi-tasking was a nightmare.

      Personnally, I'm going to stick to experimenting with knoppix until I can manuever my way around the command line. Maybe I'll find a way to get my SMC PC Card NIC working under Linux.

  96. Re:By Sturgeon's Law by Daniel+Phillips · · Score: 1

    How do you know the 90% is serializable and the 10% isn't?

    Whoops, did I really write serializable when I meant parallelizable???

    --
    Have you got your LWN subscription yet?
  97. Re:So what does this mean for the everyday linux u by GooberToo · · Score: 2

    The use of "big server" is somewhat misleading.

    Fact is, anyone that heavily uses their Linux box will see some difference. It's just that the heavier your box gets used, the bigger difference you'll see. :)

    Those that do little serious multitasking may see "smoother" multitasking but little more. Those that perform concurrent compiles, heavy CPU or I/O database servers, big time-share systems, etc, will see larger and larger note worthy gains.

  98. Re:This is This is the exact opposite of my findin by Anonymous Coward · · Score: 0

    [ The instructions involved in the context switch are slow on the Pentium 4. The P4 has a long internal pipeline to flush, and a huge amount of internal state to synchronize, which makes context switches slow. For example, an interrupt/return pair take 2000 clock cycles on the P4! ]

    So if one context switches every 3.33 milliseconds, that's 2000*300=600,000 cycles/second dedicated to switches.
    600,000/3.06GHz = 0.02%.

    Or say 3000@2Ghz= 0.30%.

    So what!

  99. LVM!!! by Per+Wigren · · Score: 2

    I'd LOVE to try out the 2.5 series, but because LVM is still not in there (not a week ago at least), and I have all my data (movies, oggs, etc) on LVM, I'm unable to use it... :(

    Does anyone have a clue when there will be LVM for 2.5?

    --
    My other account has a 3-digit UID.
  100. Re:Make it simple please by daegol · · Score: 1

    Unfortunately, the average home user is prone to buying the latest nifty hardware device (sound cards, tuner cards). Often times you will need to compile the latest kernel with drivers to get these working.

  101. It's called LVM2 or DM by Anonymous Coward · · Score: 0

    LVM2 is in. Its called Device Mapper. You have no problem.

  102. Re:This is This is the exact opposite of my findin by Anonymous Coward · · Score: 0

    So what? It's a crappy way of doing things and could be tons more efficient, that's what.

  103. sarcasm in a slashdot post? by Anonymous Coward · · Score: 0

    Wow! that would have to be a first.
    Oh it happened again.

  104. Re:Make it simple please by momobaxter · · Score: 1

    Then what we to have are modules that are NOT hard linked to kernel versions and distribute modules in RPM, deb, tarball whatever.

    A person should not have to recompile. The proper people (distro mantainers should have this responsibility, or volunteers).

    You don't see people compiling their own drivers, we need drop in replacements in the form of modules and that's it.

    --
    "Full sources for linux currently runs to about 200kB compressed" --Linus Torvalds 31-Jan-1992
  105. Re:By Sturgeon's Law by rangek · · Score: 1
    90/10 is not a law or empirical result, just a rule of thumb, and probably rarely true within a reasonable enough margin of error to plug it into another equation.

    90/10 is a rule of thumb, but I think it is quite a bit better than you give it credit for.

    Obviously some codes scale far beyond an order of magnitude or there wouldn't be supercomputers with hundreds or thousands of processors.

    As a computational chemist, I am quite aware of these special cases that violate this rule of thumb. I do think that the original poster was too absolute in his/her assertion, but I still think it is essentially true. For example, tons of processors doesn't give you much more than an order of magnitude speed up for a molecular dynamics simulation. In other words, if you can simulate a certain sized system for 1 ns, doubling the number of processors may not give you 2 ns. However, more processors will help you much more for larger systems. It is all about how parallelizable the problem is, and 90/10 is a good rule of thumb.

  106. Ask Slashdot by snellac by Anonymous Coward · · Score: 0

    I have been using my positron vapor emitter to defungify my vinyl siding.

    You probably see my question coming up here...

    If my aluminum hat gets wet, can I dry it in the microwave?

  107. Re:Make it simple please by momobaxter · · Score: 1

    I"m going to respond to my own post because I mentioned RPM,deb, tarball, etc...

    OS X does modular driver updates and they have a nifty little utility to install updates automatically. It mounts a dmg, moves the particular module over to the right directly and more or less does a modprobe on it...pretty simple, why can't we end up doing something like that? With a KDE and Gnome version (both are relatively simple apps), you can end up making an installer really really easily.

    The problem is getting people to decide on what package format to use or package everything in multiple formats (deb, rpm, tgz, etc)...

    food for thought

    --
    "Full sources for linux currently runs to about 200kB compressed" --Linus Torvalds 31-Jan-1992
  108. Last Post! by alpg · · Score: 1

    Microsoft Corp., concerned by the growing popularity of the free 32-bit
    operating system for Intel systems, Linux, has employed a number of top
    programmers from the underground world of virus development. Bill Gates stated
    yesterday: "World domination, fast -- it's either us or Linus". Mr. Torvalds
    was unavailable for comment ...
    -- Robert Manners, rjm@swift.eng.ox.ac.uk, in comp.os.linux.setup

    - this post brought to you by the Automated Last Post Generator...