Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Emulation (Games) Software Virtualization Build

Emulator Now Runs x86 Apps On All Raspberry Pi Models 82

DeviceGuru writes: Russia-based Eltechs announced its ExaGear Desktop virtual machine last August, enabling Linux/ARMv7 SBCs and mini-PCs to run x86 software. That meant that users of the quad-core, Cortex-A7-based Raspberry Pi 2 Model B, could use it as well, although the software was not yet optimized for it. Now Eltechs has extended extended ExaGear to support earlier ARMv6 versions of the Raspberry Pi. The company also optimized the emulator for the Pi 2 allowing, for example, Pi 2 users to use automatically forwarding startup scripts.
This discussion has been archived. No new comments can be posted.

Emulator Now Runs x86 Apps On All Raspberry Pi Models

Comments Filter:
  • What's the difference between this and, say, Bochs 20 years ago?

    Emulating x86 is not hard. It's not efficient either.

    • Re: (Score:3, Informative)

      by John Bokma ( 834313 )

      In August, Eltechs said ExaGear Desktop ran 4.5 times faster than the open source QEMU VM. With new performance improvements, the software is 5 to 10 percent faster, or about five times faster than QEMU, claims Gimpelson.

      Emphasis added

      • Re: (Score:3, Informative)

        Sounds about right... QEMU isn't designed to be fast, it's designed to be accurate and portable. so writing a pipelined JIT x86 emulator specifically for ARM should get around a 4x speedup over QEMU even if it is solely based on QEMU code and a JIT engine, prior to optimization.

        • Re: (Score:3, Informative)

          by dosius ( 230542 )

          Huh? Last I checked, qemu WAS designed to be fast - or at least compared to Bochs, which isn't saying much, it was intended to be fast. Or are you confusing the two?

          • by sjames ( 1099 )

            Qemu was fast compared to Bochs when running on the same architecture it was emulating in part because Bochs used full emulation all the time IIRC.

            • by Zymergy ( 803632 )
              I'd like to ask if QEMU is a newer version of the Quarterdeck Expanded Memory Manager? (sarcasm)
      • In August, Eltechs said ExaGear Desktop ran 4.5 times faster than the open source QEMU VM. With new performance improvements, the software is 5 to 10 percent faster, or about five times faster than QEMU, [according to Eltechs CEO Vadim Gimpelson in an email to LinuxGizmos].

        Emphasis added

        Emphasis and extra quote added

        • Oops, Slashdot ate my emphasis. Also, I think it was clear that those figures came from Eltechs as the first sentence I quoted states "In August, Eltechs said" ;-).
          • Oops, Slashdot ate my emphasis. Also, I think it was clear that those figures came from Eltechs as the first sentence I quoted states "In August, Eltechs said" ;-).

            No, I did that... i just wanted to emphasize even more what you already mentioned... sorry!

    • by Eltechs ( 3558695 ) on Friday May 29, 2015 @12:42PM (#49800395)
      ExaGear is extremely fast. You can achieve almost native performance. Take a look on benchs on http://eltechs.com/product/exa... [eltechs.com]
    • Re: (Score:2, Interesting)

      by Anonymous Coward

      I think it's a big deal to Russia since they don't have access to Intel/AMD cpu's, so they're basing their homegrown computers on ARM. Anyone using an ARM based computer probably wants to run some x86 software sometimes. I think the design goals for Boch's and ExaGear is different, people using ARM based computers would like access to all the x86 software available. It doesn't seem like Boch's is compiled for ARM/Android yet so that's a huge group that's not being serviced, so it's kind of a big deal.

    • The "news" is the Raspberry (again...), not so much the emulator (i don't try to belittle it, i just agree with you that... o.k., emulating x86!)
  • by Anonymous Coward on Friday May 29, 2015 @12:26PM (#49800243)

    I'm having flashbacks to Windows NT 4.0 on the alpha running X86 apps. Oh God those were terrible times!

    • I could never figure out why DEC even bothered with FX!32, or why MS bothered with Alpha for that matter. I mean, PowerPC OS X Apps didn't run that slow on Intel when using Roesetta.....how did FX!32 get it so wrong?

      • FX!32 ran programs at about 66% of their normal speeds. It wasn't that bad. They bothered because there wasn't any native Alpha NT programs at the time.

        • "They bothered because there wasn't any native Alpha NT programs at the time"

          Yeah that was kinda my point though....DEC had VMS and Tru64, which smoked NT 4.0. I blame Compaq ;-)

          • by KGIII ( 973947 )

            I blame Digital. They had no business selling themselves, whores... Really, they should not have sold their dirty, sexy, selves...

      • by 0123456 ( 636235 )

        I mean, PowerPC OS X Apps didn't run that slow on Intel when using Roesetta.....how did FX!32 get it so wrong?

        Emulating RISC instructions on an x86 is typically much easier than emulating x86 instructions on RISC. Particularly if you have to emulate the clunky, convoluted PC hardware, too.

  • They want their Sidekick and Lotus 123 back!
  • APPS? x86 *APPS* (Score:1, Insightful)

    by Anonymous Coward

    I guess *EVERYTHING* is an 'app' now!

    HANG ON, I GOTTA GO THE THE APP (toilet)

    • Re: (Score:3, Insightful)

      by sexconker ( 1179573 )

      App the apps while apping apps!
      What the fuck ever happened to "program", "application", "software", or "code"?

      • What the fuck ever happened to "program", "application", "software", or "code"?

        It's never been unusual to call a program an application even in the Unix or PC world, but it's been standard to call programs "apps" in the Mac community since forever, because they have been known as "applications" in the official MacOS system parlance since forever - hence the file type flag of APPL and not PROG, SOFT, or CODE.

        • APPL was chosen for a different reason.

        • There is no such thing as file type flag in OSX tho, it uses the NeXT concept of bundle directories (which NeXT actually borrowed from RiscOS). The extension that marks applications is .app and "app bundle" is quite common name for it. Pretty sure it's where the "app" shortening for "application" got it's ubiquitousness that then spread with popularity of iOS.

          But I distinctively remember even back in the 90s that the term Application was the "proper" term for software installation - as Application can consi

      • by CODiNE ( 27417 )

        Memory around here is so short.

        Apple had long called their programs "applications" while Windows used "Programs" and DOS used "executables".

        Then came the iPhone with the "App Store" which Apple Trademarked, quickly everybody else started using the same term to ride on high consumer awareness of the term. Apple sued, and Amazon and finally gave up on it. [arstechnica.com]

        Since then "Apps" has become a widespread generic term, and Tim Cook cries a little inside every time he sees it used for non-Apple software.

    • by Anonymous Coward

      I guess *EVERYTHING* is an 'app' now!

      You make it sound like calling a program/application an 'app' is a new thing...

      Take a look at the article from 1992 "Running you apps under OS/2" in PC mag

      https://books.google.com/books?id=uummfdS7yF8C&pg=PT28&dq=windows+apps&hl=en&sa=X&ei=SqVoVeS0AdbqoASRsoL4Cg&ved=0CDAQ6AEwAA#v=onepage&q=windows%20apps&f=false

    • In RISC OS (operating system running on an ARM processor, several decades ago) applications where stored in an Apps folder ... E.g. see: http://upload.wikimedia.org/wi... [wikimedia.org] RISC OS had also drag & drop installation and several other nifty ideas, some which still live on. One can run a modern version on the Pi.
  • by John Bokma ( 834313 ) on Friday May 29, 2015 @12:44PM (#49800417) Homepage
    The first ARM desktop computer, the Acorn Archimedes, got quite early on a PC emulator which, if I recall correctly, emulated a 80186. The ARM 2 processor, running at 8 MHz could emulate this processor at close to 5-6 MHz (again, if I recall correctly).
    • by 0123456 ( 636235 )

      The first ARM desktop computer, the Acorn Archimedes, got quite early on a PC emulator which, if I recall correctly, emulated a 80186. The ARM 2 processor, running at 8 MHz could emulate this processor at close to 5-6 MHz (again, if I recall correctly).

      From: http://chrisacorns.computinghi... [computinghistory.org.uk]

      "In use the Archimedes PC Emulator program gives quite acceptable performance if you don't want to go too fast. While the hard disk access is extremely fast, the computing speed is only average and the screen display speed is slow."

      And it gives the 'computing index' performance as about 1/10 of an AT PC. That's pretty much my experience of PC emulators; for apps that spend most of the time waiting for user input, it's fine, but anything that requires real computing pow

      • This was in the late 80s when (slow) XTs where still very common. I recall running software like PSPICE and WordPerfect without much trouble. The processor emulated was a 80188 (not 80186 as I mentioned earlier), which was used in the XT line of PCs. So comparing it with an AT PC is a bit unfair. I do think it was quite an achievement to emulate a processor at close to the same speed in software.

        Of course I had bought the Acorn Archimedes for its ARM processor; I did program in assembly back in the day, a

        • by dfghjk ( 711126 )

          "The processor emulated was a 80188 (not 80186 as I mentioned earlier), which was used in the XT line of PCs."

          No, it was not.

          • Oops, my bad, I originally wrote "The processor emulated was a 80188 (~8086)" But then noticed that in my first comment I mentioned 80186, not 80188 so I replaced the part between parenthesis, but left of the 8086. Thanks!
      • I remember that program - I had it many many many years ago, on an Acorn for which I can't even recall the model*. I also recall that the PC emulator was painfully, unusably slow - even just entering commands you could see the delay between keypress and character.

        * You could run Cannon Fodder on it, and that is what it mostly got used for.

        • You're sure it was an Acorn with an ARM processor? Because I can't recall it being that slow. Or maybe the PCs (XTs) I used back in those days where equally slow.
          • I remember it ran RISC OS. Looking at pictures of Acorn machines, th A3010 looks like the one I remember - I may be wrong, but not by far. The label on top I remember as quite distinctive.

            I found it very useful for media convertions: My IBM had a 2.88MB floppy drive, my other PCs had conventional 1.44MB, and my Atati used some weird Atari thing. The Acorn machine was able to read all of them and so, when not being used for Cannon Fodder (Which I never did manage to finish), it served to exchange data betwee

    • by Ed Avis ( 5917 )
      Acorn's PC emulator emulated an 8086 (not 80186). There are a couple of extra instructions added in the later 80186. Not much software uses them but apparently the game Star Trek 25th Anniversary did. Dave Lawrence's FasterPC emulator provided a virtual 80186 (though the CPU emulation was still just as slow, the video support was faster and PC speaker emulation much better, so it could play many DOS games that used 320x200 res in 256 colours. Like Civilization...)
  • I imagine it would require connecting too much non-x86 R-Pi plumbing but it would be nice if it could run the PC version of Netflix.

  • No source, no future (Score:4, Interesting)

    by morgauxo ( 974071 ) on Friday May 29, 2015 @03:27PM (#49801645)

    I wouldn't bother. Just use QEMU. It's slower but it works.

    I don't think proprietary software is worthwile on Linux. No, I'm not an RMS type that would completely boycott proprietary anything on philosphical grounds. It's just that my experience is that if I can't compile it from source on Linux it sucks.

    First... you have to be running the same distro as the author or.. no support and maybe a 40% chance it will even work.

    Ok, for the Pi everything is probably Raspbian so that might not be a problem.

    But.. a year later... it doesn't work if you download any updates because it is dependant on some old library version or the distro has moved some file or something like that.

    If you get source code... just recompile and it works. You get about 5 years before Linux has changed too much to use that same source code without modification.

    Get a community to maintain the source code... it's more like 25 years.

    Now.. proprietary software on Windows.. 10 to 20 years before you can't use it anymore.

    • eh?

      You know of a version of QEMU that runs on ARM? Last I checked the choices were sparc, ppc and x86

      • by qIroS ( 597071 )
        Sure. qemu will run on ARM/Linux. I installed and ran Windows ME in Qemu when I first got a 512MB raspberry Pi.
      • by caseih ( 160668 )

        Not sure where you're checking. ARM has been supported as a target for some time now, and as a host. Of course we aren't talking about the ARM target; we're talking about the x86 target on an ARM host. And it will definitely compile and run on an ARM system. Both full system emulation (a virtual machine) and user-mode emulation, though it's not really that fast yet. The latter mode is closer to the software described in the article. Years ago I used the QEMU x86 user mode system on my PowerPC to run a

  • Obviously it doesn't run the 32-bit version of Windows 8, but does it at least crawl it?

"Marriage is low down, but you spend the rest of your life paying for it." -- Baskins

Working...