From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,379448a54fafa5c9 X-Google-Attributes: gidf7344,public X-Google-Thread: 110292,379448a54fafa5c9 X-Google-Attributes: gid110292,public X-Google-Thread: 1164f8,379448a54fafa5c9 X-Google-Attributes: gid1164f8,public From: "Eric D. Osborne" Subject: Re: Per SKD Expections, Current Unpleasantness Resolved Date: 1997/11/05 Message-ID: <34613870.46D2@mail.dec.com>#1/1 X-Deja-AN: 287353302 References: <3454A4A5.5BAF@world.std.com> <345832E8.3C78@Mail.dec.com> <63b1lj$o3v@tooting.netapp.com> <345A7FD5.56FF@mail.dec.com> <63lqlc$msi@tooting.netapp.com> Reply-To: osborneer@mail.dec.com Organization: Digital Equipment Corporation Newsgroups: comp.sys.dec,comp.os.vms,comp.sys.intel Guy Harris wrote: > > Eric D. Osborne wrote: > >That doesn't change my point. All shipping versions of HP/UX are 32 bit > >environments. > > But, if the 64-bit version of HP-UX has been out for a while by the time > the IA-64 version comes out, there's no 32->64-bit jump when going to > IA-64 unless IA-64 HP-UX offers *only* an LP64 environment and no ILP32 > environment. If there's no 32->64-bit jump when going to IA-64, that > ceases to be a problem with HP's transition to IA-64. > > Furthermore, the 32->64-bit transition for PA-RISC probably won't be as > severe, given that you can build ILP32 programs even for PA-RISC 2.0 > programs running HP-UX 11.x. > > The key here is the availability of an ILP32 environment; if you have > that, you only have to port code that actually *needs* 64-bit pointers. > Digital didn't, as far as I know, offer an ILP32 environment for Digital > UNIX, unless "-taso" causes "long" to be 32 bits. > > I have no reason to believe that HP won't have an ILP32 environment for > PA-RISC 2.0 machines running HP-UX 11.x. (They would be utterly stupid > not to.) I could easily believe they will offer one for IA-64 machines > running HP-UX as well. AHA!!! A topic that has a more technical than marketing slant ! Two quick points. One, regardless of what HP does, the key apps (database servers, scientific, whatever) that DO need 64 bits will require much painful porting to stabilize on PA RISC. Second, the mixed 32/64 bit thing is quite a bit trickier to do right than you might think, and definitely has performance implications. For instance, what about file I/O? In a pure 32 bit subsystem, you can't take advantage of larger file sizes, whether you need larger pointers or not. Do you provide a pair of system call interfaces to the kernel, one of which uses 32 bit file offsets, or sizes of objects for memory allocation, or whatever? Do you provide a single system call handler, then put wrappers around the 32 bit calls to zero out the high bits? In the first scenario, you end up with a bloated and perhaps inefficient kernel, and in the second you end up with a layer of extra overhead on every system call. Neither is particularly appealing. I wasn't part of the Digital engineering group that made the call to do a pure 64 bit environment, and I many times cursed the pain it caused me as a field guy trying to deal with applications availability in the early days, but overall it was the right decision. The alternative is a kludge that will inevitably be a maintenence nightmare for both application vendors and for the people maintaining the OS. As a case in point, it will almost certainly require people like Progress or Oracle to maintain dual versions of their products. Why? Because of datafile compatibility. Once you get data with binary data objects, whether longs or pointers, imbedded, you have to either do a clean conversion of 32-64 bits or have BOTH a 32 and 64 bit version of the code. If you ever allow customers to build up a set of data files using a 32 bit environment on a 64 bit machine, you'll probably have to support that for a very, very long time. Lots of bucks. I wouldn't be so quick to believe that there will be indefinite backwards binary compatibility, even on PA-RISC. There are significant technical hurdles to providing that. And back to the market view for a moment (arguably not my forte, but what the heck) - If you were a non-customer of both HP and Digital right now, who is a safer bet? You WILL have to do the HP/UX 11 migration, albeit on PA RISC. Then the PA RISC to IA64 thing. Thus my original point. The fact that 64 bit HP/UX might be relatively stable when Merced releases STILL won't prevent HP's current customers, or those they acquire over the next couple of years, from undergoing such pain. And by the way, for the last couple of years I was managing a large HP/UX shop. The jump from 9.07 to 10.x was NOT painless. The jump to 11 will be much, much worse. Speaking as a guy who has written and ported a boatload of code (including device drivers and networking junk), and managed very large HP and SUN shops. As always, the opinions are mine, and should not be construed as an an official statement by Digital Equipment Corporation. Eric D. Osborne osborneer@mail.dec.com