mslxd 发表于 2017-7-6 17:41:28


Yankee 发表于 2017-7-10 01:29

天灭centos,debian保平安

modprobe也可以传参
我不管,我要centos 不过。。。懒得编绎测试啊。。。。求打发,求打包

ccczer 发表于 2017-7-6 17:42:35


okhost 发表于 2017-7-10 18:53

我不管,我要centos 不过。。。懒得编绎测试啊。。。。求打发,求打包

其实我比你更懒
018.gif

Yankee 发表于 2017-7-6 17:48:36


okhost 发表于 2017-7-10 18:53

我不管,我要centos 不过。。。懒得编绎测试啊。。。。求打发,求打包
okhost好久不见,啥时候再买一波小鸡鸡造福我们
lol.gif

ccczerYankee 发表于 2017-7-6 17:55:22

本帖最后由 Yankee 于 2017-7-11 23:58 编辑

新增overload模式。

此模式适用于丢包较严重的情况,同时将造成有效数据比的下降与额外的流量开销。

buff已汇入基本代码,无需手动开启

okhost 发表于 2017-7-6 21:33:41

[*]sysctl net.ipv4.tcp_congestion_control=$MOD
[*]sysctl: setting key "net.ipv4.tcp_congestion_control": No such file or directory复制代码

好奇怪啊,为什么加载不了……insmod显示成功了

Yankee 发表于 2017-7-6 21:53:06


prigogin 发表于 2017-7-10 22:51

好奇怪啊,为什么加载不了……insmod显示成功了
试下这个命令:

[*]sudo echo "$MOD" > /proc/sys/net/ipv4/tcp_congestion_control复制代码

另外openvz不能直接用sysctl

KKhost 发表于 2017-7-7 02:04:20

本帖最后由 DvilAwn 于 2017-7-24 14:56 编辑
[*]root@localhost:~# export MOD=scalable_ea
[*]root@localhost:~# echo "obj-m:=tcp_$MOD.o" > Makefile
[*]root@localhost:~# make -C /lib/modules/$(uname -r)/build M=`pwd` modules CC=/usr/bin/gcc-4.9 &&
[*]> insmod tcp_$MOD.ko max_tolerance=true min_target=22 &&
[*]> sysctl net.ipv4.tcp_congestion_control=$MOD
[*]make: Entering directory '/usr/src/linux-headers-4.12.3-041203-generic'
[*]CC /root/tcp_scalable_ea.o
[*]Building modules, stage 2.
[*]MODPOST 1 modules
[*]CC      /root/tcp_scalable_ea.mod.o
[*]LD /root/tcp_scalable_ea.ko
[*]make: Leaving directory '/usr/src/linux-headers-4.12.3-041203-generic'
[*]insmod: ERROR: could not insert module tcp_scalable_ea.ko: Invalid parameters
[*]复制代码
不知道发生了什么...

Yankee 发表于 2017-7-7 16:18:01

[*]root@n7then-VPS:~# make -C /lib/modules/$(uname -r)/build M=`pwd` modules CC=/usr/bin/gcc-4.9
[*]make: *** /lib/modules/4.12.3-041203-generic/build: No such file or directory.Stop.
[*]复制代码
... 狗血..

prigogin 发表于 2017-7-5 17:46:00


DvilAwn 发表于 2017-7-24 14:54

... 狗血..

请先行安装linux-headers,再执行编译步骤。 本帖最后由 DvilAwn 于 2017-7-24 16:20 编辑

Yankee 发表于 2017-7-24 16:09

请先行安装linux-headers,再执行编译步骤。

安装了 linux-headers-all 还需要其他的吗?


linux-headers-4.12.3-041203_4.12.3-041203.201707210343_all.deb
linux-headers-4.12.3-041203-generic_4.12.3-041203.201707210343_amd64.deb
linux-headers-4.12.3-041203-lowlatency_4.12.3-041203.201707210343_amd64.deb


有这个三个,我装了第一个.
debian8.0

Yankee 发表于 2017-7-7 16:28:21

多谢..已经oK = =~ , thanks 给大佬添麻烦了.
页: 1 2 3 4 5 6 7 8 [9] 10
查看完整版本: Scalable