9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Eric Van Hensbergen <ericvh@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Load spikes on intervals in qemu
Date: Tue, 17 Aug 2010 11:17:09 -0500	[thread overview]
Message-ID: <AANLkTikeVEA4X5=uBMrKinAAdw-REu7oeHMkVje9_Wnj@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=EHzQb2-Sbv9SpQc=GcE6K9-H6eQX8KnL8zVL7@mail.gmail.com>

On Tue, Aug 17, 2010 at 9:07 AM, Venkatesh Srinivas <me@acm.jhu.edu> wrote:
>
> I run Plan 9 in qemu, but I run neither fossil nor any other (major) disk
> file server in qemu.
> Instead, I have Inferno on my host serve files to Plan 9.
> To accomplish this:
> 1) I installed Plan 9, as normal, into a qemu disk image, with fossil as my
> fileserver
> 2) I tarred up my root and copied it to my host
> 3) I patched the 9 boot program to accept a file server on port 6666 rather
> than 564 (styx instead of 9fs)
> 4) I untarred the root fs and had Inferno: 'styxlisten -A tcp!*!6666 export
> /plan9'
> 5) Start the both (qemu and inferno) together.
> 6) Profit!
>

Its worth noting that you can do the same thing with the native 9p
servers for linux (u9fs, spfs, or npfs).  Alternatively you could run
a AOE vblade server, or a p9p venti (although you'd still need a
solution for the fossil disk, but a ramdisk might be the best solution
here for speed).  It might be a nice project to bundle such an
environment with scripts for folks to use as an easy qemu/kvm start
environment with either Linux based file server or the
venti/ramdisk-fossil solution.

         -eric



  reply	other threads:[~2010-08-17 16:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-17 13:50 Brad Frank
2010-08-17 14:07 ` Venkatesh Srinivas
2010-08-17 16:17   ` Eric Van Hensbergen [this message]
2010-08-18 12:42     ` erik quanstrom
2010-08-18 15:09       ` Eric Van Hensbergen
2010-08-17 16:55 Brad Frank
2010-08-17 18:29 ` Eric Van Hensbergen
2010-08-18 12:37   ` erik quanstrom
2010-08-18 15:12     ` Eric Van Hensbergen
2010-08-18 16:28       ` Venkatesh Srinivas
2010-08-19  0:40         ` erik quanstrom
2010-08-19  2:19 Brad Frank

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='AANLkTikeVEA4X5=uBMrKinAAdw-REu7oeHMkVje9_Wnj@mail.gmail.com' \
    --to=ericvh@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).