mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-11 23:19:24 +00:00
3fc0d994b515f54ae05c995d01ed929ae2d8b714
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>
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=14.4 LTS seriesmake AUFS=1supports AUFS (deprecated)
Description
Languages
Go
48.2%
text
21.2%
Shell
14.1%
Dockerfile
5.7%
OCaml
4.6%
Other
6.2%