9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <russcox@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] writing code
Date: Thu, 17 Feb 2005 23:21:49 -0500	[thread overview]
Message-ID: <ee9e417a050217202118f6c3fb@mail.gmail.com> (raw)
In-Reply-To: <d50371e9fa3fc8a8a78e3881d1ac30aa@vitanuova.com>

>         isochronous/streaming data transfer over 9p:
>
>                 9p is slow over wide area networks when streaming
>                 data, due to the ping-pong nature of the data
>                 transfer.  can anything be done to help solve this?

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.

it's less clear what the kernel interface for streaming
would look like.

>         distributed authentication:
>
>                 the plan 9 authentication model relies on having an
>                 on-line authentication server.  as firewalls and
>                 mobile devices continue to proliferate, might it be
>                 worthwhile adding support for a peer-to-peer model be
>                 more appropriate?

i don't know what peer-to-peer means, but if we moved to
a public key model (which was the reason presotto created p9any)
and had the auth server just be a repository for public keys
(signed by bootes), then any amount of caching could happen.

>         graphics:
>
>                 high-bandwidth bitmap access is slow.  additionally,
>                 even the existing hardware acceleration could be
>                 leveraged more than it is (if any portion of a window
>                 is obscured, then no h/w acceleration is used for that
>                 window).  is it conceivable to have a system where all
>                 graphics operations are accelerated (as apple are
>                 apparently to be doing with their next system), or
>                 does the current architecture preclude this?

you don't need to accelerate everything, just the common stuff.
the obscured window case you describe is an important one
that should be handled better.  i'd love to see that happen.
it's not so much the lack of acceleration as the copying to
backing store and back.

i'm less excited by high-bandwidth bitmap access, but it still
shouldn't be hard.  rob took rio out of the loop for exactly this
reason -- talking to a local /dev/draw is just a single copy of the
data from user space to the frame buffer.  what's needed is a
driving application.

>         graphics primitives:
>
>                 graphics drawn with the existing non-bitblt primitives
>                 is not great (e.g.  lots of jaggies on diagonal
>                 lines).  could implementing subpixel rendering help
>                 matters here?

it should be straightforward to adapt the line drawing algorithm
to put down alpha-blended grey.  that would be nice.

>         how can i continue to do work when a server goes down?
>
>                 aan can deal with a broken network connection, but say
>                 someone reboots the fileserver?  is there any way we
>                 can incorporate some redundancy into the system, or
>                 make it easier for a applications to recover?

there have been at least two attempts to do this.  the early
brazil kernels maintained state in the Chans and tried to reestablish
them, but my understanding is that the code never really worked
right, and eventually it got taken out.  i wrote a user-level file
server for 9P1 that redialed as necessary to keep the connection
running without any help from the kernel.  it worked very well
but i never updated it for 9P2000.  it's not a big program.

russ


  parent reply	other threads:[~2005-02-18  4:21 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 [this message]
2005-02-18 16:03                         ` rog
2005-02-18 16:04                         ` rog
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=ee9e417a050217202118f6c3fb@mail.gmail.com \
    --to=russcox@gmail.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).