Re: [PATCH v1 4/4] accel/tcg: increase default code gen buffer size for 64 bit

2020-02-28 Thread Alex Bennée
Igor Mammedov writes: > On Thu, 27 Feb 2020 20:07:24 +0100 > Niek Linnenbank wrote: > >> Hi Richard, >> >> On Thu, Feb 27, 2020 at 1:57 PM Richard Henderson < >> richard.hender...@linaro.org> wrote: >> >> > On 2/27/20 4:31 AM, Alex Bennée wrote: >> > >> It does not make sense for a linux

Re: [PATCH v1 4/4] accel/tcg: increase default code gen buffer size for 64 bit

2020-02-27 Thread Igor Mammedov
On Thu, 27 Feb 2020 20:07:24 +0100 Niek Linnenbank wrote: > Hi Richard, > > On Thu, Feb 27, 2020 at 1:57 PM Richard Henderson < > richard.hender...@linaro.org> wrote: > > > On 2/27/20 4:31 AM, Alex Bennée wrote: > > >> It does not make sense for a linux-user chroot, running make -jN, on >

Re: [PATCH v1 4/4] accel/tcg: increase default code gen buffer size for 64 bit

2020-02-27 Thread Niek Linnenbank
Hi Richard, On Thu, Feb 27, 2020 at 1:57 PM Richard Henderson < richard.hender...@linaro.org> wrote: > On 2/27/20 4:31 AM, Alex Bennée wrote: > >> It does not make sense for a linux-user chroot, running make -jN, on > just about > >> any host. For linux-user, I could be happy with a modest incre

Re: [PATCH v1 4/4] accel/tcg: increase default code gen buffer size for 64 bit

2020-02-27 Thread Niek Linnenbank
Hi Alex, On Thu, Feb 27, 2020 at 1:19 PM Alex Bennée wrote: > > Niek Linnenbank writes: > > > Hi Alex, > > > > On Wed, Feb 26, 2020 at 7:13 PM Alex Bennée > wrote: > > > >> While 32mb is certainly usable a full system boot ends up flushing the > >> codegen buffer nearly 100 times. Increase the

Re: [PATCH v1 4/4] accel/tcg: increase default code gen buffer size for 64 bit

2020-02-27 Thread Igor Mammedov
On Thu, 27 Feb 2020 04:56:46 -0800 Richard Henderson wrote: > On 2/27/20 4:31 AM, Alex Bennée wrote: > >> It does not make sense for a linux-user chroot, running make -jN, on just > >> about > >> any host. For linux-user, I could be happy with a modest increase, but > >> not all > >> the way o

Re: [PATCH v1 4/4] accel/tcg: increase default code gen buffer size for 64 bit

2020-02-27 Thread Richard Henderson
On 2/27/20 4:31 AM, Alex Bennée wrote: >> It does not make sense for a linux-user chroot, running make -jN, on just >> about >> any host. For linux-user, I could be happy with a modest increase, but not >> all >> the way out to 2GiB. >> >> Discuss. > > Does it matter that much? Surely for small

Re: [PATCH v1 4/4] accel/tcg: increase default code gen buffer size for 64 bit

2020-02-27 Thread Alex Bennée
Richard Henderson writes: > On 2/26/20 10:10 AM, Alex Bennée wrote: >> While 32mb is certainly usable a full system boot ends up flushing the >> codegen buffer nearly 100 times. Increase the default on 64 bit hosts >> to take advantage of all that spare memory. After this change I can >> boot m

Re: [PATCH v1 4/4] accel/tcg: increase default code gen buffer size for 64 bit

2020-02-27 Thread Alex Bennée
Niek Linnenbank writes: > Hi Alex, > > On Wed, Feb 26, 2020 at 7:13 PM Alex Bennée wrote: > >> While 32mb is certainly usable a full system boot ends up flushing the >> codegen buffer nearly 100 times. Increase the default on 64 bit hosts >> to take advantage of all that spare memory. After th

Re: [PATCH v1 4/4] accel/tcg: increase default code gen buffer size for 64 bit

2020-02-26 Thread Richard Henderson
On 2/26/20 10:10 AM, Alex Bennée wrote: > While 32mb is certainly usable a full system boot ends up flushing the > codegen buffer nearly 100 times. Increase the default on 64 bit hosts > to take advantage of all that spare memory. After this change I can > boot my tests system without any TB flushe

Re: [PATCH v1 4/4] accel/tcg: increase default code gen buffer size for 64 bit

2020-02-26 Thread Niek Linnenbank
Hi Alex, On Wed, Feb 26, 2020 at 7:13 PM Alex Bennée wrote: > While 32mb is certainly usable a full system boot ends up flushing the > codegen buffer nearly 100 times. Increase the default on 64 bit hosts > to take advantage of all that spare memory. After this change I can > boot my tests syste

[PATCH v1 4/4] accel/tcg: increase default code gen buffer size for 64 bit

2020-02-26 Thread Alex Bennée
While 32mb is certainly usable a full system boot ends up flushing the codegen buffer nearly 100 times. Increase the default on 64 bit hosts to take advantage of all that spare memory. After this change I can boot my tests system without any TB flushes. Signed-off-by: Alex Bennée --- accel/tcg/t