mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 01:59:07 +00:00
A toolkit for building secure, portable and lean operating systems for containers
This patch adds a simple ring buffer implementation and uses it to buffer the reads and writes to/from the AF_HYPERV socket and tap file descriptor. This removes the need to perform small reads and writes for the per-packet headers and allows a read on the Hyper-V socket to block at the same time as a write to the tap device (and vice-versa) The configuration in the init.d script is: - a max message size (individual read or write) of 8192. Experimentally this seems to be the largest completely reliable size across the Windows versions we can support. Messages of length 16384 sometimes fail. - a buffer size of 256KiB in each direction. Single stream TCP throughput as measured by iperf increases modestly, by another 100Mbit/sec. Signed-off-by: David Scott <dave.scott@docker.com> |
||
---|---|---|
alpine | ||
docs | ||
licensing | ||
scripts | ||
.datakitci.json | ||
.gitignore | ||
Dockerfile.kernel | ||
Dockerfile.media | ||
Dockerfile.qemu | ||
Dockerfile.qemugce | ||
Dockerfile.qemuiso | ||
Dockerfile.test | ||
hyperkit.sh | ||
Makefile | ||
README.md |
Moby, the Linux distro for Docker editions
Simple build instructions: use make
to build. make qemu
will boot up in qemu in a container.
Requires GNU make
, GNU tar
(not Busybox tar), Docker to build.
- 1.12.x branch for Desktop stable 1.12 edition
- 1.13.x branch for Desktop and Cloud 1.13; also supports 1.12 CS.
- master for 1.14 development
Several kernel variants are supported:
- default
make LTS4.4=1
4.4 LTS seriesmake AUFS=1
supports AUFS (deprecated)