Slashdot Mirror


Jason Haas on LinuxPPC -- and Drunk Drivers

We got a bunch of cool questions Monday for LinuxPPC dude (and recent near-death drunk driver accident victim) Jason Haas. Here, today, are his responses.

Math intensive server stuff
(Score:4, Interesting)
by drenehtsral

I'm working on (or more accurately about to start) a very math intensive client server system, where the server has to do a metric ass-load of calculations mostly on 64-bit signed integers on behalf of client machines. The data are all going to be in ram, and multi-cpu support is a good thing.

Would you recommend a PPC machine over a x86 machine for a task like this? I guess this is mainly a chipset/etc... question, but i have been unable to find that sort of information elsewhere, and i figure who better to ask, 'cause you probably have a decent gut-feeling for how the architecture works in practice on real-world data =:-)

Jason:

Wow, nothing like a nice, simple question to start your day. ;-D

If you're going to be working with 64-bit numbers, I would try to do a real-world test. That is, get Athlon, Alpha, Pentium 4, and PowerPC 7400 (G4) machines, and try some tests to see how quickly each of them handle integers that big. I know the PowerPC 7400 (G4) has an awesome vector calculation module (128-bit vector registers can be fun), but that's not the same thing as integers. The 7400 doesn't have any specialized integer units, whereas the Athlon and P4 do. (I'm pretty sure of this, but you should definitely do your homework before making any decisions based on this information.) It might be great for decompressing video, but for hard-core (sounding) tasks like handling 64-bit signed integers, I'd definitely test everything possible. Definitely try the Alpha and MIPS, too. Alpha's sort of known for handling these sorts of things.

I'd also ask on the linuxppc-devel mailing list. People that probably can help you are on that list. (http://lists.linuxppc.org/)

Re:Math intensive server stuff
(Score:5, Interesting)
by Smitty825

One other important thing to ask is the state of the GCC complier for the PowerPC Platform. IIRC, it isn't as efficient as the ones available for the x86 and Alpha platforms. How much would LinuxPPC benefit from an optimized compiler and what sort of performance could be expected from LinuxPPC compared to Linux86/Alpha/others?

Jason:

Franz Sirl, a Linux/PowerPC developer, has done a lot of work on optimizing GCC for PPC. Look at PPC vs. x86 benchmarks. Theoretically, PowerPC kicks x86's butt, but if things aren't optimized for it (as often happens in this x86 world), it may not seem like such a hot processor. With more optimization, performance should continue to improve. Again, I'd ask about this on the linuxppc-devel list.

Platform Issues
(Score:5, Interesting)
by IanCarlson

Is LinuxPPC a viable alternative to x86 Linux? Can I run my department on a LinuxPPC-based server with the same peace-of-mind that I get on an i386-based box running Linux? Will I still enjoy the almost surrealistic uptimes I get with my current Linux server? Does the LinuxPPC code still suffer from chronic flakey-ness?

I'm currently looking into obtaining a PowerPC box to test out the current state of Linux on the PPC platform.Hopefully your answers will point me down the path of RISC utopia.

Jason:

That's a good place to be. Of course it's an alternative. For some of us, it's reality. ;-) You can run on a PPC box as well as an x86 box. I know of many places that are using PPC boxes for everything from basic stuff like web servers to netatalk servers to controlling puppets. (Jim Henson's Creature Shop!) There are a lot of real world examples of Linux/PowerPC in action. We have a few in our office. Most of our servers have the same legendary uptimes that Linux is known for. Servers outside our office have them. Other people's servers have them. It's everywhere. ;-)

The PowerPC 604 is an incredibly stable processor for Linux use, and the 750 (Apple's G3) is very solid. The 7500 (G4) is getting there fast.

I'm not sure what you mean by "chronic [code] flakey-ness". Code not optimized for PPC? Yes, though not as much now. Unstable code? Yes, but that seems universal. A lot of times, it can be traced to simple things like bad RAM. Try replacing the RAM if your machine is acting quirky. It could make a big difference! (He says to an audience in which 512 MB of RAM may not be uncommon....)

ATX motherboard availability?
(Score:4, Interesting)
by glrotate

I think one thing that would foster Linux PPC adoption, and PPC in general would be a relatively cheap PPC motherboard. I remember IBM released their reference design some tine ago and there was some noise from 3rd parties about product anouncements, but nothing materialized. Does anyone know when we might see something?

Jason:

Oh, that would rock if those came into reality. I do know about it but I can't comment about it beyond saying that I hope it actually happens.

What I can say: it needs to happen.

merge with RedHat?
(Score:5, Interesting)
by A moron

I've tried LinuxPPC several times over the years and have actually been disappointed. It just hasn't seemed polished and LinuxPPC, the company, has had some serious customer service problems.

Have you ever thought about or actually talked to RedHat as making LinuxPPC the RedHat Distro for PPC?

Jason:

Yes, and I can't comment about that. In September of 2000, we committed to customer service, as things really were bad. But then, a major hunk of the company was unable to think straight, or remember what he was just about to say. (That "hunk of the company" == me!) The good news is that customer service is still a major priority, and I'm well enough that I can see to it that it stays that way, and make sure that people are helped.

Your Perception Before and After the Accident
(Score:5, Interesting)
by TheNecromancer

Jason,

First of all, I'd like to commend you and your wife for your courage and determination through your ordeal! I also hope they throw the book at the jerk who caused the accident!

My question is this: Do you find that your perception of the world and what your interests, passions and abilities are, different than before your accident? Has the accident changed your interests towards the computing industry?

Jason:

First off, thank you. :-) I've been through hell, many times. People don't know what it's like to have a traumatic brain injury, or permanently lose vision in an eye. It's not fun. ;-)

Say, Cassie (my wife) is a major hero here. Thanks to everyone who wrote in and expressed support for her. Do it some more, she'd appreciate it. ;-D

They will be throwing the book at "Jerk Boy" (my name for the ...drunk.... who hit me). He faces three felony charges, including driving under the influence and driving with intent to cause harm. Considering that he had a 0.25 BAC (blood-alchohol content), I don't know how they could defend against it.

Yes, my injuries changed a lot of things, including how I see the computing industry. Part of me realizes how big a help it's been (and at the same time a bloody pain the ass!), and part of me wants to get out of it. To me, living well (being content with your situation, loved ones, etc.) is much more important than having the latest box, biggest monitor, or best domain name is. (It was that way before, too, but now it's even more so.)

Linux and Accessibility
(Score:5, Interesting)
by FourG

During your recovery period, did you find the need to use any accessibility tools to accomplish tasks? If so, what were your impressions? Does Linux have the tools people with alternative interface needs (like text-to-speech) need to access their information?

Jason:

I didn't have any experience with that stuff, unfortunately. I think the State of Georgia's health department may have been able to help me with a bit of that, but I'm sure it all would have been for Windows or the Mac OS. (And useless to me.)

A moment of victory for me was about four months after I got hit; I was back at home, and still was able to use vi. I'm not sure what that says about the effects of a brain injury. ;-D

Altivec and MP G4's?
(Score:4, Interesting)
by esome

ok, newbie questions but:

1)How much can a PPC linux distro can benefit from Altivec optimization?

2)Does LinuxPPC enjoy the same degree of improved performance from additional processors that OS-X does?

Jason:

AltiVec: Apps that use features that AltiVec can help will benefit. The OS itself probably won't get much benefit. AltiVec was designed to help things like video and audio, things that people in Apple's markets are interested in. Linux doesn't have much software that can benefit from that. I don't know how much an AltiVec-friendly kernel or version of Apache would improve things, if at all. As Linux gets more "desktop" and "multimedia" software, AltiVec support will probably become a more interesting topic for Linux.

Oh, you could probably jigger Enlightenment to use AltiVec.. oh my...

SMP support is still improving. Until recently, there wasn't much in the way of SMP hardware out there. Before Apple introduced the multiprocessor G4s, there simply wan't that much at all. There were a number of MP PPC 604 machines, but they're no longer in production, unless you find an obscure Motorola box.

With Apple (the major PPC player) making MP boxes, MP support will improve. With Apple making boxes that have AltiVec, support for that'll improve too. Assuming that they keep using AltiVec.

Why should my next purchase be a PowerPC?
(Score:5, Interesting)
by rjh

Intel hardware is a commodity; it's cheap, there are lots of peripherals for it, you can buy individual components and build your own box easily, and prices are very low.

AFAIK (which isn't far), PowerPC hardware is mostly proprietary, controlled by Apple, is more expensive, has less variety in peripherals, and you're more or less stuck buying a Macintosh just to get your PC. Not just that, but many components of many PowerPC-based computers have marginal to no support under Linux (USB is marginal, Firewire is nonexistent right now, etc).

Given all this, where is the major win in the PowerPC? Why ought my next purchase for a PC be a PowerPC running LinuxPPC/Yellow Dog/MkLinux?

I'm not trolling here; I'm just uneducated. :) Educate me.

Jason:

Very good question! You're right: unless you get an oddity of a system, you're buying a Mac to get a PPC box. The TiVo is a Linux/PPC box, but I don't think that it can run Apache. ;-) (then again, Paul Mackerras and company have added an Ethernet card... anyway...)

For what it's worth, USB on Linux is coming a long way (printers now work, for example), and FireWire's getting there.

The advantage of PPC over x86 is/was that at a lower clock speed, you got higher performance. But 1 GHz PCs are coming out left and right, and Apple's fastest is 500 MHz. For some things, they will be the same speed. But you can get a Celery (er, Celeron) box super-cheap, with a lot more stuff that you get with an iMac. It's becoming quite difficult to have a viable alternative when you can't get a super-cheap box.

PPCs are smaller, faster, and cooler (literally and figuratively) than x86 chips. The PPC 7400 doesn't need a CPU cooling fan. Get a Mac (I'd name some other cheap PPC boxes, but there aren't any!) and you'll get a super-cool case and the cool-looking one-button optical mouse.

Where's the real advantage, though? Again, good question. As the computer world changes, and no third party desktop PPC boxes appear, it's getter harder to answer. I think the real problem here is that there are no real third-party alternatives for PPC hardware. And that needs to change. Should IBM's POP board see the light of day, ask me again, and I'll have a different answer for ya. As I said above, it needs to happen.

=---

10 of 150 comments (clear)

  1. Why to buy a Mac by proxima · · Score: 5

    Why should my next purchase be a PowerPC? by rjh Intel hardware is a commodity; it's cheap, there are lots of peripherals for it, you can buy individual components and build your own box easily, and prices are very low....Given all this, where is the major win in the PowerPC? Why ought my next purchase for a PC be a PowerPC running LinuxPPC/Yellow Dog/MkLinux?

    Jason: Very good question!...PPCs are smaller, faster, and cooler (literally and figuratively) than x86 chips. The PPC 7400 doesn't need a CPU cooling fan. Get a Mac (I'd name some other cheap PPC boxes, but there aren't any!) and you'll get a super-cool case and the cool-looking one-button optical mouse. Where's the real advantage, though? Again, good question.

    Though I've had limited experience with it, I like the RISC architecture because of it's tendancy to run cooler and that it's just a more efficient processor. I'd hardly say that a cool case and mouse consititute a valid reason to switch processor types :-). However, I just don't see how (at this time) the benefits outweigh the costs of a PPC based system (or Alpha, or MIPS, except for servers). x86 processors are the cheapest and best supported (in terms of motherboards, etc). In addition, the peripherals of a Mac aren't nearly as abundant as those of your common PC.

    I can't see myself or anyone else justifying a purchase of a ~$3000US G4 cube with 2 500 Mhz processors compared with the ultra cheap Athlons and P3's (and 4's) now available. When Athlon motherboards support multi-processors (last I heard the chipsets were in the works, out very soon), the ability to have two, say, 800 Mhz Athlon processors just blows away the processor costs of MIPS, Alpha, and PPC, because each of those 800 Mhz Athlon processors are only a little over $100!.

    What would be more interesting is to find accurate answers to the first person (Math intensive server stuff by drenehtsral) as to how the PPC does raw calculations compared to x86s of similar price, and not Mhz. There might be an advantage there.

    In short, it's too bad Apple killed the clones, or we'd have cheaper PPCs to play with.

    --
    "The universe seems neither benign nor hostile, merely indifferent." --Carl Sagan
  2. uhh.. MacOS X? by iso · · Score: 4

    ok, let me get this straight: an interview with one of the leading developers of LinuxPPC and not one question that pertained to MacOS X!? did no MacOS X question get asked, or did he just ignore them?

    i'd like to know, because i've tried both, and after getting used to MacOS X, i really can't see any reason to run LinuxPPC as a desktop machine. (i may pick up an old mac to run as my firewall, however. my old PC just blew up, literally; smoke and all).

    but servers aside, can anybody give me any one good reason why i should use LinuxPPC over MacOS X? because i can't think of one. on my machine (B&W G3) MacOS X has been more stable, it runs my old Mac programs, it's up-to-date and compatible with all Macs, excellent SMP (i'll get a dual processor box next), and to top it all off it's got a more consistant and cleaner interface (no linux GUI i've tried has come close, and i've learned Aqua is very "tweakable").

    so apart from my little firewall (that would really best be searved with FreeBSD on an x86 box), remind me again why i would have any good reason to run LinuxPPC? and "because it's GPL" doesn't count as a good reason for me, especially after Apple has "refined" the APSL.

    - j

  3. Some kernel things that AltiVec may be useful for. by Strider- · · Score: 4

    Based on my understanding of the AltiVec unit, I think there are a few kernel level options that AltiVec may be useful for.

    The most obvious is optimizations to the firewalling and routing code within the kernel. The AltiVec unit has a "permute" function that allows you to generate a 128 bit vector by picking and choosing words from two other 128 bit vectors. Aparently, Motorola has built a software router around a 7400 capable of doing software routing on multiple T3s. In this situation, the AltiVec unit simply becomes a glorified switching fabric.

    The second optimization that I can see would be in kernel level encryption, for doing things like IPSec and/or encrypted filesystems. If I remember correctly, this use was sugested in one of the documents available on Motorola's web site.

    Esentially, if you stop thinking of the AltiVec unit as a media processor, and think it more of a parallel processing unit, you can use it for a lot of different tasks.

    --
    ...si hoc legere nimium eruditionis habes...
  4. He's a damn hero... by Brazilian+Geek · · Score: 5

    And I say that at the risk of being redundant - not only did he survive a few months without even looking a linux terminal, only Windows and Mac OS but he still remembered how to work vi! Weaker men would have buckled under similar circumstances and used notepad (or Mac OS' equivalent)!

    But seriously, you gotta admire someone like Jason, not only did he pull through but he managed to keep his spirits up during the whole time and laugh (at least in ASCII) about it.

    --
    All browsers' default homepage should read: Don't Panic...

    --
    All browsers' default homepage should read: Don't Panic...
  5. Defending... by TDScott · · Score: 4

    Considering that he had a 0.25 BAC (blood-alchohol content), I don't know how they could defend against it.

    Simple. Draft in the presidential-race lawyers.

    [No offence meant to Mr. Haas with this... obviously, I wish him all the best, and that Jerk Boy goes down for a good few years.]

  6. There's no difference btw real life and IT by Delirium+Tremens · · Score: 5

    Bad drivers are always responsible for the worst crashes.

  7. Build your own PPC by naken · · Score: 4

    Motorola used to sell PPC motherboards.. With PCI and AGP and everything. Take a look: http://www.mcg.mot.com/cfm/templates/product.cfm?P ageID=875&ProductID=39&PageTypeID=1

    I'm not sure if this is what I found before, but it's worth a look...

  8. LinuxPPC v Yellow Dog by cswiii · · Score: 4

    Has anyone here compared the performance and/or functionality of these two distros? I just installed Yellow Dog 1.2.1 on a G3 laptop the other day, and was sorely disappointed... especially considering that it's based on the "Easy-to-Use" Redhat. A few issues I had w/ YDL:

    * Would lock or power-down on me if I booted straight "linux"; could only sucessfully do things booting to "linux-novideo". This may be a somewhat known issue, but it keeps me from using > 256 colours.

    * Gnome was crap on my machine. The task bar (gnome-session?) cored every time I tried to load up X. the mouse cursor would "float" as it approached max/min/etc buttons on the window.

    * KDE was better, but only somewhat. If screen blanked, palette never shifted back to normal colours.

    * Since there doesn't appear to be any real "text" mode, minicom had everything shoved into an 80x25 corner of my display, leaving 2 inches of blank black space to the bottom and right.

    * Could not alt-Fx between terminals. Could alt-F7 to the blank one reserved for X -- but could not get back to any other terminals.

    * Other little, nagging issues.

    I haven't been able to easily find information on most of these issues, either. I guess what I'm trying to say is, when Jason tells us "You can run on a PPC box as well as an x86 box", I just certainly hope this is true, and that my YDL experiences won't be repeated with in Yet Another Linux Distro. Based on what I've seen, it didn't perform or function "as well as an x86 box", and it certainly won't be easy for joe user to find ways to fix these issues.

    I'm an ardent linux user. I use it almost exclusively. However, unless LinuxPPC is any better, I'm gonna to take a look at OSX or *BSD.

  9. Why should my next purchase be a PowerPC? by Bongo · · Score: 5

    Indeed, even Mac 'enthusiasts' are hard pressed to find good technical reasons for buying PowerPC. Had Moto been at 900MHz by now, then, well, maybe.

    But people don't necessairally start asking "What chip?". They average masses just ask "Which PC?". But they could also start asking "Which OS?" -- and this reveals one of the great potential* benefits of Linux -- that you can choose Linux first, and worry about your hardware second (as opposed to, say, the Mac, where choosing Mac OS X 'limits' you to Apple HW). And this is highly exciting for the IT industry, not to mention 'World Domination'...

    For while Windows went 'everywhere' horizonatally (across all** desktops), Linux is busy going everywhere vertically (to most scales, CPUs etc.). -- So while MS has been successful keeping horizontal competition out, they are about to get vertically out-flanked.

    When Linux is running on the company server, and on your PDA, the only bottleneck will be that 'troublesome' desktop running 'incompatible' Windows ;-)

    Note the problem won't be what chip is in your desktop. It won't be the styling of the plastics. It'll simply be a matter of installing the right OS. And most of the time, that'll be Linux.

    Is there a "Fanaticism FAQ" ?

    * Potential for the masses, but real and current for those who know...
    ** In so far as 90% == 100%.

  10. hardware compatibility by wmulvihillDxR · · Score: 4

    I would like to say that one of the major reasons that PPC hardware is still around is BECAUSE Apple is the only one selling it. It just makes sense that if only one company is selling your type of motherboard, hardware compatibility issues are more easily solved. It either works in Apple's motherboard or it doesn't. It's not, it works in Asus's Slot 1 motherboard, but not in Abit's. If you get a G3, yours is the same as everyone else's. If some sound card or video card doesn't work for you but it worked for everyone else, you get to send that G3 back to apple to get one that works right. Or even learn from the experiences of others with the same hardware. A lot of people don't want to take the trouble of updating this driver for this motherboard, flashing the BIOS, etc.

    Having said all of this, I still do prefer x86 chips for Linux. The Yellow Dog install was a (pardon the pun) bitch. Something just doesn't sit right with me when you have to have a small MAC partition to install Linux.

    --
    Check out Althea for a stable IMAP email client for X. Now with SSL!