p4-dev@lists.p4.org

list for questions/discussion of p4 programs and tools

View all threads

Query regarding tools to measure bandwidth, RTT and memory in mininet setup

SG
Sahil Gupta
Thu, Jan 7, 2021 8:18 AM

Hi all,
I have a shell script that hits some random websites.
Tools like iperf send lots of TCP/UDP messages to measure latency and
bandwidth. But I am processing application layer headers in the P4 switch.
So, looking for some ideas, from the community, regarding what tools will
be apt to observe the bandwidth, latency, etc. in such a scenario.

Regards
Sahil Gupta

Hi all, I have a shell script that hits some random websites. Tools like iperf send lots of TCP/UDP messages to measure latency and bandwidth. But I am processing application layer headers in the P4 switch. So, looking for some ideas, from the community, regarding what tools will be apt to observe the bandwidth, latency, etc. in such a scenario. Regards Sahil Gupta
SG
Sahil Gupta
Thu, Jan 7, 2021 10:46 PM

Hi all,
I will just try to rephrase the issue in my experimental setup in a better
way.

I need some help in measuring RTT, throughput, and memory usage for my
experiments.
For memory usage, I have developed a shell script that uses ps and pmap
Linux tools and profiles RSS(RES) RAM per second for IDS and P4 BMv2.

For throughput and RTT, measurements I looked at iperf, hping, ping, etc.
tools.
The problem is they all send TCP/UDP packets for network performance
monitoring.

Now, my P4 base application layer firewall solutions become activated, only
if packets have something on top of the TCP/UDP header. I guess standard
network performance monitoring tools will not be able to handle this issue.

Let me know if someone has some experience with some tools where I can
monitor the network performance via some higher layer probe packets like
HTTP, TLS, and DNS. These are the protocols I am currently working with.
Anyone have some experience with the firefox network monitoring tool?

Regards
Sahil Gupta

Hi all, I will just try to rephrase the issue in my experimental setup in a better way. I need some help in measuring RTT, throughput, and memory usage for my experiments. For memory usage, I have developed a shell script that uses ps and pmap Linux tools and profiles RSS(RES) RAM per second for IDS and P4 BMv2. For throughput and RTT, measurements I looked at iperf, hping, ping, etc. tools. The problem is they all send TCP/UDP packets for network performance monitoring. Now, my P4 base application layer firewall solutions become activated, only if packets have something on top of the TCP/UDP header. I guess standard network performance monitoring tools will not be able to handle this issue. Let me know if someone has some experience with some tools where I can monitor the network performance via some higher layer probe packets like HTTP, TLS, and DNS. These are the protocols I am currently working with. Anyone have some experience with the firefox network monitoring tool? Regards Sahil Gupta