Skip to content
TheChatArchiveThe Chat Archive
gpt-4-1106-preview· openaiHugging Face Suzhen/CodeChat

How to check bandwidth between 2 windows 10 hosts in a local network?

  1. User

    How to check bandwidth between 2 windows 10 hosts in a local network?

  2. Assistant

    To check the bandwidth between two Windows 10 hosts on a local network, you can use a variety of methods. Below I outline a method using the built-in Windows tool iperf3 and a method using PowerShell.

    Method 1: Using iperf3

    iperf3 is a popular network testing tool that can measure bandwidth between two hosts. It's not included in Windows by default, but you can download it from the official source or a trusted repository. Here's how to use it:

    1. Download iperf3: Go to the official iperf3 webpage or a trusted site to download the binaries for Windows (https://iperf.fr/iperf-download.php#).

    2. Prepare the hosts: Copy the iperf3 binaries to both the "server" and the "client" hosts.

    3. Run iperf3 in server mode on one of the hosts: Open Command Prompt and navigate to the directory where you put iperf3. Then start iperf3 in server mode:

      iperf3 -s
      
    4. Run iperf3 in client mode on the other host: Open Command Prompt on the client host, navigate to the iperf3 directory, and run the following command, replacing <server_ip> with the local IP address of the host running iperf3 in server mode:

      iperf3 -c <server_ip>
      

      Optionally, you can specify the duration of the test with the -t flag and the parallel streams with the -P flag to simulate multiple connections and check how the network handles them:

      iperf3 -c <server_ip> -t 30 -P 4
      

      Where -t 30 specifies a 30-second test and -P 4 specifies 4 parallel streams.

    5. Review the results: After the test runs, iperf3 will display the bandwidth measurements on both the server and client sides.

    Method 2: Using PowerShell (requires a bit more manual work)

    1. Share a large file from the first Windows 10 host:

      • You can create a shared folder and place a large file inside it or use an existing large file if you already have one.
    2. Map the network drive or access the shared folder on the second Windows 10 host.

    3. Copy the large file from first host to the second host using File Explorer or a PowerShell command:

      Copy-Item "\\FirstHostIP\SharedFolder\LargeFile.ext" "C:\TargetFolder\"
      
    4. Monitor the transfer rate:

      • You can monitor the network transfer in real-time using Task Manager → Performance → Ethernet/Wi-Fi (depending on your network connection).
      • Keep note of the average speed that is displayed in the Task Manager while the file is being transferred.

    This method is less accurate and depends on various factors such as disk read/write speed and network traffic, but can give you a rough estimate of the bandwidth. To get precise measurements, it would be better to use a tool like iperf3 as described in the first method.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.