Communication Matrix
The MindIE LLM communication matrix describes the open ports, transmission protocols used by the ports, and names, authentication modes, and functions of the network elements used for communication with the peer end through the ports.
For communication matrices related to datadist, HCCL, LCCL, and ATB, refer to the CANN Communication Matrix.
| Source Device | Source IP Address | Source Port | Destination Device | Destination IP Address | Destination Port (Listening) | Protocol | Port Description | Listening Port Configurable (Yes/No) | Authentication Mode | Encryption Mode | Plane | Version | Special Scenario | Remarks |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MindIE LLM mempool-Mooncake module | IP address for client communication | Random port, which is allocated by Mooncake. The port number starts from 8790. | Mooncake Master server | Configured when the user starts the Mooncake Master server. | Configured when the user starts the Mooncake Master server. | TCP | Used for communication between the Mooncake pooling client and Mooncake Master server | Yes | Certificate | TLS1.3 | Data Plane | MindIE 3.0.0 | None | None |
| MindIE LLM mempool-Mooncake module | IP address for client communication | User-defined | Mooncake Metadata server | Configured when the user starts the Mooncake Master server. | Configured when the user starts the Mooncake Master server. | TCP | Used for communication between the Mooncake pooling client and Mooncake Metadata server | Yes | Certificate | TLS1.3 | Data Plane | MindIE 3.0.0 | None | None |
| Inference server | Local communication IP address | Dynamic ports: 1024–65535 | NPU | IP address of the device | Default value: 1024 | TCP | Listening port of the HDK KMSAgent component, which is responsible for registering the obfuscation factor | Yes | Certificate | TLS1.3 | Data Plane | MindIE 3.0.0 | None | None |
| NPU | IP address of the device | Default value: 1024 | Inference server | Local communication IP address | Dynamic ports: 1024–65535 | TCP | Listening port of the HDK KMSAgent component, which is responsible for registering the obfuscation factor | Yes | Certificate | TLS1.3 | Data Plane | MindIE 3.0.0 | None | None |
| Secondary node client in multi-node cluster mode | IP address for client communication | Configuration of the environment variable MASTER_PORT | Primary node client in a multi-node system | IP address corresponding to the environment variable MASTER_IP of the inference service (the management plane and services use different IP addresses). | Fixed port configured based on customer requirements. This port corresponds to the environment variable MASTER_PORT (when the management plane and service plane use different ports). The value ranges from 1024 to 65535. If this parameter is not specified, None is used by default. | TCP | Use the init_process_group function of PyTorch to send requests for data communication between different machines in pipeline parallel. | Yes | Certificate | TLS1.3 | Data Plane | MindIE 3.0.0 | None | None |
| Primary node client in a multi-node system | IP address corresponding to the environment variable MASTER_IP of the inference service (the management plane and services use different IP addresses). | Fixed port configured based on customer requirements. This port corresponds to the environment variable MASTER_PORT (when the management plane and service plane use different ports). The value ranges from 1024 to 65535. If this parameter is not specified, None is used by default. | Secondary node client in multi-node cluster mode | IP address for client communication | Configuration of the environment variable MASTER_PORT | TCP | Use the init_process_group function of PyTorch to send requests for data communication between different machines in pipeline parallel. | Yes | Certificate | TLS1.3 | Data Plane | MindIE 3.0.0 | None | None |
| Inference server | Local communication IP address | Random port | Hugging Face server | IP address of the Hugging Face server | Random port | N/A | Set trust_remote_code to True (defaults to False) to use local code files from the weight folder. Missing files will trigger a remote download. | N/A | Certificate | TLS1.3 | Data Plane | MindIE 3.0.0 | None | None |
| MindIE Server | Pod IP address of the deployed MindIE Server | Random port assigned by the operating system (32768–60999) | MindIE Server | Pod IP address of the deployed MindIE cluster service server | Random port assigned by the operating system (32768–60999) | TCP | Used for communication between multiple DP processes on MindIE Server. The number of ports is specified by dp_size | No | None | None | Data Plane | MindIE 3.0.0 | None | None |
| Distributed edge-cloud synergy data transmission server | IP address specified by the layerwiseDisaggregatedMasterIpAddress field in the config.json file of the inference service. | The value ranges from 1024 to 65535. The default value is 10000. | Cloud-side (slave) device for distributed edge-cloud synergy | Cloud-side (slave) IP address for distributed edge-cloud synergy. Must match layerwiseDisaggregatedSlaveIpAddress in config.json of the inference service. | Random port automatically allocated by the operating system | TCP | Hidden data transmission in distributed edge-cloud synergy | Yes | Certificate | TLS1.3 | Data Plane | MindIE 3.0.0 | None | None |
| Distributed edge-cloud synergy data transmission client | IP address specified by the layerwiseDisaggregatedSlaveIpAddress field in the config.json file of the inference service. | Random port automatically allocated by the operating system | Edge-side (master) device for distributed edge-cloud synergy | Edge-side (master) IP address for distributed edge-cloud synergy. Must match layerwiseDisaggregatedMasterIpAddress in config.json of the inference service. | The value ranges from 1024 to 65535. The default value is 10000. | TCP | Hidden data transmission in distributed edge-cloud synergy | Yes | Certificate | TLS1.3 | Data Plane | MindIE 3.0.0 | None | None |
| Distributed edge-cloud synergy control signal transmission server | IP address specified by the layerwiseDisaggregatedSlaveIpAddress field in the config.json file of the inference service. | The value ranges from 1024 to 65535. The default value is 10001 (prefill control signal port) or 10002 (decode control signal port). | Edge-side (master) device for distributed edge-cloud synergy | Edge-side (master) IP address for distributed edge-cloud synergy. Must match layerwiseDisaggregatedMasterIpAddress in config.json of the inference service. | Random port automatically allocated by the operating system | TCP | Edge-cloud TCP control signal transmission in distributed edge-cloud synergy | Yes | Certificate | TLS1.3 | Data Plane | MindIE 3.0.0 | None | None |
| Distributed edge-cloud synergy control signal transmission client | IP address specified by the layerwiseDisaggregatedMasterIpAddress field in the config.json file of the inference service. | Random port automatically allocated by the operating system | Cloud-side (slave) device for distributed edge-cloud synergy | Cloud-side (slave) IP address for distributed edge-cloud synergy. Must match layerwiseDisaggregatedSlaveIpAddress in config.json of the inference service. | The value ranges from 1024 to 65535. The default value is 10001 (prefill control signal port) or 10002 (decode control signal port). | TCP | Edge-cloud TCP control signal transmission in distributed edge-cloud synergy | Yes | Certificate | TLS1.3 | Data Plane | MindIE 3.0.0 | None | None |
| Multi-device cloud (slave) decision-making broadcast server (cloud master) for distributed edge-cloud synergy | IP address of the master device of the multi-device cloud, corresponding to the first address in layerwiseDisaggregatedSlaveIpAddress. | The value ranges from 1024 to 65535. The default value is 10003. | Slave device of the cloud-side (slave) device for distributed edge-cloud synergy | Slave IP for distributed edge-cloud devices; must match a non-primary entry in layerwiseDisaggregatedSlaveIpAddress within config.json. | Random port automatically allocated by the operating system | TCP | Multi-device decision-making (cross-device) broadcast for distributed edge-cloud synergy | Yes | Certificate | TLS1.3 | Data Plane | MindIE 3.0.0 | None | None |
| Multi-device cloud (slave) device decision-making broadcast client (cloud slave) for distributed edge-cloud synergy | IP address of the master device of the multi-device cloud, corresponding to the non-first address in layerwiseDisaggregatedSlaveIpAddress. | Random port automatically allocated by the operating system | Master device of the cloud-side (slave) device for distributed edge-cloud synergy | IP address of the slave server of the multi-device cloud device for distributed edge-cloud synergy, which corresponds to the first address of layerwiseDisaggregatedSlaveIpAddress in the config.json configuration file of the inference service. | The value ranges from 1024 to 65535. The default value is 10003. | TCP | Multi-device decision-making (cross-device) broadcast for distributed edge-cloud synergy | Yes | Certificate | TLS1.3 | Data Plane | MindIE 3.0.0 | None | None |