Skip to content

Latest commit

 

History

History
121 lines (102 loc) · 6.99 KB

Week3-PartB.md

File metadata and controls

121 lines (102 loc) · 6.99 KB

Week 3 - Low Latency DNS Benchmark

  • This testing is optional and requires a device running Windows.
  • The configuration required for the test is recommended for advanced users.

Step 1 - Download DNS Benchmark and Traffic Generator

  1. Download the DNS Benchmark application at https://www.grc.com/files/DNSBench.exe.

  2. Download the .ini file with DNS servers pre-configured:

    Screenshot Download Raw

  3. Place the .exe and .ini in the same folder if not already.

  4. Download and unzip the Traffic Generator tool. Pleae download this file even if you have downloaded the tool previously.

Step 2 - Run the DNS Benchmark Application Without Low Latency

  1. Double-click the DNSBench.exe file to launch the application.

  2. Click the Nameservers tab.

  3. Click the Run Benchmark button.

  4. When the test is finished running, click the "Tablular Data" tab in the app.

  5. Right-click on the results in the app window and choose "Save All Text to File"

  6. Name the file "DNS 1". You will submit the results file when you are done.

    Screenshot of Benchmark save results

Step 3 - Run the DNS Benchmark Application Without Low Latency adding background traffic

  1. Double-click the Traffic Generator tool to launch it (iperf3-gui-windows-x86_64-10102023-v2.exe).
  2. Click the Play button to start the background traffic.
  3. Launch the DNSBench.exe application
  4. Click the Nameservers tab.
  5. Click Run Benchmark.
  6. When the test is finished running, click the "Tablular Data" tab in the app.
  7. Right-click on the results in the app window and choose "Save All Text to File"
  8. Name the file "DNS 2". You will submit the results file when you are done.
  9. Stop or close the Traffic Generator tool.

Step 4 - Install Group Policy Editor for Windows 10/11 Home Edition

If you PC has Windows 10/11 Pro installed, skip to step 5

Please choose only one of the following methods to install and enable Group Policy Editor into Windows Home Edition:

  1. Method 1: Download and run a batch script to automate the installation
    • Download and unzip the batch script here: https://github.com/jlivingood/IETF-L4S-Deployment/blob/main/Windows_Home_Group_Policy_Editor_Script.zip
    • Click the above link and then click the "Download Raw file" button to save the file in the proper format
    • Right-Click on the downloaded script and select "Run as Administrator". You will get errors if you skip this step.
    • A window will popup and show the progress of downloading and installing the software. This will take several minutes.
    • Reboot your PC and continue to Step 3.
  2. Method 2: Manual Installation
    • Click the Window Start Menu and type: cmd
    • In the search popup window, click Run as administrator.
    • In the Command Prompt window that opened, cut and paste the following line followed by Enter. It will take a few minutes to finish running:
    FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~*.mum") DO (DISM /Online /NoRestart /Add-Package:"%F")
    
    • After the above command is done running, cut and paste the following line in followed by Enter:
    FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~*.mum") DO (DISM /Online /NoRestart /Add-Package:"%F")
    
    • After the above command is done running (it will take a few minutes), reboot your PC.

Step 5 - Configure DNS requests for Low Latency Using Group Policy Editor

The following steps will configure Windows to mark DNS requests as low latency traffic.

  1. Click the Windows Start Menu and type: gpedit.msc

    Screenshot of Policy Editor

  2. In the search popup window, click "Run as administrator"

  3. In the Local Group Policy Editor window on the left side, click the arrow to the left of Computer Configuration to expand the menu.

  4. Expand the Windows Settings menu.

  5. Right-click on Policy-based QoS and select "Create new policy..."

    Screenshot of Policy Editor new QoS

  6. On the first screen of the new window, enter the following:

    • Policy name: Low Latency DNS
    • Check the box next to "Specify DSCP Value:" and enter 45 in the number field.
  7. Click Next.

  8. On the second screen, select All applications

  9. Click Next.

  10. On the third screen, choose the following options:

    • Any source IP address
    • Any destination IP address
  11. Click Next.

  12. On the final screen, make the following selections:

    • "Select the protocol this QoS policy Applies to": TCP and UDP
    • "Specify the source port number": From any source port
    • "Specify the destination port number": 53
  13. Click Finish.

  14. Reboot your PC.

Step 6 - Run the DNS Benchmark Application With Low Latency and Background Traffic

  1. Double-click the Traffic Generator tool to launch it (iperf3-gui-windows-x86_64-10102023-v2.exe).
  2. Click the Play button to start the background traffic.
  3. Launch the DNSBench.exe application
  4. Click the Nameservers tab.
  5. Click Run Benchmark.
  6. When the test is finished running, click the "Tablular Data" tab in the app.
  7. Right-click on the results in the app window and choose "Save All Text to File"
  8. Name the file "DNS 3". You will submit the results file when you are done.
  9. Stop or close the Traffic Generator tool.

Step 7 - Submit Your Results

  1. Go to the results submission form: https://app.smartsheet.com/b/form/8266ec3c2c0a47c485334a7dc7461b07
  2. Fill out the form and drag your three test files into the File Upload box.
  3. Click Submit.

Thank you!

Step 8 - Removal of DNS Low Latency Policy (Optional)

Leaving the policy we created in step 4 on your computer will not affect your PC even if you no longer have Low Latency service, but if you wish to remove it, follow these steps:

  1. Click the Windows Start Menu and type: gpedit.msc

  2. In the search popup window, click "Run as administrator"

  3. Click the arrows to the left of Computer Configuration > Windows Settings > Policy-Based QoS to expand the menus

  4. Right-click on the Low Latency DNS policy select Delete policy.

  5. Reboot your PC.

    Screenshot of delete LLD DNS QoS

Report Problems Here:

https://app.smartsheet.com/b/form/c91c06bb97914742bdf54f25e294eb07