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 2D41BA0561; Mon, 20 Apr 2020 09:14:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 150EE1C1B0; Mon, 20 Apr 2020 09:14:53 +0200 (CEST) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id BEE471C1AD for ; Mon, 20 Apr 2020 09:14:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587366891; 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=wYheAmw5xjBY8PUeq6ASYnusOhACJ0Wm8YGhvWJ69yI=; b=hpO292NH4T3jr8hniWqcB4iGeSEso0+ykUcEssKKykFHCSGGKA3I+FptDOdiyzUJJDSQTG yOzqG2TiL8G68kue9z+HY0sQSjWp+tBD6kLdzmlu9a3lzotmx4Ik3j4e03pNUerDKUj179 CiuLMW/nKms6ete7ajUERfAwyqNTQSg= Received: from mail-ua1-f70.google.com (mail-ua1-f70.google.com [209.85.222.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-295-cuPnnKYJNaG4QvJlgIGFNg-1; Mon, 20 Apr 2020 03:14:49 -0400 X-MC-Unique: cuPnnKYJNaG4QvJlgIGFNg-1 Received: by mail-ua1-f70.google.com with SMTP id 5so4416020uah.23 for ; Mon, 20 Apr 2020 00:14: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:content-transfer-encoding; bh=wYheAmw5xjBY8PUeq6ASYnusOhACJ0Wm8YGhvWJ69yI=; b=q26JXRNyi/7vdS1gj0lSGX0kfsEjFrnJbM5LF+KvHnxe8NFerytQfVuQd4Pg9CPcxN IBsKlyKCmk12zngTHGttrnd2d3TIwXZIxgLl7fTh1zDweozmVNoamP8Mmf1RyVysACrH +veqjmUznFpTF2SamCwO4GPhG4ZHG6k4kH/lReQmlIW8laMc0BlnKXT9B9h6LhSCAvDM r+dosJYaxyfRtiM3w8L36yeTceazYuU+0JtuD7fh6vjhadyR5EO6qKTVLk0aiPSZboXs NiiFD0PC0hqbv4PtSV9PRcnxPYc8S9sjmnz3uGC9HeaYaicXrm+5BGUoXdYD5JJNHmeQ qyoQ== X-Gm-Message-State: AGi0PuassWE+wZ6TQXsJlPAaFTIEVTknMHZYbQsSFOyrCVuwF4pinl1V mvMYVrGxmb7Cr72QLojYWjoAUoEFYGqK7vC3jwNplba+FPVBL/ZGSdFKVmMVpJrWYvey7E7Jt/J tlwclz9r6kKA+/x6GqZM= X-Received: by 2002:a1f:1255:: with SMTP id 82mr10152771vks.80.1587366828927; Mon, 20 Apr 2020 00:13:48 -0700 (PDT) X-Google-Smtp-Source: APiQypI8qvDhXSITm98/Mjj1nP2AvHdUSWd2D4Fss/391sJ7bNh1mjKT6NIshqT4BqPISvbJBmm/wd3QQle8gaH1mQI= X-Received: by 2002:a1f:1255:: with SMTP id 82mr10152757vks.80.1587366828598; Mon, 20 Apr 2020 00:13:48 -0700 (PDT) MIME-Version: 1.0 References: <20200420070508.645533-1-fengli@smartx.com> In-Reply-To: From: David Marchand Date: Mon, 20 Apr 2020 09:13:37 +0200 Message-ID: To: Li Feng Cc: Anatoly Burakov , lifeng1519@gmail.com, Kyle Zhang , dev 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] [PATCH] eal: add madvise to avoid dump memory 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 Mon, Apr 20, 2020 at 9:10 AM Li Feng wrote: > Li Feng =E4=BA=8E2020=E5=B9=B44=E6=9C=8820=E6=97=A5= =E5=91=A8=E4=B8=80 =E4=B8=8B=E5=8D=883:04=E5=86=99=E9=81=93=EF=BC=9A > > > > Avoid dump all mmapped memory to coredump file when crash. > > Otherwise it will very large and it's hard to analyze with gdb. > > > > In my test, it will dump 128GiB memory to coredump file when integrated > > to spdk with default configuration. Can you test with current master which has this change? https://git.dpdk.org/dpdk/commit?id=3D8a4baf06c17a806696fb10aba36fce7471983= 028 Thanks. --=20 David Marchand