From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,URIBL_CSS autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28916 invoked from network); 3 Aug 2022 00:34:56 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 3 Aug 2022 00:34:56 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id ADAA81FE80 for ; Tue, 2 Aug 2022 20:34:54 -0400 (EDT) (envelope-from bounce.mM99ba4fa5f9a9f29941fe318d.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id ABE962F932A7; Tue, 2 Aug 2022 20:34:54 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:subject:in-reply-to:message-id :references:mime-version:content-type:list-help:list-id :list-post:list-subscribe:reply-to:content-transfer-encoding :list-unsubscribe; s=sysmsg-1; t=1659486894; bh=2rI7wNKBLAo8d5EJ IhCZP2nx9sz+MZC+7F0Td6eqD5c=; b=niw7Cn+5wQl6xtnC53IP4KCrpmxXozuz RC1NKOSkWAsfVOeb3ZnLGCr8z3YglRqxLnZN+MV01JfWmLuIXpJ34nHRw+yXtLvX aSE+RVKJ2ScP3cpYLkIrpmc6YmPg5rrq+2lYnx30RlGTPRKKvJCDt7QNJv4B/sgN ali+jdeUu3I= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1659486894; b=UlIkDyFHv/AMAl2XdDEMdTk4WxKxBJkmLKBaC1tL33I8ZREAwF 5uixVMYvm7xQWsMLygpM/UdZYSAWQYF5AUV7Ba6qMJ5AHseVCrCiAT1ptrfx1W8R WuKd856TyD1J22s8d9wQsjjEBAFxqoQ4qK9yn2I58/XZT54DB6oZTZMU0= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; iprev=pass smtp.remote-ip=205.166.94.24 (mx.sdf.org); spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx.sdf.org policy.ptr=mx.sdf.org; x-return-mx=pass header.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-return-mx=pass smtp.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=date:from :to:subject:in-reply-to:message-id:references:mime-version :content-type:list-help:list-id:list-post:list-subscribe :reply-to:content-transfer-encoding:list-unsubscribe; s=dkim-1; t=1659486894; x=1659573294; bh=eQF1PBYPpTAc+AZj7ychSMNGmv1+P4z0 gk6f76HgPWA=; b=p+orkBF3ll83s0W2ix/hwEz6/lGrVaQiZf3fER0Y/+Wz8eUA 8G1JoE7jW18ng/+WKT7F7FCs8EDwqDfkKl7/u2Xl/r7WrQltj5hk71QprFf3yH5J YZdka+DBNzFNvFqch5tBZxrFobGn1WczB0TqOGf9IGJ/Wl1Co1Ckeeen2cY= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id AB5B5167A1C2 for <9fans@9fans.net>; Tue, 2 Aug 2022 20:34:43 -0400 (EDT) (envelope-from adr@SDF.ORG) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id A758A1598F4; Tue, 2 Aug 2022 20:34:43 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1659486883; b=g9L1Rg/jTW89Lx8fGsBW2/D2qmu7lFZkYL9ij+E3V3mZXlzBoC QHM8RkiG6OyrpOVVgZCWl0inV3CTQDuF3//MLaJM1c9eclWF9vVmDqbuxEgZDKEK IrS9s1dOSwa8Gg4WE75G2f1dfLCVf9dQ8bOGyHCKcOJlvP6H10Y6d6A+bcjxfvmI OuXjKlYKrLIneIcNrTGk++fw53HXrlV77DOhB7wUiDFBd7L5armrHNIlOZAVTbSq qeARJng1Kbz6vEEsiG6FBxY2rwvGy9rJYAN0rxbnZ68fRUSSfv11Le5qBvK8a4Tg soID3znm7Eo7Asht19/m3mGHzyG9RAEqMx3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:subject:in-reply-to:message-id :references:mime-version:content-type; s=arcseal; t=1659486883; bh=4gYjmAFiZ4PrCB1b5BG1twc8e5DWqPhFa8n9UUsZOTc=; b=p+XvITrU/n7z bKHUiQ4F5d9hSGHeC1MGu9GQaNPw/n/yHYctLbKMSfBGBu+F0sf2oTqwaUrdOG6G i5zYmpqt1Xas9kIiOZzIZsk1RI7CvVdLOWo4QTuVmxAoM508Ie6rERxvk5B363Tq xS0hMhZ3lqN4v5iD7kMEHEkFULA4/SeaAjJZquWlYi+gkZMQm/hMnMQlVamBjgwr UWrponGU+/VfoY3dxrcTt3wf9RcBQ8+vGExZT+XbuhEBGfj+1/0AYTcdCkemwQWT LbQ3cctTxDGt7UnsQdyGNvXdJolR5b9HyB4pNRI9hRuk0gKvEFhw3S9n55Z801iz XVS44NRvLg== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; iprev=pass smtp.remote-ip=205.166.94.24 (mx.sdf.org); spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx.sdf.org policy.ptr=mx.sdf.org; x-return-mx=pass header.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-return-mx=pass smtp.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvfedrvddviedgfeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuf gjkfhfgggtsehttdertddttddvnecuhfhrohhmpegrughruceorggurhesufffhfdrqfft ifeqnecuggftrfgrthhtvghrnhepfefhueefheevkeehgfegfefhleekuefgueffieelud fghfdtvdetieetjeehjefgnecuffhomhgrihhnpehsphgvvgguthgvshhtrdhnvghtpdgt ohhnshhtrghnthdrtghomhenucfkphepvddthedrudeiiedrleegrddvgedpvddthedrud eiiedrleegrdduieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvght pedvtdehrdduieeirdelgedrvdegpdhhvghlohepmhigrdhsughfrdhorhhgpdhmrghilh hfrhhomhepoegrughrsefufffhrdfqtffiqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (sdf.org: 205.166.94.24 is authorized to use 'adr@SDF.ORG' in 'mfrom' identity (mechanism 'ip4:205.166.94.0/24' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="adr@SDF.ORG"; helo=mx.sdf.org; client-ip=205.166.94.24 Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Tue, 2 Aug 2022 20:34:43 -0400 (EDT) (envelope-from adr@SDF.ORG) Received: from sdf.org (IDENT:adr@sdf.org [205.166.94.16]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 2730YfFI014900 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for <9fans@9fans.net>; Wed, 3 Aug 2022 00:34:42 GMT Received: from localhost (adr@localhost) by sdf.org (8.15.2/8.12.8/Submit) with ESMTP id 2730YfrY022962 for <9fans@9fans.net>; Wed, 3 Aug 2022 00:34:41 GMT Date: Wed, 3 Aug 2022 00:34:41 +0000 (UTC) From: adr To: 9fans <9fans@9fans.net> Subject: Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4) In-Reply-To: Message-ID: <9da89c5a-1de5-80bd-25b3-fe4230821@SDF.ORG> References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 14291bc8-12c4-11ed-99e6-c7454583ffa6 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNjY4NjQzZDExMTQ5ZmFiNC1NOTliYTRmYTVmOWE5ZjI5OTQxZmUz?= =?UTF-8?B?MThkPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Content-Transfer-Encoding: quoted-printable List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M99ba4fa5f9a9f29941fe318d:1:DVGVrsmz77Kt9M27esS6-G8yDBFUbXPMEtacF1BLBRo On Tue, 2 Aug 2022, Richard Miller wrote: >> So bad maxpkt... etherusb check for maxpkt < 512 which is the max for >> bulk transfers in usb2 high speed. Using 1024 instead fixes the problem. > > Thanks, the code was correct when written but the world has moved on! > Is your adapter transmitting packets successfully now? It's working really well. I'm using David du Colombier's nat patch (I'll post to the list another one without the il stuff in case someone wants to try it) to share internet to a linux machine, so I made a test from the browser (speedtest.net) and almost reached the contracted limit of my fiber connection, although I only have a crappy 100Mb plan (I don't really need more). So packets are flowing, but when plan9 is more involved things get worse. For example with this setup (a small arm linux machine connected through plan9, using the usb adapter for internet): linux: $ wget -O /dev/null https://arch.mirror.constant.com/images/v20220801.71902= /Arch-Linux-x86_64-basic-20220801.71902.qcow2 [...] /dev/null 100%[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D>] 489.88M 10.5MB/s in 51s 2022-08-02 22:56:44 (9.58 MB/s) - ???/dev/null??? saved [513671168/51367116= 8] real 0m51.875s user 0m8.594s sys 0m5.379s And the progress bar saw me several times the speed reaching my limit. So the usb and ethernet drivers seem to be working pretty good (at least for my bandwidth) plan9: ; time hget -o /dev/null https://arch.mirror.constant.com/images/v20220801.= 71902/Arch-Linux-x86_64-basic-20220801.71902.qcow2 couldn't set mtime: permission denied 8.06u 35.25s 211.17r hget -o /dev/null https://arch.mirror.constant.com= /images/v20220801.71902/Arch-Linux-x86_64-basic-20220801.71902.qcow2 See the difference? That's a little more than 19Mb/s, some 2MiB/s almost 50= % slower. By the way I don't use archlinux but I've always use their servers to make speed tests, usually they are fast. > Actually the limit on maxpkt in that context wasn't strictly necessary an= yway. > Just remove the check. Yes, I thought the same. adr ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T668643d11149fab4-M99ba4= fa5f9a9f29941fe318d Delivery options: https://9fans.topicbox.com/groups/9fans/subscription