From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTP id 066005A0265 for ; Tue, 1 Nov 2022 09:03:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1667289790; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6RZUPN1E6D1Pq2QaSvdjYkzI/AkeID2eQXEeCNShyv8=; b=hxxPtiy9lvSAPvRbcee9QmdyzYfAqXnepA1GoLsTXtJB/OE/I/CrcrSIgl3QpH26kimjRB EEqZ2G9rhtjwbxMGR8W1NtuP7Lhd1yJAaaYN7MLmJxUDvo8+GO7ef0WfkHyJRWyye/Skxi 45rjjs77IvYvcaz3UFfK21LE9MrOOwg= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-517-JqQ-PwbzPjeVmzq_lSS-tg-1; Tue, 01 Nov 2022 04:03:08 -0400 X-MC-Unique: JqQ-PwbzPjeVmzq_lSS-tg-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 92EF53815D25; Tue, 1 Nov 2022 08:03:08 +0000 (UTC) Received: from maya.cloud.tilaa.com (ovpn-208-31.brq.redhat.com [10.40.208.31]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 58C6A4B3FC7; Tue, 1 Nov 2022 08:03:08 +0000 (UTC) Date: Tue, 1 Nov 2022 09:02:55 +0100 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH 2/2] test: Don't use "outer" passt for memory usage tests Message-ID: <20221101090255.0524dd6d@elisabeth> In-Reply-To: <20221101051937.1294869-3-david@gibson.dropbear.id.au> References: <20221101051937.1294869-1-david@gibson.dropbear.id.au> <20221101051937.1294869-3-david@gibson.dropbear.id.au> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: TEEKKQ3OFBKYYCT7ZGQKYG4M4OICO4ES X-Message-ID-Hash: TEEKKQ3OFBKYYCT7ZGQKYG4M4OICO4ES X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.3 Precedence: list List-Id: Development discussion and patches for passt Archived-At: <> Archived-At: List-Archive: <> List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Tue, 1 Nov 2022 16:19:37 +1100 David Gibson wrote: > The memory usage tests check both userspace and kernel memory usage of > passt. We run it inside a VM so that we can examine kernel memory usage > without noise from whatever else is happening on the host system. > > Currently we also give that VM network connectivity to the outside world > using another instance of passt on the host. The memory usage tests are > purely local to the VM, so outside connectivity is neither needed nor > desirable. Remove it and instead run the passt within the VM against a > local dummy interface. Oh, brilliant, I didn't even consider using a dummy interface here. I would apply this series after re-spinning mine. -- Stefano