[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] passing translated address out in QEMU
From: |
Wei-Ren Chen |
Subject: |
Re: [Qemu-devel] passing translated address out in QEMU |
Date: |
Fri, 24 Aug 2012 16:15:56 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
> >> not too sure how much impact inlined lookup has on the performance.
> >> since i disabled it, next step i would just get rid of that piece of
> >> generated assembly, as it is no good for icache ( generated for every
> >> memory operation).
> >
> > You can run a benchmark inside your guest. I guess if you run a
> > long-running benchmark, you can see performance degradation. If software
> > tlb hit, you can get the value of guest memory in the code cache
> > with a few host instructions. Disabling software tlb lookup, every guest
> > memory access will call a helper function which takes a lot of time.
> > What you mean by "get rid of that piece of generated assembly"?
>
> every inlined TLB lookup has ~10 instructions .
I still don't think remove inline tlb lookup will improve anything.
True, the inline tlb lookup will take some space on icache, but I
believe it's not a big deal since you're on a x86 host.
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj
- Re: [Qemu-devel] passing translated address out in QEMU, (continued)
- Re: [Qemu-devel] passing translated address out in QEMU, Wei-Ren Chen, 2012/08/23
- Re: [Qemu-devel] passing translated address out in QEMU, Wei-Ren Chen, 2012/08/23
- Re: [Qemu-devel] passing translated address out in QEMU, Xin Tong, 2012/08/23
- Re: [Qemu-devel] passing translated address out in QEMU, Peter Maydell, 2012/08/23
- Re: [Qemu-devel] passing translated address out in QEMU, Xin Tong, 2012/08/23
- Re: [Qemu-devel] passing translated address out in QEMU, Steven, 2012/08/23
- Re: [Qemu-devel] passing translated address out in QEMU, Wei-Ren Chen, 2012/08/23
- Re: [Qemu-devel] passing translated address out in QEMU, Xin Tong, 2012/08/23
- Re: [Qemu-devel] passing translated address out in QEMU, Wei-Ren Chen, 2012/08/24
- Re: [Qemu-devel] passing translated address out in QEMU, Xin Tong, 2012/08/24
- Re: [Qemu-devel] passing translated address out in QEMU,
Wei-Ren Chen <=