9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] A little more ado about async Tclunk
@ 2010-10-28 21:39 erik quanstrom
  0 siblings, 0 replies; 101+ messages in thread
From: erik quanstrom @ 2010-10-28 21:39 UTC (permalink / raw)
  To: 9fans

> months ago, i did test an example on the system that "just works", by the way,
> and it did fail. it often takes a few attempts for it to fail,
> because it depends on scheduling (often the system completes the clunk before
> returning to the original process), but there's nothing to stop it failing immediately.

:-)  had a bit of hardware with a race that mostly worked.  mean time to failure
for a single unit was ~40 days.  unfortunately, there wasn't just one, there were 1000.

- erik



^ permalink raw reply	[flat|nested] 101+ messages in thread
* [9fans] A little more ado about async Tclunk
@ 2010-10-27  3:02 Venkatesh Srinivas
  2010-10-27  4:23 ` erik quanstrom
  0 siblings, 1 reply; 101+ messages in thread
From: Venkatesh Srinivas @ 2010-10-27  3:02 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

Hi folks,

I just committed a very simple implementation of asynchronous TClunk to
inferno-npe. The implementation will only defer sending clunks when MCACHE
is specified on the mount (via the new -j option to Inferno's mount,
analogous to Plan 9's mount -C) and when the file is not marked ORCLOSE. The
implementation is very simple -- I queue the RPCs devmnt would issue
synchronously and send them from a single kproc, one-after-another. There is
no attempt to overlap the TClunks. There is no logic to handle flushing a
deferred clunks on an unmount yet. The diff is not as clean as I would like,
but it works.

I connected from an inferno-npe client to an inferno-os server, sharing the
Plan9 source tree from August 16th and measured the time required for fcp -R
16 -W 16 to get the sources to /plan9/sys/src/cmd/cwfs and to get
/plan9/sys/src/9.  The server is approximately 15ms away from the client;
both are running Linux.

For the cwfs sources, it takes me an average of 5.68sec (stdev 0.57s, 6
tests) issuing synchronous clunks (the default) and an average of 4.54sec
(stdev 0.31s, 6 tests) issuing asynchronous clunks.

For the 9 kernel sources, it took about 51s with synchronous clunks, about
41s with asynchronous clunks on. I only did 3 tries with the 9 sources.

Thought this might be interesting...
-- vs

[-- Attachment #2: Type: text/html, Size: 1501 bytes --]

^ permalink raw reply	[flat|nested] 101+ messages in thread

end of thread, other threads:[~2010-11-02 14:29 UTC | newest]

Thread overview: 101+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-28 21:39 [9fans] A little more ado about async Tclunk erik quanstrom
  -- strict thread matches above, loose matches on Subject: below --
2010-10-27  3:02 Venkatesh Srinivas
2010-10-27  4:23 ` erik quanstrom
2010-10-27  6:27   ` Bruce Ellis
2010-10-27 13:50     ` Charles Forsyth
2010-10-27 13:53       ` Gorka Guardiola
2010-10-27 13:55         ` Francisco J Ballesteros
2010-10-27 14:12         ` John Floren
2010-10-27 14:13       ` Eric Van Hensbergen
2010-10-27 14:48         ` Venkatesh Srinivas
2010-10-27 15:45           ` erik quanstrom
2010-10-27 15:54             ` Venkatesh Srinivas
2010-10-27 21:04               ` Bruce Ellis
2010-10-28 12:12               ` Charles Forsyth
2010-10-28 13:32                 ` Bruce Ellis
2010-10-28 14:30                 ` Gorka Guardiola
2010-10-28 14:39                   ` Gorka Guardiola
2010-10-28 14:58                     ` erik quanstrom
2010-10-28 14:41                   ` Francisco J Ballesteros
2010-10-28 14:45                     ` Eric Van Hensbergen
2010-10-28 14:56                       ` Francisco J Ballesteros
2010-10-28 15:37                         ` Nathaniel W Filardo
2010-10-28 15:40                           ` erik quanstrom
2010-10-28 15:53                           ` Francisco J Ballesteros
2010-10-28 19:17                             ` Venkatesh Srinivas
2010-10-28 19:24                 ` Venkatesh Srinivas
2010-10-28 20:18                   ` Charles Forsyth
2010-10-28 20:32                     ` Venkatesh Srinivas
2010-10-28 20:55                       ` Nemo
2010-10-28 21:22                         ` Venkatesh Srinivas
2010-10-28 22:17                           ` Francisco J Ballesteros
2010-10-28 23:51                     ` Gorka Guardiola
2010-10-29  5:37                       ` Bruce Ellis
2010-10-29  7:44                         ` Gorka Guardiola
2010-10-29  8:51                           ` Bruce Ellis
2010-10-29  9:01                       ` Charles Forsyth
2010-10-29  8:58                         ` Bruce Ellis
2010-10-29 16:38                           ` Charles Forsyth
2010-10-29  9:45                         ` Gorka Guardiola
2010-10-29  9:56                           ` Bruce Ellis
2010-10-29 16:01                           ` Charles Forsyth
2010-10-29 15:58                             ` Venkatesh Srinivas
2010-10-29 16:02                             ` roger peppe
2010-10-29 16:17                               ` Bruce Ellis
2010-10-29 16:47                                 ` roger peppe
2010-10-29 16:04                           ` Charles Forsyth
2010-10-29 14:14                         ` Eric Van Hensbergen
2010-10-29 15:21                           ` roger peppe
2010-10-29 15:36                             ` erik quanstrom
2010-10-29 15:39                             ` Eric Van Hensbergen
2010-10-29 15:49                             ` Charles Forsyth
2010-10-29 15:50                               ` Eric Van Hensbergen
2010-10-29 15:59                                 ` Bruce Ellis
2010-10-29 16:28                                   ` Venkatesh Srinivas
2010-10-29 17:16                                     ` erik quanstrom
2010-10-29 16:47                               ` David Leimbach
2010-10-29 17:13                                 ` Charles Forsyth
2010-10-29 17:22                                   ` David Leimbach
2010-10-29 17:26                                     ` erik quanstrom
2010-10-29 17:47                                       ` Bruce Ellis
2010-10-29 19:33                                         ` roger peppe
2010-10-29 20:27                                           ` Bruce Ellis
2010-10-29 20:41                                             ` Gorka Guardiola
2010-10-29 20:44                                               ` Bruce Ellis
2010-10-29 22:31                                                 ` Bakul Shah
2010-10-29 22:39                                                 ` roger peppe
2010-10-29 22:43                                                   ` Bruce Ellis
2010-10-29 23:07                                                     ` roger peppe
2010-10-29 23:28                                                       ` Bruce Ellis
2010-10-30  9:08                                                         ` Nemo
2010-10-31  5:39                                                           ` Bruce Ellis
2010-10-31  8:52                                                             ` roger peppe
2010-10-31  8:57                                                               ` Bruce Ellis
2010-10-31 10:25                                                                 ` fgergo
2010-10-31 11:11                                                                   ` fgergo
2010-10-31 11:21                                                                   ` Bruce Ellis
2010-10-31 11:23                                                                 ` roger peppe
2010-10-31 13:06                                                                   ` Gorka Guardiola
2010-10-31 13:07                                                                     ` Gorka Guardiola
2010-10-31 13:22                                                                       ` Gorka Guardiola
2010-11-02 14:29                                                                     ` Richard Miller
2010-10-31 14:21                                                               ` Eric Van Hensbergen
2010-10-31 22:17                                                                 ` Bruce Ellis
2010-10-31 22:32                                                                   ` EBo
2010-10-31 22:41                                                                   ` Steve Simon
2010-11-02 13:49                                                                   ` Richard Miller
2010-11-02 14:02                                                                     ` Eric Van Hensbergen
2010-10-29 18:27                                       ` David Leimbach
2010-10-29 17:18                                 ` Charles Forsyth
2010-10-29 17:17                                   ` erik quanstrom
2010-10-29 17:25                                     ` David Leimbach
2010-10-29 18:03                                   ` Eric Van Hensbergen
2010-10-29 18:54                                   ` Gorka Guardiola
2010-10-29 19:30                                     ` David Leimbach
2010-10-29 20:20                                     ` erik quanstrom
2010-10-29 15:55                         ` Venkatesh Srinivas
2010-10-29 13:12                     ` roger peppe
2010-10-29 13:20                       ` Lucio De Re
2010-10-29 15:51                       ` Charles Forsyth
2010-10-29 16:36                       ` Charles Forsyth
2010-10-27 15:09       ` David Leimbach

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).