Set-NetTCPSetting still incomplete code in windows 10?


Recommended Posts

So prior to windows 7, network configuration was done between the registry and the netsh int commands.

In windows 8 microsoft moved some of this to Set-NetTCPSetting but a lot of it was locked down as readonly I assume due to it been feature incomplete.

I thought surely years later in windows 10 this very important code would be operational but seems it is still locked down :(

So adjustments include enabling/disabling nagle algorithm
adjusting congestion window type
enabling custom template (to even use these settings)
adjust initial congestion window (quite important for performance)
adjust delayed ack delay
adjust slow start on recovery behaviour

Some of these were not adjustable at all in windows 7, but the ones that were did work, competing operating systems such as linux allow full adjustment.

According to microsoft docum,entation all these can be adjusted however their documentation seems out of sync with the code.

References here

http://powershell.org/wp/forums/topic/how-to-change-delayedackfrequencys-value/
https://technet.microsoft.com/en-us/library/hh826132(v=wps.630).aspx
http://www.speedguide.net/articles/windows-8-10-2012-server-tcpip-tweaks-5077
 

Now I cannot even change to the custom template see here output
PS C:\WINDOWS\system32> netsh int tcp set supplemental template=Compat
Ok.
PS C:\WINDOWS\system32> netsh int tcp show supplemental
The TCP global default template is compat
PS C:\WINDOWS\system32> netsh int tcp set supplemental template=Internet
Ok.
PS C:\WINDOWS\system32> netsh int tcp show supplemental
The TCP global default template is internet
PS C:\WINDOWS\system32> netsh int tcp set supplemental template=InternetCustom
The parameter is incorrect.

InternetCustom is a valid template and is what should be used when using non defaults, but the code rejects it. Internet and Compat are read only templates with hard coded values.

To view template settings run this command (I wont paste output here as is very large) 'Get-NetTCPConnection' it will show all templates and the values for the templayes, only templates ending in Custom are not read only or at least should be.  However most of the values are read only in the custom templates, see examples here.

This is a value that isnt locked as read only that works.

PS C:\WINDOWS\system32> Set-NetTCPSetting -SettingName InternetCustom -CongestionProvider CTCP
PS C:\WINDOWS\system32>

However lets try enabling DCTCP the setting thats used in the Datacenter template.

PS C:\WINDOWS\system32> Set-NetTCPSetting -SettingName InternetCustom -CongestionProvider DCTCP
Set-NetTCPSetting : Property CongestionProvider is read-only

Woooh, suddenly its read only?

Likewise cannot change it to Default which is used in the Compat template (default = newreno).

PS C:\WINDOWS\system32> Set-NetTCPSetting -SettingName InternetCustom -CongestionProvider Default
Set-NetTCPSetting : Property CongestionProvider is read-only

Cannot disable nagle :(

PS C:\WINDOWS\system32> Set-NetTCPSetting -SettingName InternetCustom -DelayedAckFrequency 1
Set-NetTCPSetting : Property DelayedAckFrequency is read-only

However if we set the current value suddenly its not read only.

PS C:\WINDOWS\system32> Set-NetTCPSetting -SettingName InternetCustom -DelayedAckFrequency 2
PS C:\WINDOWS\system32>

To prove it isnt just accepting current values, I try to modify the read only Internet template.

PS C:\WINDOWS\system32> Set-NetTCPSetting -SettingName Internet -DelayedAckFrequency 2
Set-NetTCPSetting : Only the custom templates InternetCustom and DatacenterCustom can be modified.
At line:1 char:1

So unless I have got something wrong (not according to microsoft documentation) it seems we have another unfinished feature out in the wild :(

Has been raised via enterprise support channels, so will see what microsoft do.

Ok the response is they locked it down on desktop versions of the OS.

They are considering partially unlocking it for the pro version but they said it would be just partial support, they are also considering changing the defaults of the initial congestion window from 4 to 10 packets to suit faster broadband connections but leaving it as 4 on the compat template.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • "you cannot skip ads on Live TV" 1. You can leave the room to get something to eat or leave the room to expel the remains of what you ate. 2. You can use "mute" during ads on TV. Drug commericals on TV are particulary onerous when you consider that many FDA approved drugs advertised on TV have a high "kill rate." "Big Pharma" has a lot more influence with politicians than "Big Tobacco" does.
    • I think most players picked Black Flag if any AC was to be remastered + there's a new gen of buyers.
    • In most cases SE is an upgrade. Here it’s a downgrade. #stupidhardwareprices
    • SE sounds like "Special/Second Edition", better than the original. WTF is Nvidia marketing doing?!
    • Nvidia might soon launch RTX 5090 "SE" with a lot less performance and VRAM by Sayan Sen For quite a while, Nvidia was expected to be working on an RTX 5000 SUPER series as a step up from the vanilla 50 series that is currently headlined by the RTX 5090. There were even rumored specs that leaked, though evidently, none of that has materialized. However, it finally looks like Nvidia may make a move and launch a new card, according to a new report. Surprisingly, perhaps, this is not related to the SUPER series at all, and instead, Team Green could be bringing a new RTX 5090 "SE" model instead. The news comes from Russian outlet GameGPU, which claims that this will be a highly chopped-down variant of the 5090. How much, you ask? According to the report, there may only be 14,080 CUDA cores or a total of 110 SMs (streaming multiprocessors). In comparison, the RTX 5090 has 21,760 CUDA cores or 170 SMs, respectively. Aside from the core configuration, the memory subsystem is also said to go down from a 512-bit width to a 384-bit interface. Thus, the memory capacity will see a reduction down to 24GB on the SE versus 32GB on the full 5090. Here is how the alleged RTX 5090 SE will compare spec-wise to the 5090, 5080, and 5070 Ti: RTX 5090 RTX 5090 SE RTX 5080 RTX 5070 Ti Architecture Blackwell Blackwell Blackwell Blackwell CUDA Cores 21,760 14,080 10,752 8,960 Tensor Cores 5th Gen (3352 TOPS) 5th Gen (NA) 5th Gen (1801 TOPS) 5th Gen (1406 TOPS) RT Cores 4th Gen (318 TFLOPS) 4th Gen (NA) 4th Gen (171 TFLOPS) 4th Gen (133 TFLOPS) Boost Clock 2.41 GHz NA 2.62 GHz 2.45 GHz Base Clock 2.01 GHz NA 2.30 GHz 2.30 GHz Memory 32 GB GDDR7 24 GB GDDR7 16 GB GDDR7 16 GB GDDR7 Memory Interface 512-bit 384-bit 256-bit 256-bit Memory Bandwidth 1792 GB/s NA 960 GB/s 896 GB/s Thus, in terms of performance, the RTX 5090 SE could be right in the middle of the 5090 and the 5080. If the report is indeed true, we will have to see how Nvidia prices this thing, especially in these current times where hardware prices are very high. Source: GameGPU
  • Recent Achievements

    • Week One Done
      hadiaali45 earned a badge
      Week One Done
    • Week One Done
      arone_24 earned a badge
      Week One Done
    • Reacting Well
      flexorcist earned a badge
      Reacting Well
    • First Post
      VitãoTub earned a badge
      First Post
    • Week One Done
      M S COMMUNICATION earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      412
    2. 2
      PsYcHoKiLLa
      142
    3. 3
      +Edouard
      100
    4. 4
      Nick H.
      90
    5. 5
      neufuse
      71
  • Tell a friend

    Love Neowin? Tell a friend!