Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. OpenJev(openjev.com ↗)
    80comments
  2. ZCode, the GLM coding agent, silently uploads your Git history(tokenstead.ai ↗)
    6comments
  3. Microsoft exec called AI scraping 'the largest theft of labor in human history'(techcrunch.com ↗)
    124comments
  4. Jemalloc 5.4.0(github.com/jemalloc ↗)
    52comments
  5. The scourge of x86 emulation(fex-emu.com ↗)
    34comments
  6. Astra for Law(openai.com ↗)
    595comments
  7. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    139comments
  8. Replacing Pull Requests with Delta(zed.dev ↗)
    12comments
  9. Bend – A language that blocks AI mistakes via proof, on CPU and GPU(bend-lang.com ↗)
    237comments
  10. Qwen 3.8 Omni Flash(qwen.ai ↗)
    84comments
  11. Hister: A private search engine for the pages you visit and the files you keep(github.com/asciimoo ↗)
    170comments
  12. Wax motor(wikipedia.org ↗)
    73comments
  13. When the fractional part of a float fixes your shader(crocidb.com ↗)
    6comments
  14. Fujitsu launches made-in-Japan next-generation CPU FUJITSU-MONAKA(global.fujitsu ↗)
    234comments
  15. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    42comments
  16. Dr Julius Neubronner's Miniature Pigeon Camera(publicdomainreview.org ↗)
    discuss
  17. Warren Buffett Steps Down as Berkshire Chairman, Names Son to Replace Him(nytimes.com ↗)
    4comments
  18. How to Write with an LLM(sockpuppet.org ↗)
    121comments
  19. Google illegally retains customer data,and I am taking legal action against them(medium.com/istokovicsgyorgy79 ↗)
    3comments
  20. A heap overflow and SSO misconfiguration to compromise OpenAI internal repos(hacktron.ai ↗)
    159comments
  21. Shapelearn Qwen 3.8 27B (13.1 GB VRAM)(byteshape.com ↗)
    13comments
  22. Ask A Monk – A digital wilderness for thoughts with no immediate answer(askamonk.online ↗)
    25comments
  23. Flet 1.0 – Build cross-platform apps in Python(flet.dev ↗)
    62comments
  24. Telstra outage: The night a network decided the year was 2006(netnod.se ↗)
    29comments
  25. Diplodocus, Long Thought Exclusively American, Turns Up in Spain(sci.news ↗)
    45comments
  26. Speeding up gearhash on ARM64(sam.dev ↗)
    discuss
  27. Why I didn’t sign the Fields medallists’ letter(gowers.wordpress.com ↗)
    374comments
  28. The most important product decision is what you don't build(liamnugent.me ↗)
    40comments
  29. How do we prevent mathemathics from devolving into the Medieval Era of secrecy?(mathoverflow.net ↗)
    120comments
  30. CrowdSec Source Code Leak(crowdsec.net ↗)
    49comments

QEMU 1.4.0 released with 95% of native IO performance

180 pointsby 13y agopermalink.gmane.org
51 comments
13y agoHN ↗

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.

13y agoHN ↗

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.

13y agoHN ↗

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.

13y agoHN ↗

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.

13y agoHN ↗

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

13y agoHN ↗

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.

13y agoHN ↗

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

13y agoHN ↗

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

13y agoHN ↗

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.

13y agoHN ↗

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?

13y agoHN ↗

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.

13y agoHN ↗

Been looking for running OsX on qemu/kvm for a while now but could not find a place for current patches nor a description of its status at all. not even on Graf's page. Any hint where to go ? tnx in advance.

13y agoHN ↗

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.

13y agoHN ↗

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?

13y agoHN ↗

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

13y agoHN ↗

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.

13y agoHN ↗

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.

13y agoHN ↗

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

13y agoHN ↗

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.

13y agoHN ↗

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.

13y agoHN ↗

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

13y agoHN ↗

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

13y agoHN ↗

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

13y agoHN ↗

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.

13y agoHN ↗

Not just Linux. This announcement makes SmartOS even that much more attractive an option?

13y agoHN ↗

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

13y agoHN ↗

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)

13y agoHN ↗

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

13y agoHN ↗

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.

13y agoHN ↗

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

13y agoHN ↗

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.

13y agoHN ↗

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

13y agoHN ↗

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.

13y agoHN ↗

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

13y agoHN ↗

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