I am always careful about setting up my NICs for GigE cameras and use Intel NICs nearly all of the time (in honesty, I rarely see the difference, but why take that risk?).
This is a pretty long process if you are creating multiple systems, so I am asking if anyone knows a way to automate the NIC setup? Jumbo packets, interrupt moderation rate, receive buffers, all of that stuff - is there a way to set it in a script? I guess it is beyond the remit of the CVB developers, but maybe someone can point me in the right way?
it is quite complex to set all parameters automatically.
I will start to explain the basic concept for the physical NIC parameters like packet size, receive buffers …
The information can be typically found under this registry key on a Windows based system:
You will find a number of sub keys from 0000-9999.
Characteristics key in this sub key has a value of
0x84(132) it tells you that you have found a physical network device. In the sample below for an INTEL network card.
Depending on the network card manufacturer the parameters for packet size, receive buffers … might have different names.
For INTEL the entry for Jumbo packets is e.g.
Changing the neccessary values in the registry will do the job.
But be carefull to use only parameters which are allowed for this network card. E.g. you can not set any value for
The parameters are used after a reboot (also without reboot but this requires a lot more things to do).
Very helpful info thanks Manfred. We have to configure a lot of systems and automating this would be helpful for us too.
Interesting - this is what I was hoping for.
Here is more information for you:
The values which can be applied for a specific key can be found also in the registry.
As an example let’s take the
If you look into the the sub key below you can find the value range (in this case an enum) here:
It is exactly the same for the other parameters like receive buffers.
For non INTEL network cards it works similar but the names for the features might be slightly differnt.