qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Igor Mammedov <imammedo@redhat.com>
To: Eduardo Habkost <ehabkost@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v2] tests: numa-test: use -numa memdev option instead of legacy 'mem' option
Date: Tue, 9 Jul 2019 16:51:21 +0200	[thread overview]
Message-ID: <20190709165122.26ee5961@redhat.com> (raw)
In-Reply-To: <20190708222501.GY5198@habkost.net>

On Mon, 8 Jul 2019 19:25:01 -0300
Eduardo Habkost <ehabkost@redhat.com> wrote:

> On Thu, Jul 04, 2019 at 09:33:22AM +0200, Igor Mammedov wrote:
> > On Wed, 3 Jul 2019 16:37:02 -0300
> > Eduardo Habkost <ehabkost@redhat.com> wrote:  
> > > [...]  
> > > > +    TestData data = { .ram_size = 128 };
> > > >  
> > > > -    if (strcmp(arch, "aarch64") == 0) {
> > > > -        args = "-machine virt";
> > > > +    if (!strcmp(arch, "aarch64")) {
> > > > +        data.args = "-machine virt";
> > > > +    } else if (!strcmp(arch, "ppc64")) {
> > > > +        data.ram_size = 512;    
> > > 
> > > Wouldn't it be simpler to always use "-m 512M" and the same node
> > > sizes?  
> > it would, but it might make some CI instances start failing more
> > often where it used to work before. So I picked side of being
> > conservative and not to hog memory unless it's necessary.  
> 
> I don't understand.  Why would "-m 512M" make some CI instances
> start failing more often?

well, test would consume 4 times more RAM and if running in parallel
with other tests it might hit RAM limits set on test instance
(it seems travis-ci should be fine with 7G VMs (assuming it runs on them)
but who knows where else tests are running).

Anyways if you feel it should be 512, I can respin with it default
set to 512M (it will save a couple of lines, so honestly I don't see
a good reason to consume more where it's not necessary)

As for "the same node sizes?" it depends on testcases, for some it might be
fine but not for all (current numa-test cases are mostly focused on CPU
related parts but in bios-tables tests there is memory-less node testcase,
which hints that numa-test is rather incomplete).


  reply	other threads:[~2019-07-09 14:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-02 21:57 [Qemu-devel] [PATCH] numa: Make deprecation warnings conditional on !qtest_enabled() Eduardo Habkost
2019-07-03  7:49 ` Igor Mammedov
2019-07-03 15:47 ` [Qemu-devel] [PATCH v2] tests: numa-test: use -numa memdev option instead of legacy 'mem' option Igor Mammedov
2019-07-03 19:37   ` Eduardo Habkost
2019-07-04  7:33     ` Igor Mammedov
2019-07-08 22:25       ` Eduardo Habkost
2019-07-09 14:51         ` Igor Mammedov [this message]
2019-07-03 19:57   ` no-reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190709165122.26ee5961@redhat.com \
    --to=imammedo@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).