background image

EDM01-07: DAG 3.7G Card User Guide 

©2005 

15 

Version 7: May 2006 

 

Process 

Description 

Packet 

Transmission 

(cont.)

 

Packet 

transmission utility 

The

 

dagflood

 

utility can transmit ERF format packet 

traces. The ERF trace file to be transmitted must 

contain only ERF records of the type matching the 

current link configuration. 
The ERF records to be transmitted must have a length 

which is a multiple of 64-bits. When capturing a packet 

trace for later transmission, the 64-bit alignment can be 

set using the 

dagthree align64

 command. The 64-bit 

alignment is permanently set on the DAG 3.7G card. 

 

Convert trace files.  It is also possible to convert trace files that have been 

captured without the 

align64

 option. This can be done 

with the command: 

 

dagconvert -v -i in.erf -o out.erf -A8 

If uncertain that a trace file is 64-bit aligned for 

transmission with 

dagflood

, the file can be tested with: 

dagbits -vvc align64 -f tracefile.erf 

If a captured trace file is not available, the 

daggen

 

program is capable of generating trace files containing 

simple traffic patterns. This allows the DAG card to be 

used as a test traffic generator. 

 

Capture received 

traffic while 

transmitting. 

You can capture received traffic while transmitting. 

Capture programs such as 

dagsnap

dagconvert

, and 

dagbits

 

can be used while 

dagflood

 is sending packets. 

 

Configuring DAG 

card for 

transmission. 

To configure a DAG card for transmission, some 

memory must be allocated to a transmit stream. 
In the 

dagthree

 output,

 

buf=nMB

 

indicates that 

n

 

megabytes of memory has been allocated to this DAG 

card in total.  his memory can be split between the 

available receive and transmit stream buffers. The 

memory allocation is displayed with 

mem=X:Y

, where 

X is the amount of memory allocated to receive stream 

0 in MB, and Y is the amount of memory allocated to 

transmit stream 1 in MB. 
By default the memory is evenly split between the 

receive streams, the transmit streams have no memory 

allocated. If the card is to be used only for transmit, the 

dagthree

 

txonly

 option can be used to recover the 

receive buffer memory and assign all the memory to 

transmit. 
If the card is to be used for both transmitting and 

receiving, the

 

rxtx

 option can be used. This allocates 

16MB of memory to each transmit stream, and divides 

the remaining memory between the receive streams. 

Alternatively the memory allocation can be directly set 

with 

mem=X:Y

 

option. The stream buffer memory 

allocation can only be changed when no packet capture 

or transmission programs are running. 

 

Summary of Contents for DAG 3.7G Series

Page 1: ......

Page 2: ...39 0540 Fax 64 7 839 0543 Americas Endace USA Ltd Suite 220 11495 Sunset Hill Road Reston Virginia 20190 United States of America Phone 1 703 382 0155 Fax 1 703 382 0155 Europe Middle East Africa Enda...

Page 3: ...d Materials The product that this manual pertains to may include extra components and materials that are not essential to its basic operation but are necessary to ensure compliance to the product stan...

Page 4: ...EDM01 07 DAG 3 7G Card User Guide Version 7 May 2006 2005...

Page 5: ...ter 3 Configuring the Card 7 Introduction 7 Engaging Failsafe Relays 7 LEDs and Inputs 7 Configuration Utility 8 Default Configuration 8 Interface Statistics 10 Chapter 4 Capturing Data 13 Starting a...

Page 6: ...1 07 DAG 3 7G Card User Guide Version 7 May 2006 ii 2005 Table of Contents cont Chapter 6 Data Formats 25 Overview 25 Generic Header 25 Type 2 Record 26 Chapter 7 Troubleshooting 27 Reporting Problems...

Page 7: ...for your specific network requirements Running a data capture session Synchronising clock time Data formats You can also find additional information relating to functions and features of the DAG 3 7G...

Page 8: ...Installation Guide EDM 04 02 Windows Software Installation Guide Other Systems For advice on using an operating system that is substantially different from either of those specified above please cont...

Page 9: ...series card interfaces and fed through framers into the Xilinx FPGA This FPGA contains an Ethernet processor and the DUCK timestamp engine Because of close association of the components packets are ti...

Page 10: ...e failsafe feature of the DAG 3 7GF there are some advantages to using a straight through cable rather than a cross over one The DAG card captures all packets received on each port similar to a NIC in...

Page 11: ...M 04 02 Windows Software Installation Guide as appropriate which are included on the CD shipped with the DAG card Inserting the DAG Card To insert the DAG card in the PC follow the steps described bel...

Page 12: ...ernet The standard specifies a maximum cable length of 100 metres for 10Base T 100 BaseTX and 1000Base T operation over unshielded twisted pair CAT5E or better cable By default DAG 3 7G card automatic...

Page 13: ...ne forwarding applications to reconnect the two ports in case of power failure When the relays are in this state the ports are not connected to the physical layer devices on the card To use the card i...

Page 14: ...second More details about the meaning of the various parameters options are supplied through the help page dagthree h as well as via the manual page Default Configuration Before configuring the card f...

Page 15: ...ed out to the slen length Avoid large values of slen in fixed length mode as short packets arriving will produce large padded records wasting bandwidth and storage space rxsplit Send data from Port A...

Page 16: ...rr Ethernet Symbol Error Count Interface Statistics cont Example The following example is for a card with no valid input dagthree d dag0 si Spd Lnk FD Neg JB MA RF Err Spd Lnk FD Neg JB MA RF Err 1000...

Page 17: ...0 1 0 0 10 1 1 1 0 0 0 0 10 1 1 1 0 1 0 0 10 1 1 1 0 0 0 0 10 1 1 1 0 1 0 0 10 1 1 1 0 0 0 0 If the RF or JB bits are 1 s this indicates a problem with the network link This may or may not be related...

Page 18: ...EDM01 07 DAG 3 7G Card User Guide Version 7 May 2006 12 2005...

Page 19: ...view As the DAG 3 7T card captures packets from the network link it writes a record for each packet into a large buffer in the host PC s main memory Avoiding Packet Loss To avoid packet loss the user...

Page 20: ...is usually sufficient however if you do need to increase the amount of reserved memory please contact Endace customer support at support endace com for more information The dsize option sets the amou...

Page 21: ...mitting You can capture received traffic while transmitting Capture programs such as dagsnap dagconvert and dagbits can be used while dagflood is sending packets Configuring DAG card for transmission...

Page 22: ...C CPU and memory performance dagfwddemo Program The dagfwddemo program is provided as a demonstration of how this can be achieved This program forwards packets bidirectionally applying a user supplied...

Page 23: ...ween DAG cards and coordinated universal time UTC You can obtain an accurate time reference by connecting an external clock to the DAG card using the time synchronisation connector Alternatively you c...

Page 24: ...is allows an ultimate resolution of 2 32 seconds or approximately 233 picoseconds The ERF timestamp allows you to find the difference between two timestamps using a single 64 bit subtraction You do no...

Page 25: ...DAG device K timeout sync timeout in seconds default 60 l threshold health threshold in ns default 596 Option default RS422 in none out none None in none out rs422in RS422 input hostin Host input unu...

Page 26: ...Failures 0 Resyncs 0 error Freq 30ppb Phase 15ns Worst Freq 2092838ppb Worst Phase 33473626ns crystal Actual 100000023Hz Synthesized 67108864Hz input Total 225 Bad 0 Singles Missed 1 Longest Sequence...

Page 27: ...tus Synchronised Threshold 11921ns Failures 0 Resyncs 0 error Freq 1836ppb Phase 605ns Worst Freq 143377ppb Worst Phase 88424ns crystal Actual 49999347Hz Synthesized 16777216Hz input Total 87039 Bad 0...

Page 28: ...u Apr 28 14 48 34 2005 dag No active input Free running Note The slave card configuration is not shown as the default configuration will work Synchronising with Host To prevent the DAG card clock time...

Page 29: ...ried on circuit A and the serial packet is connected to the B circuit Pin Assignments The 4 pin RJ11 connector pin assignments are shown below 1 Channel A 2 Channel B 3 Channel B 4 Channel A Ethernet...

Page 30: ...EDM01 07 DAG 3 7G Card User Guide Version 7 May 2006 24 2005...

Page 31: ...and splitting to be performed arbitrarily on ERF record boundaries Generic Header All ERF records share some common fields Timestamps are in little endian Pentium native byte order All other fields a...

Page 32: ...value of 0 indicates the record was received from the host In the XScale Tx hole a value of 1 tells the ERF Mux to direct packets to the line A value of 0 directs packets to the host rlen Record lengt...

Page 33: ...number Host PC type and configuration Host PC operating system version DAG software version package in use Any compiler errors or warnings when building DAG driver or tools For Linux and FreeBSD mess...

Page 34: ...EDM01 07 DAG 3 7G Card User Guide Version 7 May 2006 28 2005...

Reviews: