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 9606CA046B for ; Fri, 26 Jul 2019 17:04:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5606E1C483; Fri, 26 Jul 2019 17:04:19 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id E11BA1C47D for ; Fri, 26 Jul 2019 17:04:17 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 569AA83F4C; Fri, 26 Jul 2019 15:04:17 +0000 (UTC) Received: from localhost.localdomain (unknown [10.18.25.137]) by smtp.corp.redhat.com (Postfix) with ESMTP id 80E365DA97; Fri, 26 Jul 2019 15:04:14 +0000 (UTC) To: David Marchand Cc: dev , Cristian Dumitrescu References: <20190725213138.32588-1-msantana@redhat.com> From: Michael Santana Francisco Organization: Red Hat Message-ID: <4f963344-2f6d-5a0f-4a35-fa7f96f2abd4@redhat.com> Date: Fri, 26 Jul 2019 11:04:14 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Fri, 26 Jul 2019 15:04:17 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH] test/table_autotest: Decrease memory requirement X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: msantana@redhat.com 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 7/26/19 3:09 AM, David Marchand wrote: > Hello Michael, > > On Thu, Jul 25, 2019 at 11:31 PM Michael Santana wrote: >> This patch reduces the memory footprint of tables for the unit test. >> Lower memory footprint means the test now passes when trying to allocate >> the tables. > This is mainly for tests in CI, might be worth mentionning in the commitlog. will update > > Do you have a rough estimate of how the need in memory changes with this patch? Based on the equation on lib/librte_lpm/rte_lpm6.c:317, that particular allocation went from 2.2GB to ~300MB > >