From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f174.google.com (mail-pf0-f174.google.com [209.85.192.174]) by dpdk.org (Postfix) with ESMTP id 716BB2BB9 for ; Wed, 18 Jan 2017 00:24:10 +0100 (CET) Received: by mail-pf0-f174.google.com with SMTP id y143so65499084pfb.0 for ; Tue, 17 Jan 2017 15:24:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KzqRHgxkHjUeqs61rBrxrlcjL0RnDp/dGrxzISU/1OI=; b=vCH++y2G1aeJcx/spltJNc5ldFVkLq0/aymCptWpkNdC/QNOFJTOwe68S1SJMJFT/5 LLwhvJ29KUlEAw8mb/gT0wQG2LWQNOhnt0Ua193S6xIKfLux2/4lKYh3wulJwIfEvUCU N4bAh7q1LoNpYx3DZS5wM1+c+NcdX9eEHxfH6MbtKuiVZlJFqyd3/hGM1CTEv7Y+SvO4 3kg5C9z6sdTJ61/oCuNniGuOTYX4X5rsj0GiqNW/G9C9ntsWlfxYDmvgKBgHleffQnYG QAMd8wR3Ec3XZ9zWtRdYLtCWHyWHXSb4YzyFCHXuiMifieRcTCWmmROX7IjnAworMHFs Qd5w== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=KzqRHgxkHjUeqs61rBrxrlcjL0RnDp/dGrxzISU/1OI=; b=FegpvbEZB8184ckR6VlnZjn+eEOqDzwxLQkG4z3QCKB2D69XcLdQUI4MryDR+OQ+Gf FyamOx19bE7nYr8JCmposxnrfkDCztA7hN1NqznNEQxrkomx2n1DTFWYv3mxy8xPzDCZ EIRnnWN0SVQwOUvT/xJVtSI3MMPsXlOM7JoA4GKiadwTyxOZv8ZETX5JVg7/1lYEvLp4 qQi9CWOmq21AD/ICXJ38wGrU3XKTx6xWpp030NzLmFqbV94lD6SqBW/Q8Y/AJQcoyWzw fhW5608bMp4V1ZXmrsTToUTo8/VWGmoOfTweeisuXV605NPpUi1kBBUyL70kIEQVMTtE c6gQ== X-Gm-Message-State: AIkVDXIG+kwv2kSb3KKZsxB6DMhRjdR3CFZ2AmPqmLYabYKaU1YS8YyF/b2iIzOzJmn8AQ== X-Received: by 10.99.55.91 with SMTP id g27mr212935pgn.65.1484695449685; Tue, 17 Jan 2017 15:24:09 -0800 (PST) Received: from xeon-e3 (204-195-18-65.wavecable.com. [204.195.18.65]) by smtp.gmail.com with ESMTPSA id j185sm33333279pgd.35.2017.01.17.15.24.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Jan 2017 15:24:09 -0800 (PST) Date: Tue, 17 Jan 2017 15:23:57 -0800 From: Stephen Hemminger To: Mike Davison Cc: users@dpdk.org Message-ID: <20170117152357.7d2b87ff@xeon-e3> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] mempools X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2017 23:24:10 -0000 On Tue, 17 Jan 2017 15:13:41 -0800 Mike Davison wrote: > Looking at memory pools. It looks like they are a fixed size and cannot be > changed. Correct? > > Assuming my reading is correct, is there interest in adding > dynamically-sized memory pools? I would envision these memory pools having > fixed-sized elements, as they do today, but resizing the number of > fixed-sized elements, within some limits, as needed. Good? Bad? > > Thanks, > Mike Memzone's are fixed size regions Mempool's are fixed size objects based on memzone's For variable size objects, use rte_malloc