From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94B62C433E0 for ; Wed, 24 Feb 2021 11:43:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3284A64E60 for ; Wed, 24 Feb 2021 11:43:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234928AbhBXLnm (ORCPT ); Wed, 24 Feb 2021 06:43:42 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:57828 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231627AbhBXLni (ORCPT ); Wed, 24 Feb 2021 06:43:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614166931; 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=R6pjX4SLHgTz0NJkBF1xScFLT/BBC4Z4bjLRPd8FdtM=; b=BjY2vZ+dT8aD1IhF/l8Pj4ApKZcP6jCY98hJ2qv+a0dEzAGrSUG0zj7ZXjl0qy852gQOiJ jukbn2fg5lLiXKlnVJ5G6y/qlse552xAsrGiv9TJ03sTuGa7+uCps863QbCETQ3Wg+1Wqw D0vjlmEqAS14n00SzCsXNWtO07AHESk= Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-406-hfIS5cAZNHu3jBzVfKkHEw-1; Wed, 24 Feb 2021 06:42:09 -0500 X-MC-Unique: hfIS5cAZNHu3jBzVfKkHEw-1 Received: by mail-pl1-f197.google.com with SMTP id p19so1375773plr.22 for ; Wed, 24 Feb 2021 03:42:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=R6pjX4SLHgTz0NJkBF1xScFLT/BBC4Z4bjLRPd8FdtM=; b=ZjSED6kM3oNVC8cDugYlO1coSmJg8MDiiBAjje2URma5cWvOGAkQvnLIFAu6ZtLJp2 KdMTsYZWRcQ0mIHvzpUTPbIdjioTnu4UPRrGk5SpHLC40gGNxNZk2AZWjPhZzR9xAcRJ 3xJ+OOi8eAIesv29vJ9E4S+DcmNWMGSfZidixzcGm6DfZVEELYsU/Z9m+guDaPLOurrh qBU49VTSclCpcFlFzZ5r0VPPusOy147BsX6zidca9k3KLqBcA8pCb83fKshIV3CBXF2o yhcKHzlLqow2IhH9afPg/5VomgkSsqOrR8cgcxxMCrnfKTwUbqSTnUgsJZhT46GMexKr /u7A== X-Gm-Message-State: AOAM531Y036b7r60ccx3kJlT37zqLCUxrXH4z/ZCw7KJeJGnKBWtKjUj mqGdfnxXXwg+qTBQzGpcnzPVaKFa3ORqGP9ssW1HFXhcMHmh7xoWbjLhLr6RJv4SmStWJZZKjcI vHxkBFqvOHlK44EIV X-Received: by 2002:a17:902:b089:b029:e3:28:b8ee with SMTP id p9-20020a170902b089b02900e30028b8eemr32658033plr.84.1614166928540; Wed, 24 Feb 2021 03:42:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJxqpnHDahCWOdYmYR1vBlv9n4xutt88MFzERot9njK4Fmx0jTWJnpgdpd507/I2r/HCRGxxCg== X-Received: by 2002:a17:902:b089:b029:e3:28:b8ee with SMTP id p9-20020a170902b089b02900e30028b8eemr32658021plr.84.1614166928325; Wed, 24 Feb 2021 03:42:08 -0800 (PST) Received: from localhost ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id l190sm2602018pfl.205.2021.02.24.03.42.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Feb 2021 03:42:07 -0800 (PST) Date: Wed, 24 Feb 2021 19:41:41 +0800 From: Coiby Xu To: Jakub Kicinski Cc: netdev@vger.kernel.org, kexec@lists.infradead.org, intel-wired-lan@lists.osuosl.org, Jesse Brandeburg , Tony Nguyen , "David S. Miller" , open list Subject: Re: [RFC PATCH 4/4] i40e: don't open i40iw client for kdump Message-ID: <20210224114141.ziywca4dvn5fs6js@Rk> References: <20210222070701.16416-1-coxu@redhat.com> <20210222070701.16416-5-coxu@redhat.com> <20210223122207.08835e0b@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20210223122207.08835e0b@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi Jakub, Thank you for reviewing the patch! On Tue, Feb 23, 2021 at 12:22:07PM -0800, Jakub Kicinski wrote: >On Mon, 22 Feb 2021 15:07:01 +0800 Coiby Xu wrote: >> i40iw consumes huge amounts of memory. For example, on a x86_64 machine, >> i40iw consumed 1.5GB for Intel Corporation Ethernet Connection X722 for >> for 1GbE while "craskernel=auto" only reserved 160M. With the module >> parameter "resource_profile=2", we can reduce the memory usage of i40iw >> to ~300M which is still too much for kdump. >> >> Disabling the client registration would spare us the client interface >> operation open , i.e., i40iw_open for iwarp/uda device. Thus memory is >> saved for kdump. >> >> Signed-off-by: Coiby Xu > >Is i40iw or whatever the client is not itself under a CONFIG which >kdump() kernels could be reasonably expected to disable? > I'm not sure if I understand you correctly. Do you mean we shouldn't disable i40iw for kdump? -- Best regards, Coiby