9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "ron minnich" <rminnich@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: Re: [9fans] 118 acme fault 0 no segment -- seeing a lot of simliar things this morning.
Date: Wed,  2 Jul 2008 06:30:56 -0700	[thread overview]
Message-ID: <13426df10807020630s68ec3846l793f7fec96699947@mail.gmail.com> (raw)
In-Reply-To: <20080702131432.B61891E8C7E@holo.morphisms.net>

On Wed, Jul 2, 2008 at 6:16 AM, Russ Cox <rsc@swtch.com> wrote:
>> Is this another out of memory? This
>> happened on a mk clean on kernel source
>
> It would not surprise me if the new pager (post-0.12)
> caused the problem, but in order for that
> to happen the kernel would have had to print
>
>        uh oh.  someone woke the pager

That I did not see. Just the no segment error.

Here's a bigger question, now that I've read the paper and briefly
scanned the code. Do you have some thoughts on the long term ability
of vx32 to get close to unity performance on a system (like Plan 9)
with a high rate of context switches between file server processes
(you allude ot this cost in the paper).  It's an ideal terminal right
now. I don't see a need to use drawterm any more.

But running fossil and venti, it's got a ways to go in terms of
performance (i.e. mk clean in /sys/src/9/pc takes ~60 seconds).

At this point, the fastest virtualization system for kernel mk on my
x60 is still xen, at 12 seconds. I had expected lguest to beat that,
but it never has. There are claims that kvm is running at close to
unity, but that's probably for linux -- I have not tested kvm lately
with plan 9.

At the same time, in terms of effort, vx32 is far easier to run than
the alternatives, and hence is superior in the long term as a way to
get plan 9 into people's hands.

Also, opteron. lguest on opteron should be ready soonish. But vx32 is
still a highly desirable alternative. Do you have thoughts on how to
sandbox on opteron, where you don't have the segment registers? Could
you use mctl to sandbox and then filter mmap system calls from the
sandboxed code to make sure the sandbox can not be escaped?

enough rambling. I'm in a west coast brain on the east coast, still
not awake at this point.

Thanks

ron



  reply	other threads:[~2008-07-02 13:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-02 12:40 ron minnich
2008-07-02 13:16 ` Russ Cox
2008-07-02 13:30   ` ron minnich [this message]
2008-07-02 13:40     ` [9fans] 118 acme fault 0 no segment -- seeing a lot of simliar erik quanstrom
2008-07-02 14:17       ` ron minnich
2008-07-02 15:42     ` vx32 and 9vx performance, and on x86-64 Russ Cox
2008-07-04  0:26       ` [9fans] " erik quanstrom
2008-07-04  2:03         ` andrey mirtchovski
2008-07-04  2:15         ` Russ Cox
2008-07-02 15:43     ` [9fans] 118 acme fault 0 no segment -- seeing a lot of simliar things this morning Russ Cox

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=13426df10807020630s68ec3846l793f7fec96699947@mail.gmail.com \
    --to=rminnich@gmail.com \
    --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).