Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] support/testing/infra/emulator: increase memory size used by Qemu
@ 2019-06-21 20:27 Thomas Petazzoni
  2019-06-22  6:47 ` François Perrad
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2019-06-21 20:27 UTC (permalink / raw)
  To: buildroot

By default, Qemu emulates a system with 128 MB of RAM. This is not
sufficient for some test cases we have, such as TestPerlDBDmysql,
where the initramfs is quite large. Therefore, this commit extends the
RAM size emulated by Qemu to 256 MB.

Fixes:

  https://gitlab.com/buildroot.org/buildroot/-/jobs/237108668

Thanks to Arnout for the analysis of the issue.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 support/testing/infra/emulator.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/support/testing/infra/emulator.py b/support/testing/infra/emulator.py
index 802e89d4b4..3d3e1750c6 100644
--- a/support/testing/infra/emulator.py
+++ b/support/testing/infra/emulator.py
@@ -38,7 +38,8 @@ class Emulator(object):
 
         qemu_cmd = ["qemu-system-{}".format(qemu_arch),
                     "-serial", "stdio",
-                    "-display", "none"]
+                    "-display", "none",
+                    "-m", "256"]
 
         if options:
             qemu_cmd += options
-- 
2.21.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] support/testing/infra/emulator: increase memory size used by Qemu
  2019-06-21 20:27 [Buildroot] [PATCH] support/testing/infra/emulator: increase memory size used by Qemu Thomas Petazzoni
@ 2019-06-22  6:47 ` François Perrad
  2019-06-22 17:28 ` Thomas Petazzoni
  2019-06-24 19:59 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: François Perrad @ 2019-06-22  6:47 UTC (permalink / raw)
  To: buildroot

Le ven. 21 juin 2019 ? 23:15, Thomas Petazzoni <thomas.petazzoni@bootlin.com>
a ?crit :

> By default, Qemu emulates a system with 128 MB of RAM. This is not
> sufficient for some test cases we have, such as TestPerlDBDmysql,
> where the initramfs is quite large. Therefore, this commit extends the
> RAM size emulated by Qemu to 256 MB.
>
> Fixes:
>
>   https://gitlab.com/buildroot.org/buildroot/-/jobs/237108668
>
> Thanks to Arnout for the analysis of the issue.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
>

Acked-by: Francois Perrad <francois.perrad@gadz.org>

---
>  support/testing/infra/emulator.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/support/testing/infra/emulator.py
> b/support/testing/infra/emulator.py
> index 802e89d4b4..3d3e1750c6 100644
> --- a/support/testing/infra/emulator.py
> +++ b/support/testing/infra/emulator.py
> @@ -38,7 +38,8 @@ class Emulator(object):
>
>          qemu_cmd = ["qemu-system-{}".format(qemu_arch),
>                      "-serial", "stdio",
> -                    "-display", "none"]
> +                    "-display", "none",
> +                    "-m", "256"]
>
>          if options:
>              qemu_cmd += options
> --
> 2.21.0
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190622/158a4824/attachment.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] support/testing/infra/emulator: increase memory size used by Qemu
  2019-06-21 20:27 [Buildroot] [PATCH] support/testing/infra/emulator: increase memory size used by Qemu Thomas Petazzoni
  2019-06-22  6:47 ` François Perrad
@ 2019-06-22 17:28 ` Thomas Petazzoni
  2019-06-24 19:59 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2019-06-22 17:28 UTC (permalink / raw)
  To: buildroot

On Fri, 21 Jun 2019 22:27:24 +0200
Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote:

> By default, Qemu emulates a system with 128 MB of RAM. This is not
> sufficient for some test cases we have, such as TestPerlDBDmysql,
> where the initramfs is quite large. Therefore, this commit extends the
> RAM size emulated by Qemu to 256 MB.
> 
> Fixes:
> 
>   https://gitlab.com/buildroot.org/buildroot/-/jobs/237108668
> 
> Thanks to Arnout for the analysis of the issue.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> ---
>  support/testing/infra/emulator.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] support/testing/infra/emulator: increase memory size used by Qemu
  2019-06-21 20:27 [Buildroot] [PATCH] support/testing/infra/emulator: increase memory size used by Qemu Thomas Petazzoni
  2019-06-22  6:47 ` François Perrad
  2019-06-22 17:28 ` Thomas Petazzoni
@ 2019-06-24 19:59 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2019-06-24 19:59 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:

 > By default, Qemu emulates a system with 128 MB of RAM. This is not
 > sufficient for some test cases we have, such as TestPerlDBDmysql,
 > where the initramfs is quite large. Therefore, this commit extends the
 > RAM size emulated by Qemu to 256 MB.

 > Fixes:

 >   https://gitlab.com/buildroot.org/buildroot/-/jobs/237108668

 > Thanks to Arnout for the analysis of the issue.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Committed to 2019.02.x and 2019.05.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-24 19:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-21 20:27 [Buildroot] [PATCH] support/testing/infra/emulator: increase memory size used by Qemu Thomas Petazzoni
2019-06-22  6:47 ` François Perrad
2019-06-22 17:28 ` Thomas Petazzoni
2019-06-24 19:59 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox