mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-14 15:45:09 +00:00
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>
Build Azure VHD
To create the Azure VHD, the following will be needed:
- An azure account
- A Standard Storage account
- A container (bucket) in the above storage account (private)
- The access key associated with the above storage account
- (opt) the url for the docker version you want to use in the VHD
In your terminal, with docker installed, run the following:
export AZURE_STG_ACCOUNT_NAME="<your-storage-account>"
export AZURE_STG_ACCOUNT_KEY="<your-access-key>"
export CONTAINER_NAME="<a-bucket-name>"
make uploadvhd DOCKER_BIN_URL="<tgz-docker-url>"
The above will output a URL which you can then use to deploy on editions.