Results 1 to 2 of 2
Hello,
I am right now seeing the impact of two kernel variables on the system performance. So I need to change these two variables many times, and wanted to make ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-19-2012 #1Just Joined!
- Join Date
- Jun 2012
- Posts
- 1
how to change kernel variables in run time
Hello,
I am right now seeing the impact of two kernel variables on the system performance. So I need to change these two variables many times, and wanted to make it at run time to save some time. The two variables are #define variables in network interface card driver module. And they are not in /proc or /sys/kernel/debug.
I heard that hid debug could provide some functions to write the variables into debug files (/sys/kernel/debug/...), and then I can change them at run time. But there is little information/example online for how this can work.
Could you please share some light on this howto?
Many thanks!
Lin
- 06-21-2012 #2Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,664
are these kernel variables by any change parameters that can be passed to the module at load time?
e.g.:
modinfo <NIC_MODULE_NAME>|grep parm


Reply With Quote
