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=-1.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2217 invoked from network); 4 Jan 2021 10:55:45 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 4 Jan 2021 10:55:45 -0000 Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob1.topicbox.com (Postfix) with ESMTP id D725D3176D for ; Mon, 4 Jan 2021 05:55:39 -0500 (EST) (envelope-from bounce.mM32ea06de21be8e55f94d0b3b.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id CCAAA10199AB; Mon, 4 Jan 2021 05:55:39 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=ooyzLoLT header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=ole.hjalmar.kristensen@gmail.com smtp.helo=mail-lf1-f41.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (body has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type:list-help:list-id:list-post :list-subscribe:reply-to:content-transfer-encoding :list-unsubscribe; s=sysmsg-1; t=1609757739; bh=yVSUNqm7WsJtQ/zy 13GPsKuFMktiawB3wxZjegA4M3o=; b=Nw+2gRG/yklB/C2niJkJCe1L6KHwo/dx XWseoACcskuaRh3PGwZrICfRWdcWX5yZiwo8HBZAqKHV0szs/QuNPCRm5g0FN34Q Cbu/sHEy+CATHwFIceuoejJXya69Z/vXa1BGxlT2d9hGUt6O2VXxZVxh0Jmo5zJe kbG6zjeCcnE= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1609757739; b=PwDHi86bUYhHhI2V/bE7sc1nBRDFvQqJfquZy8x9jBD2QFl1yD 7ooGuJbJ6Fr1DcTjIsidRc25gPeegskaYYRMi3G1McxJZzYz8gNvOuyQ8oE96Zsx ht75WS4T+S6HIgRMS9KG1wty8Dy9okkOh/FHTYTCmmemWTqgA5ig6sCGc= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=ooyzLoLT header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=ole.hjalmar.kristensen@gmail.com smtp.helo=mail-lf1-f41.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (body has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=none (Domain is not BIMI enabled); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=ooyzLoLT header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.167.41 (mail-lf1-f41.google.com); spf=pass smtp.mailfrom=ole.hjalmar.kristensen@gmail.com smtp.helo=mail-lf1-f41.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=h1TTBDF8; x-ptr=pass smtp.helo=mail-lf1-f41.google.com policy.ptr=mail-lf1-f41.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com); 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= mime-version:references:in-reply-to:from:date:message-id:subject :to:content-type:list-help:list-id:list-post:list-subscribe :reply-to:content-transfer-encoding:list-unsubscribe; s=dkim-1; bh=z6x7n6fDJF/xKckkl1zhZiHsWi+FlNK76C32xJ/BTzg=; b=Wsk2UESdjRH/ tlaWIulq5o5reSzOCEBoZd8klBsHa0w5A9zYqCg9e6pGKFTFdKJRZqmfO9kG+CIq 6RbY4oKFRfRBIT4MOGSQbB6xTkkvEbQd2O0LgxNyU8DYoTfH+J/ZYtuo9GdrOJIg UaMa/zIjef7zbb3cR6yALtBwBzQzL7E= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id 361F21019606 for <9fans@9fans.net>; Mon, 4 Jan 2021 05:55:29 -0500 (EST) (envelope-from ole.hjalmar.kristensen@gmail.com) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 6A3654E7AD8; Mon, 4 Jan 2021 05:55:29 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1609757729; b=tDqSe2rBaaXeGEsS/2c6zznMWLWaF8JcUe7i2sPwSpThwHxkQ0 v7RttFgukMPOj69iR8NS0Jte/rjUPcTjV1j1G6e02KXbnlqd1T5Z9NzMBq5zk8z9 5FWQDnXbKUWWZ8e14m/pFzbdBOZhktpFK7alM67WUPhaL6EvObxUpM2602xXoaoS XnSJ2U7i9HK+/uzZGhkyD962ALxtMcTtjPQ7mYh+yzuYmpIMNS/Kj6KyrNnvKYnv X7aG881ymHkAGvihpvk7q48xoYzu0cAu9mOVrYijPK26hNxuxHwzKYyjjvZxmk/u cUEFS1aRxtifsyMH1ocOT4n4HPLAIOoQg1Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; s=arcseal; t=1609757729; bh=3PGeK90dxxOav/I+V0Kef9DQCTvZ/8NaDqeEZf54SM4=; b=Z2Tn/wvUl3P0 cYDM4aug+iJrRre5DImSQYmCZ/z92KyLziFLvzoxLzIywglN5WbmXUoWHDLV50mu BGdzcTBhbcY1DRZZIn6zk/9ByA/u4prDfOC4S92NF+MLvGaoqzi2GxU/aRpJ/6uq 6tHUJsWv1XFBB1EW2V8UXwpI8grZ7noKxCmeg5HEDbJj4JFWVrCPOsHzn+wAcOS3 OU3CJ9wA5iU8I9L8YNgI7BFajI9hBDnNFTwkBQ9BnBGC4IgamC7Ok68T5hWrUfJt UfPDYbF+H9B4yOn4uzH1oDcORzgcyxt+k8Qo1SDJqh6zA7fz05jlv22MdG5++GRY I0ktVMT4cQ== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=none (Domain is not BIMI enabled); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=ooyzLoLT header.a=rsa-sha256 header.s=20161025 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.167.41 (mail-lf1-f41.google.com); spf=pass smtp.mailfrom=ole.hjalmar.kristensen@gmail.com smtp.helo=mail-lf1-f41.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=h1TTBDF8; x-ptr=pass smtp.helo=mail-lf1-f41.google.com policy.ptr=mail-lf1-f41.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt2.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt1.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com); 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: gggruggvucftvghtrhhoucdtuddrgedujedrvdeffedgvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeggfhgjhf ffkffuvfgtsegrtderredttdejnecuhfhrohhmpefqlhgvqdfjjhgrlhhmrghrucfmrhhi shhtvghnshgvnhcuoeholhgvrdhhjhgrlhhmrghrrdhkrhhishhtvghnshgvnhesghhmrg hilhdrtghomheqnecuggftrfgrthhtvghrnhepkeffvdfgvdeiieeugfduleelledtueeg ieeigfduledtueelvddugeelvdejjeejnecuffhomhgrihhnpehtohhpihgtsghogidrtg homhenucfkphepvddtledrkeehrdduieejrdegudenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepihhnvghtpedvtdelrdekhedrudeijedrgedupdhhvghlohepmhgrih hlqdhlfhduqdhfgedurdhgohhoghhlvgdrtghomhdpmhgrihhlfhhrohhmpeeoohhlvgdr hhhjrghlmhgrrhdrkhhrihhsthgvnhhsvghnsehgmhgrihhlrdgtohhmqecuuffkkgfgpe eiudekvd X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'ole.hjalmar.kristensen@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="ole.hjalmar.kristensen@gmail.com"; helo=mail-lf1-f41.google.com; client-ip=209.85.167.41 Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (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>; Mon, 4 Jan 2021 05:55:28 -0500 (EST) (envelope-from ole.hjalmar.kristensen@gmail.com) Received: by mail-lf1-f41.google.com with SMTP id o13so63333365lfr.3 for <9fans@9fans.net>; Mon, 04 Jan 2021 02:55:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=3PGeK90dxxOav/I+V0Kef9DQCTvZ/8NaDqeEZf54SM4=; b=h1TTBDF8c1dYLReMYJQRYo654byWC9NE+68qCvY8e5Ters4ZIXhMb17fuvd0fQxhEL h2kH7Jb9bKUhLjnUkjB1hBzX2kKDjT7BvmAUtNMXud0xVNwShcHFt6xvQmNh3MQGI9ux EGLVmWnBISkzJT9jLsfNOVcnfUV8b/H0GBhs44DQpIBvyjUNg29BrjDLWjkGR6gvz3re uPkJQpDHUL82mDMrk5UoddiPYx2/OzeYp5P1Yy8v0Xl15rVFbl2TZUeM9bFZ3n5Gz71X Z8xtdZnViq3VQkK7nDpnsVeObdz1i0JWdbYb/SgwFbqLrmPHnx8olzw2rma9Lh9oVhsa t89g== X-Gm-Message-State: AOAM532a6pBdENOkE/L+GKVUyXVOSaQDF6WEtH3uIqu0PCseFjwTDPBS 4lBkhZQFcCDZS+FWgPb9BNrOQpuTN9uSrQFaXU2t2B+o X-Google-Smtp-Source: ABdhPJzrJflf3VTx4sYXR2jB+8B/6NNQPD5oA9wnkyAQOK4vshLIK3Cf/pKFgOltKxdiinNU2U18C94/NeDNAn0dhh4= X-Received: by 2002:a2e:720f:: with SMTP id n15mr33862707ljc.405.1609757727169; Mon, 04 Jan 2021 02:55:27 -0800 (PST) MIME-Version: 1.0 References: <86tus46ujm.fsf@cmarib.ramside> <3e07aed0-6865-460a-9433-826cf173bb85@www.fastmail.com> In-Reply-To: <3e07aed0-6865-460a-9433-826cf173bb85@www.fastmail.com> From: Ole-Hjalmar Kristensen Date: Mon, 4 Jan 2021 11:55:16 +0100 Message-ID: Subject: Re: [9fans] Dual dialing/forking sessions to increase 9P throughput To: 9fans <9fans@9fans.net> Content-Type: multipart/alternative; boundary="000000000000809e0d05b810ed5c" Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 5ec5878e-4e7b-11eb-9f8e-89be73b8b2fb Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UZTY5YmIwZmNlMGYwZmZhZi1NMzJlYTA2ZGUyMWJlOGU1NWY5NGQw?= =?UTF-8?B?YjNiPg==?= 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: 7bit List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M32ea06de21be8e55f94d0b3b:1:UahuEenyr3QY4GhVlhtLh5xc8dZKL6EKKp4aZ4_Ar7g --000000000000809e0d05b810ed5c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I agree with you that using the existing tag mechanism to keep multiple requests in flight should be sufficient. I get the impression that this is not readily supported by the higher level libraries, though. As an aside, I seem to remember that John Floren sugegsed (and implemented) changes to the 9P protocol making it more suitable for streaming media by creating another TCP connection on the side. On Mon, Jan 4, 2021 at 12:52 AM Ethan Gardener wrote: > > The idea, basically, is to use an open flag (OJUMBO) to signal that two > > connections to the same server should be attempted. > > What's the advantage over fcp(1)? 9p can have numerous requests "in > flight" at once to work around latency issues, but of all the user > programs, fcp is probably the only one which takes advantage of this. > > > If a second > > connection can be established, it is used for normal 9P transactions, > > while the first connection is used for large ("jumbo") writes. >=20 > How large is "jumbo"? I believe all the user programs have 8KB buffers at > present; are you going to change them all? >=20 > I'm not negative about this; just raising the points. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Te69bb0fce0f0ffaf-M32ea0= 6de21be8e55f94d0b3b Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --000000000000809e0d05b810ed5c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I agree with you that using the existing tag m= echanism to keep multiple requests in flight should be sufficient. I get th= e impression that this is not readily supported by the higher level librari= es, though.

As an aside, I seem to remember that John = Floren sugegsed (and implemented) changes to the 9P protocol making it more= suitable for streaming media by creating another TCP connection on the sid= e.

On Mon, Jan 4, 2021 at 12:52 AM Ethan Gardener <eekee57@fastmail.fm> wrote:
> The idea, basically, is = to use an open flag (OJUMBO) to signal that two
> connections to the same server should be attempted. 

What's the advantage over fcp(1)? 9p can have numerous requests "i= n flight" at once to work around latency issues, but of all the user p= rograms, fcp is probably the only one which takes advantage of this.
<= br /> > If a second
> connection can be established, it is used for normal 9P transactions,<= br /> > while the first connection is used for large ("jumbo") write= s.

How large is "jumbo"? I believe all the user programs have 8KB bu= ffers at present; are you going to change them all?

I'm not negative about this; just raising the points.

------------------------------------------
9fans: 9fans
Permalink: https:= //9fans.topicbox.com/groups/9fans/Te69bb0fce0f0ffaf-M59ac782c0f58a0cc1eec8c= 10
Delivery options: https://9fans.topicbox.com/gro= ups/9fans/subscription
= --000000000000809e0d05b810ed5c--