docker run -dit --name alpine1 --runtime=runsc -p 52022:22 -p 42022:5201 alpine ash
$ iperf3 -c 10.90.36.40 -p 42022 -V
iperf 3.0.11
Linux XXXX 4.11.0-13-generic #19~16.04.1-Ubuntu SMP Wed Aug 2 20:06:21 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
/ # iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
iperf3: error - unable to receive parameters from client: Operation timed out
--
You received this message because you are subscribed to the Google Groups "gVisor Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gvisor-users...@googlegroups.com.
To post to this group, send email to gvisor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gvisor-users/ef46af41-fda2-4662-9519-edc1d78173d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Bhasker,
Thank you for the updates. I am using port forwarding because I am modeling a Function-as-a-Service setting where micro-VMs are normally behind a NAT. For that reason, I rely on the docker default bridging.
Could you elaborate a bit more on what GSO is in gvisor?
I’ve also noticed the following problem when I used my own super simple TCP server inside a gvisor sandbox. When connections are established, the clients and the server can exchange packets but after my benchmark finishes, if I restart the client and the server, the connections time out and I have to restart the gvisor containers. It must be the same issue, I guess.
Thank you.
Regards,
Dmitrii
On Apr 13, 2019, at 6:01 AM, Bhasker Hariharan <notifi...@github.com<mailto:notifi...@github.com>> wrote:
Okay could you create a /etc/docker/daemon.json with the following contents. The critical part is --gso=false. I believe we have a bug when GSO is turned on which is causing iperf3 to hang.
"runsc-xemu": {
"path": "/usr/local/bin/runsc",
"runtimeArgs": [
"--debug-log",
"/tmp/runsc-xemu/logs/",
"--platform=xemu",
"--gso=false"
]
},