# test-linux **Repository Path**: veyronc/test-linux ## Basic Information - **Project Name**: test-linux - **Description**: Test and modify Linux kernel 5.18.0 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-02-09 - **Last Updated**: 2023-03-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # test-linux Test on NUS server VM /home/cpr/linux, using root user. After modify CUBIC code: net/ipv4/tcp_cubic.c ``` cd /home/cpr/linux sudo -s make -j16 modules SUBDIRS=./net/ipv4 sysctl -w net.ipv4.tcp_congestion_control=reno rmmod ./net/ipv4/tcp_cubic.ko insmod ./net/ipv4/tcp_cubic.ko sysctl -w net.ipv4.tcp_congestion_control=cubic ``` If meet tcp_cubic.ko is used, reinstall and reboot: ``` make modules_install SUBDIRS=./net/ipv4 reboot ``` After reboot, please check the net.ipv4.tcp_congestion_control = cubic ``` sysctl -a | grep grep control ``` If not, ``` sysctl -w net.ipv4.tcp_congestion_control=cubic ```