9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: ori@eigenstate.org
To: 9fans@9fans.net
Subject: Re: [9fans] Dual dialing/forking sessions to increase 9P throughput
Date: Thu, 07 Jan 2021 08:02:44 -0800	[thread overview]
Message-ID: <0A44D081EBB9828E967ED9B5F0B4F915@eigenstate.org> (raw)
In-Reply-To: <16098180750.51d0c6.72632@composer.9fans.topicbox.com>

Quoth Joe S <joe@lifesoftserv.com>:
> hiro:
>     The purpose of doing this was not to just access multiple parts of the file. I was working off the quote below.  Maybe a file server thats purpose is to mux parts of another file sounded like fun. My thoughts are that you could then transer thoes chunks on a single destination on seperate connections.
> 
> eg.
>     % mux -C 3 -F large.file
>     % tree.
>           ├── large.file
>           └── large.file.mux
>               ├── 1
>               ├── 2
>               └── 3
> 
> 1 directory, 4 files
> 
> Like I said though still learning though.

You don't need separate connections to transfer
chunks in parallel, you need multiple Tread
messages in flight at once. The only two ways
to do that on plan 9 is pread() from multiple
threads(procs) at once, either in an external
tool like fcp(1), or in the program itself.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Te69bb0fce0f0ffaf-M5f334f5b561aae6155a06c16
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

  parent reply	other threads:[~2021-01-07 16:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-29 23:50 cigar562hfsp952fans
2020-12-30  8:12 ` [9fans] " joey
2021-01-03 23:51 ` [9fans] " Ethan Gardener
2021-01-04 10:55   ` Ole-Hjalmar Kristensen
2021-01-04 11:03     ` hiro
2021-01-04 19:08       ` joe
2021-01-04 20:44         ` hiro
2021-01-04 21:01         ` ori
2021-01-05  3:41 ` Joe S
2021-01-05  9:40   ` hiro
2021-01-06 22:21   ` [9fans] " cigar562hfsp952fans
2021-01-07  8:06     ` hiro
2021-01-07 16:02   ` ori [this message]
2021-01-25 22:31 ` [9fans] " David Arroyo
2021-01-27 16:25   ` Ethan Gardener
2021-01-27 16:52   ` ori
2021-01-27 17:34     ` Charles Forsyth
2021-01-28  0:17     ` David Arroyo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0A44D081EBB9828E967ED9B5F0B4F915@eigenstate.org \
    --to=ori@eigenstate.org \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).