From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from diktynna.open-mesh.org (diktynna.open-mesh.org [136.243.236.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D3160CD1292 for ; Thu, 4 Apr 2024 07:00:17 +0000 (UTC) Received: from diktynna.open-mesh.org (localhost [IPv6:::1]) by diktynna.open-mesh.org (Postfix) with ESMTP id D412081AD4 for ; Thu, 4 Apr 2024 09:00:15 +0200 (CEST) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=open-mesh.org; s=20121; t=1712214015; b=FB8tmbc688H8LtZXOJdrPuD5qRhTe81D7WXiLM5bEBL236EN8xwB3SsLAOeuelgGyPK4+ TeZ+9RwDgZnwpNuWrvCWmnNnD29Y3cw5WMZn0FtlT6QnUBVPArDL3ebds2J+CTKGG+w2h5W ecNZbpiPezq6N8s2C1xoCRCSS7ERxgY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1712214015; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=icbA98KMxAnaMcxNB6J/AD2eJofdkgxLQ+IvYhcSFts=; b=S8lM0J4T/1jYbsCCb3Sb57FOX48utq+3jOdyo6U4MXsTIPskwJgv+a8WV0EMWqH9X7ikh Iv+bnkqBT5rL8aiDxtUkkrXkPEw6iOX2qxB3VF6klLYOsN0VouvH2gTGpMgSsVwEyO+odBW Hx6Q5NIqhXBeNztGpdxF866mg1rob9U= ARC-Authentication-Results: i=1; open-mesh.org; dkim=fail; arc=none (Message is not ARC signed); dmarc=fail (Used From Domain Record) header.from=protonmail.com policy.dmarc=quarantine Authentication-Results: open-mesh.org; dkim=fail; arc=none (Message is not ARC signed); dmarc=fail (Used From Domain Record) header.from=protonmail.com policy.dmarc=quarantine Received: from diktynna.open-mesh.org (localhost [IPv6:::1]) by diktynna.open-mesh.org (Postfix) with ESMTP id C1056800F1 for ; Thu, 4 Apr 2024 09:00:08 +0200 (CEST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: About Throughput in BATMAN_V From: berkay.demirci@protonmail.com To: b.a.t.m.a.n@lists.open-mesh.org Date: Thu, 04 Apr 2024 07:00:08 -0000 Message-ID: <171221400877.1066.8144265750602425260@diktynna.open-mesh.org> In-Reply-To: <30040596.43St1lv6Oq@rousseau> References: <30040596.43St1lv6Oq@rousseau> User-Agent: HyperKitty on https://lists.open-mesh.org/ Message-ID-Hash: REMGFQEVMQM5GTAS4MGNBPDL3ZNX2W44 X-Message-ID-Hash: REMGFQEVMQM5GTAS4MGNBPDL3ZNX2W44 X-MailFrom: berkay.demirci@protonmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-b.a.t.m.a.n.lists.open-mesh.org-0; header-match-b.a.t.m.a.n.lists.open-mesh.org-1; header-match-b.a.t.m.a.n.lists.open-mesh.org-2; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: The list for a Better Approach To Mobile Ad-hoc Networking Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: We have two modems for each node and in one of them, expected throughput should be about 6 Mb/s for example, and in the other one it should be about 30 Mb/s. By using iperf and also throughput meter I can see that it's the case. But when they are added to batman with batctl if add, after typing batctl o, I see that the throughput values in both interfaces are 10000 instead. I looked at the interfaces with ethtool and the speed is 10000 Mb/s there for both too which is how batman must be measuring the throughput but this isn't good because it doesn't reflect the actual speed. If we use throughput override, it's fine at first but one of the modems has a shorter range so in our test where two nodes move away from each other, actual throughput gets decreased due to losses but batman still chooses the same interface due to the overriden value. Basically I would prefer batman being able to change measured throughput dynamically.