Danny,
You are correct that the current testing has been focused on
inter-container testing on the same host. I will be working on
verifying that the inter-host communication path is fully function using
the vppcom library this week.
Thanks,
-daw-
On 08/20/2017 11:53 PM, Zhou, Danny wrote:
Hi Keith,
This is really interesting work!
Does the vppcom library underneath the VCL supports inter-host
communication? The iperf3 throughput data below is for the
inter-container (essentially IPC over FIFO) on the same host, right?
-Danny
*From:*vpp-dev-boun...@lists.fd.io
[mailto:vpp-dev-boun...@lists.fd.io] *On Behalf Of *Keith Burns
*Sent:* Friday, August 18, 2017 4:35 AM
*To:* vpp-dev <vpp-dev@lists.fd.io>
*Cc:* shrinivasanganapa...@gmail.com
*Subject:* [vpp-dev] VPP Communications library and LD_PRELOAD
Folks,
Happy to be able to share the latest on where we are at with the VPP
communications library (VCL) and a matching POSIX Socket LD_PRELOAD
library for container networking.
On a Haswell 3.5GHz machine, running Brent Salisbury's
"networkstatic/iperf3" Docker image:
- running using default kernel networking == 7.8 Gbps
- running using LD_PRELOAD with VCL (VPP Communications Library) ==
132.0 Gbps
To demo:
1. Clone LD_PRELOAD from the VPPSB project
a) git clone https://gerrit.fd.io/r/vppsb <https://gerrit.fd.io/r/vppsb>
b) Follow instructions in
.../vcl-ldpreload/README.md
2. For your convenience, Dave Wallace has created a test script in in
the fd.io <http://fd.io> VPP Master branch in
.../vpp/test/scripts/socket_test.sh
make build-release
IMPORTANT! You will not get desired results with a DEBUG image (i.e.
make build).
c) Run .../vpp/test/scripts/socket_test.sh with no parameters will
give a menu of options.
- for iperf3 Docker test run with native kernel networking
./socket_test.sh -tbi docker-kernel
- for testing with LD_PRELOAD and VCL:
./socket_test.sh -tbi docker-preload
I'd like to submit a project proposal for the VPPSB VCL-Preload
library, so folks can contribute and modify it to suit their usecases
etc. If anyone is interested in participating, drop me an email.
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev