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?"

37 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 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!
    3. 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. 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 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
  3. or how many by Anonymous Coward · · Score: 5, Funny

    pentium IV's can you emulate on a PowerPC?

  4. 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.

  5. 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
  6. 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: 4, Informative

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

    2. 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.)

  7. 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.

  8. 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
  9. 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 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

  10. 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.
  11. 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.

  12. 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
  13. Re:More important question: by proj_2501 · · Score: 4, Funny

    fold the disk a couple times. duh!

  14. 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.
  15. 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.

  16. 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.
  17. 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.

  18. 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
  19. 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? ;-)
  20. 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.
  21. 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
  22. 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

  23. 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
  24. 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.