pinggit / dpdk-contrail-book

contrail dpdk day one book
9 stars 3 forks source link

diagrams repository #19

Open pinggit opened 3 years ago

pinggit commented 3 years ago

lstopo of kiran setup: image

pinggit commented 3 years ago

image

pinggit commented 3 years ago

bps=1000000

image

image

 [root@a7s3 ~]# contrail-tools dpdkvifstats.py -v 3 -c 2
 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 |Core 1  | TX pps: 1         | RX pps: 12020     | TX bps: 70        | RX bps: 721190    | TX error: 0         | RX error 0         | TX port error: 0         | RX queue error 0         |
 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 |Core 2  | TX pps: 1         | RX pps: 12020     | TX bps: 56        | RX bps: 721176    | TX error: 0         | RX error 0         | TX port error: 0         | RX queue error 0         |
 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 |Total   | TX pps: 2         | RX pps: 24040     | TX bps: 1008      | RX bps: 11538928  | TX error: 0         | RX error 0         | TX port error: 0         | RX queue error 0         |
 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 [root@a7s3 ~]# contrail-tools dpdkvifstats.py -a -c 2
 | VIF 3   |Core 1  | TX pps: 0         | RX pps: 12014     | TX bps: 224       | RX bps: 5766624   | TX error: 0         | RX error 0         | TX port error: 0         | RX queue error 0         |
 | VIF 3   |Core 2  | TX pps: 1         | RX pps: 12020     | TX bps: 448       | RX bps: 5769408   | TX error: 0         | RX error 0         | TX port error: 0         | RX queue error 0         |
 | VIF 4   |Core 1  | TX pps: 0         | RX pps: 3         | TX bps: 0         | RX bps: 3040      | TX error: 0         | RX error 0         | TX port error: 0         | RX queue error 0         |
 | VIF 4   |Core 2  | TX pps: 3         | RX pps: 0         | TX bps: 1584      | RX bps: 0         | TX error: 0         | RX error 0         | TX port error: 0         | RX queue error 0         |
 | VIF 0   |Core 1  | TX pps: 12096     | RX pps: 2         | TX bps: 10644592  | RX bps: 1264      | TX error: 0         | RX error 0         | TX port error: 0         | RX queue error 0         |
 | VIF 0   |Core 2  | TX pps: 12147     | RX pps: 0         | TX bps: 10800016  | RX bps: 0         | TX error: 0         | RX error 0         | TX port error: 0         | RX queue error 0         |
 ------------------------------------------------------------------------
 |                                pps per Core                          |
 ------------------------------------------------------------------------
 |Core 1  |TX + RX pps: 24115     | TX pps 12096     | RX pps 12019     |
 |Core 2  |TX + RX pps: 24171     | TX pps 12151     | RX pps 12020     |
 ------------------------------------------------------------------------
 |Total   |TX + RX pps: 48286     | TX pps 24247     | RX pps 24039     |
 ------------------------------------------------------------------------

[root@a7s3 ~]# date; vif --get 3; sleep 10; date; vif --get 3
Tue Oct  6 14:07:56 PDT 2020
vif0/3      PMD: tap41a9ab05-64 NH: 38
            Type:Virtual HWaddr:00:00:5e:00:01:00 IPaddr:192.168.1.104
            Vrf:3 Mcast Vrf:3 Flags:L3L2DEr QOS:-1 Ref:12
            RX queue  packets:22600182 errors:0
            RX queue errors to lcore 0 0 0 0 0 0 0 0 0 0 0 0
            RX packets:22602974  bytes:1356128180 errors:0
            TX packets:80627  bytes:4754730 errors:0
            ISID: 0 Bmac: 02:41:a9:ab:05:64
            Drops:33

Tue Oct  6 14:08:06 PDT 2020
vif0/3      PMD: tap41a9ab05-64 NH: 38
            Type:Virtual HWaddr:00:00:5e:00:01:00 IPaddr:192.168.1.104
            Vrf:3 Mcast Vrf:3 Flags:L3L2DEr QOS:-1 Ref:12
            RX queue  packets:22838342 errors:0
            RX queue errors to lcore 0 0 0 0 0 0 0 0 0 0 0 0
            RX packets:22841154  bytes:1370418620 errors:0
            TX packets:80647  bytes:4755570 errors:0
            ISID: 0 Bmac: 02:41:a9:ab:05:64
            Drops:33
pinggit commented 3 years ago

bps=125000 image

pinggit commented 3 years ago

dpdkinfo -b

image

pinggit commented 3 years ago

cat /proc/net/bonding/bond0

image

compare between dpdkinfo -b and bond0 image