Skip to content

Commit

Permalink
Add set rcv buffer for syncd rpc (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-shirshov authored and qiluo-msft committed Nov 17, 2016
1 parent 3ab80d4 commit 27530ae
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions dockers/docker-syncd-mlnx-rpc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@ COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY ptf_nn_agent.conf /etc/supervisor/conf.d/ptf_nn_agent.conf

ENTRYPOINT service rsyslog start \
&& sysctl -w net.core.rmem_max=509430500 \
&& service syncd start \
&& /usr/bin/supervisord
2 changes: 1 addition & 1 deletion dockers/docker-syncd-mlnx-rpc/ptf_nn_agent.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[program:ptf_nn_agent]
command=/usr/bin/python /opt/ptf_nn_agent.py --device-socket 1@tcp://0.0.0.0:10900 -i 1-3@Ethernet12
command=/usr/bin/python /opt/ptf_nn_agent.py --device-socket 1@tcp://0.0.0.0:10900 -i 1-3@Ethernet12 --set-iface-rcv-buffer=109430400
process_name=ptf_nn_agent
stdout_logfile=/tmp/ptf_nn_agent.out.log
stderr_logfile=/tmp/ptf_nn_agent.err.log
Expand Down
1 change: 1 addition & 0 deletions dockers/docker-syncd-rpc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@ COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY ptf_nn_agent.conf /etc/supervisor/conf.d/ptf_nn_agent.conf

ENTRYPOINT service rsyslog start \
&& sysctl -w net.core.rmem_max=509430500 \
&& service syncd start \
&& /usr/bin/supervisord
2 changes: 1 addition & 1 deletion dockers/docker-syncd-rpc/ptf_nn_agent.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[program:ptf_nn_agent]
command=/usr/bin/python /opt/ptf_nn_agent.py --device-socket 1@tcp://0.0.0.0:10900 -i 1-3@Ethernet12
command=/usr/bin/python /opt/ptf_nn_agent.py --device-socket 1@tcp://0.0.0.0:10900 -i 1-3@Ethernet12 --set-iface-rcv-buffer=109430400
process_name=ptf_nn_agent
stdout_logfile=/tmp/ptf_nn_agent.out.log
stderr_logfile=/tmp/ptf_nn_agent.err.log
Expand Down

0 comments on commit 27530ae

Please sign in to comment.