Skip to content

Client is not responding with num_streams > 22 #74

Description

@goopilot

Tested with iperf 3.9, 3.6, 3.0.11 client is not responding with num_streams > 22

Working scenario:

import iperf3
import os

remote_site = os.getenv('REMOTE_SITE_IP')

client = iperf3.Client()
client.server_hostname = remote_site
client.zerocopy = True
client.verbose = False
client.reverse = False
client.port = 5201
client.num_streams = 22
client.protocol = 'tcp'

result = client.run()

sent_mbps = int(result.sent_Mbps)
received_mbps = int(result.received_Mbps)

print('sent speed:%',sent_mbps)
print('received speed:%',received_mbps)

Non-working scenario:

import iperf3
import os

remote_site = os.getenv('REMOTE_SITE_IP')

client = iperf3.Client()
client.server_hostname = remote_site
client.zerocopy = True
client.verbose = False
client.reverse = False
client.port = 5201
client.num_streams = 23
client.protocol = 'tcp'

result = client.run()

sent_mbps = int(result.sent_Mbps)
received_mbps = int(result.received_Mbps)

print('sent speed:%',sent_mbps)
print('received speed:%',received_mbps)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions