I think you might be a bit confused now this all works. Docker by default uses bridged networking, which by default spins up a little crappy docker-proxy process for every port. You can disable docker-proxy and instead use hairpin routing mode if you have a modern kernel. However, I'm almost certain that any task you run via docker on mesos default to host networking. Docker, LXC, mesos containers all use the Linux kernel network namespace + perhaps some iptables/libnl magic for the networking bits. Docker in host networking mode will do networking at mostly native speed. I suggest you run iperf on mesos in the various configurations. It should be pretty straightforward to test the overhead, but I suspect docker + host networking will more than work. Give it a go and let us know!
On Tuesday, April 26, 2016, vincent gromakowski < [email protected]> wrote: > Question is more related to mesos. I am thinking of using docker instead > of native (LXC?) containers but I suspect network performance decrease > which is important on big data workloads. > Can you explain why its not secured In host mode ? > Le 26 avr. 2016 7:51 PM, "Avinash Sridharan" <[email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>> a écrit : > >> Hi Vincent, >> What do you mean by native container through Docker? Can you clarify >> your question a bit. Also if it's a DC/OS specific question you might want >> to post at [email protected] <javascript:_e(%7B%7D,'cvml','[email protected]');> >> . >> >> Thanks, >> Avinash >> >> On Tue, Apr 26, 2016 at 10:41 AM, vincent gromakowski < >> [email protected] >> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: >> >>> Nobody experienced docker vs native container performance ? >>> Le 25 avr. 2016 9:37 AM, "vincent gromakowski" < >>> [email protected] >>> <javascript:_e(%7B%7D,'cvml','[email protected]');>> a >>> écrit : >>> >>>> I am very interesting in getting some feedback of people who has moved >>>> from native container through Docker specially from network performance >>>> perspective. >>>> DCOS has been open sourced and I like all automation it brings with >>>> frameworks but it seems everything is running in docker ? >>>> I am looking for the smack stack for which network perf is important. >>>> Tx >>>> >>> >> >> >> -- >> Avinash Sridharan, Mesosphere >> +1 (323) 702 5245 >> > -- Text by Jeff, typos by iPhone

