Intel® MPI Library Developer Guide for Linux* OS

ID 768728
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Problem: High Memory Consumption Readings

Problem

The Intel® MPI Library’s virtual memory consumption appears to be unreasonably high, when using basic profiling tools.

Cause

The Intel MPI Library uses a shared virtual memory region within a node, which is mapped into each process’s virtual address space. As a result, when virtual memory consumption is queried for any of the ranks, the size of the entire memory region is reported. All ranks on a node report the size of the same shared region. Most of the virtual memory measuring tools are unaware of this shared virtual memory region, and as a result present incorrect data in this context.

Solution

Use /proc/<PID>/smaps files, which provide detailed information about a process’s memory consumption. For more information, see Evaluating Virtual Memory Consumption in Intel® MPI Library.