Scramblejams 13 years ago

Does this point the way for better disk performance for potentially all VM software? VirtualBox and Xen sure leave me cold when it comes to I/O. (Disclaimer: I haven't tried the alternatives, so I'm not really calling them out specifically.)

  • aliguori 13 years ago

    This is ultimately about scalability. To achieve this kind of IOP rate, you need to be able to scale very large guests very well. KVM has always been exceptionally good at this and QEMU was really the bottle neck. We've now overcome this problem in QEMU (at least for block performance).

    KVM is able to achieve this level of scalability because it leverages Linux which is already very good at scaling to large systems. I wouldn't expect this kind of scalability from other hypervisors any time soon.

    • bch 13 years ago

      So... does this preclude enjoying this sort of speed-boost on *BSD (I care about NetBSD specifically).

    • martinced 13 years ago

      I'm a KVM user (snd ex-Xen early adopter) but not very knowledgeable about all this. (I'm using VMs because I need them to test software in different environments)

      Does this latest QEMU patch have implications for KVM? Will KVM "Linux inside Linux" and "Windows inside Linux" virtual machines be now faster under KVM thanks to this latest QEMU patch? And if so, why?

      (thanks for all the good work to the QEMU and KVM teams btw)

MichailP 13 years ago

If anybody has simple and beautiful :) use cases of QEMU please share. I used it to run Debian Squeeze MIPS images, so that I could have gcc output in MIPS assembly.

  • qznc 13 years ago

    We are testing [0] our Sparc v8 compiler backend. Apparently, a 3GHz i7 core emulating Sparc is significantly faster than an FPGA synthesized Sparc.

    [0] http://pp.info.uni-karlsruhe.de/git/firm-testsuite/

    • jws 13 years ago

      Schedule change. Today's project is to see is qemu running a big endian PPC delivers acceptable performance for testing software in a bigendian environment. I could retire an old Mac Mini PPC running Debian.

    • dorianj 13 years ago

      What kind of FPGA package were you previously using?

      Many FPGA CPU simulators attempt to be cycle-accurate for the purpose of architecture development, where the emulator has the leeway of treating instructions as atomic units and abstracting the rest.

      • qznc 13 years ago

        Would have to ask my colleague about the details, but yes it is cycle-accurate. It is running 50 or 80 MHz, so it is expected to run slower.

  • apaprocki 13 years ago

    I'd be curious if anyone has a Sparc guest running Solaris 10/11 on a Mac..

  • zenocon 13 years ago

    I use it all the time for Raspberry Pi images - configure / setup, backup, etc. if you don't have hardware yet, you can get everything ready, and then just push it onto an SD card when the hardware arrives.

  • theanalyst 13 years ago

    I made an arch-usb image I carry-around after customising the full thing in qemu and converting qemu-img to usb, still use it in emergency places

  • hugs 13 years ago

    We used QEMU/KVM at Sauce to build out our OS X / iOS cloud.

    • homosaur 13 years ago

      I never miss a chance to pimp Sauce to everyone I can. I love that service, it's stupid fast and as simple as launching any other app. We're going to be purchasing a paid account next week to do more extensive testing on some sites we are building out.

      It's a startling upgrade over using Adobe BrowserLab or local virtual machines, which were our previous strategies.

    • grosskur 13 years ago

      Great stuff! Your blog post mentioned you use Mac Pros---would the QEMU/KVM patches also work on the Mac mini? Any luck getting them upstreamed?

      • hugs 13 years ago

        I don't know why they wouldn't work on a Mac Mini. I'm not the one who did the work, so I'm not sure about upstream status. Best people to ask are Alexander Graf and René Rebe. But if anyone wants to grab the patches and advocate for them upstream, that would be awesome.

  • realo 13 years ago

    Hardened embedded systems.

  • exDM69 13 years ago

    I have used QEMU to develop and debug a hobby operating system kernel. GDB and QEMU makes things so much easier than making a floppy image and booting it on real hardware (like Linus worked on Linux kernel in the early 1990's).

    Making a multiboot-compatible kernel image that you can boot with QEMU (and with real iron using GRUB) requires only a few dozen lines of assembly code and a simple linker script.

itry 13 years ago

Do I understand this correctly? Windows in Quemu will feel as fast as installed directly?

If thats the case, I would buy a windows 8 CD just to play around with it without having to leave Debian. Will Windows 8 run in Qemu?

Does this latest Qemu run under Debian 6?

  • dguaraglia 13 years ago

    Or, you can just use VirtualBox to test it? I don't know if they already support it.

  • Keyframe 13 years ago

    Probably it's true that it will run as fast as 95% of native speed. However, you still have a host OS running in parallel... so it won't be the same as running either as full native I guess.

  • paines 13 years ago

    This isn't just the fact as of this release. Xen is based on Qemu which can run e.g. Win7 paravirtualized on the same machine obtaining complete gfx or othe pci(-e) devices and run almost full speed. I am curious about the impact now that it is even faster.

    • robot 13 years ago

      Is that really paravirtualization? How does Xen run a binary OS as paravirtualized?

      • ibrahima 13 years ago

        I think you're right and the guy you replied to misspoke. Xen running Windows is called HVM which seems to be distinct from paravirtualization.

    • OGC 13 years ago

      How does, say, Photoshop perform?

    • 4ad 13 years ago

      Xen is not based on QEMU. Xen can use QEMU for emulating some devices when doing full virtualization, but when doing paravirtualization (most useful case) it doesn't use QEMU at all.

  • sciurus 13 years ago

    No, "experimental threaded backend for virtio-blk-pci achieving up to a 900% increase in IOP rate on very large storage devices" does not translate to "Windows in Quemu will feel as fast as installed directly".

  • lucian1900 13 years ago

    The GPU is still emulated in software, so it's likely to be quite slow.

hhw 13 years ago

I'm a bit skeptical of the purported 95% of native IO performance. Especially, as in the mailing list thread, the maintainer claimed that it should already have been 95% on local storage, but that this latest version makes that applicable to large storage arrays as well.

https://plus.google.com/101344524535025574253/posts/Dbu4e6ff...

It will be very interesting to see the benchmark configurations and results.

guidefreitas 13 years ago

Does that means Android emulator is going to be usable now?

  • 0x0 13 years ago

    The x86 android emulator with the intel HAX thing isn't too bad, already.

  • kanzure 13 years ago

    android-x86 is already very usable in qemu.

mtgx 13 years ago

Does this performance apply to using x86 apps on ARM devices, in Linux?

klrr 13 years ago

Works great, played around with plan9 on it.

deutronium 13 years ago

Is this with visualization extensions?

MakeUsersWant 13 years ago

Request: binaries for download.

  • rwmj 13 years ago

    Qemu is ridiculously easy to compile on every Linux. Really. Just git clone, ./configure && make. The number of dependencies is tiny.

    It's also available in every Linux & *BSD distro of significance as a binary.

    It's also pretty easy to compile on Windows, although of course Windows lacks a compiler out of the box, but that's entirely the fault of Windows.

    • MakeUsersWant 13 years ago

      At risk of nit-picking, I have a OS X and no default compiler.

  • exDM69 13 years ago

    QEMU is configured at compile time (with arguments to ./configure). It does not make sense to make a one-size-fits-all binary.

    Grabbing the source from git and compiling it takes only a moment anyway.

dysoco 13 years ago

Although something tells me I won't be able to play games in W8 under QUEMU right?