Slashdot Mirror


Don't Nurse Old Hardware - Emulate It

gManZboy writes "Bob Supnik, former team lead for DEC's VAX microprossesor, has an article up on Queue about his Computer History Simulation Project and how emulating old servers may be a better way to keep them running that servicing the physical machines. So how many PDP-11's can you run on a Pentium 4 anyhow?"

95 of 403 comments (clear)

  1. Not a bad idea by mirko · · Score: 5, Interesting

    I was even considering emulating existing hardware on beowulf clusters, I know it sounds like a troll or deja-vu joke but I mean it : if I have 1000 machines emulated on a beowulf of 1000 machines, then it'll be harder to get downtime if one machine physically crash.

    --
    Trolling using another account since 2005.
    1. Re:Not a bad idea by rf0 · · Score: 4, Interesting

      Or for testing you can run a Cluster on a single CPU...
      http://openssi.org/ssiuml-howto

      Rus

    2. Re:Not a bad idea by photon317 · · Score: 2, Interesting


      Yeah they have that already for x86 on x86, VMWare's high-end enterprise product allows you to run VMWare on several machines and transparently move system images between physical hosts without taking any (perceivable) downtime. So hardware maintenance can be done without interrupting your "servers". Of course if the hardware crashes, any system images running on that particular hardware go down hard, but they can fail over to another peice of hardware and come up and fsck (or the equivalent in your OS of choice) themselves and go online immediately on one of the remaining hardwares.

      --
      11*43+456^2
    3. Re:Not a bad idea by zeugma-amp · · Score: 4, Interesting

      allows you to run VMWare on several machines and transparently move system images between physical hosts without taking any (perceivable) downtime.

      I've seen this in action, and it is very impressive. Imagine, if you will a MS-SQL (ugh) database running in a VMWare session. Let's say you need to perform some hardware maintenance on the system it is running one. Using their control console, you can "migrate" the entire emulated session while it is still taking transactions to another system with a barely perceptable pause (a second or so) between when one server stops executing and the next server starts.

      Disclaimer: I don't have anything to do with VMWare other than the fact that I use it.

      --
      This is an ex-parrot!
    4. Re:Not a bad idea by danheskett · · Score: 4, Informative

      The way it basically works is that process is started, and an approximation of entire image is copied over to the other machine. After a minute or so on some images, more on machines with many resources, the machines are basically close in contents. When the delta between the machines is fairly small, execution on the first is stopped, and all changes comitted to the second. Commands in the pipeline are moved to the second machine and the machine unpaused.

      On virtual machines with big resources it does take a solid minute or more to get things to that point, but the result is flawless everytime. Having a shared fast disk array really helps, FYI.

  2. Can't believe no one's thought of this by Jonny_eh · · Score: 3, Insightful

    Everyone has been so busy emulating the GBA and Xbox that no one has thought about emulating these old servers?

    1. Re:Can't believe no one's thought of this by PhilHibbs · · Score: 4, Insightful

      It's not like there is some pool of emulator writers, constantly considering what the world needs in terms of emulators. The people that write GBA emulators are people that want a GBA emulator. Asking them nicely to write a Pr1me emulator is likely to get you nowhere. You need to talk to the people that want a Pr1me emulator.

    2. Re:Can't believe no one's thought of this by MoneyT · · Score: 3, Insightful

      Actualy people have thought about it. The problem is, emulators are all well and good, until you actualy need to access a periphrial.

      --
      T Money
      World Domination with a plastic spoon since 1984
    3. Re:Can't believe no one's thought of this by confused+one · · Score: 2, Insightful

      There have been PDP and VAX emulation boards available for some time. I believe some of the other big iron is also emulated already. This isn't something new, just new to /.

    4. Re:Can't believe no one's thought of this by Riff6809 · · Score: 3, Interesting

      I'm sure its being done as we speak. In 1998, I helped implement a Honeywell 316 emulator to replace a real H316 computer in two F15/F16 diagnostics test stations. The test executive and user programs were all written in H316 assembly language. Seeing that the H316 is no longer in production, the only choice was to emulate the machine given that porting the existing code would have taken an inordinately long time and porting code we don't know about is obviously impossible. The test stations themselves contain new hardware from the late 1990s and the emulator contains device handlers to communicate to them via GPIB and other busses. The test executive uses standard H316 IN and OUT instructions to access the hardware. I also implemented a TEK400 display emulator and interfaced with a VB app that replaced a big custom console table with dedicated operator buttons that would be used during the tests. The customer must have liked it because they followed up on the contract with a request for more. In that sense, I'd say emulation is definitely a reasonable option. Its not always the right option. The downside is that there is still have old code to maintain. The system is a little more understood now, but you still have old archaic code. The upside is that writing an emulator often takes significantly less time than the alternative of rewriting.

    5. Re:Can't believe no one's thought of this by pla · · Score: 3, Insightful

      The problem is, emulators are all well and good, until you actualy need to access a periphrial.

      So you emulate those, as well... And usually, they take a lot less to emulate than the core system.

      As a trivial example, consider the peripherals available even on previous-gen consoles... You have 3rd party joysticks, mice, keyboards, cameras, tape drives, printers(?), etc. All those eventually end up emulated, if enough people needed them.

      The same goes for something like a PDP-11 or VAX 11/750 or the like. You have some odd storage devices (that store a tiny fraction of modern HDDs, thus you can emulate them with an image file). You have printers (emulatable with... printers!). Perhaps really ancient input devices such as a cardreader (scanner -> conversion tool -> file). No doubt other exotic peripherals exist, but you can somehow emulate them all.

      The conceptual problem with dealing with peripherals I think lies in just how much we've advanced since the days of Big Iron... Even for emulating CPU-cycle-critical hardware interactions, you can deal with it in emulation, by pure brute-force. Consider the 11/780, which ran at a whopping 6MHz. On a modern P4, that means you have over 500 CPU cycles per emulated cycle (and while the P4 can push through more than two ops per clock, the VAX only managed one instruction per 6(?) clocks, meaning you realistically have over six thousand real instructions per emulated one, on average). With six thousand instructions to burn, you could emulate your VAX while still getting a good framerate playing Super Metroid on an emulated SuperNes in the foreground.

      That I know of, only the humble old laserdisc has thus far resisted attempts at perfect emulation, due to using an analog encoding scheme (rather than storing bits, it actually encoded the raw NTSC or PAL signal handled by the TV. And depending on what sort of access to them you need, even that problem has a way around it, via an MPEG rip and a frame file (ala Daphne).

    6. Re:Can't believe no one's thought of this by Kedder · · Score: 2, Informative
      Everyone has been so busy emulating the GBA and Xbox that no one has thought about emulating these old servers?

      I think you're wrong:

      $ apt-cache search pdp 11
      simh - Emulators for 32 different computers
      ts10 - Emulators for various old computers
      pdp11-unix-v5 - Caldera UNIX V5 images for a PDP-11 emulator
      pdp11-unix-v6 - Caldera UNIX V6 images for a PDP-11 emulator
      pdp11-unix-v7 - Caldera UNIX V7 images for a PDP-11 emulator
    7. Re:Can't believe no one's thought of this by pla · · Score: 2, Insightful

      What about real peripherals? Ones you can't emulate?

      Fair enough point - But in that case, I would have to consider the computer secondary to the machine itself - I don't know your specific situation, but the computer most likely did data collection and analysis. The controller-proper I would consider part of the "peripheral", and search for the easiest-to-tap connection as the point to break away from reality and into emulation.

      I'll admit, I hadn't considered that point. You can't emulate a fatigue testing machine. You can't emulate a GC/MS. You can't emulate a CNC. You can't emulate an MRI. But I see that as similar to saying you can't emulate a car... You could fake-out a car's computer, but it doesn't do much good without car itself. Apples and Oranges.

      So no, emulation won't solve all obsolescence problems... But for those situations where you wouldn't consider the computer as secondary to the peripheral...


      However - as I touched on above, you can almost certainly still replace the computer portion of the system. At some point, the computer just takes a digital input, and at that point, you make the split from reality. My car doesn't care if its own computer runs it, or a PC sitting in the passenger seat. That might not do much to reduce the maintenence costs of the primary machine involved, but it does mean you can have your data on something other than an ancient reel-to-reel... ;-)

    8. Re:Can't believe no one's thought of this by Robert+The+Coward · · Score: 2

      You would have two choices. Depending on what you needed. If you needed to run testing using that equipment you would have to replace the device and drivers. I don't know how that custom hardware worked but if you knew how it works then it can be replaced. If it was simple 10 Digital inputs, 10 Analog inputs 2 Digital outputs, 5 Analog outputs, and 3 grounds. That you could get 1 Digital 16 channel IO board and 1 16 Channel Analog card and write drivers to interface those lines up in modem OS to emulated OS. Then create a cable to match those 30 Pin connectors. It can be done. Now if you had logic controls that said if this is High the switch this low in the hardware itself then that logic would have to be done in the driver itself.

      What you are describing is very spefic hardware. How many units were made and how many companys would have used it. In the end it comes down to how much you know about the interface and how bad you need to replace it. Depending on how well documented the interface was you could hire someone to write that driver. This from someone who works with equipment that talks to phone systems.

  3. A guess by NETHED · · Score: 2, Interesting

    I will have to guess, 7. Just because its a great number.

    But seriously. Emulators are the way to go. I know that w/ Microsofts new initiative to let linux apps run in Windows, emulators are going mainstream. Yes, for all you anti-MS people, Windows is mainstream.

    I was looking for the article about Windows Linux thing, but I cannot seem to find it at the moment.

    --
    --sig fault--
    1. Re:A guess by doublem · · Score: 3, Funny


      It's called Wintux

      --
      "Live Free or Die." Don't like it? Then keep out of the USA
  4. SimH by Anonymous Coward · · Score: 5, Interesting

    Bob's emulation software SimH is a *fantastic* bit of kit. Runs vanilla OpenVMS without modification - VMS doesn't even know it's in a sim until you tell it so when you licence it.

    1. Re:SimH by ch-chuck · · Score: 2, Interesting

      simh really rocks - I can run a PDP10/TOPS10 system on my 233Mhz notebook - you can telnet into it over the network. I've also run Altair 8800, cpm2.0 and have worked up many vintage software projects including the Original Adventure game in FORTRAN (on the pdp10/tops10), Star Trek in MSBasic on an Altair, and the 8008 SCELBI BASIC interpreter (running on an 8080, but it was written for an Intel 8008!). Kind of amazing to see an 8008 BASIC crank thru the floating point calculations for 'Lunar Lander' ;)

      --
      try { do() || do_not(); } catch (JediException err) { yoda(err); }
    2. Re:SimH by awx · · Score: 4, Interesting

      Aye, i've emulated an entire VAXcluster on a single-cpu x86 box with no problems. Bob deserves beer, and lots of it :)

      --
      Feel that power? That's mah MOUSING FINGER
  5. or how many by Anonymous Coward · · Score: 5, Funny

    pentium IV's can you emulate on a PowerPC?

    1. Re:or how many by CarrionBird · · Score: 2, Funny

      Ehh about .75

      --
      Free Mac Mini Yeah, it's
    2. Re:or how many by bhtooefr · · Score: 2, Interesting

      Quite a lot, and viably too. However, the REAL question is: how many Pentium 4's does it take to emulate a PowerPC at a usable speed, with and without Altivec (G4 and G3 emulation)? PearPC appears to get about a 75MHz G3 equivalent speed on an A64 3200+. NOT good at all.

  6. I disagree by Rosco+P.+Coltrane · · Score: 5, Funny

    emulating old servers may be a better way to keep them running that servicing the physical machines.

    I disagree. It's not the same thing.

    -- Signed: your friendly PDP-11 system operator downstairs, 3 years from retirement.

    --
    "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
    1. Re:I disagree by Anonymous Coward · · Score: 5, Funny

      Totally agreed --

      How can you emulate the experience of getting a maintenance notice
      in the mail from DEC that included a software patch on DECtape and
      explicit instructions on how to patch the hardware via wire-wrap?

      Or getting out the oscilloscope to set the baudrate on your PDP-11/05? And then
      booting said 11/05 by
      1) entering a program in octal via the front panel that is just
      good enough to read a bootstrapper from paper tape,
      2) jumping to the boostrapper from the front panel thus
      3) reading a second boostrapper from paper tape
      which in turn has a boostrapper to read from disk,
      4) which in turn finally gets around to reading the bootblock
      5) which might actually know something about booting RTS from that RK05 or RL10 or what-have-you.

    2. Re:I disagree by Rick.C · · Score: 2, Interesting
      Signed: your friendly PDP-11 system operator downstairs, 3 years from retirement

      Being asked to train your outsource replacement is bad enough. Being asked to write your replacement is even worse.

      But since you're the only one who really knows how it works, would you mind terribly?

      Please?

      --
      You were 80% angel, 10% demon. The rest was hard to explain. - Over The Rhine
      "Math in a song is good."-Linford
  7. It depends... by gschwim · · Score: 3, Funny

    ...on how many bugs your emulating under your Windows 2004 Emulator Edition.

  8. Emulation is great .. by z0ink · · Score: 5, Insightful

    .. but you forget the reason people dont upgrade is that it costs money to do so.

    --
    Steal This Sig
    1. Re:Emulation is great .. by Halo1 · · Score: 4, Insightful

      The large cost of upgrading is not the hardware cost, it's the migration cost. If your new hardware can emulate exactly the same environment where you came from, this cost can be reduced immensely.

      --
      Donate free food here
  9. Good idea... but... by AdeBaumann · · Score: 5, Insightful

    Before I even R'd TFA, I thought about one big problem:

    How are you going to emulate a 5.25 inch drive to read old disks?

    --
    I gave up sigs almost a year ago.
    1. Re:Good idea... but... by Anonymous Coward · · Score: 2, Insightful

      Either convert them yourself, or pay someone to do it.. The point is the efficiency of emulation rather than hardware compatability..

    2. Re:Good idea... but... by Anonymous Coward · · Score: 4, Informative

      to add to the parent, companies like Intermedia will convert/image your disks for you.

    3. Re:Good idea... but... by MajorDick · · Score: 3, Funny

      5.25 ????
      Damm are you young, when someone says 5.25 disks I dont even think too old.
      Bring on the 8 Inchers, now those were the days they also fly great, late Friday afternoon we would all let loose by flying them around like frisbees, all fun and games till someone get a corner in the eye.

    4. Re:Good idea... but... by phoenix-gb · · Score: 2, Informative

      Emulating a 5.25" isn't actually 100% necessary. The FDC that controls a 3.5" floppy is quite capable of controlling a 5.25" floppy in all three modes (DSDD, SSDD and SSSD) for reading any 'PC compatible' formatted disk. There are also a number of hardware options, such as the CatWeasel, that cen be used to drive a standard 5.25" drive to read non-PC Compatible disks.

      Admittedly, you're still probably better off just using such a drive to create images of real world disks. Emulating drives with images is something that has been the core of almost all emulations of disk-enabled devices

      The big problem, as far as I can see it, is reading 8" discs (as these do not, I believe, use the same controller as the others), or proprietry discs.

    5. Re:Good idea... but... by savagedome · · Score: 3, Funny

      Bring on the 8 Inchers
      late Friday afternoon we would all let loose by flying them around like frisbees

      And then I saw your user id...

    6. Re:Good idea... but... by awx · · Score: 3, Interesting

      A PC 5.25" drive won't read hard-sectored RX50 (DEC VAX) floppies.

      You use your old VAX to make disk images for you before you give it to a collector.

      --
      Feel that power? That's mah MOUSING FINGER
    7. Re:Good idea... but... by dmitriy · · Score: 2, Interesting

      > Try emulating a paper tape reader....

      The article (which I actually read on paper) talks about taking the tape, scanning it in segments, splicing, and using custom image recoginition to convert little circles into sequences of bits and bytes.

      8-inch floppy disks is a diferent story.

    8. Re:Good idea... but... by jabberw0k · · Score: 5, Interesting

      how about a Serial RS-232 link... Kermit, that hoary standard, still is one of the best cross-platform transfer methods for machines of pre-Ethernet vintage.

      At 9600bps you can transfer even the highest density 8" floppy in under half an hour!

      (Ah, shades of my college job where our 'network' was oddball generic-MSDOS machines all with serial links to the VAX 11/750 in the back room with *Three* 30MB 14" Winchester drives, almost 100MB online, rah! Don't try and power all three up at once, though, or you'd blow the 100Amp breaker.)

    9. Re:Good idea... but... by biobogonics · · Score: 2, Informative

      How are you going to emulate a 5.25 inch drive to read old disks?

      Write really good software! Even the Apple II Disk II drives, which depended heavily on the CPU have been emulated at the hardware level. Rather than reading sectors from a file, some image formats contain the stream of bytes read by the drive hardware. [Data encodings, bytes per sector and address and data marks were defined in *software* rather than by a disk controller chip. There were a large number of screwball formats, particularly in copy protected game software.]

  10. The Stability of New Products vs Old by Anonymous Coward · · Score: 5, Insightful

    Although this is a very good idea I question the stability of a new emulator vs an old proven system.

    By using the original the kinks have already been worked out, quirks are known and understood, and everything just works.

    By creating an emulator you have bugs to smash, that's just the way software is. Also keep in mind this seems to apply to big businesses (financial, medical) and large organizations (NASA) with legacy hardware. Since the stability of these systems is absolutely crucial why would they want to switch to a new, unproven, buggy system that stick with the old?

    1. Re:The Stability of New Products vs Old by GeoGreg · · Score: 4, Insightful

      Well, for one thing, the old, (formerly) stable hardware may be failing. It might be easier to get hold of a PDP/11 emulator being used (and, hopefully, improved) by multiple organizations than to attempt to translate the in-house PDP/11 assembly code into something that will run on a PIV Linux box. Especially if the people who wrote the legacy app are retired/laid off/dead.

    2. Re:The Stability of New Products vs Old by quarkscat · · Score: 4, Insightful

      There is no equivalence. For instance, DEC VMS
      was used as the design "core" for Microsoft's
      Windows NT. I have known of DEC VAX hardware
      that ran continuously for 5 years without a
      warm reboot, let alone a system shutdown. The
      Microsoft OS often needed to be rebooted daily.

      The hardware that Microsoft runs on is not as
      reliable as the old DEC VAXs, as a rule. The
      short term emulation of a legacy system is not
      the same as replacing it. For exammple, an IBM
      z/390 running MVS might be able to run 1000
      linux servers, but in terms of reliability
      (the proverbial 5 Nines), that z/390 could not
      be replaced with 1000 linux boxes, or even 2000.

      The old adage "They just don't make things the
      way they used to." applies here. New hardware
      costs are way down, as are HW/SW maintenence
      costs, but the reliability of the new gear is
      underwhelming.

  11. DEC VAX -- why not port?! by bunburyist · · Score: 2, Insightful

    If the DEC VAX systems are so antiquated, wouldn't it make more sense for businesses using these systems to simply upgrade to newer/better technology? I mean even if they have incredibly stability and "wow" factor, wouldn't it be easier than both solutions just to upgrade the software to newer systems. Uptime on many linux/unix systems are just fine for most usage, and QNX has their real time fail proof operating system, but I doubt people using VAX would even need something that powerful.

    1. Re:DEC VAX -- why not port?! by CarrionBird · · Score: 4, Insightful
      just upgrade the software?

      Methinks you underestimate how badly software projects of that sort often go.

      --
      Free Mac Mini Yeah, it's
    2. Re:DEC VAX -- why not port?! by PingPongBoy · · Score: 2, Insightful

      If something breaks or if the capacity is reached, what then? Are parts available? Can an upgrade be done economically?

      An upgrade path could be way overdue

      --
      Know your pads. One time pad: good for cryptography. Two timing pad: where to take your mistress.
    3. Re:DEC VAX -- why not port?! by flabbergast · · Score: 2, Insightful

      There are a couple reasons, most mentioned previously.

      1. Uptime on linux/unix is not good enough. Linux/Unix versus Microsoft, sure its got a better uptime, but against a mainframe that hasn't been turned off in 20-30 years? We're not talking commodity hardware here that'll break in a few years, or need constant replacing. Banks, hospitals, etc can't afford any down time.

      2. The code is probably long gone, and the software was probably custom. So, how exactly are you going to "port" this software? Oh, I know, tell all those banks to use gnucash.

      3. If it ain't broke, don't fix it. All their employees know how it works. All their sys admins know the quirks. If you move to a new system, you've got thousands of employees who have to learn the new system from sys admins who don't know the software.

      When it comes to upgrading a mainframe, its not like upgrading your home computer or home file server. You don't simply copy your ~/ over to your new computer and start running firefox.

  12. I wonder why... by 5m477m4n · · Score: 5, Insightful

    by Bob Supnik, Sun Microsystems

    Gee, I wonder why he would be recommending buying new servers?

    --

    ---
    Those who can, do
    Those who can't, teach
    Those who don't know how, supervise
    1. Re:I wonder why... by SillyNickName4me · · Score: 2, Insightful

      > "Perfectly usable"... VAX... VMS... hahaha hhahaaahahhahaha. Good. Got that out of my system.

      And while I hope it never happens to you, if you happen to get into hospital, there is quite some chance that your information will be registered on a.... VAX. that is right, an old, according to you obviously unusable VAX.

      Next time you transfer some money, chances are quite good that your order will be processed by... again one of those unusable vaxen...

      I suggest you delve a bit into the matter before laughing your ass off because this makes you look like someone who knows very little of what is being used.

  13. More important question: by Enahs · · Score: 2, Insightful

    How do you emulate an 8 inch drive?

    --
    Stating on Slashdot that I like cheese since 1997.
    1. Re:More important question: by proj_2501 · · Score: 4, Funny

      fold the disk a couple times. duh!

    2. Re:More important question: by MindStalker · · Score: 2, Interesting

      I think their big thing is supporting legacy programs. Say your company spent millions of dollars back in the late 80's for some big iron, and some awesome server database stuff for that. Lets say these programs still meet your companies needs. But the hfardware itself is ailing, but you still need the software to run. Buy new machines to emulate the old machines. The actual data transfer can be done in many ways other than 1541 drives and I'm sure you can emulate the need to input data in old ways.

    3. Re:More important question: by Deagol · · Score: 2, Funny

      Dude, he said emulate, not mutilate.

  14. PDP-11s *still* in use! by maynard · · Score: 4, Interesting

    I know of a PDP-11/73 which to this day is still cutting sheet metal for a duct factory. The damn thing just won't die. And they're not likely to emulate since the I/O board interface between the computer and their machine tools would be more expensive to implement on a custom PCI card, along with emulation drivers, than simply buying excess used PDP-11 parts. Someday they'll have to face the music and actually buy a commercial solution, but for the moment they continue maximizing their return on investment for a computer system originally purchased well over thirty years ago. And why the hell not? --M

    1. Re:PDP-11s *still* in use! by Anonymous Coward · · Score: 2, Interesting

      /.

      Nearly all modern thermonuclear delivery systems are tested at some point on DIDACS. The system is based on a PDP-11/34, except for the TVC controller which is a PDP-11/24.

      Been running for thousands of tests without a hitch. I know, because I wrote the code about 15 years ago and periodically I still meet the techs who are still running it.

      I sincerely doubt you could emulate a unibus machine running RSX or TSX (we're talking REALTIME operating systems here boyz) on any PC-type architecture. We had trouble emulating it on a VMS VAX with a massbus!

      --Charlie

    2. Re:PDP-11s *still* in use! by maynard · · Score: 4, Interesting

      Yeah, but if you're going to build an I/O board and write custom emulation drivers, what's the cost compared to buying a new off-the-shelf system and tooling for the shop? Imagine the cost to hire contractors to tease apart the I/O specs on that old stuff just so they could then build a custom board and drivers to emulate the old software on a P4 or something. Compare that to reinvesting in a new system with tools. It's the new tooling which really costs. They've got an old system which works right now and they don't see the point in dumping a couple hundred grand or more to buy new stuff which does exactly what their old stuff still does perfectly well. Can't blame 'em. --M

    3. Re:PDP-11s *still* in use! by foidulus · · Score: 2, Informative

      Just shows you how little you know about manufacturing, new does not necessarily imply quality just like old doesn't mean it's of poor quality.
      At the mill I worked at our oldest major piece of equipment is about 80 or 90 years old. No real reason to upgrade it, it does it's job. The area of the mill that I worked at, the machines were about 40 years old, controlled by a 10 year old VAX who communicated with even older PLCs to do the real-time work, and yet the steel we produce is among the highest quality in the world...

  15. Software License barriers by ErroneousBee · · Score: 4, Interesting

    There are emulators for old IBM mainframes (S360 S370). Hercules is one of these.

    Unfortunatly, the massive cost of liscencing the MVS (OS/390, zOS) operating systems means there is no way that a normal user can run a PC based mainframe. IBM employees can do it, of course.

    I guess thats also true for the PDP-11 and many old Vaxen, its just cheaper to migrate to new hardware/OS.

    --
    **TODO** Steal someone elses sig.
  16. Let's find out! by WarPresident · · Score: 2, Informative

    So how many PDP-11's can you run on a Pentium 4 anyhow?

    You could shell out some bucks for Ersatz11 and find out. It runs under Linux, and it runs fast. You can even attach Q-Bus and Unibus hardware with an adapter.

    --
    Here come da fudge!
  17. Re:none. by TWX · · Score: 4, Funny

    "pdp-11 is much heavier than you think."

    Not to anyone who's ever tried to pick one up!

    --
    Do not look into laser with remaining eye.
  18. You might be a vax geek if... by schnits0r · · Score: 5, Funny

    TOP TEN SIGNS THAT YOU'RE A VAX GEEK

    Key traits identifying individuals tendencies towards abnormal preoccupation with VAX computer systems

    9. When talking about building software you make reference to
    compilation times in weeks and days instead of minutes and seconds.

    8. You stopped purchasing new furniture when you realized that
    your computers work just as well.

    7. Your electricity bill is more than your monthly rent payment.

    6. You've been hospitalized with muscle strain injuries after
    performing some routine hardware maintenance on your computer.

    5. You don't have an SO, but it's okay because your computer keeps
    you warm at night.

    4. While doing laundry, you occassionaly have a mental lapse and try to
    wash your socks and underwear in your 11/750.

    3. Friends who visit you want to know why there are old-time movie reels
    stuck on your refridgerator(s).

    2. Your house is pleasantly warm in the dead of winter, even with the air
    conditioning turned all the way up.

    1. The lights in your home dim or flicker when you reboot.

    0. It doesn't matter to you if someone else's computer is faster because
    you know your system could smash theirs flat if it fell over on it.

    1. Re:You might be a vax geek if... by Rorschach1 · · Score: 4, Informative

      Funny? That should be modded 'informative.' I've never been hospitalized, but I did wind up with a wrist brace for a week or two thanks to some RA-92 hard drives.

      Seriously, if anyone wants a free VAX 6000-510, let me know. I need the garage space back. I'm on the central coast of California. I'll even throw in a MicroVAX II or two if you want. They make good end tables.

  19. Nice idea, but good luck by garver · · Score: 2, Funny

    Regression testing. Emulation's nice, but it ain't the same as the original hardware. Which means, people will need to regression test. Trick is, the people that know what that old PDP-ll is actually doing retired a long time ago. So who's going to write the test cases?

  20. SIMH URL by Gropo · · Score: 2, Funny
    SIMH Website.

    Been wanting to buy an old 11/780 shell for a while. Not for a bar, but to mount both my Mac and Gaming PC innards in. This'd be a real trip to run as an emulator during parties. Now to interface the VT-120... Hack the shell I suppose. Run everything USB. >:D

    --
    I hate Grammar Nazi's
  21. Changing WOW factor. by Damon+C.+Richardson · · Score: 2, Funny

    Problem is... The WOW factor on these servers has gone from WOW look what it can do. To WOW your still using that.

    --

    Last one in jail is a fascist.
  22. Re:legal issues? by meringuoid · · Score: 4, Funny
    Nintendo owns the rights to "emulation"? Emulating anything?

    I think they patented some aspects of emulation, mainly to shut down people selling GBA emus for palmtops.

    Given the current state of patent law, chances are that any universal Turing machine now owes Nintendo royalties.

    --
    Real Daleks don't climb stairs - they level the building.
  23. My First by PingPongBoy · · Score: 2, Funny

    The first laptop I had was a pdp-11

    --
    Know your pads. One time pad: good for cryptography. Two timing pad: where to take your mistress.
    1. Re:My First by TWX · · Score: 4, Funny

      "The first laptop I had was a pdp-11"

      An LED-screen-based terminal emulator with a 300 baud modem dialing up to the PDP 11 shouldn't really count...

      --
      Do not look into laser with remaining eye.
  24. So many pitfalls! by ikegami · · Score: 5, Interesting

    The article does well by pointing out a great list of problems that can be encountered when emulating a machine.

    Some of the projects on which I work are for nuclear power plants, many of which here in Canada use computers from 1972 -- I was born in 1976 -- to control the plant. While spare parts are dwindling, the prospect of having to retest all of the code is daunting, not to mention the costs of making a program as complex as an emulator in the first place.

    I've seen (the assembler equivalent to) the following code used in embeded processors to perform a sleep():
    counter = 500; while (counter--) { /* nothing */ }
    Imaginine executing that on an emulator that didn't pay any attention to timing?

    1. Re:So many pitfalls! by rreyelts · · Score: 4, Informative
      Imaginine executing that on an emulator that didn't pay any attention to timing?

      Any half-decent emulator will pay attention to cycle counts. It's one of the few things that distinguishes an emulator from a virtual machine. Take MAME for example - all the CPU emulation in there tracks cycles.

  25. Re:In answer to by -brazil- · · Score: 2, Informative

    Such a "translation" would be beyond meaningless. The architecture is fundamentally different, and most of the P4's cycles would have to be spent on emulating/accounting for quirky little hardware details or features. That's why it takes a 100 MHz Pentium (if not more) to properly emulate a 1 MHZ C64

    --

    The illegal we do immediately. The unconstitutional takes a little longer.
    --Henry Kissinger

  26. Bob Supnik! by ackthpt · · Score: 4, Interesting
    Man, I haven't seen that name in 20 years!

    I have such warm, fuzzy memories of hacking a PDP 11 and rabidly tearing away the wrapping from each DEC Professional magazine that graced my mailbox...

    Yeah, emulation sounds more reasonable than what some nut did, he got the schools old PDP 11/50, with 1 TU16 and 2 RP04 drives and had his house (I sh!t you not) raised 12 inches so he could set it up in the basement. No idea what's happened since.

    --

    A feeling of having made the same mistake before: Deja Foobar
  27. Just a guess ... by Anonymous Coward · · Score: 5, Funny


    So how many PDP-11's can you run on a Pentium 4 anyhow?



    All of them? ;-)
    1. Re:Just a guess ... by Cragen · · Score: 2, Interesting

      Probably not far from right. Considering, in 1984, we had a PDP-11/44 that ran on 4 Mb RAM (1 Mb per double wide board), with a 25-MB removable "platter". (a disk slightly bigger than a LP record. Remember them?) I don't remember what the DEC RM102 h/d had or even if I have the nomenclature right. The 11/44 was cool cuz there were no more switches on the front of it for inputting troubleshooting instructions (in octal). We actually got to use a keyboard for that! The good old days -- not.

    2. Re:Just a guess ... by earthforce_1 · · Score: 3, Interesting

      Actually, it would be fun to see how many pentium-4's you could fit inside a PDP-11 case.

      I miss those 8 inch 100K? floppy drives though - those were the days when floppy lived up to its nam, and the drives made interesting squeaking noises while they were being read. I still have a couple of them downstairs, I was part of the last class that used PDPs before the university retired the old 11/70.

      The PDP OS had a weird (and annoying habit) of automatically making numbered backups every time you saved - in theory sounds like a good idea, except with an entire class editing and saving assignments, the main drive ran out of space and the whole system froze every 15 minutes, and we had to hunt down the TA to reboot it. "Delete your files, delete your files" was a cry heard every 5-10 minutes in the lab, lest the whole system hang and die yet again.

      Back in the 1970's, that astronomically expensive PDP 11/03 in the Heathkit catalog was my dream machine, as it was the only true 16 bit PC on the market. I even bought the paper tape software and manuals for it!

      --
      My rights don't need management.
  28. efficient versus speed by www.sorehands.com · · Score: 3, Insightful

    If you keep the old system, it is running at .8mhz, 5mhz, or some other slow speed. It still runs faster emulated, though the emulation is not efficient. It also takes care of problems of repair and replacement of parts.

  29. My MITS Altair emulation project by AltairMan · · Score: 2, Informative

    I've used Bob's emulator a bit, playing with the PDP-11 emulation when I had an 11 in my basement that was failing. I now use the VAX emulator running BSD. I've also used SIMH as inspiration for my own emulation project for emulating a MITS Altair 8800 (with the front panel).

    The next version is done and will be released within the next week or so after I update the docs to synchronize with the changes made.

    Anyway, the project page is here:

    http://highgate.comm.sfu.ca/~rcini/classiccmp/Alta ir32.htm

  30. Usermode Linux by Brian+Blessed · · Score: 2, Interesting

    I've recently done this with a small webserver to keep it running. Some sort of deposit had appeared on top of the electrolytic capacitors on the motherboard, and the machine became unbearably unstable.

    I took out one of it's mirrored drives and connected it in a different (larger) machine and then booted it using Usermode Linux.
    I found it was best to be running 2.6.7 on both the host and the uml and it is bridged onto the host's network, so it appears exactly as before.

    - Brian.

  31. VMS-on-Linux with SIMH by Phil+Wherry · · Score: 2, Informative

    For those interested in trying VMS on Linux using the SIMH emulator (entertaining if you once used it), I've written a set of installation instructions that might be of some use.

    Phil

  32. Emulation by PingPongBoy · · Score: 4, Interesting

    I've written emulators for devices. It depends on what you want to achieve. Emulating the interface may be relatively easy. If you used an old server to provide specific data or perhaps some kind of interface to another service, well you don't need to duplicate the entire server, you just have to implement a "jumper" system to provide a different path for the information flow.

    Emulating an device comprehensively just to simplify servicing it could be futile or infeasible when you need to know the fine details of the device's characteristics. The manufacturer of a device might supply an emulator but I wonder just how many PDP-11's or machines lacking backwards compatibility still provide a vital nonupgradable function.

    One may point to certain programs that used to run in DOS or in my case Win95 that don't run in XP. I want to speed up these programs on new hardware without having to buy the latest version. This is the downside of using Windows - if backwards compatibility is broken, a faster processor may force an expensive upgrade. Then again, all this backwards compatibility could be slowing Windows down.

    --
    Know your pads. One time pad: good for cryptography. Two timing pad: where to take your mistress.
  33. Re:All Well and good. by waynelorentz · · Score: 2, Funny

    But what about lesser known mainframes such as the Prime.

    How sad for me to find out that not only am I obsolete, I'm also obscure. I remember PrimeOS fondly if for no other reason than it was where I cut my teeth as a young hacker.

    Would have been about 1984, dialing in to a univeristy's Prime in another state. Me on my Commodore 64 with my Microbits 300 baud modem (I was the fastest kid on the block. Everyone else had 110 or baudots). It was like NetHack, but in real life. Learned to get in. Learned to navigate. Learned about these great things called directories (unavailable on my Commodore 1541 disks). When I couldn't affort to buy new floppy disks, I started storing all of my programs and files on their mainframe. They seemed to have plenty of space. I was in there for more than a year before I got caught. Ah... those were the days.

    Thank for you for the trip down memory lane.

  34. PDP-8/E runs great on OS X by caveat · · Score: 4, Informative

    the PDP-8/e Simulator for Macintosh is a LOADED system (up to 32K words of memory, KE8-E Extended Arithmetic Element, ASR 33 Console Teletype, ASR 33 Auxiliary Teletype, PC8-E High Speed Paper Tape Reader and Punch, RK8-E Disk Cartridge System, LP8-E Line Printer, and a KC8-EA Programmer's Console) that runs a quite a bit faster than the original - fastest benchmark is a G4/450 at about 22x; my 2x1.25 runs the tests well under 1sec. If you need to support an -8 legacy, this seems like the logical way to go.

    --

    Facts do not cease to exist because they are ignored. - Aldous Huxley
  35. Re:All Well and good. by jellomizer · · Score: 2, Interesting

    Ohh we have parts! for the Prime. We are swimming in parts. And we don't see running out any time soon. We still have customers using the Prime and we still maintain them. But we would love to get our hands on some Prime emulators to help with the migration to a new platforms as well.

    --
    If something is so important that you feel the need to post it on the internet... It probably isn't that important.
  36. Simulation/Emulation vs Conversion by mykepredko · · Score: 5, Interesting

    About fifteen years ago, I was involved in the retirement of a number of older computing systems (specifically IBM "Series/1", "System/7" and "1130"s) used in manufacturing. At the time, these systems were critical in supporting older products (most notably FAA radar displays) but had been withdrawn from regular IBM support and parts were only available from returned equipment.

    I could appreciate the article's comments about engineering detective work; we had some source code on paper, some source and binary code archived on disc and some binary code saved on cassette tape (seriously). Product, tester and controller documentation was spotty to say the least. For the most part, we had enough understanding of what was happening to be able to recreate the test specifications for all the products.

    The big problem was understanding actual timings and electrical parameters; few of the part numbers were built from standard TTL ("VTL" in IBM parlance) and most were built using IBM "SLT" technology implementing RTL and DTL logic.

    After collating all the data we had, we decided we could: we could simulate the controller operations in a PC. In many cases, we could emulate the operation of the controller/tester hardware with basic digital I/O cards connected to a PC. Finally, in quite a few cases we were completely on our own due to unusual (for today) electrical requirements.

    Due to the large number of part numbers (1500), we wanted to come up with a single solution that made the most sense and, ideally, worked for all the different part numbers. We looked at simulating the controllers with PCs and passing the I/O to the old tester hardware, emulating the tester using a PC with I/O cards or converting the tests to run on a standard InCircuit Tester (ICT).

    In virtually all the cases, it made the most sense to convert the tests to run on a standard ICT tester (GenRad (new Teredyne) 228x was chosen) rather than simulate or emulate the hardware. The conversion applications generally converted the binary code into digital I/O operations (or GPIB instrument I/O) rather than come up with compilers for the original source code (although we did do this in one case). This was still a rather large job, but it was completed before parts sources for the old controlling computers completely dried up.

    I suspect that from the lack of hardware interfacing information in the article, the author has run into similar problems. Despite that, having a simulator could be very useful in understanding how an old computer system operated and what is required to properly emulate/convert it into more modern hardware.

    myke

    1. Re:Simulation/Emulation vs Conversion by CharlieG · · Score: 2, Interesting

      Wow, another old hand who's done GPIB!! That's actually how I got my start as a professional programmer - we were running a bunch of gear that used the GPIB bus, either off of some HP controller (which ran HP Basic) or some old Tectronics terminals

      We used some CEC corp IEEE-488 (aka GPIB) cards and an emulator to emulate that old HP basic. Then, as the programs were in BASIC, the natural progression was to the Microsoft BasComp compiler, then to the PDS. Then windows and VB came along, and us old hands at HP basic (a DEAD language) and the Old Microsoft Basics became hot properties, and some of us caught the front end of that wave. It's been a hell of a ride, where I've seen a lot of really bad code, and seen some real nice stuff. I still miss controling BIG machines with my little computer

      --
      -- 73 de KG2V For the Children - RKBA! "You are what you do when it counts" - the Masso
  37. Why not port? Why bother? by Mr.+Roadkill · · Score: 3, Insightful
    If the DEC VAX systems are so antiquated, wouldn't it make more sense for businesses using these systems to simply upgrade to newer/better technology? I mean even if they have incredibly stability and "wow" factor, wouldn't it be easier than both solutions just to upgrade the software to newer systems.
    Say you've got an existing system performing a particular task - maybe your inventory or payroll system, and it's coping with the load and has sufficient flexibility to allow you to make changes in response to foreseeable business and legislative changes. You are faced with a bill of a couple of thousand dollars every time something breaks, and that's happening more frequently. You know you want to get newer software in the future, but you're not entirely sure what you want and want time to look but are concerned the old system will not last until then.

    In this situation, you could spend a couple of thousand dollars on a new machine and run your old software on it using a free emulator. Hell, the machine you just ordered for your secretary would probably out-perform the old server. The new machine will be one twentieth the size of the old, use one twentieth of the electricity and won't have twenty years of accumulated wear and tear.

    If you've got a custom application written in a dead language, emulation may be the best way to continue fulfilling your requirements too. Sure, a new app in the shiny new language du jour might be nice, but if you've got proven 30 year old code and performance on the old hardware is adequate then it makes sense to keep things ticking on a virtual vax or pdp. And think of the kind of server room consolidation you could perform!

    Other posters have commented on the proven behaviour of hardware v. emulators - how the latter could have bugs that aren't apparant, and may thus be unsuitable for users like NASA etc. Surely it's easier to produce a bug-for-bug compatible emulator than it is to re-write possibly millions of lines of legacy code in a bug-free manner. Sure, it's nice in the long run to re-write software with greater portability in mind, but while that's happening wouldn't it be worth making sure you can continue to run your existing programs without having to worry what will happen if some obscure I.C. elects a new Pope?

  38. Worked on a PDP years ago by MemoryDragon · · Score: 2, Informative

    During a high school internship. Fascinating machine. Back then, I think it was around 84 or 85, this machine served around 5 people on plain text terminals, and as soon as you started an integrated pascal compiler everybody complained that the machine was slow as a dog. Needless to say, that the pascal compiler was slower than Turbo pascal on a normal PC (given the recursive descension nature of turbo pascal no wonder, although the pc was myriads slower) But one thing I never saw with this machine, it never fell, and the multi language binaries, as far as I can remember where you could hook different languages easily together were really nifty. No wonder the company used this machine mainly for development and holding customer data, this beast was as solid as a machine could get.

  39. Re:All Well and good. by DLWormwood · · Score: 4, Funny
    Me on my Commodore 64 with my Microbits 300 baud modem (I was the fastest kid on the block. Everyone else had 110 or baudots). It was like NetHack, but in real life. Learned to get in. Learned to navigate. Learned about these great things called directories...
    I do not think that word means what you think it means...
    --
    Those who complain about affect & effect on /. should be disemvoweled
  40. Reminds me of one of my favorite jokes... by cblguy · · Score: 2
    (old school guys will get it, anyway...)

    How can you tell the DEC repair man on the side of the road?

    He's the one changing out the tires, trying to figure out which one's flat...

    No vaxen here, just Alphas...

  41. Re:What's even awesomer... by antispam_ben · · Score: 2, Informative

    ...is that through resources such as Ebay, half.com, your local public library, garage sales and thrift stores, you can still get manuals for such things -- AND CHEAP! I found a PDP-11 technical programming textbook at my local Goodwill for a buck.

    The Net is awesome for finding any used or out-of-print books or manuals of any kind - it used to take months to find something unusual, now it can be in your hands in a couple of days. Here are two valuable resources:

    http://www.bookfinder.com/
    http://used.addall.com/

    You can do your own shopping at thrift stores and yard sales, finding the occasional RCA Receiving Tube Manual and such (I've done that a lot and now have about 10k books, including 20 tube manuals) but this is hit-or-miss for something specific. For a few more bucks per book, you can often find exactly what you want at one of the metasearch sites above or (if it has an ISBN number) used on amazon.com.

    If you still don't find it, you can subscribe to this list:
    http://www.bibliophilegroup.com/ ($30 per year subscription, two week free trial)
    and send a WTB: (Want To Buy) post, where hundreds of used book dealers have large portions of their inventories they've yet to enter online, but may have it for you.

    Computer manuals before 1970 or so are actually in demand and worth something (maybe $10-$25).

    --
    Tag lost or not installed.
  42. Emulators aren't perfect by poot_rootbeer · · Score: 2, Interesting

    But would a software-based emulator accurately reproduce the behavior of the infamous "More Magic" switch?

    That's a serious question, by the way. How can it be proven that an emulated system will perform exactly the same way that the original system would?

    Consider that even among the most popular emulators, those for videogame consoles and handhelds, you won't find many claimed by their authors to have more than 99% compatbility.

    Yes, gaming hardware may possibly be more difficult to emulate than well-documented business hardware due to the number of custom chips that effectively have to be reverse-engineered, but do you want to migrate your mission-critical systems from physical hardware to emulated hardware only to find that they depend on the 1% of functionality that's not accurately emulated?

  43. Re:I agree! by NoMoreNicksLeft · · Score: 3, Insightful

    Then it's an even worse idea. How so? They think running a critical app on hard-to-repair hardware is tough? Then they need to wait until the emulator bugs out on something subtle.

    They end up with still failing "virtual" hardware, and the only consolation is that if they persist long enough, they may eventually fix it completely. Oh, at least until they need to port the emulator to Windows 2009 Gold Pro edition on the Pentium 9, then it bugs out again.

    Start porting the damn apps, or rewrite them. And even as you're doing this, plan for the next changeover in 10-15 years.

  44. Why: Coolness and Bootstrap Education by seawall · · Score: 2, Insightful
    There are several reasons to have emulators.

    A big one (not the one that funds them) is they are cool.

    Useful sometimes. E.g. PDP-11 on a PCI board with a PDP-11 hardware interface is buyable. It's used, among other places, in the postal system to run hardware that needs a PDP-11. Interestingly, it used to use the PDP-11 on a chip but last I checked used an Intel CPU. XEROX had allegedly bought all the remaining PDP-11 on a chip machines for their use in copiers.

    The article was pushing the "where we came from" aspects. I KNOW how hard it is to keep PDP-10 hardware running. It's rather handy in defeating patents to come up with prior art...from, say, 1964. The thing here is it's use it or lose it time. You write an emulator and you understand the machine.

    Bootstrap Education. A young person can understand a CP/M machine on a level that just isn't going to happen, say, my iBook G4 and use that understanding to bootstrap up to the next level of complexity.

  45. Not very fair... by MooseByte · · Score: 3, Funny

    "The truth is, Slashdot is basically a Gamer site."

    Oh come on now, that's not fair. We also talk about pr0n.

  46. emulation.net by network23 · · Score: 2, Informative
    There's a lot of really good emulators for MacOS X on http://emulation.net/.

    Including Edsac. IBM Series 1, PDP-8/E, VAX, CP/M, Sinclair QL, Windows PC, Oric and other obsolete stuff. Lots of fun!

  47. ...on the head of a pin by tsm_sf · · Score: 2, Funny

    So how many PDP-11's can you run on a Pentium 4 anyhow?

    All of them?

    --
    Literalism isn't a form of humor, it's you being irritating.
  48. Mac OS X Emulates 35 Computers by Slur · · Score: 2, Informative

    Check out http://emulation.net/ which provides a one-stop resource for emulation on Mac OS and Mac OS X. They list 35 different computer systems for which you can get emulators. Most of them appear to be free.

    Acorn Atom, Acorn BBC Micro, Amstrad CPC, Amstrad PCW, Apple I, Apple II, Apple ///, Atari 800, Atari ST, Baby (SSEM), Commodore Amiga, Commodore 64, Commodore VIC-20, CP/M, Edsac, IBM Series/1, Macintosh 68000, Memotech MTX512, MIPS R2000, MO5, MSX, Oric, PC-9801, PDP-8/E, SAM Coupé, Sinclair QL, Sinclair ZX81, Sinclair ZX-Spectrum, TI/99, TO8, TRS-80, TRS-80 Color Computer, VAX, Windows PC, X68000

    If you prefer game consoles you have 13 to choose from. ROMs are hard to come by but if you look hard enough you can find them. And there is a huge selection available.

    Atari 2600, Atari 5200, Colecovision, Intellivision, Nintendo, Nintendo 64, Odyssey^2, PC-Engine/TurboGrafx-16, Sega Master System, Sega Genesis, Sony Playstation, Super Nintendo, Virtual Boy

    If handheld units are more your speed, there are Mac-based emulators for 11 different varieties. I haven't tried any of these, but if MacMAME and the other console emulators are any guide, these should run at full speed and beyond.

    Atari Lynx, Dreamcast VMU, Gameboy, Gameboy Advance, HP-48 Calculator, Magic Cap, Neo Geo Pocket, Palm, Sega Game Gear, TI Calculator, Wonderswan

    --
    -- thinkyhead software and media