---
# System prepended metadata

title: Perf from supermicro-host to a openstack instance in private net

---


# Perf from supermicro-host to a openstack instance in private net
```
/home/devops # perf trace --no-syscalls --event 'net:*' ping 192.168.0.10 
```

#### Paths from host to VM (grep `net:net_dev_queue:dev`)
1.  0.000 net:net_dev_queue:dev=br-vlan skbaddr=0xffffa0716214ab00 len=98
2.  0.044 net:net_dev_queue:dev=br-vlan-veth skbaddr=0xffffa0716214ab00 len=98
3.  0.100 net:net_dev_queue:dev=tap69af6f5d-4c skbaddr=0xffffa0716214ab00 len=98
4.  0.162 net:net_dev_queue:dev=qr-7dfbde69-7f skbaddr=0xffffa0716214ab00 len=98
5.  0.220 net:net_dev_queue:dev=tap4caa6c14-2a skbaddr=0xffffa0716214b800 len=98
6.  0.254 net:net_dev_queue:dev=tapc87908df-e7 skbaddr=0xffffa0716214a400 len=98
7.  0.281 net:net_dev_queue:dev=tap4973103e-e0 skbaddr=0xffffa0716214b000 len=98
8.  0.302 net:net_dev_queue:dev=vxlan-64 skbaddr=0xffffa0716214ab00 len=98
9.  0.338 net:net_dev_queue:dev=br-vxlan skbaddr=0xffffa0716214ab00 len=148
10. 0.353 net:net_dev_queue:dev=dummy-vxlan skbaddr=0xffffa0716214ab00 len=148

#### Paths from host to VM (grep `net:net_dev_queue:dev`) (only show devices)
1.  0.000 net:net_dev_queue:dev=br-vlan 
2.  0.044 net:net_dev_queue:dev=br-vlan-veth 
3.  0.100 net:net_dev_queue:dev=tap69af6f5d-4c 
4.  0.162 net:net_dev_queue:dev=qr-7dfbde69-7f 
5.  0.220 net:net_dev_queue:dev=tap4caa6c14-2a 
6.  0.254 net:net_dev_queue:dev=tapc87908df-e7 
7.  0.281 net:net_dev_queue:dev=tap4973103e-e0 
8.  0.302 net:net_dev_queue:dev=vxlan-64 
9.  0.338 net:net_dev_queue:dev=br-vxlan 
10. 0.353 net:net_dev_queue:dev=dummy-vxlan

#### LOG
```
/home/devops # perf trace --no-syscalls --event 'net:*' ping 192.168.0.10                                                                                                                                                               root@aio1
PING 192.168.0.10 (192.168.0.10) 56(84) bytes of data.
64 bytes from 192.168.0.10: icmp_seq=1 ttl=63 time=0.661 ms
     0.000 net:net_dev_queue:dev=br-vlan skbaddr=0xffffa0716214ab00 len=98
     0.029 net:net_dev_start_xmit:dev=br-vlan queue_mapping=0 skbaddr=0xffffa0716214ab00 vlan_tagged=0 vlan_proto=0x0000 vlan_tci=0x0000 protocol=0x0800 ip_summed=0 len=98 data_len=0 network_offset=14 transport_offset_valid=1 transport_offset=34 tx_flags=0 gso_size=0 gso_segs=0 gso_type=0
     0.044 net:net_dev_queue:dev=br-vlan-veth skbaddr=0xffffa0716214ab00 len=98
     0.053 net:net_dev_start_xmit:dev=br-vlan-veth queue_mapping=0 skbaddr=0xffffa0716214ab00 vlan_tagged=0 vlan_proto=0x0000 vlan_tci=0x0000 protocol=0x0800 ip_summed=0 len=98 data_len=0 network_offset=14 transport_offset_valid=1 transport_offset=34 tx_flags=0 gso_size=0 gso_segs=0 gso_type=0
     0.062 net:netif_rx:dev=eth12 skbaddr=0xffffa0716214ab00 len=84
     0.069 net:net_dev_xmit:dev=br-vlan-veth skbaddr=0xffffa0716214ab00 len=98 rc=0
     0.076 net:net_dev_xmit:dev=br-vlan skbaddr=0xffffa0716214ab00 len=98 rc=0
     0.084 net:netif_receive_skb:dev=eth12 skbaddr=0xffffa0716214ab00 len=84
     0.100 net:net_dev_queue:dev=tap69af6f5d-4c skbaddr=0xffffa0716214ab00 len=98
     0.107 net:net_dev_start_xmit:dev=tap69af6f5d-4c queue_mapping=0 skbaddr=0xffffa0716214ab00 vlan_tagged=0 vlan_proto=0x0000 vlan_tci=0x0000 protocol=0x0800 ip_summed=0 len=98 data_len=0 network_offset=14 transport_offset_valid=1 transport_offset=34 tx_flags=0 gso_size=0 gso_segs=0 gso_type=0
     0.113 net:netif_rx:dev=qg-69af6f5d-4c skbaddr=0xffffa0716214ab00 len=84
     0.117 net:net_dev_xmit:dev=tap69af6f5d-4c skbaddr=0xffffa0716214ab00 len=98 rc=0
     0.122 net:netif_receive_skb:dev=qg-69af6f5d-4c skbaddr=0xffffa0716214ab00 len=84
     0.162 net:net_dev_queue:dev=qr-7dfbde69-7f skbaddr=0xffffa0716214ab00 len=98
     0.168 net:net_dev_start_xmit:dev=qr-7dfbde69-7f queue_mapping=0 skbaddr=0xffffa0716214ab00 vlan_tagged=0 vlan_proto=0x0000 vlan_tci=0x0000 protocol=0x0800 ip_summed=0 len=98 data_len=0 network_offset=14 transport_offset_valid=1 transport_offset=34 tx_flags=0 gso_size=0 gso_segs=0 gso_type=0
     0.172 net:netif_rx:dev=tap7dfbde69-7f skbaddr=0xffffa0716214ab00 len=84
     0.178 net:net_dev_xmit:dev=qr-7dfbde69-7f skbaddr=0xffffa0716214ab00 len=98 rc=0
     0.182 net:netif_receive_skb:dev=tap7dfbde69-7f skbaddr=0xffffa0716214ab00 len=84
     0.220 net:net_dev_queue:dev=tap4caa6c14-2a skbaddr=0xffffa0716214b800 len=98
     0.231 net:net_dev_start_xmit:dev=tap4caa6c14-2a queue_mapping=0 skbaddr=0xffffa0716214b800 vlan_tagged=0 vlan_proto=0x0000 vlan_tci=0x0000 protocol=0x0800 ip_summed=0 len=98 data_len=0 network_offset=14 transport_offset_valid=1 transport_offset=34 tx_flags=0 gso_size=0 gso_segs=0 gso_type=0
     0.246 net:net_dev_xmit:dev=tap4caa6c14-2a skbaddr=0xffffa0716214b800 len=98 rc=0
     0.254 net:net_dev_queue:dev=tapc87908df-e7 skbaddr=0xffffa0716214a400 len=98
     0.261 net:net_dev_start_xmit:dev=tapc87908df-e7 queue_mapping=0 skbaddr=0xffffa0716214a400 vlan_tagged=0 vlan_proto=0x0000 vlan_tci=0x0000 protocol=0x0800 ip_summed=0 len=98 data_len=0 network_offset=14 transport_offset_valid=1 transport_offset=34 tx_flags=0 gso_size=0 gso_segs=0 gso_type=0
     0.275 net:net_dev_xmit:dev=tapc87908df-e7 skbaddr=0xffffa0716214a400 len=98 rc=0
     0.281 net:net_dev_queue:dev=tap4973103e-e0 skbaddr=0xffffa0716214b000 len=98
     0.287 net:net_dev_start_xmit:dev=tap4973103e-e0 queue_mapping=0 skbaddr=0xffffa0716214b000 vlan_tagged=0 vlan_proto=0x0000 vlan_tci=0x0000 protocol=0x0800 ip_summed=0 len=98 data_len=0 network_offset=14 transport_offset_valid=1 transport_offset=34 tx_flags=0 gso_size=0 gso_segs=0 gso_type=0
     0.293 net:netif_rx:dev=ns-4973103e-e0 skbaddr=0xffffa0716214b000 len=84
     0.297 net:net_dev_xmit:dev=tap4973103e-e0 skbaddr=0xffffa0716214b000 len=98 rc=0
     0.302 net:net_dev_queue:dev=vxlan-64 skbaddr=0xffffa0716214ab00 len=98
     0.309 net:net_dev_start_xmit:dev=vxlan-64 queue_mapping=0 skbaddr=0xffffa0716214ab00 vlan_tagged=0 vlan_proto=0x0000 vlan_tci=0x0000 protocol=0x0800 ip_summed=0 len=98 data_len=0 network_offset=14 transport_offset_valid=1 transport_offset=34 tx_flags=0 gso_size=0 gso_segs=0 gso_type=0
     0.338 net:net_dev_queue:dev=br-vxlan skbaddr=0xffffa0716214ab00 len=148
     0.345 net:net_dev_start_xmit:dev=br-vxlan queue_mapping=0 skbaddr=0xffffa0716214ab00 vlan_tagged=0 vlan_proto=0x0000 vlan_tci=0x0000 protocol=0x0800 ip_summed=0 len=148 data_len=0 network_offset=14 transport_offset_valid=1 transport_offset=34 tx_flags=0 gso_size=0 gso_segs=0 gso_type=0
     0.353 net:net_dev_queue:dev=dummy-vxlan skbaddr=0xffffa0716214ab00 len=148
     0.359 net:net_dev_start_xmit:dev=dummy-vxlan queue_mapping=0 skbaddr=0xffffa0716214ab00 vlan_tagged=0 vlan_proto=0x0000 vlan_tci=0x0000 protocol=0x0800 ip_summed=0 len=148 data_len=0 network_offset=14 transport_offset_valid=1 transport_offset=34 tx_flags=0 gso_size=0 gso_segs=0 gso_type=0
     0.364 net:net_dev_xmit:dev=dummy-vxlan skbaddr=0xffffa0716214ab00 len=148 rc=0
     0.368 net:net_dev_xmit:dev=br-vxlan skbaddr=0xffffa0716214ab00 len=148 rc=0
     0.373 net:net_dev_xmit:dev=vxlan-64 skbaddr=0xffffa0716214ab00 len=98 rc=0
     0.378 net:netif_receive_skb:dev=ns-4973103e-e0 skbaddr=0xffffa0716214b000 len=84
```

# Perf from qrouter to google 8.8.8.8
```
/home/devops # ip netns exec qrouter-969a690a-a68d-42e1-b722-693bb8ee6508 perf trace --no-syscalls --event 'net:*' ping 8.8.8.8                                                                                                         root@aio1

  0.000 net:net_dev_queue:dev=qg-69af6f5d-4c skbaddr=0xffffa06df3c60400 len=98
  0.123 net:net_dev_queue:dev=enp181s0f0 skbaddr=0xffffa06df3c60400 len=98
```
1.   0.000 net:net_dev_queue:dev=qg-69af6f5d-4c 
2.   0.123 net:net_dev_queue:dev=enp181s0f0 

# Perf from supermicro-host to google 8.8.8.8
1. 0.000 net:net_dev_queue:dev=enp181s0f0



# Reverse Network Translation Not working at the Host
```
root@aio1/home/devops # tcpdump -i any -ne icmp                                                     
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes
14:33:14.860493   P fa:16:3e:70:88:ea ethertype IPv4 (0x0800), length 100: 192.168.0.10 > 10.12.80.1: ICMP echo request, id 16178, seq 124, length 64
14:33:14.860520 Out fa:16:3e:70:88:ea ethertype IPv4 (0x0800), length 100: 192.168.0.10 > 10.12.80.1: ICMP echo request, id 16178, seq 124, length 64
14:33:14.860564  In fa:16:3e:8a:e2:aa ethertype IPv4 (0x0800), length 100: 172.29.248.111 > 10.12.80.1: ICMP echo request, id 16178, seq 124, length 64
14:33:14.860564  In fa:16:3e:8a:e2:aa ethertype IPv4 (0x0800), length 100: 172.29.248.111 > 10.12.80.1: ICMP echo request, id 16178, seq 124, length 64
14:33:14.860597 Out 0c:c4:7a:f9:65:52 ethertype IPv4 (0x0800), length 100: 10.12.72.130 > 10.12.80.1: ICMP echo request, id 16178, seq 124, length 64
14:33:14.862239  In e0:d1:73:89:cb:df ethertype IPv4 (0x0800), length 100: 10.12.80.1 > 10.12.72.130: ICMP echo reply, id 16178, seq 124, length 64
```