9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Aram Hăvărneanu" <aram.h@mgk.ro>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] syscall 53
Date: Mon, 19 May 2014 21:15:30 +0200	[thread overview]
Message-ID: <CAEAzY3-4sG5i+ko-ctd9HSod=rhWaqDTOzuS9yG3x0BNuhnh7Q@mail.gmail.com> (raw)
In-Reply-To: <a3b937311c3c09f698cc70b455642d6d@ladd.quanstro.net>

There are two separate issues here. First, there's the issue of
whether 9front and 9atom should incorporate the change.

For purely egoistic reasons, I'd like that, regardless of the
technical merits of the change. I regulary test labs software on
9front. It would be a pity if I couldn't do that anymore. I have
scripts that set up binds such as to create an environment that
matches both 9atom and the labs distribution. I use these scripts
to collaborate with other people on various projects where my
collaborators and myself use different distributions. This is not
just a thought experiment; this is happening right now, so it affects
me personally.

Simply put, this change is creating (significant) more work for me.
Now, this is not a good enough reason to import this change, but
perhaps if other people are affected in the same way it might be.

Second, there's the issue of the merit of this new system call.
Without more context I believe it's a mistake.

I know that Ron Minnich added a nanotime system call to NxM (or was
it nix?). I don't know why he did that. I heard rumors about
/dev/bintime adding too much jitter, or being too imprecise. The
context of these complains was the Go port to plan9/amd64.

I don't know how much jitter /dev/bintime adds, but I don't think
it matters anyway. If you are latency-sensitive you probably also
want a monotonic clock with relative timing, so /dev/bintime is not
the right tool.

In any case, Go doesn't require an ultra-precise clock and right
now doesn't require so many time calls compared to when the port
was started. The context of the complaints were in some Go *tests*.
The *tests* were written with Linux in mind where gettimeofday is
a fake system call that uses the vdso(7) mappings. The *tests* were
wrong, at least for non-Linux systems.

There was another complaint about /dev/bintime. Some people claimed
that using it leaked file descriptors in multithreaded programs. I
don't understand why this problem can't be solved by opening it
close-on-exec. In fact, this problem doesn't exist in the port of
Go to Plan 9 anymore (although the fix was different)...

In short, I can't justify this new system call. I'm happy to be
educated, however.

-- 
Aram Hăvărneanu



  reply	other threads:[~2014-05-19 19:15 UTC|newest]

Thread overview: 117+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-17 19:11 goo
2014-05-17 21:17 ` Jeff Sickel
2014-05-17 22:21   ` Jeff Sickel
2014-05-17 22:45   ` Skip Tavakkolian
2014-05-18  4:34     ` lucio
2014-05-18  8:29       ` David du Colombier
2014-05-18 15:28         ` Jeff Sickel
2014-05-18 15:32         ` Skip Tavakkolian
2014-05-18 15:34           ` Skip Tavakkolian
2014-05-18 15:38           ` Jeff Sickel
2014-05-18 16:03             ` Skip Tavakkolian
2014-05-18 22:55               ` Skip Tavakkolian
2014-05-19  1:54                 ` erik quanstrom
2014-05-19  2:27                   ` Jeff Sickel
2014-05-19  4:18                     ` lucio
2014-05-19 12:50                       ` erik quanstrom
2014-05-19 14:01                         ` lucio
2014-05-19 16:24                           ` erik quanstrom
2014-05-19 16:54                             ` erik quanstrom
2014-05-19 17:16                               ` lucio
2014-05-19 17:22                                 ` erik quanstrom
2014-05-19 17:13                             ` lucio
2014-05-19 17:25                               ` erik quanstrom
2014-05-19 19:50                                 ` Bakul Shah
2014-05-19 19:59                                   ` erik quanstrom
2014-05-19 20:54                                     ` ron minnich
2014-05-19 21:30                                       ` Charles Forsyth
2014-05-19 21:41                                         ` ron minnich
2014-05-19 23:02                                           ` Kurt H Maier
2014-05-19 23:06                                             ` andrey mirtchovski
2014-05-19 23:12                                               ` Kurt H Maier
2014-05-19 23:17                                                 ` andrey mirtchovski
2014-05-20  0:09                                                   ` Jeff Sickel
2014-05-19 21:34                                       ` Anthony Sorace
2014-05-20 14:04                                         ` erik quanstrom
2014-05-20 16:41                                           ` ron minnich
2014-05-20 17:14                                             ` erik quanstrom
2014-05-20 18:32                                             ` Kurt H Maier
2014-05-20 19:49                                               ` ron minnich
2014-05-20 19:54                                                 ` erik quanstrom
2014-05-20 20:06                                                 ` Kurt H Maier
2014-05-21 10:23                                                 ` hiro
2014-05-20 20:33                                             ` Jeff Sickel
2014-05-21  1:37                                               ` Skip Tavakkolian
2014-05-21 15:40                                                 ` lucio
2014-05-21 16:25                                                   ` erik quanstrom
2014-05-21 16:56                                                     ` Skip Tavakkolian
2014-05-21 20:05                                                       ` Steffen Nurpmeso
2014-05-22  0:13                                                       ` Bakul Shah
2014-05-22  3:25                                                         ` [9fans] CMS/MMS (VCS/SCM/DSCM) [was: syscall 53] Jeff Sickel
2014-05-22  5:03                                                           ` lucio
2014-05-22  5:07                                                           ` lucio
2014-05-22 13:29                                                             ` erik quanstrom
2014-05-22 13:50                                                               ` lucio
2014-05-22  5:11                                                           ` Bakul Shah
2014-05-22  5:26                                                             ` lucio
2014-05-22 12:57                                                               ` erik quanstrom
2014-05-22 13:43                                                                 ` lucio
2014-05-22 13:57                                                                   ` erik quanstrom
2014-05-22  5:28                                                             ` lucio
2014-05-22  5:36                                                             ` lucio
2014-05-22  6:00                                                               ` Bakul Shah
2014-05-22  6:18                                                                 ` lucio
2014-05-22 12:45                                                                 ` erik quanstrom
2014-05-22 20:05                                                                   ` Bakul Shah
2014-05-22 20:11                                                                     ` erik quanstrom
2014-05-23 20:07                                                                     ` Steve Simon
2014-05-22  9:52                                                               ` Aram Hăvărneanu
2014-05-22 10:29                                                                 ` lucio
2014-05-22 10:46                                                                   ` Aram Hăvărneanu
2014-05-22 13:03                                                             ` erik quanstrom
2014-05-22  5:23                                                           ` Skip Tavakkolian
2014-05-22  5:47                                                             ` lucio
2014-05-22 12:49                                                               ` erik quanstrom
2014-05-22  7:49                                                           ` Alex Jordan
2014-05-22 12:49                                                             ` Riddler
2014-05-22  3:43                                                       ` [9fans] syscall 53 Kurt H Maier
2014-05-22  5:12                                                         ` lucio
2014-05-22 16:15                                                           ` Kurt H Maier
2014-05-22  5:36                                                         ` Bakul Shah
2014-05-22 10:50                                                           ` Aram Hăvărneanu
2014-05-21 17:01                                                     ` lucio
2014-05-21 17:41                                                       ` erik quanstrom
2014-05-21 19:08                                                         ` lucio
2014-05-21 20:36                                                           ` erik quanstrom
2014-05-22  4:46                                                             ` lucio
2014-05-22 13:18                                                               ` erik quanstrom
2014-05-22 13:39                                                                 ` lucio
2014-05-22 14:22                                                                   ` Riddler
2014-05-22  4:54                                                             ` lucio
2014-05-22 13:07                                                               ` erik quanstrom
2014-05-21  1:21                                             ` Skip Tavakkolian
2014-05-21 15:36                                               ` lucio
2014-05-21 15:57                                                 ` erik quanstrom
2014-05-21 17:03                                                   ` lucio
2014-05-21 16:50                                                 ` Kurt H Maier
2014-05-21 18:02                                                   ` hiro
2014-05-20 17:05                                         ` Bakul Shah
2014-05-20 17:28                                           ` erik quanstrom
2014-05-19 17:26                               ` Charles Forsyth
2014-05-19 17:29                                 ` erik quanstrom
2014-05-19 19:15                                   ` Aram Hăvărneanu [this message]
2014-05-19 19:44                                     ` Charles Forsyth
2014-05-19 20:51                                     ` erik quanstrom
2014-05-20  3:52                                     ` cinap_lenrek
2014-05-19  4:15                   ` lucio
2014-05-18  0:34 ` erik quanstrom
  -- strict thread matches above, loose matches on Subject: below --
2014-05-21 18:26 sl
2014-05-21 18:31 ` erik quanstrom
2014-05-18  7:35 goo
2014-05-17 16:54 goo
2014-05-17 13:53 goo
2014-05-17 14:56 ` erik quanstrom
2014-05-17 10:23 goo
2014-05-17 12:11 ` erik quanstrom
2014-05-17 12:23   ` David du Colombier
2014-05-17 12:12 ` erik quanstrom

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='CAEAzY3-4sG5i+ko-ctd9HSod=rhWaqDTOzuS9yG3x0BNuhnh7Q@mail.gmail.com' \
    --to=aram.h@mgk.ro \
    --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).