9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: rog@vitanuova.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] writing code
Date: Fri, 18 Feb 2005 16:04:01 +0000	[thread overview]
Message-ID: <64708bcddabb98a1a609ba1a64b9ae29@vitanuova.com> (raw)
In-Reply-To: <ee9e417a050217202118f6c3fb@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 952 bytes --]

> sure.  you could imagine adding a stream message to
> start some number of reads, but maybe it's enough to
> define that streaming style servers allow the client to
> queue multiple read messages and respond in order.
>
> you can already do that for file transfers by using the
> offset field appropriately.

i tried that, and it didn't seem to speed things up much.  regardless
of the number of concurrent reads, it was still much slower than
streaming TCP.

i couldn't say why though - i just measured it across a slow
trans-atlantic connection.

if you want to experiment, i've attached a version of the Inferno
cp(1) called "streamcp" that uses this technique to try to speed up
file transfer; it allows you to specify the number of concurrent reads
and writes.

perhaps someone that knows something about TCP might be able to say
why this technique can't use more of the available bandwidth?  it'd be
great if it could...

[-- Attachment #2: streamcp.b.gz --]
[-- Type: application/octet-stream, Size: 2281 bytes --]

  parent reply	other threads:[~2005-02-18 16:04 UTC|newest]

Thread overview: 178+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-16 17:45 [9fans] Evolving rio / GUI development g01495
2005-02-16 17:56 ` Russ Cox
2005-02-16 19:15   ` Sergey Reva
2005-02-16 19:44     ` McLone
2005-02-17  5:50       ` Sergey Reva
2005-02-17  7:07         ` Kenji Okamoto
2005-02-17 17:15           ` Sergey Reva
2005-02-17 17:30             ` Tiit Lankots
2005-02-17 17:36               ` Ronald G. Minnich
2005-02-17 17:42                 ` boyd, rounin
2005-02-17 17:47                 ` Tiit Lankots
2005-02-17 17:53                   ` Russ Cox
2005-02-17 22:21                     ` [9fans] writing code rog
2005-02-17 22:29                       ` Ronald G. Minnich
2005-02-18  1:27                         ` Russ Cox
2005-02-18  4:48                           ` Ronald G. Minnich
2005-02-18  4:51                             ` lucio
2005-02-18 18:22                               ` rog
2005-02-18 19:05                                 ` Paul Lalonde
2005-02-18 19:21                                   ` rog
2005-02-20 18:14                                 ` [9fans] Second class citizenship (Was: writing code) Lucio De Re
2005-02-20 18:24                                   ` boyd, rounin
2005-02-20 18:33                                     ` Lucio De Re
2005-02-20 18:37                                       ` boyd, rounin
2005-02-20 20:36                                         ` Joel Salomon
2005-02-21  4:30                                         ` lucio
2005-02-21  7:03                                           ` Bruce Ellis
2005-02-21 16:59                                   ` rog
2005-02-22  3:59                                   ` Ronald G. Minnich
2005-02-22  4:34                                     ` lucio
2005-02-22  5:09                                       ` Ronald G. Minnich
2005-02-21  7:10                                 ` [9fans] writing code Kenji Okamoto
2005-02-21  7:26                                   ` Tiit Lankots
2005-02-21  7:48                                     ` Kenji Okamoto
2005-02-21  8:00                                       ` Tiit Lankots
2005-02-21 23:49                                       ` rog
2005-03-01  1:30                                         ` Kenji Okamoto
2005-02-21 10:08                                     ` Richard Miller
2005-02-21 10:09                                     ` Steve Simon
2005-02-18 21:09                               ` Ronald G. Minnich
2005-02-18  4:58                             ` Paul Lalonde
2005-02-18  5:12                               ` andrey mirtchovski
2005-02-18 14:57                                 ` Ronald G. Minnich
2005-02-18  5:01                           ` Ronald G. Minnich
2005-02-18 19:34                           ` Tim Newsham
2005-02-18 19:49                             ` David Leimbach
2005-02-18 19:59                               ` Christopher Nielsen
2005-02-18 21:36                                 ` rog
2005-02-18 22:14                                   ` Christopher Nielsen
2005-02-19  9:15                                 ` David Leimbach
2005-02-19 20:20                                   ` Bruce Ellis
2005-05-08 16:15                             ` Ralph Corderoy
2005-02-17 22:52                       ` Charles Forsyth
2005-02-17 23:12                         ` rog
2005-02-17 22:52                       ` Christopher Nielsen
2005-02-17 23:02                         ` boyd, rounin
2005-02-18  0:20                           ` jmk
2005-02-18  0:54                             ` boyd, rounin
2005-02-17 23:04                         ` Ronald G. Minnich
2005-02-17 23:07                           ` rog
2005-02-17 23:17                             ` Christopher Nielsen
2005-02-17 23:33                               ` rog
2005-02-17 23:42                                 ` Russ Cox
2005-02-18  0:07                       ` Steve Simon
2005-02-18  1:20                       ` Russ Cox
2005-02-18  9:53                         ` C H Forsyth
2005-02-18 12:17                           ` boyd, rounin
2005-02-18  4:21                       ` Russ Cox
2005-02-18 16:03                         ` rog
2005-02-18 16:04                         ` rog [this message]
2005-02-18 18:52                         ` rog
2005-02-18 19:01                           ` Russ Cox
     [not found]                             ` <53b78d28ce9ff18f6dc22cc280fc92ef@quintile.net>
2005-02-21 15:54                               ` Russ Cox
2005-02-18 19:50                           ` Charles Forsyth
2005-02-18 20:42                             ` rog
2005-02-18 20:32                               ` Charles Forsyth
2005-02-18 21:06                                 ` rog
2005-02-18 21:49                           ` McLone
2005-02-18 11:04                   ` [9fans] Evolving rio / GUI development Fco. J. Ballesteros
2005-02-18 12:29                     ` Tiit Lankots
2005-02-21  2:54                     ` Kenji Okamoto
2005-02-21  8:04                       ` Bruce Ellis
2005-02-21  8:24                         ` Tiit Lankots
2005-02-21 14:01                           ` Sergey Reva
2005-02-21 14:35                             ` Fco. J. Ballesteros
2005-02-22  1:16                               ` Kenji Okamoto
2005-02-22  2:04                                 ` Kenji Okamoto
2005-02-22  8:21                                 ` Matthias Teege
2005-02-21 14:36                             ` Gorka Guardiola
2005-02-21 15:52                               ` lucio
2005-02-22  0:37                                 ` Skip Tavakkolian
2005-02-21 23:52                                   ` Chesky Salomon
2005-02-22  2:27                                     ` Skip Tavakkolian
2005-02-22  4:12                               ` Ronald G. Minnich
2005-02-21 15:20                             ` Tiit Lankots
2005-02-21 16:01                             ` lucio
2005-02-22  8:07                               ` Matthias Teege
2005-02-22 13:52                                 ` Sergey Reva
2005-02-22 14:00                                   ` boyd, rounin
2005-02-22 14:10                                     ` David Tolpin
2005-02-22 14:15                                       ` Tiit Lankots
2005-02-22 15:25                                         ` David Tolpin
2005-02-22 17:47                                     ` lucio
2005-02-22 14:09                                   ` Charles Forsyth
2005-02-23  5:55                                     ` Martin C.Atkins
2005-02-22 10:26                               ` Gorka Guardiola
2005-02-22 17:33                                 ` lucio
2005-02-22 19:40                                   ` Skip Tavakkolian
2005-02-22 19:56                                     ` Bruce Ellis
2005-02-23  0:17                                     ` C H Forsyth
2005-02-23 10:29                                       ` fgergo
2005-02-23 11:22                                         ` Bruce Ellis
2005-02-23  3:47                                     ` lucio
2005-02-23 13:17                                       ` Rob Pike
2005-02-23 13:19                                         ` Gorka Guardiola
2005-02-23 13:39                                           ` Bruce Ellis
2005-02-23 13:43                                             ` Brantley Coile
2005-02-23 15:31                                             ` Ronald G. Minnich
2005-02-23 15:37                                               ` Rob Pike
2005-02-23 15:53                                                 ` Bruce Ellis
2005-02-23 16:06                                                   ` Ronald G. Minnich
2005-02-23 16:18                                                     ` Bruce Ellis
2005-02-23 17:37                                                 ` Skip Tavakkolian
2005-02-23 16:19                                             ` David Leimbach
2005-02-23 16:50                                               ` Richard Miller
2005-02-24  0:11                                           ` Dave Lukes
2005-02-22 23:47                                   ` Steve Simon
2005-02-23  0:21                                     ` Andrew Simmons
2005-02-23  3:59                                     ` lucio
2005-02-23  6:03                                     ` Martin C.Atkins
2005-02-21 10:37                       ` Fco. J. Ballesteros
2005-02-18  3:50                 ` Kenji Okamoto
2005-02-18  7:10                   ` Kenji Okamoto
2005-02-18  7:17                     ` Bruce Ellis
2005-02-18 13:07                     ` Rob Pike
2005-02-18 21:23                   ` McLone
2005-03-03  3:47                 ` rog
2005-03-03  5:43                   ` arisawa
2005-03-03 17:12                     ` Sam
2005-03-03 18:11                       ` rog
2005-03-03 18:27                         ` Russ Cox
2005-03-03 18:54                           ` g01495
2005-03-03 19:43                             ` Charles Forsyth
2005-03-04 15:25                           ` arisawa
2005-03-04 16:19                           ` rog
2005-03-07  2:22                             ` Kenji Okamoto
2005-03-04  4:39                         ` Scott Schwartz
2005-02-17 20:00               ` Sergey Reva
2005-02-17 20:17                 ` boyd, rounin
2005-02-17 20:43                   ` McLone
2005-02-17 20:19                 ` andrey mirtchovski
2005-02-17 20:56                 ` g01495
2005-02-17 21:02                   ` Rob Pike
2005-02-17 22:35                     ` McLone
2005-02-17 22:39                       ` Russ Cox
2005-02-17 22:00                   ` Ronald G. Minnich
2005-02-17 22:08                     ` rog
2005-02-20 21:04                     ` geoff
2005-02-18 12:15                 ` Tiit Lankots
2005-02-18 13:04                   ` Sergey Reva
2005-02-18 13:18                     ` Tiit Lankots
2005-02-18 15:50                       ` Sergey Reva
2005-02-18 16:01                         ` Tiit Lankots
2005-02-17 17:41         ` McLone
2005-02-17 17:58           ` andrey mirtchovski
2005-02-16 18:31 ` Steve Simon
2005-02-16 18:37   ` andrey mirtchovski
2005-02-16 19:04     ` McLone
2005-02-16 18:59 ` McLone the Great
2005-02-17  2:24 ` Kenji Okamoto
2005-02-18  7:45 [9fans] writing code Skip Tavakkolian
2005-02-18 18:27 andrey mirtchovski
2005-02-18 18:35 ` rog
2005-02-18 18:53   ` andrey mirtchovski
2005-02-18 20:57     ` rog
2005-02-18 20:39       ` Charles Forsyth
2005-02-18 21:05       ` andrey mirtchovski
2005-03-01 16:29 Roland Dowdeswell

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=64708bcddabb98a1a609ba1a64b9ae29@vitanuova.com \
    --to=rog@vitanuova.com \
    --cc=9fans@cse.psu.edu \
    /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).