3/26/2023 0 Comments Netmap syntax check![]() ![]() ![]() If you need to increase this do it in increments or make sure you have plenty of RAM (the value is multiplied by other settings). Changing this value effectively increases the amount of RAM reserved for netmap. If your MTU is larger, then _size needs to be at least as large as your MTU. If your mtu is set to the default of 1500, then the default buf_size of 2048 is likely sufficient. The value of this tunable will depend on your mtu. disable all flow control by adding dev.igb.0.fc with a value:0 - netmap is most performant with flow control disabled (if your interface is em1 then this would be dev.em.1.fc = 0, etc) You will need to add the following to your config.xml in the node (see the link above for details, and remember to substitute your interface name): ifconfig igb0 -txcsum -rxcsum -tso4 -tso6 -lro -txcsum6 -rxcsum6 -vlanhwtsoĪdd the following system tunables in System / Advanced / System Tunables:ģa. If you have all hardware offloading disabled in the ui (System / Advanced / Networking), but you still any of those options in the output, then you will need to make manual adjustments to your config.xml. Options which should not appear in the output: TXCSUM RXCSUM TSO4 TSO6 LRO TXCSUM6 RXCSUM6 Partial example output: igb0: flags=28943 metric Verify that all hardware offloading is disabled (also note your mtu) by running ifconfig igb0 Disable all hardware offloading in the ui (System / Advanced / Networking)Ģ. You can get output requested below from ssh, console access, or in the pfSense ui under Diagnostics->Command PromptĪll example commands will show "igb0" - substitute your netmap interface eg "igb4" or "em1" where necessary.ġ. If your interface is not named eg "em0" or "igb0" or similar, these instructions may be of limited use to you. The following instructions apply to cards using the igb or em drivers. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |