From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B26B54234F; Thu, 12 Oct 2023 15:49:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A1EB6402F2; Thu, 12 Oct 2023 15:49:50 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 354F0402C9 for ; Thu, 12 Oct 2023 15:49:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1697118588; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KiW1zfwp3ta6mjH7NmQrGnn7ma5yzdXIc+35YoQUzU4=; b=KWF0ce0yvjp0iwYiTxcWBtfcBYGwFFBhBEM4EgFyjzDaa17rbuHAz87X3hox/F4OB8HV6M RC/ee6Dlms7Cet6gwDjaQAMJHtRGW5T9IgSiL33MIn2ryMM4v7UMDTSc9h0QoUsAKz59SO bp7lQOZ1tgZ9ZONuqhxAgigN3lhnD/g= Received: from mimecast-mx02.redhat.com (mx-ext.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-83-ucra9LVsMLuRgsMePcA-ng-1; Thu, 12 Oct 2023 09:49:47 -0400 X-MC-Unique: ucra9LVsMLuRgsMePcA-ng-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 46EAD381079E; Thu, 12 Oct 2023 13:49:47 +0000 (UTC) Received: from [10.39.208.36] (unknown [10.39.208.36]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5E48B2157F5A; Thu, 12 Oct 2023 13:49:46 +0000 (UTC) Message-ID: <7e96b2a5-249e-18c3-f5fd-36b955984050@redhat.com> Date: Thu, 12 Oct 2023 15:49:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v3] vhost: add IRQ suppression To: dev@dpdk.org, david.marchand@redhat.com, echaudro@redhat.com, chenbo.xia@outlook.com References: <20230929103809.765417-1-maxime.coquelin@redhat.com> From: Maxime Coquelin In-Reply-To: <20230929103809.765417-1-maxime.coquelin@redhat.com> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 9/29/23 12:38, Maxime Coquelin wrote: > Guest notifications offloading, which has been introduced > in v23.07, aims at offloading syscalls out of the datapath. > > This patch optimizes the offloading by not offloading the > guest notification for a given virtqueue if one is already > being offloaded by the application. > > With a single VDUSE device, we can already see few > notifications being suppressed when doing throughput > testing with Iperf3. We can expect to see much more being > suppressed when the offloading thread is under pressure. > > Signed-off-by: Maxime Coquelin > --- > > v3: s/0/false/ (David) > > lib/vhost/vhost.c | 4 ++++ > lib/vhost/vhost.h | 27 +++++++++++++++++++++------ > 2 files changed, 25 insertions(+), 6 deletions(-) > Applied to nex-virtio/for-next-net. Thanks, Maxime