Red Hat Training

A Red Hat training course is available for Red Hat OpenStack Platform

2.6.3. OVS-DPDK Too to Drain vhost-user

이 예에서 PMD 스레드는 호스트 관점에서 수신 대기열인 virtio TX를 폴링합니다. 패킷 볼륨에 의해 PMD 스레드가 과압되거나 중단된 경우 패킷이 삭제될 수 있습니다.

그림 2.3. 가상 어댑터 TX 대기열 폴링

OpenStack OVS DPDK 배포 16 0419 vhu2

VM에서 패킷의 반환 경로를 추적하고 호스트(tx_dropped) 및 VM(rx_dropped) 양쪽에서 모두 드롭 카운터에서 값을 제공하고 다음 명령을 실행합니다.

ovs-vsctl --column statistics list interface vhue5146cdf-aa

statistics          : {"rx_1024_to_1522_packets"=0, "rx_128_to_255_packets"=0, "rx_1523_to_max_packets"=0,
"rx_1_to_64_packets"=0, "rx_256_to_511_packets"=0, "rx_512_to_1023_packets"=0, "rx_65_to_127_packets"=0,
rx_bytes=0, rx_dropped=0, rx_errors=0, rx_packets=0, tx_bytes=0, tx_dropped=0, tx_packets=0}