9front - general discussion about 9front
 help / color / mirror / Atom feed
From: hiro <23hiro@gmail.com>
To: 9front@9front.org
Subject: Re: [9front] iounit: bump it across the board
Date: Thu, 9 Jun 2022 16:10:11 +0200	[thread overview]
Message-ID: <CAFSF3XM802Te7=T15Gf+bQo-r-6ZCe-P9Tf+N5S113dQHPiVoQ@mail.gmail.com> (raw)
In-Reply-To: <F1388103CC957DBB7A7B7B5E2370147A@eigenstate.org>

even if they don't share a 9p channel they can block other
communication, if we end up bandwidth limited.

normally up to limits of the tcp fairness mechanism.

On 6/9/22, ori@eigenstate.org <ori@eigenstate.org> wrote:
> Quoth ori@eigenstate.org:
>> Quoth noam@pixelhero.dev:
>> > Quoth ori@eigenstate.org:
>> > > This patch bumps up the iounit in the kernel to 32k, and
>> > > introduces the IOUNIT constant to take advantage of it.
>> >
>> > Any reason I shouldn't bump it to 1M or something locally?
>> > (in the kernel and, in userspace, in non-libthread applications)
>> >
>> > - Noam Preil
>> >
>>
>> Try it out, but keep in mind that on a slower connection,
>> you have to wait for the entire iounit to get sent before
>> you can send the next request -- so, eg, tethering over
>> wifi means that your file IO needs to go through fully
>> before your next mouse message can get sent.
>>
>
> phrased poorly -- but, if your mouse and file system share
> a 9p channel (ie, exportfs), then large messages will block
> all other communication.
>
> the other reason is that you can have a lot of in flight
> 9p buffers at once; up to 64k per connection. Most of the
> time there will be fewer, but not always. But even a few
> hundred 1 meg buffers is a lot of memory on smaller modern
> systems.
>
>

  reply	other threads:[~2022-06-09 14:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-09  3:47 ori
2022-06-09  4:42 ` noam
2022-06-09 13:36   ` ori
2022-06-09 13:40     ` ori
2022-06-09 14:10       ` hiro [this message]
2022-06-09 15:08       ` noam
2022-06-09 16:31         ` ori
2022-07-03  0:41           ` ori

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='CAFSF3XM802Te7=T15Gf+bQo-r-6ZCe-P9Tf+N5S113dQHPiVoQ@mail.gmail.com' \
    --to=23hiro@gmail.com \
    --cc=9front@9front.org \
    /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).