Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp4114198rba; Tue, 2 Apr 2024 08:02:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWcqxmBEJ9a7YxOO5Xw4yBKTeFf12ERCk4N7+483LPB2Utu9kBojJuUeBv31EjVCDfkDkFQ2yTd4+KEDDbsYi+cWMw9lJ7ZspZ6nDOIrA== X-Google-Smtp-Source: AGHT+IGPzkxdgLOYaBd+8PKX/tEIqt0Wmo8ompvmWETy5o51U114KhK3f9SmilLZYymn6NowS0mA X-Received: by 2002:a05:620a:305:b0:78a:5c88:9b04 with SMTP id s5-20020a05620a030500b0078a5c889b04mr14460171qkm.73.1712070163521; Tue, 02 Apr 2024 08:02:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712070163; cv=pass; d=google.com; s=arc-20160816; b=HVsoyT7M5BsN8NG5Zr0y1mpoyaTWSX1pVOqVqxy4eCg9uyfPIVRfGTEHSLMzV7Ajpc 11XacvC6Inp70DqQbFXM39VnUkdRGuhDVS/4w2SmJl2jHBAjSRU3xyNSeDqFZghKFVmD kFOIC4QRKPJEHekp3cwFohEGwXr2yxZp8IGmbA/KFYebTzdbn92KkhW1uZhz6YMesYOr Mb/FoHMMTtNS7BPyySASIzkS1GJlIDF5Kqmi5JbL50Ypb6qnanKojTPc5/YfY+NoGRiR 7hz9aHB4jejg465iS2PitNUy6DVD20azhrLs6mJxMnbODbwVSoxcCnBkDaHufG1Jlyb1 c7qA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=oZrNIOKN7NpSYA7bO0Zhbj0M+nUfGrTdwgpVkgbqNQA=; fh=/uPaA4SORpPdKqvOuhk3bKnAI9gO2f35qlOio6Lw9nI=; b=yaw8l0GNsK0aqIq0ep24smGoHvE5Mcs8sh0eJbRsqfJilziAb46wJDgHn3pg5gr7hh n7DS6hf10pBpcfzt8guecOqil5v08Z4aHsEqpQC1WPRXIN7sJqTEHrwiWClb1OmaXfHD zDUnDRR7iVwoqe8T51Uq0evCjc08dsvq4MjND1wTq3bPKThJzuDHxjxPgVr3BsoY1RkV i5b1ImaPiukWZP2z3Qoy8lOTORK/qqZb8h7o6Hbo4exiDsfo4XE1etcWYo00b0m8wTu6 OMXCwVOr1LqEiyex9zy0Ckis5s/KWBFaKqVj/QNm5jZjw1debNKentSsa1MmpJyb5lVU lPMA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hR2qyju2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128214-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128214-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v12-20020ae9e30c000000b0078a517d4a64si11750473qkf.633.2024.04.02.08.02.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 08:02:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-128214-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hR2qyju2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-128214-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-128214-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 348401C21BF6 for ; Tue, 2 Apr 2024 15:02:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7965C12BF37; Tue, 2 Apr 2024 15:02:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hR2qyju2" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8781B138A; Tue, 2 Apr 2024 15:02:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712070154; cv=none; b=K1kCppnQpLrd9sX6C+IOJnXpyMahbeUEuNf9wspeTF6do0TgLTgfCJeM0tNps+td8MMFZ0gZ/SKNJdpJVVf2i87sP8OMwYLCs/aeNvGmYwtElPwXnqfMuLLRNdZyWBiZQt1XnC1cw6B8pebOdJvtS/DYQlQS4d/cwVxAXYxYjIU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712070154; c=relaxed/simple; bh=YciNCD/SmOI+nte4r46sRXnbRMfaduXTUgvXEc/mGg8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=cNb5vn0xB2pf/RA+wg8GvdH2b6SeYVVYECx87OSlOWTZU4Zxxo/iRQg0+OSe1VQXhcqTl7/GinmALVGx8aJZyQDFiAzjtSvJK6WdiYAybRseQQBd4OKH93lsTLOKONRiSGR1MqJ5IbxCVVQejFdt5Os6/GAJhli5C73y9e+8On0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hR2qyju2; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8464EC433C7; Tue, 2 Apr 2024 15:02:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712070154; bh=YciNCD/SmOI+nte4r46sRXnbRMfaduXTUgvXEc/mGg8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=hR2qyju2pdfL+HUyxiZN983AK2Z8Simucr7G5W3rEI1cVgN8zLEP1JWV7Kb6cQgx+ 9QDQt2VfPEPLJ1vh0Aw2hFwD5B8CbGNXdo01J20YJlsYR2+0+vCfHZ/ydh5mDhWyBt uVDCur9xl7euWfuGjBQ0Sqyow4k8EI9jerg+vNmHFUTEVtZG5Y7GWTWRC3B9IBmJpu CidKXx5Dawb3NyoH9XK8tqXRYb9DWPTtm/o+FVMZp7bEv03dRRO/Rdnqc5Mwd7gOUf yPPmoEPi2YpjOm6uowdJBLWKtojL5SMiqLkkJ4eddh1M1YVm+9Za9m+be3aW0C4Y43 NuBSarwIMYvww== Message-ID: <2893a096-c07d-4ba3-85a8-db18616810f3@kernel.org> Date: Tue, 2 Apr 2024 09:02:32 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next 0/4] net: route: improve route hinting Content-Language: en-US To: Leone Fernando , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, willemb@google.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240307171202.232684-1-leone4fernando@gmail.com> <9ce73c04-ee8f-4aa5-ab15-c31dbe409401@kernel.org> <4bf87e9a-71a4-4586-a112-43f8ce20eb46@gmail.com> From: David Ahern In-Reply-To: <4bf87e9a-71a4-4586-a112-43f8ce20eb46@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 4/2/24 4:08 AM, Leone Fernando wrote: > Hi David, > > I plan to continue working on this patch, and it > would be helpful if you could share some more thoughts. > As I said before, I think this patch is significant, and my measurements > showed a consistent improvement in most cases. > It seems to me patch 1 and a version of it for IPv6 should go in independent of this set. For the rest of it, Jakub's response was a good summary: it is hard to know if there is a benefit to real workloads. Cache's consume resources (memory and cpu) and will be wrong some percentage of the time increasing overhead. Also, it is targeted at a very narrow use case -- IPv4 only, no custom FIB rules and no multipath.