зеркало из https://github.com/golang/build.git
9505675696
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> |
||
---|---|---|
.. | ||
.gitignore | ||
README | ||
make.bash | ||
plan9-gce.iso.sha1 |
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.