Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2009442imw; Sat, 16 Jul 2022 22:04:09 -0700 (PDT) X-Google-Smtp-Source: AGRyM1teo/srRQYjLCKxNc/GLQmDshSAGUOUOpVK7p/5g3ReBixP98kYkwUHwW17Hz4+CPIpHpj/ X-Received: by 2002:a63:83c2:0:b0:419:a6f3:9df0 with SMTP id h185-20020a6383c2000000b00419a6f39df0mr17493506pge.591.1658034249447; Sat, 16 Jul 2022 22:04:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658034249; cv=none; d=google.com; s=arc-20160816; b=zCZF0x1PCPoDcS69xgnUzuPCr5qzp5lPMj+Vfx20GuB1oMVzYz2Y0FPQ9VVz0711sl l/5arx2d0einHJ/pTknlE9NkmuGrlEz56F0ZHaOQiTKNbRHSDAjoWnWOZ/D5WwYC2RBM /z7Ro1jpCgmMcFay50bTFNVsJN5j8EjrfrQYFZLm4NyDSV589g60L7fzUYnp+fxCDVl+ hdFcUFBVI+vGig3J7gUKmrTpULQGiq9yJX09GqdUtkfYT6C0bQs9rbtuGLXCw/ciLQOX zx5eHHv28nWJbWgCJPIHMXJKEDPQOO3F5gx/8YKaeh3nWsR8O7H8FrzCqOXEeEERBOQ4 0GOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=aWTbuxp0XqzR/gtZRxud+pVhtJFvYyOGKoUz+O1CWOE=; b=X7IkDfCoQBKHNgFXCxSdUfb0Ji8VwpGqBbxpTNC5AZFBvLEpSusHiSei5h8YwsH61o BdVBCGwa1d0oXyzpPuAD0kwsQz26Aj0BBxbOM/jxKFqi/jsPrj/ZUyaRJJgjDTPBL42C 8vcpgnDiF2gpruY0cYamalNCBSIqk391SMXEWSECf3f2frRyXhkhoK+K9HxBH9Yr4ipQ h4cuugZlCTOkYi+WP9C6Pb8yVasG57+g5oetB0gi9m28rZxVNhxlfAkB3APoox198vdb nlY2csh7+NJoVj/UttB1p+xmF237WitXNnbuIh7PYmyXAyqb2bmdUOxJyz5tTOYEWKmD pB/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=XRlfEcWu; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd12-20020a17090b4ccc00b001ef8f7f3de3si10226293pjb.156.2022.07.16.22.03.53; Sat, 16 Jul 2022 22:04:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=XRlfEcWu; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232010AbiGQFCn (ORCPT + 65 others); Sun, 17 Jul 2022 01:02:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbiGQFCm (ORCPT ); Sun, 17 Jul 2022 01:02:42 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6B8718B08 for ; Sat, 16 Jul 2022 22:02:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=aWTbuxp0XqzR/gtZRxud+pVhtJFvYyOGKoUz+O1CWOE=; b=XRlfEcWur/xUMVFwZ3WQHRi3PC mJW2MGanmO/OvgyFA5pd2E+DvCJI+uue+AmphszIMkZYxieJ77daPudrEMJ0/dHuOAix/Juszt+Vc FFVmDbd0wRtsaO2oL0bSW1Vi1INdMeU2wJP6MBiEaYsZT4SOP8QZg17XEq/OT9Yk7ioY=; Received: from p200300daa73eb000310d56162519caa6.dip0.t-ipconnect.de ([2003:da:a73e:b000:310d:5616:2519:caa6] helo=nf.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1oCwQO-0003w9-IY; Sun, 17 Jul 2022 07:02:36 +0200 Message-ID: Date: Sun, 17 Jul 2022 07:02:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 0/3] Mesh Fast xmit support Content-Language: en-US To: "Sriram R (QUIC)" , Johannes Berg Cc: "linux-wireless@vger.kernel.org" References: <1654857639-12346-1-git-send-email-quic_srirrama@quicinc.com> <98e3a2743ab770fbd3f14dca14b62105c8457bf6.camel@sipsolutions.net> <9bce16843dcc698740d90d8963a1a55516fb1d39.camel@sipsolutions.net> <940aa2fe0f2497e9fab9a5118001034b5de18d64.camel@sipsolutions.net> <19477e0584f7031b37fcdfcc5ef10e7b00842f07.camel@sipsolutions.net> From: Felix Fietkau In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 15.07.22 04:16, Sriram R (QUIC) wrote: >>-----Original Message----- >>From: Johannes Berg >>Sent: Friday, July 1, 2022 3:30 PM >>To: Sriram R (QUIC) ; nbd@nbd.name >>Cc: linux-wireless@vger.kernel.org >>Subject: Re: [PATCH 0/3] Mesh Fast xmit support >> >>WARNING: This email originated from outside of Qualcomm. Please be wary of >>any links or attachments, and do not enable macros. >> >>On Fri, 2022-07-01 at 11:59 +0200, Johannes Berg wrote: >>> >>> > So was skeptical on having a higher cache size(like 250 or 500 max). >>> > Hence had a value of 50 and left the configuration part for devices >>> > which needed higher cache. >>> > But as you mentioned, this is only runtime max memory and not default. >>> > So we should be fine to set some high limit, If above is not a >>> > concern could we stick to an upper limit of ~150-200 ? >>> >>> Right, I'm fine with that. I was just throwing out 500 as a random >>> number to show that it's not really a huge memory requirement. >>> >> >>But maybe Felix wants to comment? Felix? > Hi Felix, > > Could you kindly share your comments on this. I agree with making it big enough so that almost nobody has to tune it. I think 512 would be a reasonable default. By the way, if I'm counting correctly, you might be able to reduce the size of the cache entries a bit by moving the 'key' field below the 'band' field, getting rid of some padding. - Felix