Skip to content

x86_64 mttcg

Emilio G. Cota qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hw/i386/pc: hold the BQL when calling cpu_get_tickshw/i386/pc.c+12 -11 reply
2/4cpus: assert that the BQL is held in cpu_get_tickscpus.c+2 -00 replies
3/4target/i386/translate: use thread-local storage in !user-modetarget/i386/translate.c+16 -82 replies
4/4configure: enable mttcg for x86_64configure+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] x86_64 mttcg

With this series I can boot a busybox image and several Ubuntu images with various -smp's.

The speedup we get is in line with what we get with other ISAs, e.g. -smp 4 takes 34s instead of 1min with thread=single.

I've run this through the Valgrind race detectors, and the remaining races reported seem benign.

I have not tested i386, so I'm not turning mttcg on for it yet.

Patches 1-2 comply with cpu_get_ticks' documentation. I'm not too happy about effectively serializing rdtsc, since Linux guests call it very often (for each vCPU!). But as usual, correctness goes before performance or scalability.

You can fetch the series from:
https://github.com/cota/qemu/tree/x86_64-mttcg

Thanks,

Emilio