Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp307376ybt; Thu, 9 Jul 2020 23:46:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEfMCKq/ydlzzys/L2MThZ30xGmVz9gtsuO2KSFLWgq3mL9Wn5VsyZOgbtzZkK4IXlDOOZ X-Received: by 2002:a17:906:1245:: with SMTP id u5mr58699531eja.286.1594363611712; Thu, 09 Jul 2020 23:46:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594363611; cv=none; d=google.com; s=arc-20160816; b=xebN81aZPeujQMf2ckkXWuhxEaG1s+7uR7EFHeQ7ejnJfiUr5IPGtiV8JuYeK6VzUe EE3o3xwOKnegTn5DIcZitHTqK6jpk14kC/8QAnn86HUh/OavEoP5V32AEohkAbz8pJzG YRIDxOz+iRVcp7B4ydkegCwlMM8aQPpsV8DMfdeu/mAdESkTGA3vkrAJrzXchi6eCcBB /x1WisEXVMMGvV3lpsCa4OmPpCtHTPEAnN/hfSuKpjQzZThtifcSPkC45oVVa+DRPWuD PLlwVRCj2/wzI+4pp+3hw3+ofFMCwQZi0gafPqPZ9QUGM3gvI4ZROujEYn1c32BhIKJX XLrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=MzGyARVdJCOFDOhVSOMVsmLn0aigNSts0XTYJa817V4=; b=sRrQ1IYLLtjO3vNRFCRWbpz85i8E9QDdogoi/wPgsgIvMTM9a5QFSZOUt3PSYypM7c wAJ8hNocUUVu/x07cu4MrDEQAHEkdZQCxysj/lFw07wyZNEPh7wjeqrFZhhRlawNwAwO yUKPWtH0P5ClR23rL3CQvUCUtTb6tLKaNoZDU97XHsgqwsDCIUMQEjNpRvWUNbBvDpDq k19UgjdOIsE5e2+aNLXOnJ4McLglAYdP7R2yxN3n5W+5KvtZ8aSh8NhwqZOyoVkBnQto pFyGDfNXwfDh4C+TJ6MrVp+DwLtSsiaIzMTD0+xv4N7e50VSZg3MUukhI4+MJshDB5pK okVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bYvO2CeR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k9si3286114ejp.499.2020.07.09.23.46.29; Thu, 09 Jul 2020 23:46:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bYvO2CeR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726908AbgGJGoT (ORCPT + 99 others); Fri, 10 Jul 2020 02:44:19 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:48644 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726201AbgGJGoT (ORCPT ); Fri, 10 Jul 2020 02:44:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594363458; 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=MzGyARVdJCOFDOhVSOMVsmLn0aigNSts0XTYJa817V4=; b=bYvO2CeRc5VMgOoFQEauPf+lyXE69zqL1wbKy4PgfqGJJ1ij8sQ1erw26iaaoXrUkY6onE EnXUx7gz81IfmsKEJRpNM+SqyrHPMx9mIA5M5cIv+7pr92m1iK+OhISQDxr8AMDX9UCTr3 0/CCrdOTlZPUAUfbsNaxrMhUsCBhtLc= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-138-KQOJWU4-NHmNmPCiOqvlnQ-1; Fri, 10 Jul 2020 02:44:16 -0400 X-MC-Unique: KQOJWU4-NHmNmPCiOqvlnQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5459B8015CB; Fri, 10 Jul 2020 06:44:15 +0000 (UTC) Received: from [10.72.13.228] (ovpn-13-228.pek2.redhat.com [10.72.13.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id 167F419D7D; Fri, 10 Jul 2020 06:44:09 +0000 (UTC) Subject: Re: [PATCH RFC v8 02/11] vhost: use batched get_vq_desc version To: Eugenio Perez Martin Cc: "Michael S. Tsirkin" , Konrad Rzeszutek Wilk , linux-kernel@vger.kernel.org, kvm list , virtualization@lists.linux-foundation.org, netdev@vger.kernel.org References: <20200622114622-mutt-send-email-mst@kernel.org> <20200622122546-mutt-send-email-mst@kernel.org> <419cc689-adae-7ba4-fe22-577b3986688c@redhat.com> <0a83aa03-8e3c-1271-82f5-4c07931edea3@redhat.com> <20200709133438-mutt-send-email-mst@kernel.org> <7dec8cc2-152c-83f4-aa45-8ef9c6aca56d@redhat.com> From: Jason Wang Message-ID: <6282b6d5-4d2b-a996-c090-6bc7ae6043ce@redhat.com> Date: Fri, 10 Jul 2020 14:44:08 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/7/10 下午1:39, Eugenio Perez Martin wrote: > It is allocated 1 thread in lcore 1 (F_THREAD=1) which belongs to the > same NUMA as testpmd. Actually, it is the testpmd master core, so it > should be a good idea to move it to another lcore of the same NUMA > node. > > Is this enough for pktgen to allocate the memory in that numa node? > Since the script only write parameters to /proc, I assume that it has > no effect to run it under numactl/taskset, and pktgen will allocate > memory based on the lcore is running. Am I right? > > Thanks! > I think you're right. Thanks