From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=CG+3lSGL; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTPS id AFDEC5A0271 for ; Tue, 18 Mar 2025 17:33:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1742315619; 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=By8jlBovdetnLo+nN1OeDIDEnhQpJxCwigQ6OWO7U0Y=; b=CG+3lSGLjL7JbD1kSQY7sHJlR2Wvd92NFZTNa+GkZ6toBGfOYAb90ib1RxpBWKRWiwTu56 63fFGRSd2PswBPG4r9vFsBR4zQCrwzmtun4mo04v5rYxdy+7u04UJhVV+9ErCn8Z9ECdZW fNjISbtmvIfi7K+z5qeR9RT2dM0UceA= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-508-oGhAitE8Pf6GepfhBmW1Bg-1; Tue, 18 Mar 2025 12:33:38 -0400 X-MC-Unique: oGhAitE8Pf6GepfhBmW1Bg-1 X-Mimecast-MFC-AGG-ID: oGhAitE8Pf6GepfhBmW1Bg_1742315617 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-39141ffa913so3508230f8f.2 for ; Tue, 18 Mar 2025 09:33:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742315616; x=1742920416; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=By8jlBovdetnLo+nN1OeDIDEnhQpJxCwigQ6OWO7U0Y=; b=G0e94CeFjOrcpXKdfqkfZC+oQQNev9I7kVu9kyBrvZ8A3ikcFOGeqDOoMFsGr66w8j FgaxHfGkPO2mxZ48x7290fzSZO1wCZZF3KfNWAHhUcB9zIigdsE4suEQiNc1oUSpWP9M fbk2xOxRBV7nOtVTNZOJdSLWISzgsfj61T0Bv28arepZLvlpYyGYGnN6hGXplThJlEIE fA6Dg4g+dGJ3+2UG3MahBwIuguqoGQY9PxJycAEpD2jwOmQ7jjaZ1m5+KWLae1ASET9+ qGcDlF/jsIaztAU2SkfaVGBhE66XKNrDmTnOna4jH2mMQDibgSdlp2kylL6DyMyOYCeH /IeQ== X-Gm-Message-State: AOJu0YyvWuWk0q365EFu9yKwm6yTsJfSjnNiliPJH5AoMEizLOglaK+j mnRnsRUvVMLUIml2x9rlXNf6B9n7et2Mkm7JOK1BBcrsvtJGIh6idnuaxMWKiD2gyCig0LedVre VTfuPyZFePSjcBC5wVNrI6oqzLnBayJDNurBH7GYaEsX0Ubi1IaWRDhGgHstcsritpQdtSUur77 KvqBCrC93UExPlmE67LFD6Wn1wTeDgcOEQ X-Gm-Gg: ASbGnctkckTXBa/Jl+bhu1X1ljQrcvtGdLgfSBWNFwwlHE/kXPaqBrWESE5VJce4I1+ e2S5WE934xsRhEHkOf+Utvvsjcvoj+qhEkHfuiIFY4LEVNuI79JtBF8jrEQzZTNPvBRjy9TFlvn sqpuX4uWhQ7YjxeQWyEZd449ty4TKHI7J3qdn+LRJrnT/yKJ1yt2RWp9pVybO8z0cZNhsCNpo3p 9YYxfbI23g2QwB3X8qeU+rNJUc3mXlj7OL64jh1tEvHoRNhuZWqU0YA+5TXXu+9NFuL/IdmEtBg pJ07ftm+HfLKpVZb5u07PQNyO4M= X-Received: by 2002:a5d:598c:0:b0:391:1473:336a with SMTP id ffacd0b85a97d-3971f4119f0mr17464384f8f.36.1742315616369; Tue, 18 Mar 2025 09:33:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFJI/5cWbQMPJoDQq8/xBG1mZdeENuIFiiqLqyqwKvEIhHuYDBCxUmzR8fvguc9xZ5VZXxQBw== X-Received: by 2002:a5d:598c:0:b0:391:1473:336a with SMTP id ffacd0b85a97d-3971f4119f0mr17464356f8f.36.1742315615908; Tue, 18 Mar 2025 09:33:35 -0700 (PDT) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [2a10:fc81:a806:d6a9::1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43d33f5771dsm50041745e9.38.2025.03.18.09.33.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Mar 2025 09:33:35 -0700 (PDT) Date: Tue, 18 Mar 2025 17:33:34 +0100 From: Stefano Brivio To: Laurent Vivier Subject: Re: Testing vhost-user with "virtio-net: tweak for better TX performance in NAPI mode" Message-ID: <20250318173334.0ab108c8@elisabeth> In-Reply-To: <2f3fa74f-523d-4c03-bffb-8d154c40261b@redhat.com> References: <2f3fa74f-523d-4c03-bffb-8d154c40261b@redhat.com> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: Qp9MzA8vGIxb-Sx9cdnBqrpQUjyPvcC53U9Ylt6A3hA_1742315617 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: BGUZ7SBE6N5ZSJ57OMO6IV2NNW3FG5R5 X-Message-ID-Hash: BGUZ7SBE6N5ZSJ57OMO6IV2NNW3FG5R5 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.8 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, 18 Mar 2025 12:07:09 +0100 Laurent Vivier wrote: > ____ The results with a 6.14-rc7 + e13b6da7045f: Thanks for checking! > From guest: > > iperf3 -c 10.6.68.254 -P2 -Z -t5 -l 1M -w 16M > [SUM] 0.00-5.00 sec 14.8 GBytes 25.4 Gbits/sec 0 sender > [SUM] 0.00-5.01 sec 14.8 GBytes 25.4 Gbits/sec receiver > > From host: > > iperf3 -c localhost -P2 -Z -t5 -p 10001 -l 1M -w 16M > [SUM] 0.00-5.00 sec 28.5 GBytes 48.9 Gbits/sec 0 sender > [SUM] 0.00-5.03 sec 28.4 GBytes 48.6 Gbits/sec receiver > > We have only a 2% improvement. Ouch. :( Then there's something else... by the way, for reference, my investigation back then stopped a bit after: https://archives.passt.top/passt-dev/20241010090801.23da8bff@elisabeth/ that is, I tried zeroing pages "fast": https://archives.passt.top/passt-dev/20241017021027.2ac9ea53@elisabeth/ but it didn't really change the asymmetry. I was getting the same numbers you're getting now. Whatever, I guess it's not so important, just... one day we should figure it out. :) -- Stefano