From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5F4F2A0566; Tue, 10 Mar 2020 16:28:32 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 98F961BFF5; Tue, 10 Mar 2020 16:28:31 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id 15EDB2BE6 for ; Tue, 10 Mar 2020 16:28:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583854109; 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=uooPrpcu/AXBV3HRfZW+fj2ytI/KNtfhSHGhnvZ+Aos=; b=GtC3Np/Pw974+l/a0TPsvqrwyoygkWoAVq8zNEvVUwV7CLKMB1SE4ahCTYXOR/MLrem+rK GfWWVtRgsCdcIwlF8k9d3VjMwdRnn0JNpag/TxVzV1sciRQoJNPhVs97dmTJzEhWxcbvSX 3b/bX4eYHiu5anS7gvAGYHgBXiDRWmM= Received: from mail-ua1-f72.google.com (mail-ua1-f72.google.com [209.85.222.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-430-OZMX2L50OGeKG4DPKnX2TQ-1; Tue, 10 Mar 2020 11:28:25 -0400 X-MC-Unique: OZMX2L50OGeKG4DPKnX2TQ-1 Received: by mail-ua1-f72.google.com with SMTP id n4so2127785uaq.8 for ; Tue, 10 Mar 2020 08:28:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=uooPrpcu/AXBV3HRfZW+fj2ytI/KNtfhSHGhnvZ+Aos=; b=s/b+ImeFL9wfcr++YfF7frc8jOhWu2Ih1+U5B1tiKZjOS1KnQ/88T1IqSw7SznzW0n moiovDRB735laibBQbBUn53dB1OizrQ2M8dXcOJRg1KwB8nFxha8WOx5jEVaml20xdsN 0QZLjfV3KkgFpHjzlViolTRlBnBLn2v9y0APVxGLLgSwyEptOc0xnM64VwCe7OGatHW4 tsKdetfp0XCJMJl0WSbWQJvOijMT6QnPzcBQsCsgEj6Q6R6rru2vLFJ8s87r3AJYp1EJ 8iLSjdagDk1DPzli7FLVMPujC5oazO7EU29owt4oyu/CFnmrmLXm0AFkLracLZfFzqf3 9iZQ== X-Gm-Message-State: ANhLgQ1WltIwBZNp905PR3dhhG1b9Q4y639ks2NnikTQnkWwgyUNny/g 0uYU/6KH6NQwJ1/j8sHpkLK304Ecq2hb0RbLFFEWas598W+Ozn1nGtYDaWKbfkCIxwEJgHYL2wU W2KCodatYZsNQMP/ZQn0= X-Received: by 2002:a05:6102:2d8:: with SMTP id h24mr1406763vsh.39.1583854105365; Tue, 10 Mar 2020 08:28:25 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv+PvPcfh/ds3tmvYzzm7EkdOASYNmKBy/pOXOAH0pHRfJ0L9iYXxkwSCpf0ncLEUEpcaFr8ftkCzhMOFLFH8A= X-Received: by 2002:a05:6102:2d8:: with SMTP id h24mr1406745vsh.39.1583854105111; Tue, 10 Mar 2020 08:28:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Tue, 10 Mar 2020 16:28:13 +0100 Message-ID: To: "humin (Q)" Cc: "dev@dpdk.org" , "Zhouchang (Forest)" , Xiedonghui , "liudongdong (C)" , lihuisong , "Huwei (Xavier)" , "Burakov, Anatoly" , Thomas Monjalon , Maxime Coquelin X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [RFC]app/testpmd: time-consuming question of mlockall function execution X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Mar 6, 2020 at 6:49 PM David Marchand w= rote: > > On Wed, Feb 26, 2020 at 4:59 AM humin (Q) wrote: > > We have another question about your patch. It seems that mlockall() als= o takes about two seconds after using this patch(about 0.2 seconds before u= sing this patch), if we use "always" option for transparent hugepage config= ration. Is this reasonable and acceptable? > > Hard to tell what reasonable/acceptable mean. > I'd say "it depends" :-). > > > > If that is ok, when will the patch be uploaded to DPDK community? > > I sent a RFC earlier, that makes testpmd only lock pages containing text. > Can you have a try and report your findings? Let's forget about the change in testpmd. I came with a different fix in EAL. Can you have a try? http://patchwork.dpdk.org/patch/66469/ --=20 David Marchand