Presentation is loading. Please wait.

Presentation is loading. Please wait.

By Vipin Varghese Application Engineer (NCSD)

Similar presentations


Presentation on theme: "By Vipin Varghese Application Engineer (NCSD)"— Presentation transcript:

1 By Vipin Varghese Application Engineer (NCSD)
Memory Zone Monitor By Vipin Varghese Application Engineer (NCSD)

2 Legal Disclaimers Intel technologies may require enabled hardware, specific software, or services activation. Check with your system manufacturer or retailer. No computer system can be absolutely secure. Tests document performance of components on a particular test, in specific systems. Differences in hardware, software, or configuration will affect actual performance. Consult other sources of information to evaluate performance as you consider your purchase. For more complete information about performance and benchmark results, visit Cost reduction scenarios described are intended as examples of how a given Intel-based product, in the specified circumstances and configurations, may affect future costs and provide cost savings. Circumstances will vary. Intel does not guarantee any costs or cost reduction. All information provided here is subject to change without notice. Contact your Intel representative to obtain the latest Intel product specifications and roadmaps No license (express or implied, by estoppel or otherwise) to any intellectual property rights is granted by this document. ​Intel does not control or audit third-party benchmark data or the web sites referenced in this document. You should visit the referenced web site and confirm whether referenced data are accurate. Intel, the Intel logo, and other Intel product and solution names in this presentation are trademarks of Intel *Other names and brands may be claimed as the property of others. © 2018 Intel Corporation.

3 Memory Layout inside an Application

4 Quote with Attribute “What happens inside an Application, does not stay within the application.” 12pt Intel Clear for Quote Name if Needed

5 Why? DPDK application makes uses of huge page areas to store lookup table, counters, results and information used in Data plane and Control plane instances. As memory layout is shared across multiple process, this can lead to Unintended changes within the same process Unintended changes from multi process Application logic or function pointers modifying unintended areas Above cases leads to undefined and erratic program behaviour. Debugging the right entry is difficult.

6 Where? Application can make use of MEMZONE regions for storing data for various purposes. Table are not limited to Lookup only Lookup + Result Lookup + Result + Counters Counters or Index to Counters Reference to Lookup, Lookup + Result and Lookup + Result + Counter, The deployed applications in field are stripped, build with static or dynamic libraries, GDB or remote GDB to target is absent.

7 How does memzone monitor works?
16pt Intel Clear Subhead

8 Generic Application User can design his tables to be held completely under memzone or reference. Holding entries completely in memzone Saves memory from being allocated. All elements are placed in same region. Holding references to entries No need to pre allocate huge memory regions from start. Memory can grow and shrink as required. Easier add/delete with Optimization in lookup

9 How does it monitor? Works as secondary application, which periodically monitor selected tables or memory region. Reports back the offset where the change has occurred. Helps to Isolate the table or counter where the change is occurring Reports the offset (RTE_CACHELINE) from the address Can monitor multiple tables.

10 How does Memzone Monitor works?

11 Is memzone monitor the solution?
No, it is just an utility to identify where the cause of irregular behaviour can be happening.

12

13

14 How does Memzone Monitor works?

15

16 Troubleshooting – DPDK Memzone Dump

17 Troubleshooting – DPDK Memzone Dump

18 Backup – address sanitizer working (canary)


Download ppt "By Vipin Varghese Application Engineer (NCSD)"

Similar presentations


Ads by Google