Thursday, 5 April 2018


How To Increase RSS Queues and tweak Receive & Transmit Buffers In Windows 10


(The only Way To Increase RSS Queues in Windows 10)


You can't find this tweak anywhere else in the internet space. If  You do it came from here.


Im going to start right away. Like we know Intel NICs have only 2 Queues. For this to be working you need RRS to be enabled to activate the Queues.

The registry path for this (Advanced tab Settings):


Is this:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\0001
and this:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\0001\Ndi\Params

You can find the correct path for your Network Adapter from Driver Key. Look the screenshot below. This should work on non-Intel network adapters as well.


You can change all network settings from here along with RSS Queues. The following steps should work on every Windows 10 version and Network Driver:

This is the default Intel settings.

We just need to add 2 more queues. Right click on empty background and choose String Value, name it "3" and on Value Data type "3 Queues". Repeat the process for the 4th queue but name it "4" and type "4 Queues". You can even add more if you have 6 or 8 core CPU. I encourage you to test it.I know up to 4 they are active. IDK  for more.

Follow the screenshots bellow.
3 Queues
4 Queues

The server version of the driver supports more than 2 queues,  you just need to "unlock" them. You have to enable Receive Side Scaling and Checksum Offload if you want to use the RSS queuesThe number of RSS allocated Queues depends on the CPU core count. Keep that in mind. Increasing the queues improve the throughput for different kind of workload environments. Since v1803 Microsoft introduced RSSv2 which is faster & more responsive. 
You have to know that it also has some minor delay but in many games it's better enabled, you just have to test it by yourself. If you use Matchmaking for testing you should leave someone else to do it for you because you obviously don't know what you are doing. 

Now here's one more tweak relevant to Gaming/Performance and affecting Hit-Registration in games. 

Tx & RX Buffers

You also can set the minimum and maximum values for Transmit & Receive Buffers (default values as well but you don't really need to change them, RSS Queues as well).


                                                                             This is the registry path:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\0001\Ndi\Params\*TransmitBuffers

and
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\0001\Ndi\Params\*ReceiveBuffers


TransmitBuffers
ReceiveBuffers

For good connections I recommend high values and for slower connections low values but you will
 have to test which is the best value for you..


I found this tweak playing around in Registry Editor because it was bugging me, I had Realtek NIC & it have more queues & wider values range. It will be way easier if Microsoft release something like a Registry tweak guide or just describe the changes more in-dept than they do now and update it with the new Windows versions. The one they have now is very scares. 

Please give this tutorial only to people who want to learn.


Comment bellow.

Additional Info:

If the path is changing the registry settings and the batch comands wont work. Thats why I made the tutorial. Never the less the batch commands looks like this:


RSS Queues: Download -inactive
Tx & Rx Buffers: Download -inactive


Buy Me A Beer Here:

Donate





7 comments:

  1. but if the adapter have only 2 queues doesnt mean he is designed by manufacturer to suport only 2 queues?

    ReplyDelete
    Replies
    1. We dont touch the adpapter. We tweak the driver. It doeas what drivers tells him to do.
      All other adapters use 4 queues. Intel use 2 because the benefit for home users are not scaling & increases the CPU usage. In Windows Server versions their drivers have 4 queues, even more. More quques actually help to process the data packets slightly faster which is what we need.

      Delete
  2. thank you for this info.i have been looking for this for a long time.my old pc had intel nic and it had 2048 tx and rx .but in new pc with realtek nic only 512 and 128.i thought it was driver based and can't be changed.

    ReplyDelete
  3. I tried doing the RSS queue tweak, selected four queues and restarted. Used Get-NetAdapterRss, where it showed no effect. Useless tweak that is already being propagated elsewhere on the internet. Intel specification will show max number of queues supported, no difference between Server or home OS.

    ReplyDelete
    Replies
    1. That command shows the ReceiveQueues not all queues.

      Delete
    2. I could show u how to check that its working but since its "useless" u dont need to use it. Same with netsh int tcp set supplemental Internet congestionprovider=CTCP & netsh interface tcp show global commands. Its not there so it doesnt work, right :D
      I want you to post a link of that tweak since "is already being propagated elsewhere on the internet".I mean for Win10 not old Win. versions.

      Delete
  4. Very nice article, I enjoyed reading your post, very nice share, I want to twit this to my followers. Thanks!. https://pingtestlive.com/fortnite

    ReplyDelete