Smart Bit SOP LorenceChen V0.01

24
SRD Regulation SOP Document Department of System R&D Smart Bit TEST Rev: 0.01

Transcript of Smart Bit SOP LorenceChen V0.01

Page 1: Smart Bit SOP LorenceChen V0.01

SRD Regulation SOP Document

Department of System R&D

Smart Bit TEST

Rev: 0.01

Page 2: Smart Bit SOP LorenceChen V0.01

Test Regulation SOP

Ethernet throughput test

1-1. Purpose:

This test is to validate ethernet device performance and verify product’s stability and reliability.

1-2. Test equipment:

SMB 6000C or SMB 600BSmartBit ServerSmart ApplicationDUT *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.

Page 3: Smart Bit SOP LorenceChen V0.01

Test Regulation SOP

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

Intel 82580 Lan driver’s name is look like igb-<x.x.x>.tar.gz.

Intel 10GigaBit Lan driver’s 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.

Page 4: Smart Bit SOP LorenceChen V0.01

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.

Page 5: Smart Bit SOP LorenceChen V0.01

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 IProute 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

Page 6: Smart Bit SOP LorenceChen V0.01

Test Regulation SOP

Step 9. Type “setup” to change OS service deamon’s configuration, for example:

Select “Firewall’s setting” and set to “disable”.

Page 7: Smart Bit SOP LorenceChen V0.01

Test Regulation SOP

Select “System’s setting” and select “bluetooth” set to “disabled”.

Select “System’s setting” and select “cpuspeed” set to “disabled”.

Select “System’s setting” and select “irqbalance” set to “disabled”,

Or use ‘/etc/init.d/irqbalance stop’ command to disable irqbalance service.

Page 8: Smart Bit SOP LorenceChen V0.01

Test Regulation SOP

Select “System’s setting” and select “network” set to “disabled”.

Page 9: Smart Bit SOP LorenceChen V0.01

Test Regulation SOP

Step 10. Type “ifconfig -a” to chack all Lan port’s configuration and status and setting

information.

Step 11. Type “cat /proc/interrupts | grep ethx” to know ethx use which irq_number.

Page 10: Smart Bit SOP LorenceChen V0.01

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.

Page 11: Smart Bit SOP LorenceChen V0.01

Test Regulation SOP

Step 14 ~ Step 30 are procedures prepared for SMB 6000C or SMB 600B and

SmartBit Server’s 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 SmartBits’s 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’ slot’s lan port you used with DUT’s 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

Page 12: Smart Bit SOP LorenceChen V0.01

Test Regulation SOP

2. 連接成功後, 介面顯示如下圖:

Page 13: Smart Bit SOP LorenceChen V0.01

Test Regulation SOP

3. 在 Steup 功能表中選擇 Smart cards Reservation…

Page 14: Smart Bit SOP LorenceChen V0.01

Test Regulation SOP

或按按鈕

Page 15: Smart Bit SOP LorenceChen V0.01

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.

Setp 26. Set Destioation MAC.

Page 16: Smart Bit SOP LorenceChen V0.01

Test Regulation SOP

Setp 27. Set SmartCard’s MAC.

Step 28. Set SmartCard’s IP/IPX.

Step 29. Set Router’s 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 前面板

Page 17: Smart Bit SOP LorenceChen V0.01

Test Regulation SOP

2. SMB 600B 後面板

3. Smart application 支援二種測試模式:1 to 1 和 1 to M

模式一:1 to 1:

Page 18: Smart Bit SOP LorenceChen V0.01

Test Regulation SOP

4. 模式二:1 to M 的視窗模式:

Page 19: Smart Bit SOP LorenceChen V0.01

Test Regulation SOP

5. 點對點的配置模式

Page 20: Smart Bit SOP LorenceChen V0.01

Test Regulation SOP

6. 測試用參數的批量設置方式

Page 21: Smart Bit SOP LorenceChen V0.01

Test Regulation SOP

7. 測試結果介面

Page 22: Smart Bit SOP LorenceChen V0.01

Test Regulation SOP

1-4. Test Result:

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