build/env/plan9-386
David du Colombier 9505675696 env: update Plan 9 image
This new image provides a new tool, called
aux/randfs. This is a pseudo-random file
system which can be mounted on top of /dev/random.

We noticed the Go binaries on GCE were running
much slower than usual. It happened because the
runtime was regularly waiting after /dev/random,
which wasn't able to produce random bytes as
fast as required.

A simple workaround was to write a pseudo-random
file system, acting as /dev/random and initialized
from a true random source. It will be able
to produce much more bytes per second than
the random generator provided by the kernel.

Update golang/go#9491

Change-Id: I81158adef7332d10295c2245b4564ae18ebb3a14
Reviewed-on: https://go-review.googlesource.com/6170
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-02-26 21:52:38 +00:00
..
.gitignore dashboard/env: add script to create Plan 9 386 GCE image 2015-01-08 04:59:06 +00:00
README dashboard/env: add script to create Plan 9 386 GCE image 2015-01-08 04:59:06 +00:00
make.bash env: update Plan 9 image 2015-02-26 21:52:38 +00:00
plan9-gce.iso.sha1 env: update Plan 9 image 2015-02-26 21:52:38 +00:00

README

make.bash creates a Google Compute Engine VM image to run the Go
Plan 9 builder, booting up to run the buildlet.

make.bash should be run on a Linux box with qemu.

After it completes, it creates a file plan9-386-gce.tar.gz

The make.bash script depends on the following packages:

$ sudo apt-get install bzip2 curl expect qemu
or
$ sudo yum install bzip2 curl expect qemu

It has been tested with QEMU 1.4.2 to 2.2.0, as provided with:

 - Ubuntu 14.04 (Trusty Tahr) and above
 - Debian 8.0 (Jessie) and above
 - Fedora 19 and above

Also, due to an ATA bug affecting QEMU 1.6 and 1.7, the
Plan 9 CD can't be booted with these versions.