Commit 217c0376 authored by Lionel Gauthier's avatar Lionel Gauthier

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5953 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 1f7abbc0
...@@ -156,9 +156,19 @@ fi ...@@ -156,9 +156,19 @@ fi
cd $THIS_SCRIPT_PATH cd $THIS_SCRIPT_PATH
if [ x$ENB_INTERFACE_NAME_FOR_S1_MME == x$ENB_INTERFACE_NAME_FOR_S1U ]; then ethtool –A $ENB_INTERFACE_NAME_FOR_S1_MME autoneg off rx off tx off
ethtool –G $ENB_INTERFACE_NAME_FOR_S1_MME rx 4096 tx 4096
ethtool –C $ENB_INTERFACE_NAME_FOR_S1_MME rx-usecs 3
ifconfig $ENB_INTERFACE_NAME_FOR_S1_MME txqueuelen 1000
if [ x$ENB_INTERFACE_NAME_FOR_S1_MME != x$ENB_INTERFACE_NAME_FOR_S1U ]; then
nohup tshark -i $ENB_INTERFACE_NAME_FOR_S1_MME -w $PCAP_LOG_FILE & nohup tshark -i $ENB_INTERFACE_NAME_FOR_S1_MME -w $PCAP_LOG_FILE &
else else
ethtool –A $ENB_INTERFACE_NAME_FOR_S1U autoneg off rx off tx off
ethtool –G $ENB_INTERFACE_NAME_FOR_S1U rx 4096 tx 4096
ethtool –C $ENB_INTERFACE_NAME_FOR_S1U rx-usecs 3
ifconfig $ENB_INTERFACE_NAME_FOR_S1U txqueuelen 1000
nohup tshark -i $ENB_INTERFACE_NAME_FOR_S1_MME -i $ENB_INTERFACE_NAME_FOR_S1U -w $PCAP_LOG_FILE & nohup tshark -i $ENB_INTERFACE_NAME_FOR_S1_MME -i $ENB_INTERFACE_NAME_FOR_S1U -w $PCAP_LOG_FILE &
fi fi
......
...@@ -335,6 +335,20 @@ fi ...@@ -335,6 +335,20 @@ fi
echo_success "MME_INTERFACE_NAME_FOR_S1_MME : $MME_INTERFACE_NAME_FOR_S1_MME" echo_success "MME_INTERFACE_NAME_FOR_S1_MME : $MME_INTERFACE_NAME_FOR_S1_MME"
echo_success "MME_INTERFACE_NAME_FOR_S6A : $MME_INTERFACE_NAME_FOR_S6A" echo_success "MME_INTERFACE_NAME_FOR_S6A : $MME_INTERFACE_NAME_FOR_S6A"
# see http://www.coverfire.com/articles/queueing-in-the-linux-network-stack/
ethtool –A $MME_INTERFACE_NAME_FOR_S1_MME autoneg off rx off tx off
ethtool –G $MME_INTERFACE_NAME_FOR_S1_MME rx 4096 tx 4096
ethtool –C $MME_INTERFACE_NAME_FOR_S1_MME rx-usecs 3
ifconfig $MME_INTERFACE_NAME_FOR_S1_MME txqueuelen 1000
if [ x$MME_INTERFACE_NAME_FOR_S1_MME != x$SGW_INTERFACE_NAME_FOR_S1U_S12_S4_UP ]; then
ethtool –A $SGW_INTERFACE_NAME_FOR_S1U_S12_S4_UP autoneg off rx off tx off
ethtool –G $SGW_INTERFACE_NAME_FOR_S1U_S12_S4_UP rx 4096 tx 4096
ethtool –C $SGW_INTERFACE_NAME_FOR_S1U_S12_S4_UP rx-usecs 3
ifconfig $SGW_INTERFACE_NAME_FOR_S1U_S12_S4_UP txqueuelen 1000
fi
if [ x$MME_INTERFACE_NAME_FOR_S1_MME == x$MME_INTERFACE_NAME_FOR_S6A ]; then if [ x$MME_INTERFACE_NAME_FOR_S1_MME == x$MME_INTERFACE_NAME_FOR_S6A ]; then
nohup tshark -i $MME_INTERFACE_NAME_FOR_S1_MME -f "not port 22" -w $THIS_SCRIPT_PATH/OUTPUT/$HOSTNAME/$PCAP_S6A_S1C_LOG_FILE & nohup tshark -i $MME_INTERFACE_NAME_FOR_S1_MME -f "not port 22" -w $THIS_SCRIPT_PATH/OUTPUT/$HOSTNAME/$PCAP_S6A_S1C_LOG_FILE &
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment