[FS#935] Modules should have default parameters as part of packaging

LEDE Bugs lede-bugs at lists.infradead.org
Fri Jul 28 15:58:56 PDT 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - Philip Prindeville (pprindeville) 

Attached to Project - LEDE Project
Summary - Modules should have default parameters as part of packaging
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Supply the following if possible:
 - Device problem occurs on
 - Software versions of LEDE release, packages, etc.
 - Steps to reproduce
   

 I'm using the kmod-e1000e package, and I notice that it installs the file:

/etc/modules.d/e1000e

which contains:

e1000e

none of the module parameters are set.  It turns out that the InterruptRateThrottling parameter can make a significant difference depending on whether your device is a client, server, or router.

In the case of LEDE/OpenWRT, one is obviously a router, and the optimal settings are not the default.

The kernel parameter:

InterruptThrottleRate="1,1,1,1,1,1,1,1"

should be added, as this gives the best results.  Quoting Documentation/networking/e1000e.txt:

For situations where low latency is vital such as cluster or
grid computing, the algorithm can reduce latency even more when
InterruptThrottleRate is set to mode 1. In this mode, which operates
the same as mode 3, the InterruptThrottleRate will be increased stepwise to
70000 for traffic in class "Lowest latency".

The macro AutoProbe (and also AutoLoad) and the underlying shell scripting for probe_module() and add_module() in include/kernel.mk don't support specifying parameters.

This should be fixed.


More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=935



More information about the lede-bugs mailing list