Skip to content

Commit

Permalink
[swss]: Update swss/common and add --batch_size 8192 option to orchag…
Browse files Browse the repository at this point in the history
…ent (#668)
  • Loading branch information
Shuotian Cheng authored and lguohan committed Jun 4, 2017
1 parent c3aa513 commit d8c5584
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions dockers/docker-orchagent/orchagent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ MAC_ADDRESS=`ip link show eth0 | grep ether | awk '{print $2}'`
mkdir -p /var/log/swss
ORCHAGENT_ARGS="-d /var/log/swss "

# Set orchagent pop batch size to 8192
ORCHAGENT_ARGS+="-b 8192 "

# Add platform specific arguments if necessary
if [ "$ASIC" == "broadcom" ]; then
ORCHAGENT_ARGS+="-m $MAC_ADDRESS"
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-swss
2 changes: 1 addition & 1 deletion src/sonic-swss-common

0 comments on commit d8c5584

Please sign in to comment.