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 AA6F846056; Fri, 10 Jan 2025 18:20:41 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 97F4F4279E; Fri, 10 Jan 2025 18:20:41 +0100 (CET) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mails.dpdk.org (Postfix) with ESMTP id 49BF34279D for ; Fri, 10 Jan 2025 18:20:40 +0100 (CET) Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-2161eb94cceso28761705ad.2 for ; Fri, 10 Jan 2025 09:20:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1736529639; x=1737134439; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=xL89VRIML7Em+Rg8Nu2GThXKmpfCIj41WwtyAt8kYCg=; b=iB1MN47T/iNbXbmXPlIol4zj8mlGRrT6qzEPPzZmh1bESlhLAwdYdWkYHbibVAosFW VeDdtDJ2cYlfTfZAShq5QgnvqKPog2YV1K/C6WmihVmhPPbSdLKyqOHHBBVzrlhSotVc M9gp8986gVeW+imCNdIqSGtK+p2QDZ1xfen6YglMwDWo9ydhFeGEVVtcIjTMl9PTJfQY JvE6PXqHoSXCq+2I5YxWS9Fn7DrC7MPpbgSgXNNoE/BJqd7YZ12JLGozBTnKAOfaPFmR kawAWDPSSbNo9d1ApBLRAOlrNXMF6I8LlLl0e94A34ZlBaV9bDOofSne+nb41yhuxqkN MQ3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736529639; x=1737134439; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xL89VRIML7Em+Rg8Nu2GThXKmpfCIj41WwtyAt8kYCg=; b=UYnIY7jZjZtA+c4s8sg9jNUZnSlGEZ9qZwFIdJ11Era3oZmwXS6GRA8YtDpFDK/sVy eMNST/zSsWKGbULpQdkjAXFUfw69Ex4vOw4O1LrVbOpaC1XZrBf0kQ8Xiv6c6CZJ4f7C nMLOIuzvKwo6hmWEMBGxD/lkCmtogGso2fQktGGiEo9TKk++Beiyc4fpn6yD8O3mIw67 wZYd27CmdqKTH1c+53IeaWH0TnVBFwaKwSH6qsrAtVWxMw7h+DWtyYBJwk3DFLuErPpQ hRw3mnp6Y2L7a4QsN60TQ/aCX401FrrWWNEQcMWi+Nzl2s1gyeoZI8fKntD1khJW4rm2 hDAg== X-Gm-Message-State: AOJu0YwKlTgI+T2kl9wbNCZBMDJb6q5yGGBuMe6kbLERNzcjxqYgeJQT L6mSJJC2llS3QsNOITHs7JOXnSL8OXX3fLbIPmjc/FJN4HhJ5hndwhBui2BCBD8= X-Gm-Gg: ASbGncuVThwzPjHai8BkyOjDOiatymMJ/3ENne/e01VSD+XCPnwEGGgXbdx3WSaxYOx h/DqoBY3bfUTPzZ4KIDcxWvK84vzhoXTzZpIK2abZZkb9oUVb51jje4uNKQ1EAvMZaCozXfkVvI 5z0AEYhu7tw+1niJNEzlVZ44TKzMN6epZtO7AQU9H3RLvMT8Y0OGIEdejgrY1/q+Vw4ndh3mAfG xZwxsjrSzf3qxo+XK8iaCEhTiSQ8vnlscxoiwpp/cMlTDHcj5p9yI7REeOW9OsYw+U6g11TvE71 iskL4x5R3M7mKFaSVFwTuovgjLSRtKBbDA== X-Google-Smtp-Source: AGHT+IEvtLtHkTXWqTvDYulpgwkOAFXrprnIoOuGy6g3fdZ0B0aWexW0+0a37lI1wAKPsdAeCzI2/Q== X-Received: by 2002:a05:6a00:4c18:b0:72a:8f07:2bf2 with SMTP id d2e1a72fcca58-72d21fb1cc8mr14572940b3a.9.1736529639497; Fri, 10 Jan 2025 09:20:39 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72d4054847esm1837409b3a.11.2025.01.10.09.20.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2025 09:20:39 -0800 (PST) Date: Fri, 10 Jan 2025 09:20:36 -0800 From: Stephen Hemminger To: Dengdui Huang Cc: , , , , , , Subject: Re: [PATCH] examples/l3fwd: add option to set refetch offset Message-ID: <20250110092036.23a762dd@hermes.local> In-Reply-To: <20250110093715.4044681-1-huangdengdui@huawei.com> References: <20241225075302.353013-1-huangdengdui@huawei.com> <20250110093715.4044681-1-huangdengdui@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Fri, 10 Jan 2025 17:37:15 +0800 Dengdui Huang wrote: > The prefetch window depending on the HW platform. It is difficult to > measure the prefetch window of a HW platform. Therefore, the prefetch > offset option is added to change the prefetch window. User can adjust > the refetch offset to achieve the best prefetch effect. > > In addition, this option is used only in the main loop. > > Signed-off-by: Dengdui Huang > --- This will make it slower for many platforms. GCC will unroll a loop of fixed small size, which is what we want.