Changes between Version 27 and Version 28 of GENIEducation/SampleAssignments/TcpAssignment/ExerciseLayout/KernelModv2


Ignore:
Timestamp:
12/10/13 18:12:31 (6 years ago)
Author:
sedwards@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIEducation/SampleAssignments/TcpAssignment/ExerciseLayout/KernelModv2

    v27 v28  
    3333 * A Makefile for compiling the module and the source for a stub TCP congestion control module are included in [http://www.gpolab.bbn.com/experiment-support/TCPExampleExperiment/Makefile Makefile].
    3434 * The module is named `tcp_exp` (for experimental TCP), and the congestion control algorithm is named `exp`. Comments in the provided source file explain the relationship between the various functions, and more information can be found in [http://lwn.net/Articles/128681/ pluggable congestion avoidance modules].
    35  * The compiled module (which is built with make and called `tcp_exp.ko`) can be inserted into the kernel using `sudo /sbin/insmod`. It can be removed using the command `/sbin/rmmod tcp_exp` and reloaded with `/sbin/insmod` if changes are required. (If `rmmod` doesn't work initially, make sure `cat /proc/sys/net/ipv4/tcp_congestion_control` does not say `exp` and then logout and then log back into the node and try again.) 
     35 * The compiled module (which is built with make and called `tcp_exp.ko`) can be inserted into the kernel using `sudo /sbin/insmod`. It can be removed using the command `sudo /sbin/rmmod tcp_exp` and reloaded with `/sbin/insmod` if changes are required. (If `rmmod` doesn't work initially, make sure `cat /proc/sys/net/ipv4/tcp_congestion_control` does not say `exp` and then logout and then log back into the node and try again.) 
    3636 * Once the module is complete and loaded into the kernel, the algorithm implemented by the module can be selected in the same manner that reno and cubic were selected in previous exercises, by placing the keyword exp in `/proc/sys/net/ipv4/tcp_congestion_control`.
    3737 * More details to handle version issues are provided at [http://tldp.org/LDP/lkmpg/2.6/html/x380.html Building modules for a precompiled kernel].