From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A90E8424C1; Mon, 10 Jun 2024 17:26:30 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7E847402A9; Mon, 10 Jun 2024 17:26:30 +0200 (CEST) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by mails.dpdk.org (Postfix) with ESMTP id E1C8940294 for ; Mon, 10 Jun 2024 17:26:28 +0200 (CEST) Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-42178999284so1087795e9.0 for ; Mon, 10 Jun 2024 08:26:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1718033188; x=1718637988; darn=dpdk.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=fwKVEdR8bu0ShHySR2GVWSovfbzF1KUWoSbGJZiZlYE=; b=B8j/tB2UbReuAUK1KnIYFw59gu9R2CthJCHK+jZUL4003xUB+J6/QuOggfXYR52oHN HGJ5mjBx+4gY8PQZNghA+tlTh41PjoxNsX3jhg8vKBUErKOL4TidTngcdnRiOskdH8Rv pcxO5mn0r5wbs8Eg/+jz2GNmXbqVO4MbpGaLlwbJ124OsanJzDK8afRdbqdykw/2GbMh D/9joSM2aQItUCMnGIbMCngxbGKCfG4bWhbsbObdfjoaAEaYR6g4jPUYeRMdxO4VTYD4 o2Yr11grRGRq/dAkaR0TzT+6p/Adbp5aaug60Stdu3QZYvq6JiClBp1icT0KznZ+KuT6 ke5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718033188; x=1718637988; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fwKVEdR8bu0ShHySR2GVWSovfbzF1KUWoSbGJZiZlYE=; b=Q4YtfI+jJT0B5yekFHPDfdfb6uEzrFlfvYJXbD7i1XW2QEuH07GSQ4oLdURJUoFh42 N60Q+tvHIL5j8+lx14gNQx+EUrlOPb6lLf9FW9jhArYgP+y2CLtU9LxhvH1NovkPLKzh vF6H3bZz41278OTYtmtI4sgvHX0O7B9arc8CyX8LwtUy9w9J5if1yX1tiq+Uit36t2ux De8duA/5rVgSyQ2v08YyGbetja9NoD1v6PdzEtnAGHACYlDoqesE29NcgWy1yJZiLjYE WFJ8pYPVb0KkVCAYKMqpwY1FN4ldtUG0ke2GZ4rvMefseheXbgovA8MkyEip3p+km1L9 iUZg== X-Gm-Message-State: AOJu0Yyyy/z1ISkio3e2WKX0Mueuzr4Nzjek3OqpNM0BOwTewmDWFyU/ PEvC+9ZmE9rCmTfQW7W4wAuY2Y+mwSQbQ9QPZVzp0ZRso/6XSqKC+dgdKlrXedQ= X-Google-Smtp-Source: AGHT+IHGg65kYZZ6qtuUDpOMp7SDrFjxhshYrnZ8i3bbWDaRisukx+zfd0D1uqF3T4+mFvz0fb3/3A== X-Received: by 2002:a05:600c:4e93:b0:421:8188:d394 with SMTP id 5b1f17b1804b1-4218188d61amr33983595e9.12.1718033188483; Mon, 10 Jun 2024 08:26:28 -0700 (PDT) Received: from [192.168.1.113] ([84.245.121.236]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-421580fe371sm180101345e9.1.2024.06.10.08.26.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jun 2024 08:26:28 -0700 (PDT) Message-ID: <472677fe-63d9-4d65-b9a8-58911a699901@pantheon.tech> Date: Mon, 10 Jun 2024 17:26:26 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v9 1/2] dts: Change hugepage runtime config to 2MB Exclusively To: Nicholas Pratte , luca.vizzarro@arm.com, jspewock@iol.unh.edu, paul.szczepanek@arm.com, Honnappa.Nagarahalli@arm.com, yoan.picchi@foss.arm.com, probb@iol.unh.edu, bruce.richardson@intel.com Cc: dev@dpdk.org References: <20240610152048.23617-2-npratte@iol.unh.edu> <20240610152048.23617-4-npratte@iol.unh.edu> Content-Language: en-US From: =?UTF-8?Q?Juraj_Linke=C5=A1?= In-Reply-To: <20240610152048.23617-4-npratte@iol.unh.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 10. 6. 2024 17:20, Nicholas Pratte wrote: > The previous implementation configures and allocates hugepage sizes > based on a system default. This can lead to two problems: overallocation of > hugepages (which may crash the remote host), and configuration of hugepage > sizes that are not recommended during runtime. This new implementation > allows only 2MB hugepage allocation during runtime; any other unique > hugepage size must be configured by the end-user for initializing DTS. > > If the amount of 2MB hugepages requested exceeds the amount of 2MB > hugepages already configured on the system, then the system will remount > hugepages to cover the difference. If the amount of hugepages requested is > either less than or equal to the amount already configured on the system, > then nothing is done. > > Bugzilla ID: 1370 > Signed-off-by: Nicholas Pratte > Reviewed-by: Jeremy Spewock Reviewed-by: Juraj Linkeš