From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=none 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=bDW+Vjtz; dkim-atps=neutral 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 222C25A004E for ; Thu, 10 Oct 2024 09:52:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1728546759; 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=06PiR9jcEASvJ2tMypjbb7rPbDxU8bFAHOKgBxuD/wI=; b=bDW+Vjtz1XZphcWLAazg/GzgqchkELo8sCqCQMUtpwQUu+HQDmSGAZS8DsAj1eq1zJZ+et sM8hKMJ/airjwbe4QVmKfar28SKFDfPjbKNz4MphL6x6f4UCUH/kC4gzcA4XClM+AI+Il6 m+udfdi7M7SImGzf0IofD2CDkPcvw6Y= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-527-p6C3uPRXNf6WznZmRVO58g-1; Thu, 10 Oct 2024 03:52:38 -0400 X-MC-Unique: p6C3uPRXNf6WznZmRVO58g-1 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-42cb374f0cdso3462315e9.0 for ; Thu, 10 Oct 2024 00:52:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728546756; x=1729151556; 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=06PiR9jcEASvJ2tMypjbb7rPbDxU8bFAHOKgBxuD/wI=; b=rzzrWMCOJ44/d6I3Nr+C68NVdfBf9jMN9HxPFe/EEdjb0oH4NNld6GSBxWnpdC/R9K kV7ToGRQ8eUKIqg0Yv+Fnqy4ySm1GaZnpJsyJdpdtkma1n+yWGTMgWOfUNuvpxhqN/Kx l0hBVwgeUfwp2ckTHYZuk+1dzVixDza8Hi0wt20bKw++vMq70CwkAjPoBMRnNVptmei7 /74Tm1IEH8ucik2YdmMmNAn7pF3/yQLQzftdeXS3cI+86hKA26LbJYEhjJ0CkwRCK6cM kFf2kN2nDExfiPrpv7CgNAeyN5SZTGSRA5qJALi1X443uGnoFyX6PL4B2upXObO9j+SU tBlA== X-Gm-Message-State: AOJu0YwryTLN1H8J2YjIRJAcXj12FFJ8u1rXwqrGv3ZtN9O/c8ejfX1O fdv6igZScQoqbd+o3h+fPnxonppD+tG6AV8wQdFjZjm4QgF2VI8Q5YqdYqkFVquEMSPAXzkMUHd Sd53c9yeO0YsJBfEUE4PDD3uEPRHRYwWWni3+EXzlS8+SH4seJM4KnzcfeK8pIz744z4TkDIKKz zqqEkcIT19BEZQviDnB/CmChmzJfkgtP8h X-Received: by 2002:a05:600c:5486:b0:430:56f5:4d1f with SMTP id 5b1f17b1804b1-43115a96f4bmr19250795e9.2.1728546755710; Thu, 10 Oct 2024 00:52:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE1Qqo3ArqOKP6phj2C3//DlD7YS1QVN3YmRZUpDn7/7MMOQtvfKeEO1IonnBniBRZjP617BA== X-Received: by 2002:a05:600c:5486:b0:430:56f5:4d1f with SMTP id 5b1f17b1804b1-43115a96f4bmr19250585e9.2.1728546755388; Thu, 10 Oct 2024 00:52:35 -0700 (PDT) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [2a10:fc81:a806:d6a9::1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-430d748d42fsm40603965e9.43.2024.10.10.00.52.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2024 00:52:34 -0700 (PDT) Date: Thu, 10 Oct 2024 09:52:32 +0200 From: Stefano Brivio To: Laurent Vivier Subject: Re: [PATCH v7 0/8] Add vhost-user support to passt. (part 3) Message-ID: <20241010095232.5b71c92b@elisabeth> In-Reply-To: <6cb94183-e665-42be-8191-bf2cf730672e@redhat.com> References: <20241009090716.691361-1-lvivier@redhat.com> <20241009193726.7e2e5790@elisabeth> <20241010090801.23da8bff@elisabeth> <6cb94183-e665-42be-8191-bf2cf730672e@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-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: ZWNZCIDEOTAR3ZMWIQ5MAZFYBL2I7YRY X-Message-ID-Hash: ZWNZCIDEOTAR3ZMWIQ5MAZFYBL2I7YRY 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 Thu, 10 Oct 2024 09:45:36 +0200 Laurent Vivier wrote: > On 10/10/2024 09:08, Stefano Brivio wrote: > > For outbound traffic (I tried with IPv4), which is much slower for some > > reason (~25 Gbps): > > Perhaps because we can't bypass IPv4 header checksum whereas there is no IPv6 header > checksum ? Ah, no, sorry, I meant slower than inbound traffic. For outbound traffic, I get very similar numbers between IPv4 and IPv6. And judging from perf output, it's all about copying and zeroing and stuff. As far as I know the kernel doesn't actually compute checksum, delivery is local. -- Stefano