Download User Manual
Transcript
Table of Contents Rev 6.9.1 Table of Contents Document Revision History.................................................................................................................. 6 About This Manual ................................................................................................................................ 8 1 2 Introduction to VMA ...................................................................................................................... 10 1.1 VMA Overview ...................................................................................................................... 10 1.2 Basic Features ...................................................................................................................... 10 1.3 Target Applications ............................................................................................................... 10 1.4 Advanced VMA Features ...................................................................................................... 11 VMA Library Architecture ............................................................................................................. 12 2.1 Top-Level .............................................................................................................................. 12 2.2 Socket Types ........................................................................................................................ 12 3 Installing VMA ............................................................................................................................... 13 4 Configuring VMA ........................................................................................................................... 13 4.1 4.2 Configuring libvma.conf ........................................................................................................ 13 4.1.1 Configuring Target Application or Process ............................................................. 13 4.1.2 Configuring Socket Transport Control .................................................................... 14 4.1.3 Example of VMA Configuration............................................................................... 15 VMA Configuration Parameters ............................................................................................ 15 4.2.1 Configuration Parameter Values ............................................................................ 17 4.2.2 Beta Level Features Configuration Parameters ..................................................... 28 5 Using sockperf with VMA ............................................................................................................. 30 6 Example Running sockperf Ping-pong Test .............................................................................. 31 7 VMA Extra API ............................................................................................................................... 31 7.1 Overview of the VMA Extra API ............................................................................................ 31 7.2 Using VMA Extra API ........................................................................................................... 32 7.3 Control Off-load Capabilities During Run-Time .................................................................... 33 7.4 8 7.3.1 Adding libvma.conf Rules During Run-Time........................................................... 33 7.3.2 Creating Sockets as Off-loaded or Not-Off-loaded ................................................. 33 Packet Filtering ..................................................................................................................... 33 7.4.1 Zero Copy recvfrom() .............................................................................................. 34 7.4.2 Freeing Zero Copied Packet Buffers ...................................................................... 35 Debugging, Troubleshooting, and Monitoring ........................................................................... 37 8.1 Monitoring – the vma_stats Utility......................................................................................... 37 8.1.1 8.2 Examples ................................................................................................................ 38 Debugging ............................................................................................................................ 42 8.2.1 VMA Logs ............................................................................................................... 42 8.2.2 Ethernet Counters ................................................................................................... 42 3