rte_eth_dev_socket_id(port) возвращает 1
rte_socket_id() возвращает 0
uint16_t port = 0;
RTE_ETH_FOREACH_DEV(port)
{
if (rte_eth_dev_socket_id(port) >= 0 && rte_eth_dev_socket_id(port) != rte_socket_id()) {
NSTK_LOG_WARN("Port %u is on remote NUMA node to polling thread. Performance will not be optimal, rte_eth_dev_socket_id: %u, rte_socket_id: %u",
port, rte_eth_dev_socket_id(port), rte_socket_id());
}
}
< /code>
Port 0 is on remote NUMA node to polling thread. Performance will not be optimal, rte_eth_dev_socket_id: 1, rte_socket_id: 0
Подробнее здесь: https://stackoverflow.com/questions/796 ... rrently-it
Мобильная версия