Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp293915ybt; Wed, 17 Jun 2020 00:46:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyA/AY7tJdPXedT1JA7j4Z3+lnduHEVqLs2SS3Gg+rDiQazRDa7uRaYIrt+KA9+tjiaVT1s X-Received: by 2002:aa7:d054:: with SMTP id n20mr5987722edo.344.1592379985058; Wed, 17 Jun 2020 00:46:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592379985; cv=none; d=google.com; s=arc-20160816; b=AdI5Ug8ylufBpjF5ydke4mSP69WTckSCz1ZLMEpkbk2+/IGOuaxzA2Fg9oAeU+p+bb Ti6drlWzsLK5Bpe6P5xHvmznJIMVlc57DzjCPzfxFuEdnp7MCk0oK4ngeJukrQbchN4f N8V2nLJNqcMWZb5lCsPBs0qp2xz+SMpJdX83flD/mcC1ky2SH4lAg363Ywom0mcSGBjw I0pi0knS5zcU8lCnIlJNt1Z7eYTObJWF58OsuDXjvf/NhMODAhFzf4b01O2pwszZA42j P0wcNNKUxP1/y4AQWkG3fMqk5/d13wabN6bKVPmn6PeWeATc1yKW2bTcC5Zo4th+bpV1 GPOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject; bh=pxN9srYQll+tEyL2PkDDcI2j9M3BaeLf95H5t9sITbo=; b=gfaKrRyhyXp0IPyBQU8BavTl332CUkMSZtMf42uRfCdpD8TvRwPQEDf5UVTtrkLKF/ BHpJhxLj2OQcv51O5iJXRPWui/w3kuPeFs+sGMn/WcsXUse3dGxmyVZxeufSmfOtMqcu WK2QUSfitvXypaj5TKg9R+ahfqHhrWpDDD7i7ADK+lvOzumXbQx/b3TIAvGtOfHpva8j mZ+JEdu5R8KVt9rpj0f2tOF17zTpaYaRRAhMFRNGaFc0YuvGap6vCsuqKK/5mCRlGWKm viHOz3r2KhxGkEJg7AcP+BS6jUJv7B5nO6OOEXypCDeJ7yHoUd0KmoltNMPdl6Q0CMaS jwDA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h12si12022281eji.721.2020.06.17.00.45.55; Wed, 17 Jun 2020 00:46:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726025AbgFQHpg (ORCPT + 99 others); Wed, 17 Jun 2020 03:45:36 -0400 Received: from simonwunderlich.de ([79.140.42.25]:57774 "EHLO simonwunderlich.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbgFQHpf (ORCPT ); Wed, 17 Jun 2020 03:45:35 -0400 X-Greylist: delayed 77322 seconds by postgrey-1.27 at vger.kernel.org; Wed, 17 Jun 2020 03:45:35 EDT Received: from [IPv6:2003:c5:9715:4400:7e76:35ff:fe14:e6d7] (p200300c5971544007e7635fffe14e6d7.dip0.t-ipconnect.de [IPv6:2003:c5:9715:4400:7e76:35ff:fe14:e6d7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by simonwunderlich.de (Postfix) with ESMTPSA id 9E47A62055; Wed, 17 Jun 2020 09:45:34 +0200 (CEST) Subject: Re: [PATCH] mac80211: mesh: add mesh_param "mesh_nolearn" to skip path discovery From: =?UTF-8?Q?Linus_L=c3=bcssing?= To: =?UTF-8?Q?Linus_L=c3=bcssing?= , Johannes Berg Cc: linux-wireless@vger.kernel.org, b.a.t.m.a.n@lists.open-mesh.org, Sven Eckelmann , Simon Wunderlich References: <20200616095358.20143-1-linus.luessing@c0d3.blue> Message-ID: <6bef8071-f897-b972-dbf9-17198361dc4e@simonwunderlich.de> Date: Wed, 17 Jun 2020 09:45:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 16/06/2020 12:16, Linus Lüssing wrote: >> The new mesh_nolearn parameter allows to skip the PREQ/PREP exchange in >> this scenario, leading to a reduced delay, reduced packet buffering and >> simplifies HWMP in general. And a third observation we've made with HWMP: When running iperf with 16 parallel TCP streams and the default HWMP parameters over two 4x4 802.11ac Wave 2 wifi cards transmitting about 800-1000 MBit/s in total, HWMP becomes quite unstable. We see frequent PREQ/PREP retransmissions and also PERR messages, leading to spurious break downs in the throughput. When using just 8 TCP streams, so with a little less saturation and stress of the channel, iperf staticstics are stable. So maybe there would be some potential for optimizations, too, like somehow prioritizing HWMP messages more, or maybe making the default HWMP parameters a bit more conservative. Or just disabling the HWMP PREP/PREQ/PERR exchange with this new configuration option would at least help the ones that are using another mesh routing protocol on top, who are maybe more familiar with the parameters of their specific routing protocol than with the HWMP parameters. Regards, Linus