You are on page 1of 22

SRD Regulation SOP Document

Department of System R&D


Smart Bit TEST Rev: 0.01

Test Regulation SOP

Ethernet throughput test


1-1. Purpose:
This test is to validate ethernet device performance and verify products stability and reliability.

1-2. Test equipment:


SMB 6000C or SMB 600B SmartBit Server Smart Application DUT *1

1-3. Test procedures:


Step 1. Install Fedora Core 8 OS on the DUT. Note: Select text mode to install FC8 OS or use default steps to install FC8 OS, then after install complete, use vi to edit the /etc/inittab file, change the runlevel from 5 to 3.

Step 2. Do not use the ethernet driver that OS default provided, you must go to Intel website download the latest released NIC driver, build and install it. Note: You can use lspci -nn | grep Ethernet controller command to check what chip name dose the NIC is.

Test Regulation SOP

Step 2-1. Intel 8257x Lan drivers name is look like exxx-<x.x.x>.tar.gz.

Intel 82580 Lan drivers name is look like igb-<x.x.x>.tar.gz. Intel 10GigaBit Lan drivers name is look like ixgbe-<x.x.x>.tar.gz Step 2-2. Extract the driver source file with tar zxvf exxx-<x.x.x>.tar.gz command.

Test Regulation SOP

Step 3. Read the Readme file to know how to build the driver, change to src directory and type make install to build the driver module.

. Step 3-1 Use modprobe exxx to auto probe and install Lan driver module.

Test Regulation SOP

Step 4. Use ethtool -i ethx command to check the version of lan driver. Step 5. Assign IP address for Lan ports, for example: ifconfig eth0 1.1.1.1 eth0 IP 1.1.1.1 ifconfig eth1 2.2.2.2 eth1 IP 2.2.2.2 ifconfig eth0 1.1.1.1 netmask 255.255.255.0 eth0 mask 255.255.255.0 ifconfig eth1 2.2.2.2 netmask 255.255.255.0 eth1 mask 255.255.255.0 Step 6. Add gateway, for example: route add 1.1.1.0 gw 1.1.1.100 Setting route and Smart Cards IP route add 2.2.2.0 gw 2.2.2.100 Setting route and Smart Cards IP Step 7. Add arp, for example: arp s 1.1.1.100 00:00:00:00:00:01 Setting Smart card MAC. arp s 2.2.2.100 00:00:00:00:00:02 Setting Smart card MAC. Step 8. Enable ip_forward, for example: echo 1 > /proc/sys/net/ipv4/ip_forward

Test Regulation SOP

Step 9. Type setup to change OS service deamons configuration, for example: Select Firewalls setting and set to disable.

Test Regulation SOP

Select Systems setting and select bluetooth set to disabled. Select Systems setting and select cpuspeed set to disabled. Select Systems setting and select irqbalance set to disabled, Or use /etc/init.d/irqbalance stop command to disable irqbalance service.

Test Regulation SOP

Select Systems setting and select network set to disabled.

Test Regulation SOP

Step 10. Type ifconfig -a to chack all Lan ports configuration and status and setting information. Step 11. Type cat /proc/interrupts | grep ethx to know ethx use which irq_number.

Test Regulation SOP

Step 12. Setting irq affninty for all NIC ports, this will assign the irq_number to the specific CPU core to handle, for example: echo 1 > /proc/irq/irq_number/smp_affinity, echo 1 means CPU core 1, echo 2 means CPU core 2, echo 4 meand CPU core 3, echo 8 means CPU core 4.

Note: Step 1 ~ Step 12 are procedures prepared for the DUT only. Setp 13. Take DUT into the SmartBit Lab.

Test Regulation SOP

Step 14 ~ Step 30 are procedures prepared for SMB 6000C or SMB 600B and SmartBit Servers Lan configuration. Step 14. Connect console cable with SmartBit server and SMB 6000C or SMB 600B, on SmartBit server, Select Setup menu, select Connection Setup menu, select Use Ethernet/TCP, select Remote Host, set SmartBitss IP address as 10.0.3.58, TCP Port as 16385) need set to the same .

Step 15. Use console cable to connect DUT and SmartBits Server. Step 16. Connect SmartBits Cards slots lan port you used with DUTs lan port one by one, for example: Hub 1, Slot 4, Port 1, Model LAN-3324A, Status Reserved. Left side slot number are 1,3,5,7,9, 11, right side slot number are 2,4,6,8,10,12. Step 17. Open Smart Application. Step 18. Select SmartBits Cards Reservation icon, select the unused slot we want to use for testing. Note:
1.

Actions connect

Test Regulation SOP

2. , :

Test Regulation SOP

3. Steup Smart cards Reservation

Test Regulation SOP

Test Regulation SOP

Step 19. ports, for example: 01:04:01 01:04:02 01:04:03 01:04:04 Step 20. Set Active Media Copper. Step 21. Set Speed 1GB. Step 22. Set Duplex Full. Step 23. Set Auto Negotiate Force. Setp 24. Set Flow Control Disable. Step 25. Set Protocal UDP.

Test Regulation SOP

Setp 26. Set Destioation MAC. Setp 27. Set SmartCards MAC. Step 28. Set SmartCards IP/IPX. Step 29. Set Routers IP/IPX.

Step 30. Go to Setting Test Configuration page, select Throughput, set Duration 60 Sec.

Step 31. Create 64, 128, 256, 512, 1024, 1280, 1518 bits 7 items for the basic SmartBit testing. Step 32: Press Throughput button to start throughput test and record result. Step 33. Go to Log page to check whether the SmartBit is correctly begin testing. Note:
1. SMB 600B

Test Regulation SOP

2. SMB 600B

3. Smart application 1 to 1 1 to M 1 to 1

Test Regulation SOP

4. 1 to M

Test Regulation SOP

5.

Test Regulation SOP

6.

Test Regulation SOP

7.

Test Regulation SOP

1-4. Test Result:


When tests the value unstable to determines FAIL, otherwise to determines PASS.

You might also like