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 F2E89CDB465 for ; Sat, 14 Oct 2023 06:04:13 +0000 (UTC) Received: from diktynna.open-mesh.org (localhost [IPv6:::1]) by diktynna.open-mesh.org (Postfix) with ESMTP id 32673827C5 for ; Sat, 14 Oct 2023 08:04:12 +0200 (CEST) ARC-Seal: i=2; cv=pass; a=rsa-sha256; d=open-mesh.org; s=20121; t=1697263452; b=xA0p2doDsx5q7ZQpW7rHeL+wejyYcFcsqsunZoOjsoZcPMZMY13tzI3XMu0ll2/5rixUe vUY84AZ22LCBFSX7w+4Frvu6kylTPAOWg9vvEPpIhnN6cdgLA7mRRRppMEb3tYD6v4egiDA 7y8DZ+adsluggqmSos1NG8KhtB5EYqM= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1697263452; 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=61vT8aWzsgmT9R6IwsLp6xlAIby650NQruyfs5HuqOA=; b=r1iJ+JY/J2EuREmsoIsk7Gl/JbTG0nPfiLVGQRVvqzeGkrj/YE/CSbgrvJW6HgxARYvmA Z5eVy1XsVnZch/jjUk8pYZZQS/I2cS0GgerS5mJO6+PuIHL0IlNDwyBKHxaJOj2p1jxO+nW qH66orDsEMe+z0kF+ixC1I+2HoLVm+g= ARC-Authentication-Results: i=2; open-mesh.org; dkim=fail; arc=pass; dmarc=none Authentication-Results: open-mesh.org; dkim=fail; arc=pass; dmarc=none Received: from mail.aperture-lab.de (mail.aperture-lab.de [116.203.183.178]) by diktynna.open-mesh.org (Postfix) with ESMTPS id A789B80BC0 for ; Sat, 14 Oct 2023 08:03:50 +0200 (CEST) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=open-mesh.org; s=20121; t=1697263431; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=61vT8aWzsgmT9R6IwsLp6xlAIby650NQruyfs5HuqOA=; b=V4gsPYuMUqcnie8bZHXlW4vmmy9DiIdBvXp4AIpA5n/aUU+gG7m3ZgRH+8eu/njMNSvC05 CLkauRKmcP8dsoa3QDURUGDsoQv91F+Q9IhTSvQPnvep5RzDejFR+jA7fl3epN4SAkiJAX BHDMqGNgD6Gl8iBR/+et8gtYG9x56/o= ARC-Authentication-Results: i=1; diktynna.open-mesh.org; dkim=none; spf=pass (diktynna.open-mesh.org: domain of linus.luessing@c0d3.blue designates 116.203.183.178 as permitted sender) smtp.mailfrom=linus.luessing@c0d3.blue; dmarc=none ARC-Seal: i=1; s=20121; d=open-mesh.org; t=1697263431; a=rsa-sha256; cv=none; b=UIYD60SPp5VKpGPKbMSEtxU18MBHSy6pJl1TbOImE0MBPNLqqfZfor+Qd1xu0KD9JPsAdc f5BeTnOpUBLsHH8cezqtWI5Av6Y3+FaS7eAZVGGp3xbTF88cYNa6k/exBJG/Ef7YSzoTda kbrCh3+WFt2jWFTC+2qowoAtrq64nS4= Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id F2E673F03B; Sat, 14 Oct 2023 08:03:49 +0200 (CEST) Date: Sat, 14 Oct 2023 08:03:47 +0200 From: Linus =?utf-8?Q?L=C3=BCssing?= To: Remi Pommarel Subject: Re: [PATCH RFC 2/2] batman-adv: Better half duplex penalty estimation Message-ID: References: <09c086e5e68055e52d1f92ba17d0e921084107e7.1695904299.git.repk@triplefau.lt> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Last-TLS-Session-Version: TLSv1.3 Message-ID-Hash: 256TD3ZFGTIM7NWBWCKKJ3ZYGO6SFABC X-Message-ID-Hash: 256TD3ZFGTIM7NWBWCKKJ3ZYGO6SFABC X-MailFrom: linus.luessing@c0d3.blue 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; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: b.a.t.m.a.n@lists.open-mesh.org 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: On Sat, Oct 14, 2023 at 07:10:28AM +0200, Linus Lüssing wrote: > In the following scenario: > > +-------+ ch.1 +-------+ ch.2 +-------+ ch.2 +-------+ > | Orig0 | <----- | Orig1 | <------ | Orig2 | <------ | Orig3 | > +-------+ 300 +-------+ 30000 +-------+ 110 +-------+ > ^ | > | ch.3 | > +-----------------------------------+ > 100 > > Would the results on Orig2 to Orig1 be these? Sorry, I ment "on Orig3 to Orig0" here. > - via Orig2: 300*110 / (300+110) = 80.5 > - via Orig1: 100 <- selected > > While it should have been this? > - via Orig2: 30000*110 / (30000+110) = 109.6 <- selected > - via Orig1: 100