1 | ******** $Id$ |
---|
2 | ***************************************************************** |
---|
3 | ******** *************** |
---|
4 | ******** ttcp benchmark tests of dec2114x driver *************** |
---|
5 | ******** adapted from FreeBSD's if_dc.c for RTEMS *************** |
---|
6 | ******** by: Daron Chabot (12/15/03), *************** |
---|
7 | ******** <daron@nucleus.usask.ca> *************** |
---|
8 | ***************************************************************** |
---|
9 | |
---|
10 | Test Equipment: |
---|
11 | ----------------------- |
---|
12 | - Intel 450 MHz P3's |
---|
13 | - RH Linux v7.3, 2.4.7-10 kernel, D-Link DFE-530TX (via-rhine) |
---|
14 | - RTEMS rtems-ss-20030703, pc386 BSP, Linksys LNE100TX ( actually, |
---|
15 | a cleverly disguised ADMtek Centaur, aka "Comet"). |
---|
16 | - the PCs were directly connected ( RJ-45 X-over cable ) on a class C |
---|
17 | subnet (private) |
---|
18 | |
---|
19 | NOTE: |
---|
20 | ----------------------- |
---|
21 | - the following lines must be added to the BSP's "bsp.h" file, or |
---|
22 | inserted into an application header (e.g. a "network_config.h" file, or |
---|
23 | similar): |
---|
24 | |
---|
25 | extern int rtems_dc_driver_attach(struct rtems_bsdnet_ifconfig *, int); |
---|
26 | #define BSP_DEC_NETWORK_DRIVER_NAME "tl1" /* "tl" as in "tulip-clone" */ |
---|
27 | #define BSP_DEC_NETWORK_DRIVER_ATTACH rtems_dc_driver_attach |
---|
28 | |
---|
29 | |
---|
30 | ************************** |
---|
31 | Linux Tx ----> RTEMS Rx: * |
---|
32 | ************************** |
---|
33 | TRANSMITTER: |
---|
34 | ttcp-t: buflen=8192, nbuf=65536, align=16384/0, port=5001 tcp -> rtems |
---|
35 | ttcp-t: 536870912 bytes in 45.72 real seconds = 11468.54 KB/sec +++ |
---|
36 | ttcp-t: 536870912 bytes in 6.87 CPU seconds = 76315.57 KB/cpu sec |
---|
37 | ttcp-t: 65536 I/O calls, msec/call = 0.71, calls/sec = 1433.57 |
---|
38 | ttcp-t: 0.1user 6.7sys 0:45real 15% 0i+0d 0maxrss 0+2pf 0+0csw |
---|
39 | |
---|
40 | |
---|
41 | RECEIVER: |
---|
42 | ttcp-r: buflen=8192, nbuf=65536, align=16384/0, port=5001 tcp |
---|
43 | ttcp-r: 536870912 bytes in 45.72 real seconds = 11467.37 KB/sec +++ |
---|
44 | ttcp-r: 536870912 bytes in 45.87 CPU seconds = 11467.37 KB/cpu sec |
---|
45 | ttcp-r: 370837 I/O calls, msec/call = 0.13, calls/sec = 8111.05 |
---|
46 | ttcp-r: 0.0user 45.7sys 0:45real 100% 0i+0d 0maxrss 0+0pf 0+0csw |
---|
47 | |
---|
48 | |
---|
49 | |
---|
50 | ************************** |
---|
51 | RTEMS Tx ----> Linux Rx: * |
---|
52 | ************************** |
---|
53 | TRANSMITTER: |
---|
54 | ttcp-t: buflen=8192, nbuf=65536, align=16384/0, port=5001 tcp ->192.168.1.1 |
---|
55 | ttcp-t: 536870912 bytes in 46.22 real seconds = 11343.31 KB/sec +++ |
---|
56 | ttcp-t: 536870912 bytes in 46.22 CPU seconds = 11343.31 KB/cpu sec |
---|
57 | ttcp-t: 65536 I/O calls, msec/call = 0.72, calls/sec = 1417.91 |
---|
58 | ttcp-t: 0.0user 46.2sys 0:46real 100% 0i+0d 0maxrss 0+0pf 0+0csw |
---|
59 | |
---|
60 | |
---|
61 | |
---|
62 | |
---|
63 | RECEIVER: |
---|
64 | ttcp-r: buflen=8192, nbuf=65536, align=16384/0, port=5001 tcp |
---|
65 | ttcp-r: 536870912 bytes in 46.22 real seconds = 11343.05 KB/sec +++ |
---|
66 | ttcp-r: 536870912 bytes in 11.60 CPU seconds = 45197.24 KB/cpu sec |
---|
67 | ttcp-r: 356183 I/O calls, msec/call = 0.13, calls/sec = 7706.07 |
---|
68 | ttcp-r: 0.6user 10.9sys 0:46real 25% 0i+0d 0maxrss 0+2pf 0+0csw |
---|
69 | |
---|
70 | |
---|
71 | |
---|
72 | **************************************************************************** |
---|
73 | **************************************************************************** |
---|
74 | **************************************************************************** |
---|
75 | ******************* Test with 40kB buffer size ***************************** |
---|
76 | **************************************************************************** |
---|
77 | **************************************************************************** |
---|
78 | **************************************************************************** |
---|
79 | |
---|
80 | |
---|
81 | ************************** |
---|
82 | RTEMS Tx ----> Linux Rx: * |
---|
83 | ************************** |
---|
84 | TRANSMITTER: |
---|
85 | ttcp-t: buflen=40960, nbuf=13107, align=16384/0, port=5001 tcp -> 192.168.1.1 |
---|
86 | ttcp-t: 536862720 bytes in 46.23 real seconds = 11340.69 KB/sec +++ |
---|
87 | ttcp-t: 536862720 bytes in 46.23 CPU seconds = 11340.69 KB/cpu sec |
---|
88 | ttcp-t: 13107 I/O calls, msec/call = 3.61, calls/sec = 283.52 |
---|
89 | ttcp-t: 0.0user 46.2sys 0:46real 100% 0i+0d 0maxrss 0+0pf 0+0csw |
---|
90 | |
---|
91 | |
---|
92 | RECEIVER: |
---|
93 | ttcp-r: buflen=40960, nbuf=13107, align=16384/0, port=5001 tcp |
---|
94 | ttcp-r: 536862720 bytes in 46.23 real seconds = 11339.54 KB/sec +++ |
---|
95 | ttcp-r: 536862720 bytes in 10.70 CPU seconds = 48998.13 KB/cpu sec |
---|
96 | ttcp-r: 355970 I/O calls, msec/call = 0.13, calls/sec = 7699.20 |
---|
97 | ttcp-r: 0.5user 10.1sys 0:46real 23% 0i+0d 0maxrss 0+5pf 0+0csw |
---|
98 | |
---|
99 | |
---|
100 | |
---|
101 | **************************************************************************** |
---|
102 | **************************************************************************** |
---|