Red Hat To Support PowerPC, AltiVec 246
Steve Cowan writes "According to an article at MacCentral, Red Hat has announced that they will produce a GNUPro toolchain and cross compiler for AltiVec-enabled PowerPC processors (such as that found in the Power Mac G4).
It will be interesting to see just what kind of performance gains this will bring, because many believe that the full potential of AltiVec is far from tapped."
RedHat on new Macs? (Score:1)
Re:RedHat on new Macs? (Score:1)
Re:RedHat on new Macs? (Score:2)
OS X is a proprietary, largely untested OS with commercial support and a large number of commercial applications coming to it in the near future. It is BSD-based. The development team focuses mostly on the GUI.
Redhat is an opensource, exellently developed and highly tested OS with a little bit less commercial support, a little bit more community support, and a smaller number of commercial applications... Though I expect that to change in the near future. It is Linux, and comes with a variety of window managers each with their own set of 'skills'.
Do what win-geeks do. Dual boot. =] You just might find that you fall madly in love with RedHat and can't think of using anything else. Or not.
I'll be seriously interested in tests/comparisions between applications running on Redhat and OS X, how they perform differently, etc.
-Sara
Re:RedHat on new Macs? (Score:1, Interesting)
Like what? Is opensource really a benefit? Does that help you get your work done? Is a lack of commercial applications a true pitfall? Can't you deal with
I have yet to find a window manager for X that both looks good and behaves well. I consider the win32 GUI to be better than all of them.
I've been using various redhats for the last year and I'm hardly in love with it. I've run freebsd for years and never felt the need to install X or do anything more with it than serve web pages. I really don't like any of the linux or BSD distros very much. I don't even like the unix paradigm or any of it's conventions and standards.
Re:RedHat on new Macs? (Score:2)
In addition to that, there are other reasons some prefer Linux to MacOS X. For me, I prefer a System V style init to a BSD init (runlevels are cool). I like the GNU tools being defualt. I like the flexibility X gives me. I like compiling my kernel to MY specefications.
I've never used OS X, and have no real desire to. It's not free software, and is thus irrelevant to me. Also, can you disable the GUI in OS X so there's one less thing to go wrong when running a server? (I'm not trolling here... An honest question... I don't know this one)
The point I make is that subtle differences in software make a huge difference to people preference. Do you like OS X better than Linux? If so, great. I like Linux, and I'm 99% happy with it. The areas I'm not happy with, I do something about.
Re:RedHat on new Macs? (Score:2, Interesting)
As for your question about the GUI, I don't know if you can diable it per se, but I do know if on the login screen you type >console (the > is nessesary) and don't use a password, it will switch to an entirely text based mode and only returns to the GUI if you log out.
Re:RedHat on new Macs? (Score:2)
Re:RedHat on new Macs? (Score:2)
Re:RedHat on new Macs? (Score:2)
Open source/free software IS a benefit. It means that if I don't like it, I can change it.
Then welcome to Darwin, the open source core of OS X. It's there even if you don't know about it. The reason you, and most people, don't know about it is because you hardly ever have to change it or recompile the kernel yourself, while for Linux machines I find tweaking the kernel to be one of the first things I do.
Also, can you disable the GUI in OS X so there's one less thing to go wrong when running a server?
You sure can. Perhaps it's your decision that OS X is irrelevant that keeps you ignorant to what it actually is and what it is able to do.
Re:RedHat on new Macs? (Score:2, Insightful)
Ummm. No. OSX is really NeXTstep 6.1 with a macintosh application environment thrown in. NeXTstep is a proven stable OS that predates Linux by at least 3 years. Furthermore, the core foundation of OSX, known as Darwin is also open source.
Re:RedHat on new Macs? (Score:4, Insightful)
http://www.opensource.apple.com/ [apple.com]
The interface, Aqua, isn't open-source because Apple wants to retain control of it.
I wouldn't call OS X 'largely untested.' It's directly based on NeXT's OPENSTEP operating system, which was known for being very stable and having great developer tools (the game 'Doom' was written on NeXT systems because of this), and OPENSTEP has lineage back to 4.3 BSD.
What's especially interesting is that Darwin runs on Intel PC's. This means that if Apple wanted to make Mac OS X available as an alternative to Microsoft Windows, all it would theoretically take is a recompile for the x86 architecture...
Re:RedHat on new Macs? (Score:2, Interesting)
I would, however, love it if Apple would make OS X an alternative to Windows or Linux on the x86 platform. The more choices there are, the better.
-S
Re:RedHat on new Macs? (Score:2)
Re:RedHat on new Macs? (Score:2)
Re:RedHat on new Macs? (Score:4, Informative)
Also, the Power4 is a 64bit chip, and the G4 is still 32bit.
Re:RedHat on new Macs? (Score:2)
The G4 is a desktop class chip, and this means that a lot fo video work needs to be done on it (something that AltiVec works nicely with). It has no need to be 64bit at this point (wouldn't hurt necessarily, but wouldn't help). The lower power, die size, hear, and cost all are nice thing for a consumer level product.
In other words, both chips work great for their intended audiences. And the article in question is only talking about the PowerPC family, so the Power4 is not included.
Honestly no, (Score:3, Interesting)
I'm old school Mac. I've been using them for a long time (not nearly as long as some though). I love the Mac GUI. It's consistent and fits my graphical needs. I love the useability of Linux and the power it affords. Not to brag but I'm a fair admin of redhat-styled Linux boxes. I pride myself on my security while still being usable. I know both very well. That's why I always use a Mac and Linux box in pairs. The Mac is my GUI and that box has 3-4 terms open on the Linux box (or VNC). I integrate both. OS X is neither. I can't call it a Mac OS because it's just so damned funky. They had a great GUI and had to go and change it. For someone just starting out on Macs or not that familar with one, this is probably not a big deal to you. For someone like myself, it's a damned nightmare. The *nix underpinnings really aren't like any *nix I'm used to. Not Solaris, Linux, IRIX, or any of the BSDs I've played around on. It just isn't the same thing. The learning curve for a person in my position is incredibly steep. Now the OS kicks ass, don't get me wrong. It's amazing how good it is for the first (major) release of a completely new OS. I can't wait until the next major revision though. Maybe 10.5 or something similar. They are bound to fix the quirks that hurt most of us. They're bound to make it even better. Maybe then I can justify forcing it on myself. For now I only run it on my network sniffing box. Until it gets better, I'll stick with 9.2.2 and my Linux terms.
Use Darwin (Score:2, Interesting)
I need to be able to run it headless, without a GUI, or replace/upgrade the GUI to fit my needs or fix it as needed without rebooting. OS X doesn't give me these things (yet).
So use the Darwin operating system [apple.com]. It's the core of Mac OS X (kernel plus command line tools) minus the GUI. Throw X11 on top of Darwin and install a free GUI [kde.org]. Be happy.
I can't call [Mac OS X] a Mac OS because it's just so damned funky.
I thought "funky" was a compliment.
The *nix underpinnings really aren't like any *nix I'm used to.
Think of GNU-Darwin [sourceforge.net] as BSD mixed with Linux mixed with some unique stuff. You'll get used to it, just as you got used to the other six *n?x flavors you mentioned (Solaris, Linux, IRIX, FreeBSD, NetBSD, and OpenBSD).
Re:Use Darwin (Score:2)
Re:Use Darwin (Score:2)
Why force an Apple product into a mold that Linux already fits into? What's in it for us the end users?
314 days uptime on 10.0.1 (Score:2)
Well, the B&W G3 that I rack mounted at AboveNet running 10.0.1 has been up for 314 days now...
-pmb
Re:Honestly no, (Score:2)
I've got other servers that are much more dynamic and they get rebooted every 6 months or so when I upgrade the kernel. A number of those machines were rebooted back on February 1 when my part of the midwest got hit with a major ice storm and we lost power. It was then discovered that a few machines hadn't been plugged into the "orange" outlets. Whoops!
I could understand rebooting a Windows-based server once a week. I can understand rebooting a *nix server a couple times a year. I can't understand rebooting a *nix server weekly. If it ain't broke, don't break it. :-)
whoops! (Score:2)
Now THAT is a bit of news that makes me smile. (Score:1)
Now... Decisions.. Decisions. What tests should I run? I wonder what they'll show. Oh the excitement. *Grin*
-Sara
Re:Now THAT is a bit of news that makes me smile. (Score:2)
Agreed that it makes it more accurate, but it's still hopelessly inaccurate. Linux was written for x86 and is maintained in a x86-centric fashion (the separate ppc tree takes ages to have it's improvements folded back into the Linus tree). That's the way Linux works for a number of good reasons. What it means though is that PPC support is always lacking, not to mention support for video cards, the Mac onboard sound etc.
The problem this causes with benchmarks is that you are *not* running the same OS and the benchmarks are *not* comparable. The only way to get a good measure of how the speed of a computer is to actually sit down and use it for a while. Why are people so obsessed with benchmarks and photoshop tests?
Re:Now THAT is a bit of news that makes me smile. (Score:2, Insightful)
I suppose it would be more interesting to take a day or two and try out three competing OSes. Yellowdog [yellowdoglinux.com], OS X [apple.com] and Redhat [redhat.com] and see how they compare with eachother for a variety of different tasks.
I guess I'm interested in it for the same reason I'm interested in trying out different OSes in the first place. Because I'm curious.
-S
Re:Now THAT is a bit of news that makes me smile. (Score:2)
Re:Now THAT is a bit of news that makes me smile. (Score:2)
err, not quite. Apple's have an Apple designed motherboard for a start and an Apple-specific sound chip. The video was previously the ATi cards which don't seem to be too popular on the Windows side and weren't well supported under Linux (worse under PPC linux) and these days are the latest nVidia cards which are too new to have great support.
Add to that the fact that Macs don't have a BIOS and instead use OpenFirmware and you start to realise how different it is to write drivers for a Mac than a PC. The final thing to consider is the one you mentioned yourself, it uses a PPC not an x86 and since all instructions go through the processor that affects everything you do with the system.
When it comes to hardware integration little differences can cause a lot of headaches.
The real worth here... (Score:3, Interesting)
The real worth here lies in the fact that MacOS X is, let's not forget, essentially a UN*X platform. If RH play their cards right on this one, we should start seeing GNU tools perceived as a technical leader where in the past they've been perceived as something more like a reliable least common denominator.
Free software has to grow. It still needs to prove itself to make that happen. It's good to see RH concentrating on something genuinely forward-looking.
Re:The real worth here... (Score:5, Insightful)
I don't see what that has to do with anything. We're talking about porting the toolchain to the hardware. This has nothing to do with MacOs 10 at all. It's about Linux/PPC.
Linux/PPC has been hampered for quite awhile by the lack of good GCC support for things like AltiVec. Performance suffers from lack of optimisation. It sounds like RH is undertaking to fix that. This could be very cool - if they succeed then Linux/PPC programs will be able to take advantage of the full power of the PPC chips. AltiVec doesn't help with everything, far from it, but code which it does help will see truly impressive performance gains.
If you're not clear on what AltiVec [mackido.com] is, try the link out. Basically it's MMX on steroids. It does everything MMX does, better, and some other things besides. It's really very cool tech, and it will be very nice to see Linux/PPC software finally taking advantage of it.
Re:The real worth here... (Score:2)
Currently GNU gcc isn't really viable for other architectures than x86 because of pretty slow code generated.
Re:The real worth here... (Score:2)
I believe all of Mac OS X is built with gcc. Apple allegedly has several engineers working on the PPC backend.
Re:The real worth here... (Score:2)
Re:The real worth here... (Score:3, Insightful)
Re:The real worth here... (Score:2)
To say that GCC doesn't matter to Mac OS X is just wrong.
Re:It's got a lot to do with OS X (Score:1)
The compiler Apple provides with its developer tools is a customized version of GCC 2.95.2. It's not super-duper optimized, though, or at least the speed of OS X software compiled with it leads me to believe that it isn't.
Alex
Re:It's got a lot to do with OS X (Score:3, Insightful)
And Lord knows I have, often enough. :) But seriously, it has its place, PPC is great hardware for it, and up until now Linux/PPC has been hobbled by not being able to take real advantage of that fact.
*shrug* Who cares?
This still has nothing to do with OS 10. It has to do with Linux/PPC.
I take that back, indirectly it does have a little to do with OS10. Because Mac is using that horrid slow Mach kernel, and still performing as well or better than Linux/PPC, because of better optimisation. RedHat is poised to eliminate that gap, and make Linux/PPC a much more attractive system.
From where on earth are you getting all this?
Re:It's got a lot to do with OS X (Score:2)
A quick search in google resulted in this [merlins.org].
It reports that the tivo uses a 50mhz embedded powerpc motherboard. Dosen't sound like G4 processor to me, which I believe is when Altivec was introduced.
Re:It's got a lot to do with OS X (Score:2)
IBM has a plethora [ibm.com]of info on the chip. The gist is it's a 50 MHz clock doubled PPC chip without Altivec.
Re:MMX on steroids (Score:2)
More Info (Score:1)
Re:More Info (Score:1)
What's the point? (Score:1)
Time to convert all those Mac users ;) (Score:4, Insightful)
Last time my Mac-lover best mate tried Linux the poor quality and performance of Linux PPC ports frustrated him. I pointed out that it's catch-22, having lots of fanatical MacOS users means very few try other operating systems, which means there's little incentive for linux companies to make decent ports and so on.
Problems were really apparent - for instance he tried a distro that was for PPC, but it had no Mac customisations what so ever. It just assumed he was using a 3 button mouse for instance. Hopefully if Red Hat do this properly, rather than just use a fancy compiler, OS X will have some competition on its home ground.
Re:Time to convert all those Mac users ;) (Score:3, Informative)
RedHat's GNUPro (the old cygnus stuff) is what's being touted ... that'd be the compiler and tool chain.
This is not a new redhat Linux distro.
Re:Time to convert all those Mac users ;) (Score:2)
The moderation system on /. is broken. Moderation is done by amateurs randomly getting mod points. An average /. reader doesn't have sufficient qualification to moderate. Maybe frequent posters with good karma could moderate better?
Re:Time to convert all those Mac users ;) (Score:1, Flamebait)
Really... First thing I'd do with a mac is get a real mouse for it -- damn shame I have to.
Re:Time to convert all those Mac users ;) (Score:1)
Yea! That pisses me off about Macs. I finaly went back to a real computer (TiBook), and I had to get a mouse before I even brought it home. I've loved the optical mice that logitech makes, and had to get a USB based one for my Mac. I love it. I can't believe I lived without the scroll-whell for so long.
[/asbestos]
Re:Time to convert all those Mac users ;) (Score:1)
Re:Time to convert all those Mac users ;) (Score:1)
I'm confused... Volkswagen is an average car, right?
Re:Time to convert all those Mac users ;) (Score:1, Insightful)
I use Linux because I like the ability to fully choose how my car will run and be able to modify it based on my needs for that day/week/month/year, not have my milage be dependant on what the parent company determines to be the "average" or "optimal". I do not want to have to take out a blowtorch to make modifications.
I use Linux because I want the ability to decide if I want my car to look like this [hwextreme.com] or these [coolcasemods.com] and not have to be limited to the 4 or 5 styles available here [apple.com]. And because I want to be able to fit more than 4 (1) people (5.25 drives) into my car if I so please and not have to use a hacksaw to cut out part of the car.
I use Linux because the hardware it runs on is faster than the 'volkswagons' or the 'PT-cruisers' of the computer world and far less likely to flip going around the tight curves.
I use Linux because yes, it is cheaper and because yes, it does run on inexpensive fast hardware and give me the ability to use several operating systems on the same hardware if I so choose.
I use Linux because I do not believe on having choices taken away from me for no good reason and because I do not believe on form over function.
I use Linux because the community doesn't give me the feeling that unless I drive their car I'm somehow inferior.
Re:Time to convert all those Mac users ;) (Score:1)
Ah, I love being a fanatic! But seriously, I used to think the same way you did, until I realised how much harm the Windows monopoly really did cause. Would an Apple be any better than a MS monopoly? Of course not, and no - no matter what you think of Apple, they would not be any better behaved in a monopoly situation. Or at least, I for one would not be willing to take that risk.
But a monopoly of Linux? That wouldn't be anywhere near as harmful - although it wouldn't necessarily be a totally good thing I'd like to see either ;) Linux has its share of faults.
Oh and by the way, I count well supported as being able to go into an IRC channel and get tech support (as well as interesting debates) for free, and being able to phone tech support for when I have problems that IRC isn't suitable for. That's well supported.
I use Linux, though many could argue it's inferior to Windows. As there's no way in hell I could ever afford a Mac right now, I have to consider Macs inferior to Linux anyway so that's a moot point.
Yellow Dog? (Score:1)
Re:Yellow Dog? (Score:1)
Re:Yellow Dog? (Score:2, Insightful)
At any rate, this is not really a desktop-focused announcement. It's about the embedded market. Moto wants embedded Linux to be developed for use on PPC-backed set-top boxes, Internet appliances, network appliances, etc. It may have some positive repercussions for Unix on PPC desktop as well, but since Apple is already hard at work making the gcc work well for PPC and OS X, I'm not clear on exactly what those benefits might be.
Re:Yellow Dog? (Score:1)
i don't know if this will do anything but help the other Linux distros. Mandrake has released a version for the powerpc which worked ok, but not great. (I am basing this off of my experiences with a PowerBook G3 firewire laptop)
The beauty of open source is that any modifacations out there will be available for all of the companies, if they follow the licensing rules.
this is Cygnus, not Linux news (Score:3, Informative)
As to the question of "what will this bring since altivec is underused/underappreciated?" the answer is simple: nothing.
The same problem remains: if you want to optimize your algorithm using Altivec, you still have to jump through some hoops. GCC isn't magically going to detect that your for loop could be done 400 times faster using Altivec: you'll need to tell it.
In short, you can do everything you need to already using the existing tools from here [altivec.org].
Just-another-tool does not news make.
But... (Score:1, Interesting)
Does this affect RS6Ks? (Score:2, Interesting)
Re:Does this affect RS6Ks? (Score:1)
Kevin
No. (Score:2, Informative)
Re:No it doesn't. (Score:1)
Sorry, Apple Macs will have no effect on IBM's RS6k market.
RS6k users want ECC-protected cache and main memory; Apple Macs don't have this.
RS6K users want large 128-bit+ memory paths. Apple Macs still have a 64-bit memory path, much like their PC bretheren.
RS6k users often require standard RS232 ports (for terminals and measuring instruments). Again, Apple Macs don't have serial ports.
RS6k users demand rock-solid reliability. Currently supervising the deployment of 26 Quicksilver G4 Macs, I note that five were DOA. One required a subsequent logic board replacement a week later.
Our last G4 Mac deployment (25 400Mhz blue/white) resulted in four DOA, all with logic board failures.
Sorry, the much-exalted reliability of Apple Macintosh is really a myth - they're really no better than a typical x86 PC and certainly not anywhere near that of RS6k. The price should be a sure indicator :-P
PA
Re:No it doesn't. (Score:2)
Back in my grad school days, one of my coworkers found a serious bug in our new RS6Ks. IBM had a *team* of engineers working on fixing that bug as soon as they verified it wasn't headspace+timing on our part. (We actually didn't have a 5 9's requirement for uptime or anything, but the bug could have affected people who did.)
Apple isn't set up to do support at that level- they sell to general consumers, not folks for whom 10 minutes of downtime is a deal-killer.
Re:No it doesn't. (Score:2)
You have not expercied technical support until you call up a vendor with a problem, and that same day someone is on site, and fixing the problem.
and its not lets try this, ok lets try this, BS its, that part seems to be failing? replace it now, NQA.
Not all R/S6k's use PPC (Score:1)
Huh? (Score:3, Informative)
BTW, GCC and binutils already support the AltiVec, including the C extensions.
Overlooked Arena (Score:2, Interesting)
Isn't this just rolling back Apple changes? (Score:4, Insightful)
Isn't this just some marketing hype for RedHat (nee cygnus) just taking the patches already incorporated into Apple's GCC, and putting them into their commercial GCC release?
I don't know how GCC compares to Metrowerks' Compiler, or what Apple is using for different parts of their code (I dunno if MW does OBJ-C, so Apple would likely use GCC at least for that).
I suppose it wouldn't be too hard to look at the binaries and see what they're using.
-SteveK
Re:Isn't this just rolling back Apple changes? (Score:5, Insightful)
Uh, no. Not by a long shot.
First, the changes that Apple made to their own version of GCC were not well thought out. Those patches can't simply be applied to the real GCC.
Second, I don't know what "commercial GCC release" you're talking about. The AltiVec patches have been going into the publiv version of GCC for weeks now. Check their mailing list archives for all the gory details.
Probably won't help mac fans. (Score:5, Insightful)
Re:Probably won't help mac fans. (Score:2, Informative)
Re:Probably won't help mac fans. (Score:2, Informative)
Note that the post indicated that they are adding cross-compiler support to their GnuPro tool chain. The main target of this tool is embedded people (which is why you would want a cross compiler).
Regarding the comments about Apple extensions to GCC regarding Altivec, it is likely that what Cygnus/Red Hat is doing is folding in those very changes.
All of you web surfer, word processor, gimp'in, rippin' and burnin' (i.e. desktop apps) types out there need to remember that the PowerPC is heavily used in the embedded industry.
The reason it is used so much is the very reason why Apple could make the cute Cube. They run very low wattage (and, thus, heat) for their relative power. There are many application areas where a chip that must have 35+ dBA cooling just to keep from frying itself is just not acceptable.
One should note that the power and heat characteristics of the x86 line are so poor that Intel doesn't really attempt to compete using them in the embedded market. For this, they eviscerated DEC in order to kill the Alpha and gain the StrongArm as their embedded offering.
One person mentioned that compilers have difficulty automatically extracting parallelism. They are correct. However, the embedded arena is one of those areas where people will regularly hand-optimize critical sections of code in order to meet performance or economic goals.
Desktop users must remember that embedded processors outweigh workstation processors by many orders of magnitude. This is big business, and the code involved is very interesting. However, your brand new car is not as obvious of a computing platform as your brand new laptop.
Okay, I've expelled enough air for now. Later...
Re:Probably won't help mac fans. (Score:2)
Good way to make inroads. (Score:2, Informative)
If Red Hat can build a version of Linux specifically designed to run on a G4-powered AltiVec machine, and do at least as good a job of it as Apple has done with OS X, Adobe may well port Photoshop to that version of Linux. And if the users can get their Photoshop needs fulfilled, they may not necessarily care what OS they are running, and (let's presume that they are at work), if they can get Photoshop to run faster with this newfangled thing called "Red Hat," they may just give it a shot. This will lead to people learning Linux and possibly use it at home.
And, if Adobe does port Photoshop to AltiVec Red Hat, that is just a couple of steps away from porting it to Linux in general, which would of course be a bonus to the community as a whole. The Gimp may be acceptable, it may even be good, but it is no Photoshop.
Of course, this is only one example, and many other good things may well come of this.
Re:Good way to make inroads. (Score:5, Funny)
Re:Good way to make inroads. (Score:2)
So simply a faster photoshop machine will not take any share from Apple. It would take the combination of all the apps to present a threat to their mainstay audience. Wintel hasn't been able to do that, even with the much cheaper hardware, since the costs of the software made the hardware price difference much less discernable...
So no matter how good a job GNOME and KDE projects do, until the whole smattering of apps is available, there's little use in any of them being available. But the mainstays won't come to GNOME and KDE until they have decent color management. Which, unfortuately, means licensing patents, which goes against the gain of free software.
And yes, photoshop users do care what their machine is doing underneath it all... they know their macs inside and out, most of them, and can troubleshoot their own problems when something goes awry... another reason the mac has maintained so far... Why learn another OS, like windows or linux when the users have so much vested experience in Mac OS ___... though there is the problem that they're going to have to relearn OS X. But if they're going to make a jump away from the Mac OS as it's presented to them, it's not going to be a baby leap to Linux PPC, or Linux x86, it'll be to Windows, what the other 95% of the world is using...
Srrry... i think you just got far ahead of yourself in the symbolism of a new compiler!
RedHat not a PPC distro (Score:1)
This article is not saying anything about a RH distro on PPC, but merely "will produce a GNUPro Linux toolchain and cross compiler for Motorola's AltiVec-enabled PowerPC processors".
While this could produce better PPC distros, it is not an announcement of an impending RedHat for Macintosh. It wouldn't surprise me if they're targeting RS/6000 boxes or embedded markets with this.
It will stay untapped. (Score:5, Interesting)
Compilers can typically do a pretty good job on sequential machines, but there is still a long way to go for getting good parallel code. Hand coding things is still the way to go for maximum performance.
That being said, the compiler can probably use it some, and having a resource available is typically better than not having the resource at all.
Already Being Tapped (Score:2, Informative)
I dunno, check out the Altivec Forum and the Scitech List, people writing in C seeing large performance improvements.
From what I understand, the RC-5 and SETI apps are C with pre-compiler directives. The RC-5 G4 client blows throws keys 16 times faster than a same-speed P4.
Re:It will stay untapped. (Score:4, Interesting)
The plain fact of the matter is that SIMD is MUCH, MUCH easier than doing distributed parallelization. It took Cray about 20 years to really get it right, so given how new the Altivec is, let's give Apple and company a few years to see how much they can accomplish.
Bob
Re:It will stay untapped. (Score:3, Interesting)
Right, DLP (Data Level Parallelism) instructions. Exploiting parallelism in the data rather than the instructions. The G4 actually has a really nice set of DLP instructions, and some of the "Single Instructions" (from what I understand) actually allow you to do different operations on different parts of data -- wich is nice.
The G4 also has ILP features -- it's a superscalar architecture can issue several instructions in a given cycle.
But the ILP features are done automatically in hardware, and hardware doesn't have the "big picture" that the compiler (or person writing assembly code) has. Architectures that define parallelism explicitly (like VLIW (EPIC) architectures) tell the hardware what can go in parallel and what can't. Unfortunately, the compilers for VLIW architectures have a hard enough time doing good ILP code; DLP code is even harder.
For instance, you have c code:
Say that these are in packed words in the register file. Perhaps the compiler can write "add2 r0,r1,r2" and do both of the adds at the same time. It should be even easier to not keep track of packed words and say "add r0,r1,r2 & add r3,r4,r5", where add instructions are explicitly defined as running at the same time. And compilers can usually do this OK. It's very hard for compilers to software pipeline loops and such, which is what provides the biggest benefit.But GNU C isn't designed to be a vector compiler, it's designed for single-issue, non-DLP (SIMD == DLP) architectures. Sure, giving it vector and DLP or ILP resources might let it use the things once in a while, but for the most part it will go unused.
Don't expect huge speedups everywhere without hand-tuned libraries.
Race to the Bottom... (Score:1)
So RedHat gives 64-bit Alpha (one of the best if not one of the most affordable 64-bit platforms) and UltraSPARC tacit lukewarm support and then announces a toolkit for 32-bit PPC (and specifically AltiVec G4 Apple Macintoshes)?
It certainly is a race to the bottom.
PA
Good for Motorola - somewhat for Apple (Score:1, Interesting)
Redhat on PPC?? (Score:1)
Some have said they would love to see a RH distro. Seems more linux distros for PPC are RH derivitives (Linuxppc, Yellow Dog, Mandrake, etc.) but there are alternatives too (Suse, Debian, etc.) and of course the BSDs. :)
This has been talked about on the mailing list. (Score:2, Informative)
You can find out more about Altivec here [altivec.org]. Support by Redhat has been talked about before on the mailing list, with some RH developers jumping in at points.
Altivec does short parallel vector crunching by adding some 128bit registers for you to play with and SIMD operations to crunch a bunch of numbers in them. Where I work we use Altivec to optimize matrix operations and it does its job well. Neat stuff, even though I'm not an assembly man myself.
Altivec Aware vs. Auto-vectorizing (Score:2)
Now, as far as the untapped power of Altivec, here's the slightly off-topic problem.
To write Altivec code, you need a toolchain of compilers and linkers that understand Altivec. Those compilers won't change your code to use Altivec, but will permit you to do so. This is not a trivial matter to say the list, mostly because the Altivec ABI is difficult to maintain in a compiler because, for instance, it defines vector types.
The only thing that will truly tap the power of Altivec is auto-vectorization, eg. you write slow, unoptimized code with no knowledge of Altivec, and the compiler does it for you. This, as compiler writers know, is the holy grail of vector compilers. Apple implemented some auto-vectorization in its gcc, which required calls across the front-end/back-end boundary, which obviously can't be accepted outright into the FSF tree, hence the lack of good Altivec support in gcc for Linux.
The real issue is that even if you can write good code to make gcc autovectorize for this specific rev of Altivec, its an even less pleasant task to abstract that away so that you can have some starting place for autovectorizing on other platforms (MMX and whatever its called today, 3DNow!, etc.) or the next generation of Altivec.
If Redhat puts even a little development effort into that effort, the benefit to the open software community as a whole would be amazing.
PowerPC != Apple !!!! (Score:2, Informative)
The G3/G4, Power4 etc. belong to the PowerPC (PPC) family of CPUs. Of course, we all know this.
However, few participating in the discussion seem to acknowledge, that there is more systems running PPC than Apple's Macs.
PPC is important in the embedded market. It has a high performance, stays relatively cool There are 'computers on a card' (a PCI card with a G3/G4 on it plus memory). They communicate over TCP/IP (or proprietary protocols) over the PCI bus with the host system. Nice if you want to have a mini cluster, a physical firewall, or whatever...
Then we have several (Micro)ATX mobos, some even for dual G4 (SMP). They get used mostly in the industry, however, this year will see two new home/office-desktop G3/G4 systems that have nothing in common with Apple. See here:
So it is obvious that RedHat, being focussed more on industry/server markets than on hte Desktop (that is their current goal as far as I am informed) has some interest in supporting PPC development. Altivec is a very good instruction set and having optimizations for it will be a great benefit. Altivec is not only for MultiMedia, btw. !
Theoretically, all these systems could run LinuxPPC !
Personally I am happy to see some major resource supporting the PowerPC since I would prefer a PPC machine far more than the archaical, outlived, patched & hacked i86 platform (can you use all your PCI slots without clashes...? I can't and my MoBo is from April last year...) Also the PPCs keep quite cool, meaning one could live without an active fan, unlike the Athlon hair-driers...;-)
For the enhusiasts: There are at least two other desktop (!) OS in the works, which are PPC native and come with SMP support: MorphOS (in the works since three years or more) [morphos.de] and AmigaOS4.x
Darwin. (Score:2)
Re:More likely LinuxPPC, Yellow Dog, Mandrake... (Score:2)
No legal action (Score:2)
F-bacher
Re:No legal action (Score:1)
Re:Legal actions that could suck (Score:1)
It is under the SSSCA (Score:2)
Will be true by next year sadly.
Re:How much different are they? (Score:1)
Except that Apple does not have a monopoly on personal computers. (don't get me wrong, I'd like to see the OS unbundled too, but I don't think they are doing anything "wrong" by not doing so.)
Re:How much different are they? (Score:2)
Trying to go after Apple in this manner would be like trying to go after Toyota because you can't buy a Celica with a Honda Accord drivetrain.
What Micros~1 was doing was forcing third-party hardware manufacturers into anti-competitive licensing contracts. That scenario does not exist on the Mac side.
Re:How much different are they? (Score:2)
Besides, you are uncritically assuming that Be is telling the truth. IMO, the collapse of the clone market left Be feeling as though their prospects on the PPC platform had significantly diminished; the jazz about "no hardware documentation" was about as convenient an excuse as any for them to abandon their largest installed base of users at the time.
However, Be's argument neglects the fact that LinuxPPC and YellowDog Linux have survived just fine since the disappearance of Mac clones, and as open source initiatives, would have provided Be with source code that they could have adapted.
Besides, it allowed them to pour all of their development resources into the x86 platform, which controls 95% of the market. Why fight Apple for the scraps of their 5% market share? Jean Louis-Gasse saw Be as a direct compeititor to Apple, going after the design and multimedia markets, but it took the death of the Mac clones to wake him up to the fact that there was far more gravy to be had on x86 than PPC.
Re:How much different are they? (Score:2)
Rumored 10% speed improvement from better GCC (Score:2)
Anyone know where this link is or more about this?
W
Re:Not worth it (Score:2)
It really depends on what kind of optimization this is. In theory having a compiler that produces optimised code is good no matter what, especially in the case of Altivec, because it is assumed that faster processors will also have the Altivec instruction set. It's a win win situation: optimise for Altivec
Definitely worth it I think!
-adnans
Re:expensive stuff (Score:2)
For example, instead of being forced to buy features you're not interested in or won't use you can merely get a small simple machine packed to the gills with RAM and disk that would dramatically undercut an iMac (nevermind a real mac).
...and if you're worried about the case design, you've gone way beyond the "consumer" end user in terms of complexity.
Anything beyond keeping the system together, shielding other electronics and proper cooling is simply of no value to most consumers.