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 339DE41F65; Mon, 10 Jun 2024 09:38:09 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3080B402CE; Mon, 10 Jun 2024 09:38:07 +0200 (CEST) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mails.dpdk.org (Postfix) with ESMTP id 9033240269 for ; Mon, 10 Jun 2024 09:38:05 +0200 (CEST) Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-35f1e35156cso903631f8f.1 for ; Mon, 10 Jun 2024 00:38:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1718005085; x=1718609885; 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=ZitwUVzMEGfwqR00+2v0E18Y3a9karfcd8YEjxrAHw4=; b=fXaLv3W4CQDWoCAgvkPvn27PyfDqnmZwJcFiyMNuESH/aNka0klKdiRonmaIP0XUrG 2yNhnUVH55SamLfdZ4HtXaqhT9zH5smvjTOaGoafpji3Sj/uG7Y5y3eYbLQVspsidLd+ faQOWPRJ0oyJYTsIHfySYvDaX05uU/G+WEPXXM1banpguT64aHHctuI7XZ3/5n1x4sGj ePfwcumOTX8SWx4yLGZeUabRHlntBfm2eKZVGTlCuMRuKf2dE+J8qIdzO0moblxy6GmN JM4WYeIlctmS/Eg/MKQo9J/xF7cYeVl+ZDsxIw1aRphdYGjiFnsArlTP+RFRG8D6UwV3 36mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718005085; x=1718609885; 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=ZitwUVzMEGfwqR00+2v0E18Y3a9karfcd8YEjxrAHw4=; b=tbCKReBhVxvA30EGXzDnFcP8RSyGRxa3vXazG75bgWzHiAvy5QOopFgIs1QnN3yLFA WqCkmbXJN/+YRdfyiAvQQTxfcQSIoMnRsOcRDnoabigS4TG6wJsXlSOacuemnOB0uc1A wOhhv+rtMXdL52a4Y/puBHvIYHF81PF6Tgo/ooKhx9T98ObCvjXYmn5N3nq07HsbA12s Ader1znyQnSZlhBRJGtHZM2mFUqaETWs9jEioXY9w9qC4pq/PXbNj2zvi1AvpT6WfFiP c+RW7YahjBnKRZQWvGcuq5hoxs1KxJM8uoIaca8zBomx0/S/Tib1e/XSZSDYtCmlJMYd JriA== X-Gm-Message-State: AOJu0Yxt+xgAFl0dVUw1erNxhppMWpn+TbiIgl2un+oC9tuDxwI/vuhR 4P9ULVwQnmj+iXXLVOBf+VKLaPORccan7YtCenFM8stEgoPgffoc/h9b645x7Zc= X-Google-Smtp-Source: AGHT+IGl80QBOJ3gRmmTKKnrsHvdeRfWsd22otSUQf8Ja8wdo8JAKg6ZMiXnLxq8xHXrxK3LPRKZhQ== X-Received: by 2002:adf:f111:0:b0:35f:2002:3033 with SMTP id ffacd0b85a97d-35f200244f0mr1881473f8f.37.1718005085278; Mon, 10 Jun 2024 00:38:05 -0700 (PDT) Received: from [192.168.1.113] ([84.245.121.236]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35ef5fc47ebsm10273104f8f.108.2024.06.10.00.38.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jun 2024 00:38:04 -0700 (PDT) Message-ID: Date: Mon, 10 Jun 2024 09:38:03 +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 , yoan.picchi@foss.arm.com, paul.szczepanek@arm.com, luca.vizzarro@arm.com, Honnappa.Nagarahalli@arm.com, jspewock@iol.unh.edu, bruce.richardson@intel.com, probb@iol.unh.edu Cc: dev@dpdk.org References: <20240430184533.29247-4-npratte@iol.unh.edu> <20240607145925.27566-1-npratte@iol.unh.edu> <20240607145925.27566-2-npratte@iol.unh.edu> Content-Language: en-US From: =?UTF-8?Q?Juraj_Linke=C5=A1?= In-Reply-To: <20240607145925.27566-2-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 7. 6. 2024 16:59, 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š