How to correctly set Receive Side Scaling (RSS)

Everything about latency. This section is mainly user/consumer discussion. (Peer-reviewed scientific discussion should go in Laboratory section). Tips, mouse lag, display lag, game engine lag, network lag, whole input lag chain, VSYNC OFF vs VSYNC ON, and more! Input Lag Articles on Blur Busters.
MatrixQW
Posts: 309
Joined: 07 Jan 2019, 10:01

Re: How to correctly set Receive Side Scaling (RSS)

Post by MatrixQW » 20 Aug 2024, 08:11

UFO_Pilot wrote:
18 Aug 2024, 21:03
Sorry I misstyped that, enabled would be
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
DisableTaskOffload 0

I'm wondering about this because on this current setup I wanted to use this RSS optimization but can't use TaskOffloads enabled, it's fine for browsing but for games and mostly in CPU bound games oddly it messes with the gameplay pacing games feel slowed down like something is blottlenecking.

This motherboard comes with Intel I219-V network card, on the first years I remember after installing the drivers on advanced tab of network settings there would be an option for enabling RSS but with the latest drivers that option is no longer there.

If I force it and do it from registry a entry shows up in the network card advanced tab as "no description"
"The Intel® Ethernet Connection 82579, I217, I218, and I219 Network Adapters do not support Message Signaled Interrupts (MSI-X), multiple receive queues are thus handled by a single CPU core.
This prevents the use of these network connections in SMB-Multichannel configurations."

Intel dropped RSS support in their drivers, you need to add the registry keys manually.
I think if you set RSS queues = 1 you should be able to use it.

I225-V: Check Anonymous's 09-27-2023 comment. If after adding the keys it still doesn't work, check if you have that key "ReceiveScalingMode" and maybe remove it or set it to 0. I don't have that key.

Here are my keys in screenshots and a zip with a reg file you can edit, in case you missed something:
Attachments
ethernet_matrix_regfile_keys2.png
ethernet_matrix_regfile_keys2.png (137.65 KiB) Viewed 9811 times
ethernet_matrix_regfile_keys1.png
ethernet_matrix_regfile_keys1.png (149.54 KiB) Viewed 9811 times
ethernet_reg_keys.zip
(812 Bytes) Downloaded 299 times

JimCarry
Posts: 586
Joined: 24 May 2024, 20:01
Location: csgo

Re: How to correctly set Receive Side Scaling (RSS)

Post by JimCarry » 20 Aug 2024, 09:30

Slender wrote:
19 Aug 2024, 22:08
JimCarry wrote:
19 Aug 2024, 20:56

dont care about limit, it not do better.
you say it default 1, that means driver can use only 1 core for interrupt.
with default settings, what cores uses ndis.sys for dpc and isr traffic?
i never wrote that wtf?

User avatar
Slender
Posts: 1658
Joined: 25 Jan 2020, 17:55

Re: How to correctly set Receive Side Scaling (RSS)

Post by Slender » 20 Aug 2024, 18:12

JimCarry wrote:
20 Aug 2024, 09:30
Slender wrote:
19 Aug 2024, 22:08
JimCarry wrote:
19 Aug 2024, 20:56

dont care about limit, it not do better.
you say it default 1, that means driver can use only 1 core for interrupt.
with default settings, what cores uses ndis.sys for dpc and isr traffic?
i never wrote that wtf?
For all this time I have been on this forum, I have never learned to respond to messages correctly.

User avatar
Slender
Posts: 1658
Joined: 25 Jan 2020, 17:55

Re: How to correctly set Receive Side Scaling (RSS)

Post by Slender » 20 Aug 2024, 18:14

MatrixQW wrote:
20 Aug 2024, 08:11
UFO_Pilot wrote:
18 Aug 2024, 21:03
Sorry I misstyped that, enabled would be
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
DisableTaskOffload 0

I'm wondering about this because on this current setup I wanted to use this RSS optimization but can't use TaskOffloads enabled, it's fine for browsing but for games and mostly in CPU bound games oddly it messes with the gameplay pacing games feel slowed down like something is blottlenecking.

This motherboard comes with Intel I219-V network card, on the first years I remember after installing the drivers on advanced tab of network settings there would be an option for enabling RSS but with the latest drivers that option is no longer there.

If I force it and do it from registry a entry shows up in the network card advanced tab as "no description"
"The Intel® Ethernet Connection 82579, I217, I218, and I219 Network Adapters do not support Message Signaled Interrupts (MSI-X), multiple receive queues are thus handled by a single CPU core.
This prevents the use of these network connections in SMB-Multichannel configurations."

Intel dropped RSS support in their drivers, you need to add the registry keys manually.
I think if you set RSS queues = 1 you should be able to use it.

I225-V: Check Anonymous's 09-27-2023 comment. If after adding the keys it still doesn't work, check if you have that key "ReceiveScalingMode" and maybe remove it or set it to 0. I don't have that key.

Here are my keys in screenshots and a zip with a reg file you can edit, in case you missed something:
new intel drivers stop supporting rrs and ndis.sys driver, now it wdf01000.sys (i think that not support rss)

JimCarry
Posts: 586
Joined: 24 May 2024, 20:01
Location: csgo

Re: How to correctly set Receive Side Scaling (RSS)

Post by JimCarry » 20 Aug 2024, 18:27

Slender wrote:
20 Aug 2024, 18:12
JimCarry wrote:
20 Aug 2024, 09:30
Slender wrote:
19 Aug 2024, 22:08
JimCarry wrote:
19 Aug 2024, 20:56

dont care about limit, it not do better.
you say it default 1, that means driver can use only 1 core for interrupt.
with default settings, what cores uses ndis.sys for dpc and isr traffic?
i never wrote that wtf?
For all this time I have been on this forum, I have never learned to respond to messages correctly.
:?:

UFO_Pilot
Posts: 13
Joined: 17 Aug 2024, 12:23

Re: How to correctly set Receive Side Scaling (RSS)

Post by UFO_Pilot » 21 Aug 2024, 02:08

@MatrixQW and @Anonymous thank's for the help, appreciated.

I don't think I can make RSS work tried for hours added keys deleted some, tried different drivers 1 2 or 4 Queues and the InderectionTables never show up on screen.

JimCarry
Posts: 586
Joined: 24 May 2024, 20:01
Location: csgo

Re: How to correctly set Receive Side Scaling (RSS)

Post by JimCarry » 21 Aug 2024, 11:13

UFO_Pilot wrote:
21 Aug 2024, 02:08
@MatrixQW and @Anonymous thank's for the help, appreciated.

I don't think I can make RSS work tried for hours added keys deleted some, tried different drivers 1 2 or 4 Queues and the InderectionTables never show up on screen.
i have realtek nic and i dont use it,i think i should also turn off msi mode for nic.

UFO_Pilot
Posts: 13
Joined: 17 Aug 2024, 12:23

Re: How to correctly set Receive Side Scaling (RSS)

Post by UFO_Pilot » 21 Aug 2024, 13:44

JimCarry wrote:
21 Aug 2024, 11:13
UFO_Pilot wrote:
21 Aug 2024, 02:08
@MatrixQW and @Anonymous thank's for the help, appreciated.

I don't think I can make RSS work tried for hours added keys deleted some, tried different drivers 1 2 or 4 Queues and the InderectionTables never show up on screen.
i have realtek nic and i dont use it,i think i should also turn off msi mode for nic.
If you don't use it you should just disable it in Bios, assuming its onboard and you are using something not onboard.

My Nic shows as msi on MSI_util but in reality it is not.

We can run this to make sure: Get-NetAdapterHardwareInfo | fl
Last edited by UFO_Pilot on 21 Aug 2024, 14:09, edited 1 time in total.

JimCarry
Posts: 586
Joined: 24 May 2024, 20:01
Location: csgo

Re: How to correctly set Receive Side Scaling (RSS)

Post by JimCarry » 21 Aug 2024, 17:20

UFO_Pilot wrote:
21 Aug 2024, 13:44
JimCarry wrote:
21 Aug 2024, 11:13
UFO_Pilot wrote:
21 Aug 2024, 02:08
@MatrixQW and @Anonymous thank's for the help, appreciated.

I don't think I can make RSS work tried for hours added keys deleted some, tried different drivers 1 2 or 4 Queues and the InderectionTables never show up on screen.
i have realtek nic and i dont use it,i think i should also turn off msi mode for nic.
If you don't use it you should just disable it in Bios, assuming its onboard and you are using something not onboard.

My Nic shows as msi on MSI_util but in reality it is not.

We can run this to make sure: Get-NetAdapterHardwareInfo | fl
what should i disable in bios i dont get it ?i have on board realtek nic.

UFO_Pilot
Posts: 13
Joined: 17 Aug 2024, 12:23

Re: How to correctly set Receive Side Scaling (RSS)

Post by UFO_Pilot » 21 Aug 2024, 19:32

JimCarry wrote:
21 Aug 2024, 17:20
UFO_Pilot wrote:
21 Aug 2024, 13:44
JimCarry wrote:
21 Aug 2024, 11:13
UFO_Pilot wrote:
21 Aug 2024, 02:08
@MatrixQW and @Anonymous thank's for the help, appreciated.

I don't think I can make RSS work tried for hours added keys deleted some, tried different drivers 1 2 or 4 Queues and the InderectionTables never show up on screen.
i have realtek nic and i dont use it,i think i should also turn off msi mode for nic.
If you don't use it you should just disable it in Bios, assuming its onboard and you are using something not onboard.

My Nic shows as msi on MSI_util but in reality it is not.

We can run this to make sure: Get-NetAdapterHardwareInfo | fl
what should i disable in bios i dont get it ?i have on board realtek nic.
I'm sorry for my confusion, what don't you use RSS or the realtek nic?

Post Reply