Skip to Content.

rare-dev - [rare-dev] Counter packets and bytes

Subject: Rare project developers

List archive


[rare-dev] Counter packets and bytes


Chronological Thread 
  • From: Carmen Misa Moreira <>
  • To: <>
  • Subject: [rare-dev] Counter packets and bytes
  • Date: Tue, 28 Jun 2022 11:55:46 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 188.184.36.16) smtp.rcpttodomain=lists.geant.org smtp.mailfrom=cern.ch; dmarc=bestguesspass action=none header.from=cern.ch; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tdzLFO9PUH5+ObOCDUxs6FUTwbZ0aYXLM1F3hedEOYI=; b=Lq+cZoTNQobQ38b0APzhEI/EDaF81n9qcfmNnCLkMYfB1A8x1F1RniynZK8S57b5+vyZA8pMZEuLixkMlrhRS5rkk7w8+3oyFZK9CJzZazFJ/pt07UuKDuZhINbe5lXU0IRZwoznbPz2DlQyq7B9qcCViH8STXr9FJMgOhcp6Z4P7eBPxqnLqV+6NJU4W3OctwK6pXjMntqWRGrO9yXAupZtj6UWY/y2iyhwbKqLDDnJWOJaGXEFrVozD/aHqSVkMIUqYBwek5Q4lLVahAKGfa3wt1/GtjXrPq7M5idnWVNs0fam7C47ZQIJ/yrelzcduvXBKMwlqydiF6Mdn1bkog==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XkqVql/NXqrtBOhOfZ/Uay9SVbv/v7cdbMThKPllfj5a5VkOup5xqwqR//L6fMQFICA/tYKCFhmM7srVgFihMQJfam0chguN1qZ9lmtpsUKcfkHPcRa3xOAng9QEUVhRseixpl69LYUFeuYQTJsxh1LEijiLPc6eCrn3eWEp4BbeyTeDDwXlQb9NvIZP2KL7cGtLmLMa2gY6Yop3R32sH18tVcpfgsJCvz0iuBJz289LTaM+bNgSB6UeOfohKIv7rGl2r1ubxYMfK4X5DW5TjwrOyTP7KMspegWu4WMBfDksltdrt3JU/CxSeOzQJKjvs8G3tKaXPv1VP7FZfMI7Mw==

Hi,

I'm using iperf3 with the -k flag to send 1000 packets:

root@itcs-p4srv-02:/home/mmisamor# iperf3 -c 2001:1458:301:cd::100:3d8 -L 32772 -p 5204 -i 10 -k 1000 &
[1] 74718
root@itcs-p4srv-02:/home/mmisamor# Connecting to host 2001:1458:301:cd::100:3d8, port 5204
[  5] local 2001:67c:2c4:1::2 port 45904 connected to 2001:1458:301:cd::100:3d8 port 5204
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-0.11   sec   124 MBytes  9.09 Gbits/sec  202    683 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-0.11   sec   124 MBytes  9.09 Gbits/sec  202             sender
[  5]   0.00-0.12   sec   121 MBytes  8.81 Gbits/sec                  receiver

iperf Done.

But on the switch I received more than 1k packets -> 1713 packets:

E513-E-YECWH-1#show access-list acl_all_ipv6_flowlabels
     tx          rx                  timers
seq  byte  pack  byte        pack    last      timout    cfg
10   0+0   0+0   0+0         0+0     never     00:00:00  all any all any all flow 131076&261884
11   0+0   0+0   0+0         0+0     never     00:00:00  all any all any all flow 65540&261884
12   0+0   0+0   0+0         0+0     never     00:00:00  all any all any all flow 196612&261884
13   0+0   0+0   0+165006    0+1713  00:00:01  00:00:00  all any all any all flow 32772&261884
20   0+0   0+0   0+0         0+0     never     00:00:00  all any all any all flow 131072&261632
21   0+0   0+0   0+0         0+0     never     00:00:00  all any all any all flow 65536&261632
22   0+0   0+0   0+0         0+0     never     00:00:00  all any all any all flow 196608&261632
23   0+0   0+0   0+0         0+0     never     00:00:00  all any all any all flow 32768&261632
29   0+0   0+0   0+0         0+0     never     00:00:00  all any all any all flow 5201
30   0+0   0+0   360+256420  5+2268  00:00:01  00:00:00  all any all any all

So I was wondering if there is something regarding fragmentation or something that causes this mismatching in the values, I would expect to have 1k packets on the P4 switch in this case. I saw the same behaviour if I use the flag -n to send 1000 bytes:

root@itcs-p4srv-02:/home/mmisamor# iperf3 -c 2001:1458:301:cd::100:3d8 -L 32772 -p 5204 -i 10 -n 1000 &
[1] 74722

root@itcs-p4srv-02:/home/mmisamor# Connecting to host 2001:1458:301:cd::100:3d8, port 5204
[  5] local 2001:67c:2c4:1::2 port 45908 connected to 2001:1458:301:cd::100:3d8 port 5204
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-0.00   sec   106 KBytes  7.06 Gbits/sec    0   13.9 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-0.00   sec   106 KBytes  7.06 Gbits/sec    0             sender
[  5]   0.00-0.00   sec  13.9 KBytes   105 Mbits/sec                  receiver

iperf Done.

I received 900 bytes:

E513-E-YECWH-1#show access-list acl_all_ipv6_flowlabels
     tx          rx            timers
seq  byte  pack  byte    pack  last      timout    cfg
10   0+0   0+0   0+0     0+0   never     00:00:00  all any all any all flow 131076&261884
11   0+0   0+0   0+0     0+0   never     00:00:00  all any all any all flow 65540&261884
12   0+0   0+0   0+0     0+0   never     00:00:00  all any all any all flow 196612&261884
13   0+0   0+0   0+900   0+10  00:00:12  00:00:00  all any all any all flow 32772&261884
20   0+0   0+0   0+0     0+0   never     00:00:00  all any all any all flow 131072&261632
21   0+0   0+0   0+0     0+0   never     00:00:00  all any all any all flow 65536&261632
22   0+0   0+0   0+0     0+0   never     00:00:00  all any all any all flow 196608&261632
23   0+0   0+0   0+0     0+0   never     00:00:00  all any all any all flow 32768&261632
29   0+0   0+0   0+0     0+0   never     00:00:00  all any all any all flow 5201
30   0+0   0+0   0+4037  0+38  00:00:12  00:00:00  all any all any all

Best regards,

Carmen Misa








Archive powered by MHonArc 2.6.19.

Top of Page