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 25EE9A052B; Wed, 29 Jul 2020 12:02:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CFCC84C8E; Wed, 29 Jul 2020 12:02:52 +0200 (CEST) Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [63.128.21.74]) by dpdk.org (Postfix) with ESMTP id 8E00B1023 for ; Wed, 29 Jul 2020 12:02:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1596016970; 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: in-reply-to:in-reply-to:references:references; bh=QfnbagSJyiwqaGCfCVbO0F3PVhdKjS3E98bgxx47t3Q=; b=c7uV/wUT9FANUMP1FlQ521Pap3qjfRE9Fop+WrY4hBytuaVSrXXibhk+RcxQZ+UndLlTUo Eq8UYzR3fKRI3JeHZK7EaFne8Zgeu8bj6VpYlkH7AuQTQHqxZLTnSqUWa5DkQTgvpWKoVo ipsJ/mZZAwRXzsOkQHm2RZ+rQNha67k= Received: from mail-vk1-f197.google.com (mail-vk1-f197.google.com [209.85.221.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-470-PevTVxPSM6-TGd9Jyo0LsQ-1; Wed, 29 Jul 2020 06:02:49 -0400 X-MC-Unique: PevTVxPSM6-TGd9Jyo0LsQ-1 Received: by mail-vk1-f197.google.com with SMTP id y124so2569037vka.15 for ; Wed, 29 Jul 2020 03:02:49 -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; bh=QfnbagSJyiwqaGCfCVbO0F3PVhdKjS3E98bgxx47t3Q=; b=T/0fwpSq99Ow4K8LC3J4woLsZmYpZPEKqWnjLal8F5VINutdqsRJrx7oJmdN+WAUve /twE2FfVxBflUF+ctV0ORzeacfje1k06m7dpgSdImW2u06PqllURIukrNO0BpgDlFEWF 9ihX/E5uTORtr9rVqjZHGLEsFqDsHUTqBx8NUiaylYF7QA/t5GhcWMiZm9WenbW3gEnz m/HlH1wuZ+tBB8ktBtjRodHU+mMj9PnAurb4MsecYr7iEAtcz5XUuvc8ThMQyXBs76K2 E5eAWWHDh0+oBH/YRKBAvUg9EA5XMyiLmHSVx6E+D2bFqnz3VU5F3PBtsDOVqbQbsti1 VrEQ== X-Gm-Message-State: AOAM530av35jYZp8LCV0Ms68phKzAZ4Xn601gTTyqcu2GgFpEna3ewXd WUOQ5qyDIVPjxBvcfbvpL2oMg7wn9hV/uMMX0D/AvHjbVmPdCgRaaSmNfCt1+F6BfecS4P7jeol hlERPeI/5a3tMUu2/CpM= X-Received: by 2002:a05:6102:31bc:: with SMTP id d28mr23107155vsh.180.1596016968710; Wed, 29 Jul 2020 03:02:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy07MyrWpL23vQGVy/rKqAniXihGOutN0eKD+5CYiyBH+wgcTBH0voc6zhonDkF5Bw+jDAwB+Qi1nVFs5MQAzg= X-Received: by 2002:a05:6102:31bc:: with SMTP id d28mr23107136vsh.180.1596016968511; Wed, 29 Jul 2020 03:02:48 -0700 (PDT) MIME-Version: 1.0 References: <27b57cde-a02a-a79c-b115-d173e09f0d79@intel.com> In-Reply-To: From: David Marchand Date: Wed, 29 Jul 2020 12:02:37 +0200 Message-ID: To: Balaji K N Cc: "Burakov, Anatoly" , "dev@dpdk.org" X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] long initialization time for EAL init 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 Wed, Jul 29, 2020 at 11:56 AM Balaji K N wrote: > > Hello, > > I tried by disabling mlockall and not do see long time for EAL init and is done quickly. Thanks for help. > > ovs-vswitchd unix:/var/run/openvswitch/db.sock -vconsole:emer -vsyslog:err -vfile:info --no-chdir --log-file=/var/log/openvswitch/ovs-vswitchd.log --pidfile=/var/run/openvswitch/ovs-vswitchd.pid --detach Ok, just keep in mind that pages from the process are likely not prefaulted and you could get random packet drops at the start of packet handling. You _might_ also get pages swapped out during the life of the process, and again random packet drops. We tried to enhance the DPDK init in this regard as Anatoly mentionned, but this is not backported to 18.11 atm. -- David Marchand