Re: Change TCG cache size?

2021-09-22 Thread Kenneth Adam Miller
Also, that command flag was *really really buried, and I couldn't find it at all in the help. On Wed, Sep 22, 2021 at 1:50 PM Kenneth Adam Miller < kennethadammil...@gmail.com> wrote: > It's just the overhead of running a cross architecture emulation. For Arm > to x86_64, the overhead is very

Re: Change TCG cache size?

2021-09-22 Thread Kenneth Adam Miller
It's just the overhead of running a cross architecture emulation. For Arm to x86_64, the overhead is very high. I was wondering if there is some command line argument that I was missing in order to reduce this. I read somewhere that the tcg cache is defaulted to some value, and wanted to check in

Re: Change TCG cache size?

2021-09-22 Thread Alex Bennée
Kenneth Adam Miller writes: > Well, maybe I'm understanding that wrong. I am talking the cache that the tcg > keeps of translated code. If I got that variable wrong then > please let me know. TB_JMP_CACHE_SIZE is used to keep a lookup of address to translated blocks (TBs). This is used to

Re: Change TCG cache size?

2021-09-22 Thread Kenneth Adam Miller
Well, maybe I'm understanding that wrong. I am talking the cache that the tcg keeps of translated code. If I got that variable wrong then please let me know. But I want to make sure that that is large enough to keep from having to run TCG again. How can I do that? On Wed, Sep 22, 2021, 6:54 AM

Re: Change TCG cache size?

2021-09-22 Thread Alex Bennée
Kenneth Adam Miller writes: > Hello all, > > I just want to ask this one question: if I change the qemu tcg cache > size (TB_JMP_CACHE_SIZE), will that force any errors at run time? Hopefully not - for both user-mode and softmmu we take some care to ensure tb_jmp_cache_hash_func and

Change TCG cache size?

2021-09-21 Thread Kenneth Adam Miller
Hello all, I just want to ask this one question: if I change the qemu tcg cache size ( TB_JMP_CACHE_SIZE), will that force any errors at run time?