Re: [Qemu-devel] save compiled qemu traces.

2013-12-12 Thread Laurent Desnogues
On Thu, Dec 12, 2013 at 5:07 AM, Xin Tong trent.t...@gmail.com wrote: see questions below. On Tue, Dec 10, 2013 at 12:25 AM, Alex Bennée alex.ben...@linaro.org wrote: trent.t...@gmail.com writes: Does anyone have profiles on how much time QEMU spends in translating instructions. QEMU does

Re: [Qemu-devel] save compiled qemu traces.

2013-12-11 Thread Xin Tong
see questions below. On Tue, Dec 10, 2013 at 12:25 AM, Alex Bennée alex.ben...@linaro.org wrote: trent.t...@gmail.com writes: Does anyone have profiles on how much time QEMU spends in translating instructions. QEMU does not have a baseline interpreter nor does it translate on

Re: [Qemu-devel] save compiled qemu traces.

2013-12-11 Thread Xin Tong
On Thu, Dec 12, 2013 at 1:07 PM, Xin Tong trent.t...@gmail.com wrote: see questions below. On Tue, Dec 10, 2013 at 12:25 AM, Alex Bennée alex.ben...@linaro.org wrote: trent.t...@gmail.com writes: Does anyone have profiles on how much time QEMU spends in translating instructions. QEMU does

Re: [Qemu-devel] save compiled qemu traces.

2013-12-10 Thread Alex Bennée
peter.mayd...@linaro.org writes: On 9 December 2013 06:36, Xin Tong trent.t...@gmail.com wrote: Is it possible for QEMU to obviate some of the translations by attaching a signature (e.g. a hash) with every translated basic block and try to reuse translated basic block based on the signature

Re: [Qemu-devel] save compiled qemu traces.

2013-12-09 Thread Alex Bennée
trent.t...@gmail.com writes: Does anyone have profiles on how much time QEMU spends in translating instructions. QEMU does not have a baseline interpreter nor does it translate on trace-granularity. so i imagine QEMU must spend quite a bit of time translating instructions. Not as much as

Re: [Qemu-devel] save compiled qemu traces.

2013-12-09 Thread Peter Maydell
On 9 December 2013 06:36, Xin Tong trent.t...@gmail.com wrote: Is it possible for QEMU to obviate some of the translations by attaching a signature (e.g. a hash) with every translated basic block and try to reuse translated basic block based on the signature as much as possible ? Reuses can be

Re: [Qemu-devel] save compiled qemu traces.

2013-12-09 Thread Xin Tong
tb_find_fast and tb_find_slow are finding the translated blocks based on guest physical address. I am thinking about finding tbs by content, e.g. using a hash signature. this can be used to potentially save translations. Xin On Mon, Dec 9, 2013 at 7:32 AM, Peter Maydell

[Qemu-devel] save compiled qemu traces.

2013-12-08 Thread Xin Tong
Does anyone have profiles on how much time QEMU spends in translating instructions. QEMU does not have a baseline interpreter nor does it translate on trace-granularity. so i imagine QEMU must spend quite a bit of time translating instructions. Is it possible for QEMU to obviate some of the