Slashdot Mirror


Pentium 4 Under Linux

A reader writes "I just ran across this article over at LinuxHardware.org that reviews the Pentium 4 under Linux. It gives a lot of insite as to why anyone would want to buy a Pentium 4 and has some great clips from Alan Cox and Jan Hubicka (from the GCC team). Very thorough job."

7 of 110 comments (clear)

  1. Pentium 4 is still broken by steveha · · Score: 4
    The article talked a bit about how future versions of gcc and the kernel will be working to take better advantage of the Pentium 4. That's sort of nice, but it doesn't really matter because the Pentium 4 is still broken.

    The Pentium 4 has several glaring faults that cripple it.

    the level 1 cache is way too small

    it can only pass the decoded micro-ops to 3 of its internal execution units per clock, so it can only execute 3 micro-ops per clock (compare to the Athlon, with up to 9 micro-ops executed per clock)

    instructions that execute very quickly on other Pentium chips now execute slowly (in particular, anything involving bit-shifting)

    These faults and more are discussed here.

    Unlike the Pentium 4, the Athlon executes exisiting x86 code very quickly. You don't need fancy optimization tricks to get code to run fast on an Athlon; it has no major faults to work around.

    A Pentium 4 system, with its expensive high-speed RDRAM, will be very fast for certain uses. And it has the lead in raw clock speed. If Intel can crank the clock speed way up, say to double what AMD can do, it won't matter that the Pentium 4 is broken; it will still be the fastest chip you can get. I predict this will not happen; AMD will continue to make ever-faster Athlon chips, which will remain competitive with anything Intel can make. (And of course if you look at the performance-over-price ratio, the AMD chips totally crush the Intel chips.)

    Of course, it must be said that the chips are so fast these days that few people will really notice any difference between a good AMD system and a good Intel system. The AMD may out-benchmark the P4, but if both of them can run Quake 3 nice and fast, few people will actually care about the differences.

    steveha

    --
    lf(1): it's like ls(1) but sorts filenames by extension, tersely
  2. Re:As it says... by steveha · · Score: 5
    The AMD core is primarily x86, where the P3's and P4's are more RISC-like.

    This is so wrong. The AMD core breaks up an x86 instruction into RISC-like "micro-ops" or ROPs, and then various RISC-like execution units go to work executing the ROPs. Up to 9 ROPs can be executed at the same time! This is why the Athlon so thoroughly stomps all over the Intel chips at equivalent clock rates--the AMD chips can get more done per clock. This is especially true for floating point, where the Athlon can execute 3 floating point instructions at once.

    Full details here in the AnandTech article. I linked to page 8, the one that has the discussion of how instructions get executed.

    This is the reason why Pentiums cost more than AMD's

    Total nonsense. Intel chips cost more because Intel charges more. The Pentium 4 is expensive because its die size is freaking huge.

    Let's just say I have inside knowledge of Intel products. :-)

    You don't seem to know very much about AMD products.

    steveha

    --
    lf(1): it's like ls(1) but sorts filenames by extension, tersely
  3. As it says... by 11thangel · · Score: 5

    The P4 has all the 3d optimizations, just like the old p3's. The only thing is, most of the programs (not all, but most) that depend on those optimizations and dont use athlon optimizations are originally designed as wintel programs, like quake 3. Those programs are also available as binary only, not source. While the P4 is apparently a great system for an avid gamer, for developers the AMD line will probably remain cheaper and more useful to *nix developers like myself.

    --

    I am !amused.
  4. insite? by small_dick · · Score: 4

    for even more insite, try learning to spell.


    Treatment, not tyranny. End the drug war and free our American POWs.

    --


    Treatment, not tyranny. End the drug war and free our American POWs.
    See my user info for links.
  5. Biased Bashing? by BadBlood · · Score: 4

    It seems to me that the P4/Athlon debate has brought out a lot of bashing of the P4, as it benchmarks slower than comparable or even slower Athlon CPU's.

    These same people, however, don't seem to be bashing the GeForce 3, which in many cases benchmarks slower than some GeForce 2 ultra cards. Sure, it's OK for a video card to change its architecture but not the CPU????

    People seem to understand that eventually the GF3 will be the card to get IF games are written to that architectures. The same could be said of the P4 IF APPS are written to the new architecture.

    --


    Praying for the end of your wide-awake nightmare.
  6. SSE and gcc by ryants · · Score: 5
    All the talk of SSE and SSE2 was fairly interesting, but for us user space coders it's pretty useless since gcc doesn't properly align stack variables on x86 (see GNATS, problem report 3299, as well as this, this, and this.)

    If any gcc hackers out there are reading, just le me know where to start poking and I'll try and implement a solution.

    Ryan T. Sammartino

    --

    Ryan T. Sammartino
    "Ancora imparo"

  7. Re:Pentium 4 SUCKS! by pjgunst · · Score: 5

    Errr, I tend to disagree on this.
    1) First of all, the Pentium4 is indeed slower according to some benchmarks. And indeed, it doesn't perform as well as you might have expected. Why? Because of its "revolutionary" design. It's a completely different architecture, you may want to go to the specs on intels website for more detailed info on this (I did).
    2) The P4 outperforms the P3 when it comes to memory-intensive applications. Using the Intel850 chipset, it has far superior memory bandwith. A Intel845 chipset is in the making, which will be able to use more common SDRAM instead of Rambus. Although this solution might be less expensive, it will seriously hurt performance. Intel has finished the design of a similar board using DDR-chips. This will by far be the most cost-effective solution. Don't expect it before christmas though, since they have a deal with Rambus until 2002.
    3) Bandwith from CPU -> northbridge: a stunning 3.2Gb
    4) If you're running an open-source OS, noone's gonna stop you from recompiling the source and optimize programs for your architecture. I would.
    5) The P4 currently sold, as well as the mainboards, don't offer an upgrade path. If you upgrade regularly, I'd stick with AMD for a while. Intel will soon release a different chipset and a new version of the P4.
    6) Needing a little more beef than a uniprocessor platform? I would wait a little. Since AMD designed their multiprocessor chipset to scale beautifully (2 CPUs / northbridge), one would expect some mainboard manufacturer to design a "hot rod" with at least 4 or 8 CPUs in the near future. The P4s future is uncertain. I really don't know what kind of rabbit Intel will pull out of their hat to counter AMD.