You are on page 1of 28

1 TCP parameter optimization

1.1 Window optimization

1.1.1 WIN 7

In Windows 7 system, the TCP optimization is adaptive, it need to Input following command in
CMD windows:
netsh int tcp set heuristics disabled
netsh int tcp set global autotuninglevel=normal

if the command execute successfully. System will return to confirm and effect in time, and it does
not need to reboot the system, and can check whether the command valid with following
command:
netsh int tcp show global

1.1.2 WIN XP/2003

1) Receive window
In Windows XP/2003Using the attachment DR.TCP tool as bellow figure, select the NIC to be
modification first, and then modify the Tcp Receive Window value. And save. To enable the new
TCP window value, it need to reboot the PC normally.

Notion: using the DrTCP to modify the window will not take
effect if the system shut abnormally.

1-1 TCP
2) Send window
In the windows system, the max of the send buffer=
minDefaultSendWindow2TransmitIoLengthboth the DefaultSendWindow and
TransmitIoLengt are modify in the registry.
2017-5-2 , 1 , 28

In the windows 2003 server, the DefaultSendWindow is default very big, so only need to modify
the TransmitIoLength. But in the Windows XP, need to modify both the two parameters, go to the
follow path in the registry, and add and modify the key value.
DefaultSendWindow

PathHKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\AFD\Parameters
KeyDefaultSendWindow
TypeDWORD
ValueProposed changes to the receive window size, e.g. the receive window is 512K,
Decimal is 524288, Hex is 80000;
TransmitIoLength

PathHKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\AFD\Parameters
KeyTransmitIoLength
TypeDWORD
ValueProposed changes to the half of the send window size, e.g. the send window is
512K, so the value should modify to 512K, Decimal is 262144, Hex is 40000.

1.1.3 Modify the TCP window of fileZilla

The default receive window of the filezilla tool is 4MB, it suggest to modify it to 1MB at test
PC
1close the filezilla software
2at bellow pathfind the filezilla.xmlfile and open it with UE Edite;

3modify the receive window and the send window bellow value to 1MB()then save and close
the file

1.2 MTU Modify

1.2.1 Win7 system

Using TCP Optimizer tool, opening the tool as follow figure:


1 modify the NIC;

2017-5-2 , 2 , 28

2) modify the MTU, choose custom


3) normal reboot the PC.

1.2.2 Windows XP/03

Using the attachment DR.TCP tool as bellow figure, select the NIC to be modification first, and
then modify the MTU value. To enable the new MTU, we need normal reboot the PC.
And we need pay attention to that for wireless NIC different USB port corresponding to different
NIC. So after modify the MTU, we cant connect the UE to other USB port which MTU wasnt
modified.
Modify PC MTU by DR.TCP

1-2 win7 MTU


2017-5-2 , 3 , 28

1.2.3 Modify the MTU at eNodeB

Modify the MTU on eNodeB with MML command as follow:


MOD TCPMSSCTRL: TcpMssCtrlSwitch=ON, TcpMssThd=1400;

1.3 UDP test

1.3.1 By command

1. Establish the receive server in receive side with command:


iperf s u i 1
-s: means establish the receive server; -u: means UDP service; -i: means the traffic received
shown every 1 second;
2. Input the command in send side:
iperf c x.x.x.x u t 10000 i 1 b 50m

c x.x.x.x: means connect to this IP;


-u:menas iperf UDP packet;
-t:means the time of the iperf test;
-i 1: means showing the export UDP traffic every 1 second;
Other parameters:
-1 1400:means the length of the packet, it default to 1498byte(include IP header), which
need to set in both send side and receive side;
-p 5050:means the port of the Iperf, it default to 5001, which need to set in both send side
and receive side;
-P 2: means iperf with 2 threads;
Remark
If it did not establish the receive serve in receive side and iperf the UDP packet directly from
send side to receive side, the receive side would reply a ICMP packet with 176 byte size after
receive every one packet;
Else, the receive side would not reply.

1.3.2 by Iperf tool

Opening the giperf.exe tool and selecting the following value.

2017-5-2 , 4 , 28

2-1 giperf tool GUI


Notion
Traffic direction: no matter UL or DL, the sender select UL, and the receiver select DL.
Show: select Message option to observe the real-time throughput.

2 ENodeB Log Collection

2.1 BRDLOG Collection

ULD FILE:
Function Type=ENODEB(ENODEB ), File Type=BRDLOG-ENODE,
CN=0,SRN=0,SN=7,DSTF="BRDLog_Lab",MODE=IPV4,IP="10.157.174.136",USR="admin",
PWD="*****", show as follow figure

2.2 CFGFILE Collection

Step1BKP CFGFILE:
File Type=XML; select the File Type to XML(XML Format), and Encrypted Mode to
UNENCRYPTED.

2017-5-2 , 5 , 28

Step2:
ULD CFGFILE: MODE=IPV4, FTP server IP="10.157.174.136", User Name="admin",
Password="*******", File Type=XML (fill the IP address and the logging admin and the
password of the U2000.)

2.3 IFTS Trace

IFTS Trace can only trace the first access user when the trace task is established. If there are many
other non-test users in the test cell, it is difficult to trace the test user. So we suggest turn on the
IFTS trace first and then access the test user in the leisure time.
perform the following operations on U2000:
1Create an IFTS trace task.
Choose Monitor > Signaling Trace > Signaling Trace Management on the M2000.

2In the displayed Signaling Trace Management window, choose Information Collection >
IFTS Trace in the navigation tree on the left.
Double click IFTS Trace. In the displayed Create Trace Task dialog box, enter the task name
and select an eNodeB.

2017-5-2 , 6 , 28

4Click Next. In the displayed IFTS Trace dialog box, configure related parameters as bellow
figure.

5. Close all internet applications firstly on the test UE, such as the internet explorer and FTP tools.
Then UE accesses the network and doing the FTP Download test with FTP tools (as Filezilla) for
2 minutes;
6Save the IFTS trace result.
Manually stop the tracing task by right-clicking the task and choosing Stop from the shortcut
menu. If Finished is displayed in the Status column, right-click the task and choose Export from

2017-5-2 , 7 , 28

the shortcut menu to save the tracing result to a TMF file on the local PC.

1.1 Cell DT Trace


To perform cell DT tracing on the U2000, perform the following operations:
1 Create a cell DT tracing task.
Choose Monitor > Signaling Trace > Signaling Trace Management on the U2000.

2In the displayed Signaling Trace Management window, choose Information Collection >
Cell DT Trace in the navigation tree on the left.
Double click Cell DT Trace. In the displayed Create Trace Task dialog box, select an eNodeB
site and enter the task name.

2017-5-2 , 8 , 28

3Click Next. In the displayed Cell DT Trace dialog box, configured related parameters as
follow figure.

4UE access network and do the FTP test


Save the trace result.
Stop the tracing task by right-clicking the task and choosing Stop from the shortcut menu
manually. If Finished is displayed in the Status column, right-click the task and choose Export
from the shortcut menu to save the tracing result to a TMF file on the local PC.

2017-5-2 , 9 , 28

2.4 User Detail trace

2.4.1 User Detail Trace based on STMSI

1get the TMSI and MME code by Probe.


1) start the probe log record as the instructor download the probe from
http://support.huawei.com/support/pages/editionctrl/catalog/ShowVersionDetail.do?
actionFlag=clickNode&node=000001547178&colID=ROOTWEB|CO0000000065
2) Get the MME code and TMSI on Probe driver test tool as below figure.

2017-5-2 , 10 , 28

2Confirm the TMSI and the MME code


Start a User Performance Monitoring task to confirm MME code and TMSI correctly and
available, it can observe the ULSINR of test user on user performance trace if MME code and
TMSI are correct.

2017-5-2 , 11 , 28

3Start the user plane trace based on the valid MME code and TMSI
In the displayed Signaling Trace Management window, choose Information Collection > User
Detail Trace in the navigation tree on the left.
Double click User Detail Trace. In the displayed Create Trace Task dialog box, select an
eNodeB site and enter the trace task name.

2017-5-2 , 12 , 28

Click Next. In the displayed User Detail Trace dialog box, configure related parameters as bellow
figure.

5 Stop and save the trace log


Stop the tracing task by right-clicking the task and choosing Stop from the shortcut menu
manually. If Finished is displayed in the Status column, right-click the task and choose Export
from the shortcut menu to save the tracing result to a TMF file on the local PC.

2017-5-2 , 13 , 28

2.4.2 User Detail Trace based on trace reference number

1Get the user trace ID by starting the LTE/EPC End to End User Trace
1) UE accesses the LTE network.
2) Choose Monitor > Signaling Trace > Signaling Trace Management on the U2000.

3) In the displayed Signaling Trace Management window, choose LTE/EPC>LTE/EPC End to


End User Trace in the navigation tree on the left.
Double click LTE/EPC End to End User Trace. In the displayed Create Trace Task dialog box,
select an eNodeB site and enter the task name.
4) In the displayed LTE/EPC End to End User Trace, Fill the UE IMSI and select User-
Registered MME, and record the User Trace ID, then click the next and Start the LTE/EPC
End to End User Trace, configure as bellow figure.

2017-5-2 , 14 , 28

2Start the user plane trace based on the User trace ID


In the displayed Signaling Trace Management window, choose Information Collection > User
Detail Trace in the navigation tree on the left.
Double click User Detail Trace. In the displayed Create Trace Task dialog box, select an
eNodeB site and enter the trace task name.

Click Next. In the displayed User Detail Trace dialog box, configure related parameters as bellow
figure.

2017-5-2 , 15 , 28

5 Stop and save the trace log


Stop the tracing task by right-clicking the task and choosing Stop from the shortcut menu
manually. If Finished is displayed in the Status column, right-click the task and choose Export
from the shortcut menu to save the tracing result to a TMF file on the local PC.

2.5 Cell Performance monitoring

Perform the following operations on U2000:


1Create a trace task. Choose Monitor->Signaling Trace->Signaling Trace Management
2In the displayed Signaling Trace Management window, choose Cell Performance
Monitoring in the navigation tree on the left.
There are many monitoring in the cell performance monitoring, such as Throughput, Users, RB
etc. you can select the monitoring according to the need.

2.5.1 General Throughput Monitoring

3Select the General Throuhgput Monitoring and double click, filling trace name and
choosing the test NE.

2017-5-2 , 16 , 28

4Click Next. In the displayed General Throughput Monitoring dialog box, configure related
parameters as bellow figure.

5click Finishthe monitor task is successfully created.


6Double clicking the task can observe the real-time monitoring.
7Manually stop the tracing task by right-clicking the task and choosing Stop from the
shortcut menu. If Finished is displayed in the Status column, right-click the task and choose
Export from the shortcut menu to save the tracing result to a MMF file on the local PC.

2017-5-2 , 17 , 28

2.6 User Performance Monitoring

Perform the following operations on U2000:


1Create a trace task. Choose Monitor->Signaling Trace->Signaling Trace Management
2In the displayed Signaling Trace Management window, choose User Performance
Monitoring in the navigation tree on the left.
There are many monitoring in the cell performance monitoring, such as Throughput, Quality of
Channel etc. you can select the monitoring according to the need.

2.6.1 Quality of Channel Monitoring

3Selecting the Quality of Channel Monitoring and double click, filling trace name and
choosing the test NE.

4Click Next. In the displayed Quality of Channel Monitoring dialog box, configure related
parameters as bellow figure. Fill in the MMEc and mTMSI got from Probe (detail refer 2.5.1 User

2017-5-2 , 18 , 28

Detail Trace based on STMSI).

5Click Finishthe monitor task is successfully created.


6Double clicking the task can observe the real-time monitoring.
7Manually stop the tracing task by right-clicking the task and choosing Stop from the shortcut
menu. If Finished is displayed in the Status column, right-click the task and choose Export from
the shortcut menu to save the tracing result to a MMF file on the local PC.

2.7 Transport Port Flux Stat Monitoring

Perform the following operations on U2000.

2017-5-2 , 19 , 28

1Create a trace task. Choose Monitor->Signaling Trace->Signaling Trace Management


2In the displayed Signaling Trace Management window, choose Transport Performance
Monitoring in the navigation tree on the left.
3Select Transport Port Flux Stat Monitoring and double click, filling trace name and select
the test NE.

4Click the Next, In the displayed Transport Port Flux Stat Monitoring dialog box, configure
related parameters as bellow figure.

5Click Finishthe monitor task is successfully created.

2017-5-2 , 20 , 28

6Double clicking the task can observe the real-time monitoring.


7Manually stop the tracing task by right-clicking the task and choosing Stop from the shortcut
menu. If Finished is displayed in the Status column, right-click the task and choose Export from
the shortcut menu to save the tracing result to a MMF file on the local PC.

2.8 UUDATA Test Guide

1 observe the MME code and TMSI by Probe driver test tool as below figure.

2 use the Ping service to let the test UE keep in active status.

3 Using the DSP UEONLINEINFO to query the E-RAB ID of test UE as bellow figure

2017-5-2 , 21 , 28

4 Using STR UUDATATST on M2000 to start the UU DL UDP test, the detail parameter
setting is as bellow figure

2.9 eNodeB S1 Mirror port packet capture

Step1:Open the wireshark, choose the Capture> Interfaces

Capture---Interfaces
Choose the IP of the capture network interface, and click Start.

Step2: Executing below command to set mirror port:


STR PORTREDIRECT:SN=7, SBT=BASE_BOARD, SRCPN=0, DSTPN=1;
The SRCPN is on behalf of the mirror the port number, While DSTPN Representative made out of
mirror port number. (Notice: if the order of DSTPN and SRCPN is wrong, the packets cant be
capture)
Execute "STR PORTREDIRECT" command(Notice : if the parameter time out set too short,
the packets cant be capture)

2017-5-2 , 22 , 28

For UMPT board, if the PORT0FE/GE0 had been used, we need use the PORT1(FE/GE1) to
execute packet capture. To connect PORT1 to PC, we need optical to electrical converter.
The FE/GE location in UMPT panel

The FE/GE location in LMPT panel

step3beginning the wireshark capture on PC, click the Stop button after packet capture is over.

Choose FileSave As, save the capture file.

2017-5-2 , 23 , 28

3 UE log collection

3.1 QXDM collection

1Open QXDM
1Open QXDM by double-clicking *.dmc
In general, our R&D will provide you with special dmc file for given issue. Just use this general
one in case you do not get the special one.

All.dmc

How to use it?


Do not open QXDM firstly, just double click this dmc file, it will open QXDM
2Add port

Double click the icon , add the Application Interface seen in the previous step.

3Set the communication port


Set the communication port used to catch log in QXDM following below steps.

2017-5-2 , 24 , 28

2Begin to catch Log


At first, close some irrelevant views,

Use Alt + L to open F1 Log View, which begins to catch log,


Use Alt + L to close F1 Log View, which saves the log;
3Get the Log
Chose the latest logs in the directory C:\Program Files\Qualcomm\QXDM\bin\

3.2 wireshark capture

Packet capture is the most common means of analysis, because of the packet capture contain the
more detailed information of every packet, so it can be more detailed analysis of the problem.
Usually we need do the packet capture in UEPCeNodeBUGW and server at the same time.
The capture tool we can choose the Wireshark or Microsoft Network Monitor. The capture point
as bellow figure
Packet capture schematic diagram

In the actual scenario, probably due to the customer's reasons cant execute packet capture at the server and the
core networkThen in order to isolate the impact of the eNodeB, at least UE PC and eNodeB two packet capture
files

Packet capture methods and common settings with Wireshark


1.Select the capture->options in menu as bellow figure, open the Options Menu:
2017-5-2 , 25 , 28

2.The common settings in Options window:

common settings instructions of Wireshark Options window

1 Select the interface, and check the IP address is right.(if cant find the right interface, can try
to use the Microsoft Network Monitor to execute packet capture.)
2 Limit the capture length of packets: To facilitate log return and analysis, we can set this
parameter to reduce capture file size. But after setting this parameter, the packet cant check
the packet by CRC checksum. usually we suggest first execute packet capture at receive
endpoint and didnt limit the capture lengthex. The downlink TCP test execute packet
capture at UE PC, If confirmed the absence of CRC error, then can limit the capture length
to 150 at subsequent multi-point packet capture.
3 Setting the capture file auto save path and file name(setting this parameter can reduce the
resource cost of PC)
4 Enable the auto multiple file function(enable this function can reduce the resource cost of PC)
5 Enable update list of packets in real time(disable this function can reduce the resource cost of
PC)
2017-5-2 , 26 , 28

6 Hide capture info dialog: when disable update list of packets in real time function, can
enable this function to whether record usable packets. The number of TCP packets would
massive growth during TCP throughput test.

3.3 Microsoft Network Monitor capture

1 Open Microsoft Network Monitor, select the NIC in the lower left corner used to execute
packet capture and click the New Capture button to open the capture tab.
Select the Network and click the New Capture button

2open the Tools-> Options menu, setting as bellow figure. Then start the capture task.

2017-5-2 , 27 , 28

3click the Stopbutton to end capture task and save the capture file.

2017-5-2 , 28 , 28

You might also like