David Scott 3fc0d994b5 tap-vsockd: add buffering
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>
2017-01-23 12:17:52 +00:00
2017-01-23 12:17:52 +00:00
2016-12-22 13:40:28 -08:00
2016-12-19 17:06:41 +00:00
2017-01-17 14:31:52 +00:00
2017-01-18 09:56:24 -08:00
2017-01-18 09:56:24 -08:00

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 series
  • make AUFS=1 supports AUFS (deprecated)
Description
A toolkit for building secure, portable and lean operating systems for containers
Readme 253 MiB
Languages
Go 48.2%
text 21.2%
Shell 14.1%
Dockerfile 5.7%
OCaml 4.6%
Other 6.2%