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 C8CA945B17; Sat, 12 Oct 2024 04:57:09 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 917FB402D3; Sat, 12 Oct 2024 04:57:09 +0200 (CEST) Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by mails.dpdk.org (Postfix) with ESMTP id 0FD56402E1 for ; Sat, 12 Oct 2024 04:57:07 +0200 (CEST) Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-2e2bb1efe78so1857368a91.1 for ; Fri, 11 Oct 2024 19:57:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1728701827; x=1729306627; 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=i5JX5jS7tq6T/JiomwrFBlp/fS7WykKyMqHujPx1zTo=; b=GpesdTom0EwGkjAPSQqU/b8OHrbI9u0wt+2Z6kfuKWc7h96h5aPzNNDbb8kDG2W4uz CvG9AT2KM593GSp7MwneArK2UcZTAFvQ7aPAdBz6ii8zs0UnqS1zlOBvao72wK9VLeKw vPqZDI5C+eWmQ3ZEdtxBoRQxA145CR0VrZHVAHnnhlfJpN3tfMhJF8NgSDTucqO05r1y Pr3alchJTLHFTHiZEyYqICqWYzgXRzNEj83b+bajKa5jjGx04mZJQo8wU5HcbhG6WXXd kyoVjg/gAjBA01TFmPZjeJrtbMUzL4zMp7y1tfasBMHBILQrFSeUXJOcd/ejIkTA+kss sqTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728701827; x=1729306627; 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=i5JX5jS7tq6T/JiomwrFBlp/fS7WykKyMqHujPx1zTo=; b=BptQn2u7/eMudW2+EbMCtgebKrm8H+QvHCSUof/7YoATSyN9vRpqqq25bayNsFgXtb beimiOLYjfqMV0i4BdMoaspQb15MrwaVL+iIDyePE58ZnvBa5yIPiizV7SGCdsSykH0r FzC3/KWnW+hy0uhr3Mjdh1L6/E8n3+7ExJoyPDWGL/ypNc6QrEyg71qsJbIUkwseViW4 JD9irfJSflasHMzXFyGh4mjMlGucFMyJXJ7q4EUbpygjey4QQPcMhgBklRIVHx1EnM6m hL5vAgE5DhyKrcvrkUGS7h+AiOy35QndobZlZ9PM/BvN9sFRe1Zp9HzII3dJ81P3fbZN ZS6Q== X-Gm-Message-State: AOJu0YyGqp0YB/Q0WnGeVWDSMdl+BmVlVWP1SuaELy8noWlNMQqsZoDX X8i5NCGlQaAMqeoosS1hSmyxx07w33nJVwfMY5kKxNssvEIL4PKabH9rzc5JbPU= X-Google-Smtp-Source: AGHT+IFXgjhvKGz7hf3AqNomFOogV1ntilnjjZe3DVkCXbaDbXKvofefddc9pKVKQJZstUUJqilXXw== X-Received: by 2002:a17:90a:f418:b0:2e0:7b03:1908 with SMTP id 98e67ed59e1d1-2e2c8057f31mr14079997a91.10.1728701827121; Fri, 11 Oct 2024 19:57:07 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7ea6ed5f6d0sm159111a12.53.2024.10.11.19.57.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2024 19:57:06 -0700 (PDT) Date: Fri, 11 Oct 2024 19:57:04 -0700 From: Stephen Hemminger To: Kamil Vojanec Cc: dev@dpdk.org, Cristian Dumitrescu Subject: Re: [RFC] table: report victim replace stats in LRU tables Message-ID: <20241011195704.57afa017@hermes.local> In-Reply-To: <20240819052330.46122-1-vojanec@cesnet.cz> References: <20240816115848.432547-1-vojanec@cesnet.cz> <20240819052330.46122-1-vojanec@cesnet.cz> 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 Mon, 19 Aug 2024 07:23:30 +0200 Kamil Vojanec wrote: > LRU caches replace records when requested table bucket is full. There > is, however, no information about this happening in either the return > value or the statistics. This commit introduces a counter for such > cases. > > Signed-off-by: Kamil Vojanec Good concept, but needs work. Lots of trivial checkpatch stuff and fails testing on 32 bit ARM might be infrastructure issue.