Slashdot Mirror


Analysis: x86 Vs PPC

Gentu writes "Nicholas Blachford (engineer of the PPC-based PEGASOS Platform) wrote a long and detailed article, comparing the PPC and the x86 architectures on a number of levels: performance, Vector processing and Power Consumption differences, architectural differences, RISC Vs CISC and more. The article is up-to-date and so it takes the G5 into account too."

129 comments

  1. Article conclusion by $exyNerdie · · Score: 1

    Nicholas Blachford (engineer of the PPC-based PEGASOS Platform) wrote a long and detailed article

    Well, here's the conclusion (even the conclusion is long enough !!) from the article:

    x86 is not what it's sold as. x86 benchmarks very well but benchmarks can and are twisted to the advantage of the manufacturer. RISC still has an advantage as the RISC cores present in x86 CPUs are only a marketing myth. An instruction converter cannot remove the inherent complexity present in the x86 instruction set and consequently x86 is large and inefficient and is going to remain so. x86 is still outgunned at the high end and perhaps surprisingly also at the low end - you can't make an x86 fast and run cool. There is a lot of marketing goes into x86 and the market -technical people included- just lap it up.

    x86 has the desktop market and there are many large companies who depend on it. Indeed it has been speculated that inefficient or not, the market momentum of x86 is such that even Intel, it's creator may not be able to drag us away from it [14]. The volume of x86 production makes them very low cost and the amount of software available goes without saying. Microsoft and Intel's domination of the PC world has meant no RISC CPU has ever had success in this market aside from the PowerPCs in Apple systems and their market share is hardly huge.

    In the high end markets, RISC CPUs from HP, SGI, IBM and Sun still dominate. x86 has never been able to reach these performance levels even though they are sometimes a process generation or two ahead. RISC vendors will always be able to make a faster, smaller CPUs. Intel however can make many more CPUs for less.

    x86 CPUs have been getting faster and faster for the last few years, threatening even the server vendors. HP and SGI may have given up but IBM has POWER5 and POWER6 on the way and Sun is set to launch CPUs which handle up to 32 threads. Looks like the server vendors are fighting back.

    Things are changing, Linux and other Operating Systems are becoming increasingly popular and these are not locked into x86 or any other platform. x86 is running into problems and PowerPC looks like it is going to increasingly become a real, valid alternative to x86 CPUs both matching and exceeding the performance without the increasingly important power consumption or heat issues.

    1. Re:Article conclusion by $exyNerdie · · Score: 1

      The PPC won't soar until someone other than Apple starts pushing it real big

      Well, if someone else starts selling PPC based PC's Intel might use it's muscle to dissuade them !

    2. Re:Article conclusion by SN74S181 · · Score: 1

      I am trying to imagine what software they would run on said PPC computers.

      I suspect Apple would use it's muscle to dissuade them, if they tried to run MacOS, and there isn't a heck of a lot else.

      And I run NetBSD-prep on an old RS/6000 and know what software there is, so please don't get all preachy.

    3. Re:Article conclusion by chriso11 · · Score: 1

      Am I the only one who noticed the discrepency between:
      in the high end markets, RISC CPUs from HP, SGI, IBM and Sun still dominate. x86 has never been able to reach these performance levels...
      and:
      x86 CPUs have been getting faster and faster for the last few years, threatening even the server vendors. HP and SGI may have given up...

      Am I going to argue that the x86 is ineffecient? Hell no. But it gets the job done better than many critics anticipate. And it seems to piss them off to no end...

      --
      No, I don't trust in god. He'll have to pay up front, like everybody else.
    4. Re:Article conclusion by usotsuki · · Score: 1

      Aren't there a bunch of unices on PPC? There's MkLinux, Yellow Dog Linux, NetBSD, Darwin...

      -uso.

      --
      Dreams, dreams, don't doubt dreams, dreaming children's dreaming dreams. Sailor Moon SS
    5. Re:Article conclusion by larry+bagina · · Score: 1
      I believe Apple claims MacOS X is the most popular desktop unix(tm)-like OS (maybe even the most popular). But Apple has 2-3% market share total. Let's assume 50% are pre-OS X machines -- a realistic assumption given that many macintoshes are used in schools which are strapped for cash.

      Desktop linux therefore accounts for 1-1.5% of the x86 PCs. A company selling a PPC computer that runs linux/*bsd/darwin is looking at an incredibly small potential market share. Pegasos (the company behind the x86/ppc review) is probably the only non-apple, desktop PPC computer manufacturor. Have you bought a computer off them? Do you know anyone who has? See my point?

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    6. Re:Article conclusion by Leimy · · Score: 1

      actually... I think its more about bang for the buck if you are interested in the latest and greatest hardware. For most PPC users it has been about the efficiency of the CPU [perhaps in the embedded market, where power consumption and heat dissipation are more important] or Mac users who love their OS and find the PPC is "enough" to get the job done and don't care about being "bitchin fast!" [The G5 helps narrow the speed gap however].

      Ultimately I look at 3 things when I purchase a machine: 1) Price 2) performance 3) package. What am I getting for my 3000 dollars? Is it just really good hardware and no software? WIll it run the stuff I want to run [both meanings... hardware is fast enough to do what I need and can it physically run the software like Mac OS X]. The package part can be trickier. What does apple give its customers? Generally pretty damned good patching of security issues [screensaver passwords are easy.. log the hell out !</somewhat tounge-in-cheek>] Nice free software.. You also get access to a community of both geeks and artists as you become one of "the club". Its quite compelling... it doesn't have to be the fastest to feel like the best deal. And really... feeling good about your purchase is the only level of satisfaction you may need with your new machine and, for me, being able to do the things I need to get done on it is all I need to feel good.

      Of course everyone's values are different and buying a PC isn't any more morally wrong than buying a Mac... its just a matter of preference.

    7. Re:Article conclusion by AssFace · · Score: 1

      that doesn't at all sound biased. not in the least.

      it is good to see someone writing about it, especially when they have no reasons (not even financial) for one or the other to come out looking better in their analysis.

      oops, I forgot my sarcasm tags

      --

      There are some odd things afoot now, in the Villa Straylight.
    8. Re:Article conclusion by TheLink · · Score: 1

      My bullshit meter wiggled a bit..

      He says "An instruction converter cannot remove the inherent complexity present in the x86 instruction set and consequently x86 is large and inefficient and is going to remain so"

      Actually how much space on a modern die does the x86 specific parts actually take? Compare that with the level 2 caches and the other modern CPU stuff. I daresay the ugly x86 parts are become more like vestiges in an evolutionary design, and will probably end up like the leg bones of a whale.

      Speaking of large and inefficient:

      http://www.sun.com/smi/Press/sunflash/2002-09/su nf lash.20020918.6.html
      1.2 GHz Sun UltraSPARC III processor uses 53 watts peak per processor. Prev was 75 watts (more power consumption than x86 CPUs and slower). Latest is still slower than x86. So who's inefficient now? Yeah Sun blades run cool. But a PIII runs just as cool and is just as fast as a SPARC of similar power consumption, if not faster.

      IBM's new POWER4 chip consumes about 35 watts at 1.2GHz. Used to consume a lot more. Haven't been able to find figures for the 1.5+GHz versions.

      My conclusion - it ain't a case of RISC being better than x86. It's a case of who makes better CPUs. IBM seems to be doing better than Sun in the performance vs power consumption area. And Intel + AMD are doing better than Sun. According to him the rest have given up (pity about the Alpha).

      And then he says "In the high end markets, RISC CPUs from HP, SGI, IBM and Sun still dominate. x86 has never been able to reach these performance levels "

      Uh. Who is this guy again?
      http://www.spec.org/cpu2000/results/cpu200 0.html

      Note: IBM's high SPEC performance figures are with a 1.5MB lev 2 cache and a 128MB lev 3 cache... I'm sure that helps ;). Sure you can call the POWER4 a RISC chip but things really start to look rather blurry...

      Oh yah the RISC offerings are better at many-way multiprocessor configurations.

      However I think that's more due to the market. If Dell's target market ever decides that 2 or 4 CPUs aren't enough, Sun SPARC is in BIG trouble. Fujitsu may live on because they are the ones with mainframe class SPARCs - instruction retries etc.

      Already the Opteron is showing signs of scaling VERY well.

      --
    9. Re:Article conclusion by usotsuki · · Score: 1

      Then, I thought the PegasOS was an Amiga. You know, the Amiga never sold that well...

      -uso.

      --
      Dreams, dreams, don't doubt dreams, dreaming children's dreaming dreams. Sailor Moon SS
  2. UNIX was way before the X86: by AtariAmarok · · Score: 3, Informative

    You said "UNIX technology was created for the x86 architecture"

    First x86: "The 8086 blasted away at amazing speeds of 4.77 and eventually 8 MHz -- hardly a calculator by today's standards. All this started in 1978."

    (check here)

    UNIX invented: "An
    interactive time-sharing operating system invented in 1969
    by Ken Thompson after Bell Labs left the Multics"

    (click here)

    --
    Don't blame Durga. I voted for Centauri.
    1. Re:UNIX was way before the X86: by uradu · · Score: 1

      PhysicsGenius is a veteran troll. Just check his posting history.

  3. Hackers by Anonymous Coward · · Score: 2, Funny

    RISC is going to change *everything*
    <z3r0-c00l> Yeah, RISC is good

    Now you can be as smart as they were almost a decade ago.

    1. Re:Hackers by usotsuki · · Score: 1
      Oh, it's not like RISC is new or anything...people say the NMOS 6502 was pretty close to RISC in the 70s...and you know, the 6502 ops drove the
      • Atari 2600
      • Apple ][
      • Commodore 64, 128, 16/Plus4
      • NES
      and the 6502 was pretty damn popular too...

      -uso.
      --
      Dreams, dreams, don't doubt dreams, dreaming children's dreaming dreams. Sailor Moon SS
    2. Re:Hackers by Anonymous Coward · · Score: 0
      i've heard that said, but I've programmed the 6502 and I don't see it.

      RISC:

      • Many general purpose registers (6502 has 1 accumulator, 2 index registers)
      • fixed width instruction sizes (6502 ranges from 1-3 bytes per instructon)
      • 1 memory read instruction, 1 memory write instruction (6502 most instructions have a form that can read/write memory)
    3. Re:Hackers by lo_fye · · Score: 1

      where the hell is johnny lee miller anyway? i mean, we know what Tombs acid burn is raiding... but seems johnny crashed right after Train Spotting :( on a related note - Spud from Trainspotting is in an excellent low budget movie called "Dog Soldiers" which is a war movie about a platoon who gets ambushed by a pack of werewolves. It's awesome. The director's quote is "This is a soldier movie with werewolves, not a werewolf movie with soldiers".

      --
      geeks are cats who dig a certain kind of cool
    4. Re:Hackers by Anonymous Coward · · Score: 0

      Never trust a movie where they double the CPU speed by typing something on the keyboard.
      Possibly "double cpu speed".

  4. These arguments are so tired by uradu · · Score: 5, Insightful

    This isn't the '80s anymore where performance is the most critical issue and we jump platforms every time a faster architecture comes out, since we don't have a large software base anyway. Nowaways software IS the more important aspect, and only relatively few well-heeled, game-addicted geeks are going to jump on the PPC just because it's a fews ticks faster this week, and Jobs winked at them with that very special smile. Given the way this industry goes, IBM/Motorola will sit back again, wipe the sweat off their foreheads and take a breather, and before you know it, Intel/AMD will have a faster processor again.

    If you have x-platform software that will compile painlessly on either architecture, go for it, switch with each faster chip. But for most others, I doubt performance rants like these will make much of a difference. After all, how many Mac users switch to the PC just for the performance during those stretches when the PC has the upper hand?

    1. Re:These arguments are so tired by ctr2sprt · · Score: 2, Funny
      only relatively few well-heeled, game-addicted geeks are going to jump on the PPC just because it's a fews ticks faster this week
      Believe me, no hard-core gamers are going to "jump on the PPC" this week or any other week. They wouldn't even consider switching until they had good reason to believe that all future games were going to have full-featured Mac versions released at the same time as other versions. I think it's very unlikely this is going to happen.

      No, what this really does is give occasional gamers something to brag about to their friends with PCs. While the aforementioned friend is playing, say, Half-Life 2 and the Mac guy is burning with envy, the Mac guy can at least say "Well, my computer's faster on these benchmarks!"

    2. Re:These arguments are so tired by SewersOfRivendell · · Score: 1
      Bullshit. Speed always matters, unless all you want to do is run MSDOS 2.0 for the rest of your life. ("Wow, did you see that directory scroll by? Neither did I! This is some awesome 386 power, man!") Some of us want computers to advance, and you need speed to provide a foundation for real advancement.

      (Actually, Apple makes the case that you also need a GPU, but that's a different argument.)

    3. Re:These arguments are so tired by Dark+Nexus · · Score: 1

      Uh...... I highly doubt the "game-addicted geeks" will jump ship, just BECAUSE of the software issue. Frankly, games are about the only reason I still use an x86 PC instead of a PPC.

      And you know what? The article made the very same point you're trying to right now (see page 4, subheading "The Future", the point marked as "3) No more need for speed" - it's near the bottom), but did it better. It doesn't limit the definition of performance to mean the speed of the processor.

      --
      Dark Nexus
      "Sanity is calming, but madness is more interesting."
    4. Re:These arguments are so tired by tuxedobob · · Score: 1

      Actually, this Mac user just says, "Half Life? So what?"

    5. Re:These arguments are so tired by AT · · Score: 2, Insightful

      software IS the more important aspect

      Yes, and software is becoming more and more portable.

      As the article observes, Linux (and open-source software in general) is not locked into the x86 architecture like Windows is. The use of server-side Java is growing, also architecture agnostic. Additionally, the web and web-based applications have shifted much of the work custom client applications used to do into the browser. Once again, architecture is doesn't matter.

      The trend is that CPU architecture as a means of lock-in is declining, due those factors and many others. At some point, the cost of moving to another architecture will decline to near-zero, and the CPU business will shift to more of a commodity market, where people will buy on merit alone.

      The only question is when it will happen; people have been predicting it for years (remember when NT ran on PPC, MIPS and Alpha?).

      Right now, the PPC seems to win in some areas (power consumption, die size) and, barring architectural lock-in, it would probably take a large chunk of the Intel/AMD market.

    6. Re:These arguments are so tired by Hard_Code · · Score: 4, Interesting

      Did you even read the article? It is not about how PPC is faster than x86. It's about how PPC is more *efficient* than x86 which leads in the long term to lower power usage, whereas x86 gets diminishing returns on ramping up their clockspeed and playing games shuffling registers, etc. He specifically mentions that CPU speed is not really as critical as the companies make it out to seem because there are diminishing returns due to other system components. He mentions that x86 is up against a thermal wall by 2004 although I don't know where he got that data (it may be in a footnote but I not going to go back just to check). Speaking as a gamer who runs a pretty loud machine that overheats in summer, I am VERY interested in chips becoming cooler, moreso than them getting faster (the hard work is typically shoved off onto a graphics card).

      --

      It's 10 PM. Do you know if you're un-American?
    7. Re:These arguments are so tired by uradu · · Score: 1

      > It is not about how PPC is faster than x86. It's about how PPC is more
      > *efficient* than x86 which leads in the long term to lower power usage

      Fair enough, but the same still holds. I don't see a mass shift to another platform because the chips run cooler. Think about it! CPU temperature is something most consumers aren't even aware of. And in a few years I'm sure that technologies like copper interconnect and/or asynchronously clocked subsystems, in addition to ever decreasing voltages, will find their ways into the x86 and keep it humming along acceptably, even if not on the leading edge. The thing is, you rarely find the leading technologies also leading the market. Good enough is the name of the game (unfortunately).

    8. Re:These arguments are so tired by uradu · · Score: 1

      > At some point, the cost of moving to another architecture will decline to near-zero

      Yes, at about the same point on the graph where time approaches infinity. The thing is, it's a nice theory, but we're more than a couple of years away from that ideal. Even with Linux, you may be able to take quite a bit of software along to a new platform, but if you can't get (often closed) drivers for that sweetheart hardware you can't live without, you're stuck to the platform of choice of those hardware manufacturers anyway. I believe that's still a major issue with Linux on PPC at the moment, and I don't see it going away anytime soon.

      Don't get me wrong, as a long-time 680x0 fan I was always fond of Motorola's chips, and I followed the PPC with great enthusiasm for quite a while, but at some point pragmatism got the better of me.

    9. Re:These arguments are so tired by Piquan · · Score: 1

      As the article observes, Linux (and open-source software in general) is not locked into the x86 architecture like Windows is.

      While true in theory, a decent number of Linux apps assume they're on an x86. The big killer between x86 and PPC, I think, is byte order, but pointer sizes and what not may come into play as we approach the 64-bit era.

    10. Re:These arguments are so tired by LizardKing · · Score: 1

      a decent number of Linux apps assume they're on an x86

      Which makes them badly written apps. The only situation where the instruction set should be a factor is if your program includes assembler for a crucial section of code. Then the commonly accepted "good practice" is to first code the section in a higher level language like C, and only build the hand crafted assembler version if the build/configuration system determines you're on a suitable platform.

      The big killer between x86 and PPC, I think, is byte order

      The PPC can switch between endian states.

      Chris

    11. Re:These arguments are so tired by LordSah · · Score: 1

      As the article observes, Linux (and open-source software in general) is not locked into the x86 architecture like Windows is.

      The Windows source is actually quite portable. You mention NT running on PPC, MIPS and Alpha. I remember reading that Microsoft had NT running on Intel's i960 during early development as well, though I cannot find a link (googling for 'i960' and 'windows' turns up hundreds of pages about RAID cards). MS currently ships Windows for Itanium, and x86-64 Windows is almost upon us.

      The Windows team has worked pretty hard to maintain their platform-generic coding. That's the smart thing to do--they can quickly jump on a new architecture to make $$, or easily shift gears with the market (if everyone moves from x86).

      If the Windows NT/2000/XP/2003 code tree turns out to not be portable enough, Microsoft could beef up Windows CE to a desktop operating system pretty quick. It runs on all kinds of crazy architectures :)

    12. Re:These arguments are so tired by Rares+Marian · · Score: 1

      You can't switch from Mac to PC that easily. I bet people would be upgrading to newer Mac mobos if that were available.

      On the other hand, I have to say that the desktop performance of PCs is abysmal for doing any kind of work. The software is a big part of it. The CPU (x86) influences the crappiness of software.

      It's a mistake to think that speed is just for gamers. I'm sick of waiting for software to respond. What Blachford didn't mention is another advantage of the Pegasos: MorphOS. For Free Software zealots it might be a problem, however, the OS is modular enough that you can replace any of the pieces with Free ones as needed.

      --
      The message on the other side of this sig is false.
    13. Re:These arguments are so tired by Noofus · · Score: 1

      So does this one. I get the feeling many Mac users tend not to care about games. As a card carrying rabid Mac fan, I do admit I would buy a PC if all I cared about was games. But I dont, so I wont :)

    14. Re:These arguments are so tired by Piquan · · Score: 1

      Which makes them badly written apps.

      Yup. There's a lot of badly written apps out there.

      The PPC can switch between endian states.

      Yes, but the badly written apps are not going to be doing the work to switch endianness modes.

  5. How can PPC compete? Not yet. by Anonymous Coward · · Score: 0

    "PowerPC looks like it is going to increasingly become a real, valid alternative to x86 CPUs both matching and exceeding the performance without the increasingly important power consumption or heat issues."

    It won't be an alternative until they sell then. Right now, it is much easier to buy an actual PC than a PPC machine (Apple) because of Apple's insane policy of limiting dealerships.

    The PPC won't soar until someone other than Apple starts pushing it real big.

    1. Re:How can PPC compete? Not yet. by dberger · · Score: 1

      Anyone remember CHiRP? It seemed like such a good idea at the time...

  6. Re:PPC comes out on top! by Pengo · · Score: 1


    Linux might of been born around the x86 architecture, to give a Unix like OS for the rest of us. But, Unix(tm) on non-x86 is hardly a second class citizen. Take a look at Solaris or Irix, x86 on solaris is by far a stepchild over it's brother that runs on sparc CPU's. Irix doesn't even run on x86 afaik.

  7. Re:PPC comes out on top! by Anonymous Coward · · Score: 0

    I believe Unix was developed long before x86 (or even 8080's) were on the market. It was developed in the 60's with "portability" in mind. Furthermore, there's been a bunch of linux ports to PPC before max OS X came around (Yellow dog comes to mind,) and I'm sure NetBSD has been ported to it a long time ago.

    <speculative disclaimer="don't shoot me if I'm wrong, my memory is shakey">
    I remember reading up on older versions of Mac OS - around version 6 or 7, a version based on Unix was developed, but never really took off/made it's way out of development.
    </speculative>

    Just my two cents

    Rob Young :^)

  8. Re:PPC comes out on top! by Alrescha · · Score: 3, Funny

    "UNIX technology was created for the x86 architecture"

    In other news, it has been discovered that the current crop of teenagers has invented sex.

    A.

    --
    ...bringing you cynical quips since 1998
  9. Truly suprising colnclusion, OR NOT! by pbox · · Score: 4, Insightful

    Nicholas Blachford (engineer of the PPC-based PEGASOS Platform) says that the PPC is better than x86.

    What an unbiased opinion. Maybe we should really hear the other side too. I like the article for the wealth of info, and we all know the shortcomings of the x86 platform, but the conclusion seems to be biased.

    Or is it just me?

    --
    Code poet, espresso fiend, starter upper.
    1. Re:Truly suprising colnclusion, OR NOT! by stevew · · Score: 3, Insightful

      Yep, and he is still stuck back in the 80's with his RISC vs CISC arguments. He says that internally they pretty much look the same (which they do) but they're some how different because RISC is easier to make happen.

      Well - today's RISC's aren't very RISCy anymore. ;-) Todays CISC's have the same aspect. The machines have all migrated to simpler cores running VERY fast, but then tagging on features like predictive branching, out-of-order execution, etc.

      An example of where the guy goes wrong is in his discussion of the compilers. What he fails to understand is that one BIG reason that the Intel compiler is better than GCC is that the same kinds of compiler optimization that accounts for how the hardware schedules things work for both the PPC and the Intel architecture. This has been true since the original entry of the MIPs architecture for goodness sake. Intel KNOWS what the hardware is going to do, and built those smarts into the compiler! You can do the same thing for the PowerPC by the way..not saying you can't.

      Nuff said - it was an interesting article but bowed to much towards RISC is Great - All Hail RISC bunch.

      --
      Have you compiled your kernel today??
    2. Re:Truly suprising colnclusion, OR NOT! by geirt · · Score: 3, Interesting

      ... but he does misses one of the major problems with RISC architectures, the fact that RISC executables are larger that CISC programs (since RISC usually have simpler instructions and fixed instruction length). Today CPUs are fast, but memory are not. Because of this modern computers have large caches, 800MHz FSB, dual DDR memory busses, etc, but still the memory is slow compared to the raw computing power of the CPUs. But since a CISC program is smaller, the memory pressure is lower on a CISC system, and that's one of the reasons way the RISCs don't have the (on paper) large advantage compared to the CISCs.

      This was not true 10 years ago, since the memory timing back then was in the 25MHz range, and the CPUs where running 20MHz. Today we have 3.2GHz CPUs and memory at 800 MHz, so program size matters.

      Modern ARM RISC CPUs have worked around this problem by adding an extra instruction set called arm thumb, to make the program smaller. Smaller programs = faster execution on the same memory system

      --

      RFC1925
    3. Re:Truly suprising colnclusion, OR NOT! by Sentry21 · · Score: 0, Troll

      Nicholas Blachford (engineer of the PPC-based PEGASOS Platform) says that the PPC is better than x86.

      What an unbiased opinion. Maybe we should really hear the other side too. I like the article for the wealth of info, and we all know the shortcomings of the x86 platform, but the conclusion seems to be biased.


      While I of course agree that the result isn't surprising, I think people are getting the cause-effect thing backwards. I don't think he found that PPC is better because he uses it, I think he uses it because he found it better.

      Of course, I could be biased...

      --Dan

    4. Re:Truly suprising colnclusion, OR NOT! by fitten · · Score: 1

      His comment:

      By using GCC Apple removed the compiler from the factors effecting system speed and gave a more direct CPU to CPU comparison. This is a better comparison if you just want to compare CPUs and prevents the CPU vendor from getting inflated results due to the compiler.

      shows this.

      A direct CPU to CPU comparison would be hand optimized assembly to show what the CPU can really do (the most optimal). Everything else is an approximation. Do you answer what the top speed of a car is by driving it around on the Interstates in USA where your speed will not go above 100 and reporting that or do you take it to a closed race track and run it around the track with the gas fully on?

      The reasons why we have portable benchmarks is so that the cost of running them are much lower than the hand tuned assembly. If every benchmark had to be hand tuned, no one would use them as they'd take person-years of work, potentially, to run.

      By running the G5 and the P4 on the same compiler, supposedly to eliminate the compiler question, it isn't to isolate the compiler. It is to put restrictor plates on the carbs to slow them both down from best performance to some standard (basically like having a speed race from New York to Miami on I-95 but requiring all participants to obey all traffic speed limits). In this race, a Dodge Neon is just as likely to win the race as Ferrari 575M.

    5. Re:Truly suprising colnclusion, OR NOT! by zog+karndon · · Score: 1

      While RISC executables are significantly larger than CISC executables, instruction caches significantly reduce (by 90-95%) the memory pressure caused by code fetches (for any architecture). At worst, you might need to increase your Icache size by 4-8K or so.

      Embedded systems want smaller code, because it reduces the number of ROMs needed to ship; also, hard real-time systems often turn off caching of all sorts so that they get predictable access times.

      In this (rather limited) case, having a specialized instruction set (like ARM's Thumb) makes sense.

    6. Re:Truly suprising colnclusion, OR NOT! by Abcd1234 · · Score: 1

      Yes, but what you're conveniently leaving out is that the ARM Thumb instruction set is also RISC... it's simply a subset of the full ARM ISA with a more compact encoding. In fact, every Thumb instruction maps directly onto a full ARM instruction. Thus, what you're describing has little to do with the RISC vs CISC debate and more to do with ISA design and the various tradeoffs.

      Incidentally, the compactness of the Thumb instruction set depends greatly on the operations being performed. In the Thumb set you can't leverage conditional execution of instructions, you can't perform direct operations on the high eight registers (minus a few limited operations on r14 and r15), you can't perform shift-combined operations (ie, add-and-shift, etc), and many other limitations, there are a variety of cases where multiple Thumb instructions are required to do the work of a single ARM instruction. So, depending on what you're doing, Thumb may, in fact, not be the ideal instruction set to use, either for speed or for compactness.

  10. dang, somebody better tell intel by cheezus · · Score: 3, Funny

    um.... the PDP-11 was an x86?

    --
    /bin/fortune | slashdotsig.sh
    1. Re:dang, somebody better tell intel by Anonymous Coward · · Score: 0

      YHBT. THen again, you are funny. I'm so confused :-S

  11. "Desktop" weasel word. Where's the Opteron? by Anonymous Coward · · Score: 2, Insightful
    The current desktop PowerPC and x86 CPUs are the following:
    x86
    AMD Athlon XP
    Intel Pentium 4

    PowerPC
    IBM 750xx (G3)
    Motorola 74xx (G4)
    IBM 970 (G5)
    I don't care if it's marketed for servers, just look at the cost: If you can afford a P4, you can probably afford an Opteron on your desk right now. If you can afford a G5 on your desk, you can definitely afford an Opteron on your desk.

    Saying the Pentium 4 and Athlon XP are the current x86 chips, is just plain wrong. Those chips are obsolete except for very low-end (i.e. under $1k) systems. If you're building a x86 machine and your budget is approximately the same as the budget of a guy building a mid-range PPC system, then you have to be crazy to not get an Opteron, desktop or not. Thus, Opteron is the chip this author should be comparing to.

  12. how long can x86 go? by cheezus · · Score: 2, Insightful

    I remember years ago there being talk of the x86 never being able to keep up because it would just get hotter and bigger.... but now they're over 3ghz... was that all just hooey, or will there be a point where the x86 is dead and the RISC processors that replace them just have a CISC compatibility later?

    --
    /bin/fortune | slashdotsig.sh
    1. Re:how long can x86 go? by Blob+Pet · · Score: 4, Funny

      Which dies first, BSD or x86?

      --
      "...today consumers have been conditioned to think of beer when they see a bullfrog..."
    2. Re:how long can x86 go? by Elwood+P+Dowd · · Score: 4, Informative

      You could say that right now, "The x86 is not dead, because the RISC processors that replace them have a CISC compatibility layer".

      The P4 decodes the larger, more complex x86 instructions into smaller chunks for use inside the processor, which is more or less RISC in its core. The CISC vs. RISC debate is kindof over, because both CISC and RISC chips have been adapted to gain the advantages of each others' design principles. Even the PPC 970 has to decode some of its "RISC" instructions into separate micro-instructions for execution.

      The only chip design methodology that still has its original meaning is VLIW. That original meaning is "bankruptcy."

      --

      There are no trails. There are no trees out here.
    3. Re:how long can x86 go? by Elwood+P+Dowd · · Score: 1

      Well, apparently the article author disagrees with me:

      "The idea that x86 have RISC-like cores is a myth. They use the same techniques but the cores of x86 CPUs require a great deal more hardware to deal with the complexities of the original instruction set and architecture. "

      I'm kindof curious about the 970's power consumption. Everybody seems to assume that it's relatively low (It's in blade servers.), but I've never heard a figure.

      --

      There are no trails. There are no trees out here.
    4. Re:how long can x86 go? by nusuth · · Score: 1

      AFAICT article author doesn't know shit.That might explain the disperancy.

      --

      Gentlemen, you can't fight in here, this is the War Room!

    5. Re:how long can x86 go? by pmz · · Score: 1

      The only chip design methodology that still has its original meaning is VLIW. That original meaning is "bankruptcy."

      Sun's MAJC CPU is actually a dual-core VLIW chip and is used in their high-end video cards. I'm pretty sure I've seen VLIW elsewhere...perhaps DSP chips?

      Hopefully one of these is a winner, even if Itanic eventually loses.

    6. Re:how long can x86 go? by Elwood+P+Dowd · · Score: 1

      Transmeta. Crusoe is VLIW, and they're the ones I was making fun of, mostly.

      I didn't realize that Sun still had a use for the MAJC CPU, but I don't know much about it. (Somehow that didn't keep me from posting...)

      --

      There are no trails. There are no trees out here.
    7. Re:how long can x86 go? by Mr.+Piddle · · Score: 1

      I didn't realize that Sun still had a use for the MAJC CPU, but I don't know much about it.

      It does number crunching on their XVR-1000 and XVR-4000 cards for the Sun Blade 2000 workstation and the Sun Fire V880z "workstation", respectively. Unfortunately, I haven't had a chance to use either :(

      Performance-wise, I'm not sure how competitive these cards are, but Sun cards do generage very good looking displays (antialiased Pro/ENGINEER on Sun is very nice). I wouldn't mind a demonstration of the V880z, though (four UltraSPARC III CPUs and eight MAJC CPUs on two XVR-4000s...)

      --
      Vote in November. You won't regret it.
    8. Re:how long can x86 go? by statusbar · · Score: 1
      Yes, DSP chips.

      Take a look at the Texas Instruments TMS 67xx series of DSP's.

      --jeff++

      --
      ipv6 is my vpn
    9. Re:how long can x86 go? by bastard42 · · Score: 1

      The only chip design methodology that still has its original meaning is VLIW. That original meaning is "bankruptcy."

      No, it's Intel / HP's EPIC (.pdf) now. I imagine IA-64 will be around for a while :)

      Here's a nice page with some history and links. Even lists the real backrupt VLIWs

      . Have Fun,
      chris

      P.S. Isn't PlayDoh a way better name than IA-64?
    10. Re:how long can x86 go? by yerricde · · Score: 1

      Modern CPUs that execute x86 instructions spend half their transistors on decoding the instructions.

      --
      Will I retire or break 10K?
    11. Re:how long can x86 go? by nusuth · · Score: 1

      So?

      --

      Gentlemen, you can't fight in here, this is the War Room!

    12. Re:how long can x86 go? by yerricde · · Score: 1

      Spending half the transistors on an instruction decoder is atypical of CPU architectures. A simpler architecture would use a smaller decoder that eats less electricity and produces less heat.

      --
      Will I retire or break 10K?
    13. Re:how long can x86 go? by nusuth · · Score: 1
      True. However x86s do have RISC-like cores, can reach (and surpass) current RISC CPUs both in speed and processing power per heat generated metric, despite what author of OSNews article claims. That x86 CPUs do use a fair amount of hardware because of their ISA is irrelevant.

      It is not that x86 as an ISA is better than RISCs, it is just that current x86 implementations are not in any way worse than RISC cpus of comparable price. In fact, before PPC970 x86 CPUs were significantly more advanced.

      --

      Gentlemen, you can't fight in here, this is the War Room!

  13. Law of diminishing returns by Anonymous Coward · · Score: 3, Funny
    The Law of diminishing returns is not exactly a new phenomenon, it was originally noticed in parallel computers by IBM engineer Gene Amdahl, one of creators of the IBM System 360 Architecture.

    As opposed to economists, thousands of years ago.

  14. A good OS... by svenjob · · Score: 5, Interesting

    ...makes all the difference. The thing that made me switch to PPC was, without an effing doubt, MacOS X. I went from an Athlon 2400+ with 768MB RAM to a home-made PowerMac 800 with 512MB RAM. I cut my processor by a 3rd and lowered my RAM. What did I gain? An amazing OS. If RISC processors continue to get more and more into the same processing spectrum as x86's, I think that OS X will help draw in the masses. Another thing that would help would be increased yields. That would lower prices and increase market share. Anyways, if x86 had OS X, I probably would have stayed with x86. But since it doesn't, I didn't.

    --

    Totally Life!

    ALL replies

    1. Re:A good OS... by usotsuki · · Score: 1

      Clone the Aqua GUI/API on top of Darwin, presto, MacOS x86.

      -uso.

      --
      Dreams, dreams, don't doubt dreams, dreaming children's dreaming dreams. Sailor Moon SS
  15. huh? by Blob+Pet · · Score: 1

    How many people really need a computer that's even over 1GHz? If your computer feels slow at that speed it's because the OS has not been optimised for responsiveness, it's not the fault of the CPU - just ask anyone using BeOS or MorphOS.

    I just love blanket statements...and I was trying to remember why I avoid reading osnews.
    At least the article wasn't written by Eugenia a.k.a. "It's not BeOS, so it must suck" Loli-Queru.

    --
    "...today consumers have been conditioned to think of beer when they see a bullfrog..."
  16. An interesting viewpoint by downix · · Score: 4, Informative

    From my experience with RISC CPU's is that rating them by Mhz is often times the way to not understand what makes a RISC a RISC and a CISC a CISC.

    Let me explain by example.

    My MIPS R4400, running at around 120Mhz, I believe, runs circles around my Duron 750Mhz machine here. This is while the R4400 uses sDRAM vs DDR-RAM in the Duron, and the R4400 uses older plain-jane IDE while my Duron runs ATA-100.

    I find it nice to boot up my old Indigo2 and play around, it responds so nicely, and renders quite well.

    --
    Karma Whoring for Fun and Profit.
    1. Re:An interesting viewpoint by NanoGator · · Score: 1

      "I find it nice to boot up my old Indigo2 and play around, it responds so nicely, and renders quite well. "

      What software, out of curiosity?

      If it was something that was SGI-exclusive, that wouldn't be so surprising. SGI architecture is a different animal and fine tuned for that particular type of application.

      --
      "Derp de derp."
    2. Re:An interesting viewpoint by uradu · · Score: 4, Informative

      > rating them by Mhz is often times the way to
      > not understand what makes a RISC a RISC

      What you mean is that you can't compare RISC MHz to CISC MHz--or any design's MHz to any other design's MHz, for that matter. Your statement in fact reveals that YOU don't understand RISC, because MHz are a much more reliable metric for RISC than for CISC CPUs. That is because by the very definition RISC CPUs tend to take a constant amount of ticks per instruction, which is not the case for CISC. So yes, comparing two RISC CPUs that both execute one instruction every two cycles on a MHz basis will give you a pretty good comparison of their relative performance.

    3. Re:An interesting viewpoint by aanantha · · Score: 1
      So yes, comparing two RISC CPUs that both execute one instruction every two cycles on a MHz basis will give you a pretty good comparison of their relative performance.

      That's not true. That would have been true back before there were pipelines, multiple functional units (superscalar), and branch prediction. It's no longer as simple as an Integer Addition taking 1 clock cycle. Now, 1 clock cycle is just the time it takes to complete a stage. And the number of actual stages varies greatly. There are stages for fetching the instruction, decoding the instruction, reading the registers, writing back the registers, and many stages for the actual execution in the functional unit. And because we're starting the execution of the next instruction before a current instruction completes, the pipeline may have to stall if there is a dependency between the instructions.

      Even with 32 registers, you end up running out of registers. If you run out of registers, you would normally have to stall a pipeline until the previous instructions have finished using them, So processors have "renaming registers", and use them to direct results between instructions without having to compete for the same registers. Even though x86 has only 8 registers, every architecture really has around 128 registers underneath. More renaming registers would mean fewer pipeline stalls. But bigger registers sets mean slower register access. Then there's the issue of how many read ports can register sets have. Superscalar processors can have multiple instructions competing to read the same register.

      Conditional branches induce long stalls in the pipeline because you won't know which instructions to pipeline until you've actually determined where you branch to. So the quality of the branch prediction can make a huge impact on performance.

      Even memory access is complicated to compare because there are multiple levels of cache with different performance and sizes and load/store buffers in the processor so that instructions don't have to wait for memory operations to finish.

      The fact of the matter is that MHz is not a reliable metric for either CISC or RISC. It's irrelevant whether it's CISC or RISC. What actually happens in a single clock cycle in independant of the complexity of the instruction set.

      For example, the G3 processor had to run at a higher clock rate to match the performance on the 604. It's same situation between the Pentium 4 and Pentium 3. There are more pipeline stages, so the processor is doing less per clock cycle. What a lot of people don't realize is that everything Intel does to squeeze more performance out of a stagnant instruction set architecture is valid to use on any architecture. Even RISC instructions are too complex to execute in a single clock cycle.

    4. Re:An interesting viewpoint by Octorian · · Score: 3, Interesting

      Ok, that statement is just plain wrong, unless you're comparing something other than CPUs.

      First, that Indigo2 is not "plain-jane IDE" (unless you're using some weird adapter board), but rather "plain-jane SCSI-2" (10MB/s).

      Second, one big factor you notice when comparing CPUs, especially when some are "budget models" is that magic thing known as cache. Ever wonder what feature they're cutting to lower cost? I'll bet the R4400 has plenty of cache, while the Duron cuts cache (so does the Celeron, and some of Sun's older and slower microSPARC CPUs)

      Third, even with those factors, there's no way in hell that the MIPS R4400 (at 120MHz) CPU could ever come close to touching the performance of an AMD Duron (750MHz). You have to be comparing graphics cards.

      Now, one of the features of the Indigo2 that you might be using, is the "Impact" line of graphics cards. The Solid (no texturing) and High Impact (texturing) versions have about 450 MFLOPS of performance on the card itself, and the Max Impact has double that. I will believe that your Indigo2 whoops the crap out of the Duron on graphics, if you're comparing one of those fine GIO64 graphics cards to some POS card you threw in the PC.

      But I will NOT believe you're comparing CPU performance.

      How do I know this? Well, let's just say I've got an R10000 (195MHz) SGI Indigo2 High Impact sitting next to me.

  17. [Q] Small & Expensive = CISCRISC? by 4of12 · · Score: 4, Insightful

    When Microprocessors such as x86 were first developed during the 1970s memories were very low capacity and highly expensive. Consequently keeping the size of software down was important and the instruction sets in CPUs at the time reflected this.

    So I'm puzzled. Perhaps someone can enlighten me on this.

    If CISC is particularly appropriate for memory that is

    1. low capacity, and
    2. highly expensive
    why doesn't the same argument apply to CPU's with no main memory per se, but just a good sized L3 cache?

    Modern cache memories are, guess what,

    1. low capacity, and
    2. highly expensive
    so it would seem to follow that higher performance could be got by using a CISC model.

    Since main memory latency and BW are pretty limiting, I half expect that there's good argument to make very high performance systems live completely inside a large cache.

    --
    "Provided by the management for your protection."
    1. Re:[Q] Small & Expensive = CISCRISC? by loquacious+d · · Score: 1

      I think the point is that machines with very little memory to run/store programs will naturally work well with CISC processors, because you have more instructions to choose from (means fewer lines of machine code) than RISC. Nowadays I suspect it really doesn't matter.

    2. Re:[Q] Small & Expensive = CISCRISC? by curious.corn · · Score: 1

      I wonder if there's a way to compact more than one instruction per address; less instructions means byte-long ids could fully encode the set and fit 4 per memory location. Rather than talking out of my ass I'd better download a risc instruction set manual and check but what the heck!

      --
      Mi domando chi à il mandante di tutte le cazzate che faccio - Altan
    3. Re:[Q] Small & Expensive = CISCRISC? by makapuf · · Score: 2, Informative

      yup, microcode, that is several processor-specific RISC instructions put into a CISC instruction.

      Then, RISC perormance and CISC compactness. If you want not to use CISC "huffman compression" , well use cheap instructions.

  18. PPC by pmz · · Score: 3, Interesting

    Given that electricity is not free, the fact that a PPC-based computer (or almost any non-x86 computer, for that matter) draws significantly less electricity is, well, significant.

    If a company spends extra money on a set of gorgeous G5s or whatever, a non-trivial amount of that money is made back on the utility bills for very similar performance.

    Other RISC vendors can be a win, also. For example, my old UltraSPARC workstations are not the space-heaters they might be stereotyped as (USII draws less than 20W). UltraSPARC III tops out at 65 watts, which although not as good as the PPC 970 is still much better than P4 or Itanic.

    1. Re:PPC by RzUpAnmsCwrds · · Score: 2, Insightful

      There are low power x86 processors. The Opteron, for example, draws around 55W for the high-end model. The Athlons aren't so bad either - around 65W depending on the model. P4 ranges from 60 to 100W, also depending on model.

      Remember, electricity is pennies a KWh. Now, there are cooling considerations too, but even those are managable. In general, the highest operating expense of a company is not cooling or electricity but other factors like the facility, staff, or bandwidth.

      Around here (Colorado), electricity is seven cents a kilowatt hour. Say a P4 @ 90W does the same work as a G5 @ 30W. That's a savings of 60W. Imagine the computer is on 10 hours a day, five days a week. That's a savings of 3000Whr (3KWh) or 21 cents a week. You save a total of $10.92 per year. Or, say the computers are on 24/7. That's a total of $36.69 per year.

      Say an HP XW4100 system (P4 3.2CGhz) system does the same work in a CAD app as a dual 1.6GHz G5 system (remember, most CAD apps are not dual-processor optimized). The XW4100 is around $1500; the "low-end" G5 is $2000. At $36.69 per year (running 24/7), the G5 will pay for itself in 13.62 years.

    2. Re:PPC by pmz · · Score: 2, Insightful

      There are low power x86 processors.

      Generally, they do not perform like the POWER4, UltraSPARC III, etc., for comparable power consumption. The Opteron is the closest bet for x86.

      Remember, electricity is pennies a KWh.

      Although $37 looks small, the savings scales with the company and can amount to thousands of dollars saved. Imagine an 8-way server ($300/year saved) or 32-way server ($1,200/year saved) or an office with 50 workstations ($2,000/year saved). That savings just might replace a broken photocopier or other budget-constrained items.

      Power costs aren't something to laugh at, and conservation should be practiced in all aspects of a company (lighting, insulation, etc.). For self-employed people, it can mean an extra week's gasoline, for a large corporation, it can mean not laying someone off. These are real tangible benefits to buying low-consumption devices.

    3. Re:PPC by pmz · · Score: 2, Interesting

      At $36.69 per year (running 24/7), the G5 will pay for itself in 13.62 years.

      I forgot to address this one. I think the payoff is faster than that, considering that there is added HVAC load from hotter computers, though I don't know how to estimate that.

      Also, I don't mean to troll, but there is also the added savings of not dealing with Microsoft Windows every day (financial as well as psychological).

      The break-even point is probably more like five or six years, which is a fair replacement interval for non-PC workstations. And after six years, the performance of a new workstation would be justified.

      This means, at worst, a PowerMac G5 costs absolutely no more than a PC over time, and most likely (counting administraction costs) will be a net savings all around.

    4. Re:PPC by ichimunki · · Score: 3, Insightful

      I think you missed his/her point. If the cost of the more energy-efficient processor exceeds the amount of the money saved on the power bills, the company or household is worse off for buying the more efficient model. In the example, the $37 was no match for the $500 extra expense of the system.

      Imagine buying a G5 iMac desktop will save me $50/year in electricity bills, but the system costs $200 more than a comparable x86 machine. Then it takes four years for the energy savings to pay for the added equipment expense. Multiplied over 50 workstations, the effect is the same, only the numbers get bigger on both sides of the equation. Just because those 50 machines will save me $2500 annually, doesn't mean they're necessarily worth $10,000 more up front.

      However, the energy assumption is a difficult one to make. Energy costs are volatile, generally only increase, and are not an insignificant variable expense for most businesses-- minimizing that expense is not a bad move.

      --
      I do not have a signature
    5. Re:PPC by SN74S181 · · Score: 1

      Say an HP XW4100 system (P4 3.2CGhz) system does the same work in a CAD app as a dual 1.6GHz G5 system

      *bzzt*

      There aren't any significant CAD apps for the G5 processor.

      There aren't really very many for the x86 either, but there are significantly fewer for the G5. Like, ummm, maybe about none.

      (yes, we see you waving furiously from back there. Your wobbly MacCAD whatever from 1997 doesn't count)

    6. Re:PPC by Farley+Mullet · · Score: 1

      What about this? Does it count?

    7. Re:PPC by SN74S181 · · Score: 1

      That made front page news on Slashdot, because it is such an unusual thing.

    8. Re:PPC by JaguarCro · · Score: 3, Informative
      Around here (Colorado), electricity is seven cents a kilowatt hour.


      Well welcome to Northern California where our electricity is currently 24 cents per kilowatt hour! Now here we are talking ($36.69 x (24/7) or $126.14 per year per machine. Apple doesn't sell a dual 1.6 Ghz machine, but if you still use your comparison numbers and prices we get a payoff in less than 4 years. (and if you really were just doing CAD you wouldn't need to Superdrive or Modem which cuts the price difference now down to $270 or almost 2 years!!)

      In otherwards, before a/c costs are taken into account the machine will pay for itself in just over 2 years and for the remaining 1 to 2 years it is used it will be saving the company even more money.

      By these numbers alone, I would say that buying a PC in expensive electricty areas of the country is a short sided mistake that will hurt your company or institution.
  19. On the Tclk myth by curious.corn · · Score: 2, Insightful

    Let's all remember that the MHz jump by intel was quite a marketing op. Consumers need an easy metric to evaluate goods (Hp in cars... btw, I wonder why people don't use Watts; must sound dull, dimensioning a car on a lightbulb unit) and intel chose to give one. They went as far as re-designing their machines around the pre-condition of high clock freqs. Take a P4 and clock it to 300 MHz (assuming it would run at those speeds and not bleed all charge out of it's gates), I don't think it would perform anything decent.

    --
    Mi domando chi à il mandante di tutte le cazzate che faccio - Altan
    1. Re:On the Tclk myth by Anonymous Coward · · Score: 0

      Let's all remember that the MHz jump by intel was quite a marketing op. Consumers need an easy metric to evaluate goods [...] and intel chose to give one.

      So are 1.8L car engine that revs at 7000rpm is more powerful than a 5.0L car engine that revs at 6000rpm...?

    2. Re:On the Tclk myth by drsmithy · · Score: 1
      (Hp in cars... btw, I wonder why people don't use Watts; must sound dull, dimensioning a car on a lightbulb unit)

      Consumers outside the US do.

      They went as far as re-designing their machines around the pre-condition of high clock freqs.

      And the end result has been (drumroll) faster machines. I'd say they delivered their customers what they wanted, no ?

      Take a P4 and clock it to 300 MHz (assuming it would run at those speeds and not bleed all charge out of it's gates), I don't think it would perform anything decent.

      That's a pretty worthless comparison. Like saying take the Altivec trickery out of a G4 and look at how slow it is...

      I find it amazing everyone attacks intel for going to clock speed route and yet no-one did the same to DEC...

    3. Re:On the Tclk myth by Moridineas · · Score: 2, Insightful

      You make that sound so much worse than it actually is.

      We know that as chips get more complicated they get harder to scale to faster speeds. The P4 was a chipdesign that, from the beginning, was designed to scale--huge pipelines, etc (and the pipes are getting bigger too).

      Now what's wrong with making a chip that is easy to scale?

  20. Java ? by Anonymous Coward · · Score: 0

    I'm always wondering why doesn't people use Java for such large developments... If tomorrow PPC is declared illegal because of the Amazon patent on machine code (very unlikely though), you just reinstall your opcode interpreter .jar file and keep on going.

    Multi-platform is an invaluable freedom on such projects where deployment and operating costs are so high
    *.sig: No such file or directory

  21. 970 is a real superscaler by norwoodites · · Score: 4, Informative

    the 970 can have more than 200 instructions in flight at the same time, it can finish up to 5 instructions each clock (4 if there is no branches).

  22. Re:PPC comes out on top! by SN74S181 · · Score: 1

    UNIX was developed on the PDP7. And everybody knows that TTL is very portable.

    Yes, there was a version of UNIX from Apple targeted to run on the Mac. One can still use the A/UX disk creation utilitys to set up NetBSD on an old Mac. I ran NetBSD on an SE/30 for a little while. It was frightening running X on that tiny little screen. But the Tab Window Manager rocked.

  23. Re:PPC comes out on top! by usotsuki · · Score: 1

    But V6 UNIX does...(can't get the damn thing to compile!)

    -uso.

    --
    Dreams, dreams, don't doubt dreams, dreaming children's dreaming dreams. Sailor Moon SS
  24. I thought that.. by gotr00t · · Score: 1

    It was a PDP-7 that they developed the first UNIX on, and the PDP-11 was the one they got later. It was so advanced that a hard disk wasn't avaliable for it until the next year, and until that time, they ran a core-only version of UNIX on it, which calculated all the knight positions on a 6x6 chessboard.

  25. low power? not even close by JohnZed · · Score: 3, Interesting

    Yup, g4s and g3s use substantially less power than their x86 foes, but the g5 is a different story altogether.

    Each g5 dissipates a whopping 97 watts (see http://www.eet.com/sys/news/OEG20030623S0092, which is why the new powermacs have such absurd cooling systems and massive, mostly empty cases. The high-end powermacs actually come with an OUTRAGEOUS 600 watt power supply (http://developer.apple.com/documentation/Hardware /Developer_Notes/Macintosh_CPUs-G5/PowerMacG5/Powe rMacG5.pdf.
    Let's be clear, this power supply is not for peripherals: the g5 powermac only supports 3 drive bays and 3 pci slots.

    The numbers cited by the author come from an early projection of power consumption for lower-spec ppc970 processors.

  26. long and details. by Anonymous Coward · · Score: 0

    Did you even read the article?

    It says "long and detailed article". In other words, i take the editors summary. 8-)

  27. Ummm, Sun? by Wiz · · Score: 2, Informative
    In the high end markets, RISC CPUs from HP, SGI, IBM and Sun still dominate. x86 has never been able to reach these performance levels even though they are sometimes a process generation or two ahead. RISC vendors will always be able to make a faster, smaller CPUs. Intel however can make many more CPUs for less.
    Lets see. HP and SGI have sold themselves to the Itanium 2 which is ok but is EPIC, not RISC. IBM have the Power4+ and Power5 on the way which are pretty damned good. Sun have the US3 and US3i. Sun certainly don't have a performance lead. I've benchmarked an Opteron against the US3 and US3i and it isn't pretty for Sun. The Opteron is actually MORE efficient clock for clock in 95% of tests I ran. And yes, all the tests in question were real world programs running real world data. So I disagree. Just because it is RISC, doesn't mean it is faster. Chips like the Alpha prove it is possible, but with the rate of developlment of x86 and it's compilers it is becoming more difficult for them to keep up.
  28. Money crunches create platform dependencies by yerricde · · Score: 1

    As a coder, how can I prevent myself from making a "badly written app" if I don't have enough money to buy a sample of each platform?

    --
    Will I retire or break 10K?
    1. Re:Money crunches create platform dependencies by Josh+Booth · · Score: 1

      I think that if you use a portable language, it's not a big concern, as long as all your dependancies exist for the other archetecture and all your assembly code optimization has some sort of portable backup. I'm just an ameteur C coder, but I don't think there's much else. Some people put integers into pointers and vice versa under C and GLib has macros for doing this. I don't know how effective it is across archetectures, though, due to differing size pointers and int defaults.
      ex.:
      int a = 3, c;
      void *b;

      ((int) b) = a;
      c = (int) b;

      and c should be 3.
      I can't remember a time when I actually did this, but one may use it for GTK+ callbacks or something like that. There could also be memory alignment problems and stuff where people play with the stack too much. Now I down to speculating; could someone explain more?

    2. Re:Money crunches create platform dependencies by dspeyer · · Score: 1
      It's not really hard -- I've hardly ever seen archetechture dependant code outside of the kernel.

      Assuming you're using C, the important thing is not to cast pointers, except going to and from void* when you know you're right. In other words, never do this:

      int i;
      char c;
      i=42;
      c=*(char*)(&i);
      The value of c will be archetechture dependant (42 on x86, 0 on PPC).

      Other than that, be careful when bitshifting, and never base anything on the assumption that you know how large something is. Also, never call malloc without the relevant sizeof.

      In C++, treat the class structure logically and you'll be fine.

      In higher level languages, just watch your bit manipulation (if any).

      In assembly, use C. :-)

    3. Re:Money crunches create platform dependencies by Piquan · · Score: 1

      C is the biggest problem child. There's a whole lot of implications, but here's the most common ones:

      • Endianness. If you're reading and writing ints (or anything longer than a char) from a file or network socket, use the ntohl and family to make sure the external format is always consistent. (This only applies if your external data has a chance of moving across architectures, so temp files are fine to ignore this on, but save files aren't.)
      • Struct padding. The padding requirements of different architectures varies. If you are storing or sending structs, do so element by element rather than a struct at a time.
      • Pointers. Don't assume that all pointers are equivilent, so don't stuff something as a char* and read it as an int*, unless you do appropriate casts.
      • Pointer size. Don't store pointers in ints or vice versa. The most common problem with this is forgetting to prototype your functions.
      • Chars. They may be signed on some architectures, and unsigned on others. Always use 'signed char' or 'unsigned char' if you care, or are using an external file or network socket.
      • Read/write alignment. Don't expect to be able to store ints, pointers, etc. in arbitrary places. (This is rarely a problem.)
      • Size of ints. Make no assumptions.

      Most of these are implicitly used without the programmer realizing it, for example, by forgetting to #include prototypes, or by storing a long in an int variable.

      See also the Jargon File entry for vaxocentrism.

      It's also frequently easy to get access to different machines. Check with your friends (hobbyists often have old Alphas or Suns, and PPCs are becoming more common), check at work, use a build farm like Sourceforge's, etc.

    4. Re:Money crunches create platform dependencies by norwoodites · · Score: 1

      You are using a gcc extension which is going to be removed because it causes more problems than it solves.

    5. Re:Money crunches create platform dependencies by yerricde · · Score: 1

      Regarding endianness and padding: Is it acceptable to take a whole minute to manually serialize or de-serialize a complicated preinitialized data structure byte-by-byte, especially if the data structure is too large to fit into RAM? Not in some of the real-time simulation apps I write. Can database tables be moved from one architecture to another without dumping to text?

      Size of ints. Make no assumptions.

      In ANSI C (C89/C90, not C99 which few compilers support), how do I get a 32-bit integer type that won't be 16-bit or 64-bit? Choosing 'int' will give 16-bit types on some architectures; choosing 'long int' will give 64-bit types on some architectures.

      Most of these are implicitly used without the programmer realizing it

      So how do I check a program to make sure that I have not used such an assumption, without spending hours reading over the source code line-by-line several times?

      Check with your friends (hobbyists often have old Alphas or Suns, and PPCs are becoming more common)

      Unlike you, I have not been successful in finding friends that have computers other than PCs and game consoles.

      check at work

      Unlike you, I have not been successful in finding a job in my field (programming) in the area where my family lives (Fort Wayne, Indiana).

      Could you give me some pointers on what I've been doing wrong?

      use a build farm like Sourceforge's

      Yes, but then how do I test graphical code?

      --
      Will I retire or break 10K?
    6. Re:Money crunches create platform dependencies by Piquan · · Score: 1

      Is it acceptable to take a whole minute to manually serialize or de-serialize a complicated preinitialized data structure byte-by-byte, especially if the data structure is too large to fit into RAM?

      Can it be created as part of the installation? Or deserialized then? I'm not saying it's evil to ever read architecture-dependant files; just be aware of the issue, and take appropriate steps to adapt.

      Not in some of the real-time simulation apps I write.

      If what you're doing is truly real-time (a widely misunderstood concept), then you need a real-time OS and architecture. Truly real-time apps are rarely portable, but they rarely need to be.

      Maybe you don't need real-time, but actually need it to be very fast. So deserialize your data ahead of time. If you're having a network conversation, then maybe you can agree on a structure that meets both ends' data alignment requirements at the beginning of the session. Then all you have to do is swap bytes, and that doesn't take long. (Deserialization doesn't take long either, if you are writing a serialization protocol that meets your needs.)

      Get creative.

      Can database tables be moved from one architecture to another without dumping to text?

      Depends on the database system, but rarely. Did you see where I said, "This only applies if your external data has a chance of moving across architectures"? Database systems usually have special procedures to move databases.

      In ANSI C (C89/C90, not C99 which few compilers support), how do I get a 32-bit integer type that won't be 16-bit or 64-bit?

      "A bare C program is about as portable as Chuck Yeager on foot." -Programming Perl

      You're almost certain to use autoconf, imake, or something similar if you're releasing a program. Use it.

      So how do I check a program to make sure that I have not used such an assumption, without spending hours reading over the source code line-by-line several times?

      The best bet is usually to try to be aware of the issues. How do you check that you didn't have a race condition, or a buffer overflow possibility? You make yourself aware of the problems, so they're in mind while you're programming.

      There's nothing magical about it. It's something you need to be aware of. That's why there's a difference between a skilled, professional, knowledgable programmer and somebody who just finished "Perl for Dummies".

      Yes, but then how do I test graphical code?

      Beats me. Graphics aren't my area; the most graphically-intensive thing I've ever done was a stupid weekend hack. At work, I only use graphics for simple things like editing type lattices. This is stuff that works fine on remote X11, so you can test it that way. If your sims are graphically-intensive, then I'm not sure what to tell you. Maybe somebody who does more graphics work can say something.

      Unlike you, I have not been successful in finding friends that have computers other than PCs and game consoles.

      Unlike you, I have not been successful in finding a job in my field (programming) in the area where my family lives (Fort Wayne, Indiana).

      Okay. Some of my tips may not apply to you. I'm an insensitive clod, I guess. Personally, I left my hometown of San Angelo, Texas and came to the Silicon Valley to find work.

      But having grown up in West Texas, I know, it's tough to learn to code well if you're isolated. I got a lot better when I started volunteering to work on GNU projects. (This was long before free software became well-known.) Maybe you should get involved in some projects with other people.

      Look, I'm not saying that you're a terrible programmer if you ever write anything that isn't portable. I'm saying that programmers should be aware that there are other platforms than their own. Try to be aware of when you're making an assumption about the architecture. If you can make it portable without breaking your program, then good. If not, document it-- and maybe add something like '#ifndef i386 / #error "See ARCHITECTURE NOTES in the docs" / #endif'.

  29. Games are most often not open source by yerricde · · Score: 1

    As the article observes, Linux (and open-source software in general) is not locked into the x86 architecture like Windows is.

    Unfortunately, most games do not fall into "open-source software in general" because most artists and music composers haven't warmed up to "free as in speech" the way some programmers have.

    barring architectural lock-in

    In those market segments that are of apparent necessity dominated by proprietary software (such as games), architectural lock-in is the rule, not the exception.

    --
    Will I retire or break 10K?
  30. Microsoft *is* the market by yerricde · · Score: 1

    [Microsoft's Windows OS unit] can quickly jump on a new architecture to make $$, or easily shift gears with the market (if everyone moves from x86).

    The problem is that Microsoft's Windows OS unit defines the market. There is only one platform that could distantly compete with x86 under foreseeable market conditions, and its users tend to like the OS they already have.

    --
    Will I retire or break 10K?
    1. Re:Microsoft *is* the market by LordSah · · Score: 1

      Microsoft is a big player, but Intel, AMD, and hundreds of companies that write software also have a big stake in it. This includes hardware companies--changing architecture requires redesigning most of their products. Industries develop standards, and x86 has grown into the IT (desktop) industry standard.

      Think about VHS: everyone made VHS products because everyone else made VHS products (and that's what the consumers were used to). Betamax was a superior standard. DVD has emerged victorious, but it took _years_ for it to grow beyond a niche market. Economic forces kept the superior technologies from flowering.

      Changing the infrastructure for an entire industry is very time consuming and expensive. Microsoft doesn't have a vested interest in x86--they have an interest in keeping the market happy, stable, and profitable. We'll eventually move away from it, but it can't happen overnight. Microsoft will be happy to oblige when it happens.

      And I disagree that Apple can really compete with x86. It can on a technical level, and win over individual users, but it cannot become the next desktop standard. It's awful tough for something to become a _standard_ when one party controls all aspects of it, and refuses to open it up to the market for innovations.

      Microsoft is on top today because the PC has been open to the industry, and Microsoft embraced and pushed that concept. All other proprietary architectures (like Apple) are sitting with %3 market share. The server market is still significantly proprietary, but x86 is growing by leaps and bounds there too. That's been made possible by Microsoft and open-source Unix derivatives.

      I'm not defending x86 on a technical level. I hate working with x86 assembly, and I think it's horribly antiquated. But it's the way this industry works at the moment, and we'll have to live with that for the next few years. Honestly, I'd like to see IA-64 become the next standard (just my opinion).

    2. Re:Microsoft *is* the market by yerricde · · Score: 1

      Microsoft is on top today because the PC has been open to the industry, and Microsoft embraced and pushed that concept.

      Open? Hardly. Microsoft's standard OEM license through much of the 1980s and 1990s required a PC maker to pay Microsoft for each processor it sold, whether a Microsoft operating system was installed or not.

      Honestly, I'd like to see IA-64 become the next standard (just my opinion).

      IA64? Yuck. IA64 binaries are bloated (16 bytes per 3 instructions on IA64 vs. 16 bytes per 8 instructions on ARM Thumb), and bloated binaries creates a need for larger instruction caches, which make the processor hot and expensive. And just imagine how hot an Itanium-M laptop would get.

      --
      Will I retire or break 10K?
    3. Re:Microsoft *is* the market by norwoodites · · Score: 1

      On the PPC, it is 16 bytes per 4 instructions.
      But it is not the bloated binaries which creates a need for a larger cache, but just programmers not looking at memory usage. The need for faster computers are because people do not use performance tools like the CHUD tools.

    4. Re:Microsoft *is* the market by LordSah · · Score: 1

      Yes, open. There wasn't a 'PC' company a prospective hardware vendor had to license from to put out a new product. ATI, Nvidia, IBM, 3Com, etc etc could innovate and put out newer, cheaper products and didn't have to get anyone's permission to do so. The openness and competition in the atmosphere drove the technology forward. Microsoft provided software that ran on the heterogenious platform (it's also the cause of many of Windows' stability problems).

      If a vendor signed a contract with Microsoft to get cheap prices on software, then that's one thing. They could've easily just bought boxed software though.

      Part of what makes x86 special is that mom-and-pop shops can sell PC's as they see fit, and don't have to adhere to Apple's (Sun's, SGI's, IBM's) rather strict rules.

  31. Faster is cooler by yerricde · · Score: 1

    I don't see a mass shift to another platform because the chips run cooler.

    If the chips run cooler, they eat less energy. Executions per kilowatt-hour is a valid benchmark unit, especially for large clusters where the cost of electric power becomes significant.

    If the chips run cooler, you can safely put more of them in a box. Executions per cubic meter second is a valid benchmark unit, especially where rack space must be rented.

    --
    Will I retire or break 10K?
    1. Re:Faster is cooler by jovlinger · · Score: 1

      whatever happened to that blade company that was going for MIPS/M^3? They were pushing transmeta, IIRC, because it ran cool enough to be crammed really tightly together. I forget their name. Raq? Maybe it was rebel (the old netwinder guys).

      The idea was that rack hosting companies whose main operating costs are cooling and real estate would prefer to pay a slight premium for a boat-load of blades that acted like a much larger room of "real" rack-mounts.

      It seemed like a decent idea, actually.

  32. G4 = G3 + Altivec by SirDrinksAlot · · Score: 1
    This was added in the G4 CPUs but not to the G3s but these are now expected to get Altivec in a later revision.

    The G4 is a G3 processor with altivec stuck on top.

    Motorola isnt making the G3s apple uses in the ibooks these days; IBM is, they wouldtn put altivec on one. with the execption to the processor they use for the Game Cube which is an IBM PPC 750vxe (or somethign like that.) with altivec like processing units for the gamecube to utilize for games.

    With the looks of it everybody is pokeing holes in this guys rambleings.

  33. Check your facts, please; G5 IS low power by LionMage · · Score: 4, Informative
    Each g5 dissipates a whopping 97 watts

    No, two G5 (PowerPC 970) processors together dissipate 97 Watts. Each individual processor dissipates about half that.

    Don't believe me? Check out this chart on ArsTechnica. (The heading for the chart reads "Preliminaries: die size, power consumption, and clock speed.") A single 1.8 GHz PowerPC 970 dissipates 42 Watts. So a single 2.0 GHz PowerPC 970 dissipates a little more than that; therefore, it's reasonable that two of them would dissipate somewhere between 90 and 100 Watts, total.

    The EE Times article you cited is highly inaccurate. They only look at the total number of fans in the G5 machine, and forget the fact that these are low-RPM fans and are software controlled per-zone to regulate temperature. Low RPM means less volume of air moved per unit time. So the design tradeoff that was made, clearly, is to have more fans running slower in order to keep noise levels down and to target cooling for each zone appropriately.

    This is why it's a good idea to check multiple sources for your facts. Then again, if your goal was to present a very distorted version of reality to fit your goal of painting the G5 as a power hungry monster, you would very carefully choose your source of information so that it seems to support your assertion.
  34. Power Supply Wattage by LionMage · · Score: 1

    According to the PDF you cite, only the dual processor configuration has a 600 Watt supply; the single processor G5 machines have a 450 Watt supply.

    Most high-end x86 system builders tend to put 400 or 450 Watt power supplies in their single processor machines, so this is not unreasonable.

    Don't forget also that the AGP Pro slot of the PowerMac G5 system guarantees almost 80 Watts for use by the video card alone; this means that high end workstation class video cards can be powered directly from the slot. The ATI Radeon 9800 Pro, a build-to-order option, can probably run without connecting a spare power cable to its Molex connector; in fact, I'll bet the Apple OEM version of the 9800 Pro doesn't even have the Molex connector soldered to it, since the AGP Pro slot should provide enough power to run the card.

  35. Horsepower vs kW by nuggz · · Score: 1

    Horsepower is a bigger number.
    Bigger is better.

  36. total bullshit by Anonymous Coward · · Score: 0

    Wow, it's amazing how well you developed that specious argument. Perhaps I should spend five paragraphs fully detailing how the larger number of general-purpose registers available in RISC CPUs significantly decreases consumed memory bandwidth. Maybe I should point out how increasing the number of registers over the crappy x86 architecture removes a huge number of load and store instructions, so that the actual code size decreases rather than increasing. But any competent computer architect could point out the glaring holes in your argument, so I won't bother here. Go mentally wank somewhere else.

  37. Portability != portability by yerricde · · Score: 1

    Can it be created as part of the installation? Or deserialized then?

    This would work on platforms shaped roughly like a PC (Mac, Sun, etc), but it wouldn't work on some platforms I code for. Many of these platforms have no high-capacity media that's writable by the device and thus have no concept of "installation." One of these platforms is a handheld device that has only a removable 4 MB ROM board on which the program and data are stored, 384 KB of RAM (32 KB on CPU, 256 KB on secondary slow RAM, 96 KB on video chip), and a 64 KB flash chip on the ROM board for storing the state of the simulation between runs. The data, which consist of models of a simulated environment, would need to be stored in ROM in the hardware's native struct format. I guess the answer is to deserialize data in the build process. I knew about that solution; I just wondered if there was a better way.

    If what you're doing is truly real-time (a widely misunderstood concept), then you need a real-time OS and architecture.

    I understand the difference between hard real time and soft real time. My apps are interactive simulations for training and entertainment purposes. They need only soft real time in the sense that multi-second delays are not acceptable.

    then maybe you can agree on a structure that meets both ends' data alignment requirements at the beginning of the session.

    For unknown PC-like workstation architectures (Mac, Sun, Itanium, Alpha, etc), can I generally assume that both sides use the so-called "natural" data alignment, that is, 4-byte types are aligned to addresses a multiple of 4, and 8-byte types are aligned to addresses a multiple of 8?

    You're almost certain to use autoconf, imake, or something similar

    So what do I do for architectures that Autoconf does not support, such as the handheld device I named above?

    This is stuff that works fine on remote X11, so you can test it that way.

    I have not investigated remote X11. Does remote X11 work well over a residential high-speed Internet connection?

    Personally, I left my hometown of San Angelo, Texas and came to the Silicon Valley to find work.

    I'm new to this. How do most people finance their first relocation? (Moderators: Relocation is sometimes necessary to gain access to equipment used to test portability of an application.)

    Look, I'm not saying that you're a terrible programmer if you ever write anything that isn't portable.

    It becomes tough when the question "Does 'portable' mean that it runs on several architectures, or that it runs on handheld devices?" is answered with "Both."

    and maybe add something like '#ifndef i386 / #error "See ARCHITECTURE NOTES in the docs" / #endif'.

    Thanks. The knowledge that such a last resort (that is, if lead developer has never heard of this architecture then refuse to compile) is not grounds for being ostracized takes a load off my mind.

    --
    Will I retire or break 10K?
  38. lbs-ft vs Nm by Anonymous Coward · · Score: 0

    But Newton-meters of torque is bigger than pounds-foot of torque, yet y'all still use lbs-ft.