Find the answer to your Linux question:
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.
  1. #1
    Just 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

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •