V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  JackyBao  ›  全部回复第 6 页 / 共 33 页
回复总数  647
1 ... 2  3  4  5  6  7  8  9  10  11 ... 33  
2017-04-13 00:09:23 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@ninggu2008
已解封。
2017-04-12 15:06:06 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@only0jac
可以 tg 我 @jackybao_sh
建议你
pip install speedtest-cli
speedtest-cli --server 3633
看看 VPS 到魔都电信的速度先。
2017-04-12 12:52:47 +08:00
回复了 bridgeboy 创建的主题 问与答 关于上海电信政企宽带限制终端问题
@mhycy
看 ttl
2017-04-12 12:39:22 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@amazing4amazing
你们用的那些 uml 是不是我发到 v2 的,或者 91yun 的一键安装包?那个有做了优化。

之前那些 lkl 都没有做优化,所以网速肯定慢。你跟着我的教程再完整的走一边吧。
2017-04-12 00:13:15 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@only0jac
没反应就对了,连 443 端口试试吧
2017-04-11 23:13:07 +08:00
回复了 TangMonk 创建的主题 问与答 Thinkpad 小红点 和 Mac 触摸板 哪个好用?
发到 v2 ,肯定是都回答你 mac 好。
2017-04-11 21:59:45 +08:00
回复了 realpg 创建的主题 推广 大坑 AlphaRacks 又来优惠了, 2GRAM3T 流量 DDOS 防护 18 刀一年
@zrj766
去年是流量翻倍到 4T ,网口升到 1000M 。
这次是流量升级到 6T ,网口还是 100M 。
2017-04-11 21:42:39 +08:00
回复了 realpg 创建的主题 推广 大坑 AlphaRacks 又来优惠了, 2GRAM3T 流量 DDOS 防护 18 刀一年
补个连接, 8 刀的限量发售,每小时都会补货。
https://www.alpharacks.com/Easter2017
2017-04-11 21:41:15 +08:00
回复了 realpg 创建的主题 推广 大坑 AlphaRacks 又来优惠了, 2GRAM3T 流量 DDOS 防护 18 刀一年
@realpg
这个是我最早发到羊毛群里的吧。。。

复活节大促,低至 8 刀 /年, 640M 内存, 6T 流量。<==这个才赞!
2017-04-11 18:50:56 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@ninggu2008
sentris 那堆系统里面内存控制最好的是 ubuntu 14.04 64 minimal ,我所有的实验也都是基于 ubuntu 做的。
我之前用 uml 被 sentris 封过一台小鸡。
2017-04-11 16:36:34 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@xiubin
server 后面不要填服务器 ip ,填 0.0.0.0 。
应该就可以了
2017-04-11 15:52:15 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@linhua
这个 forward ,可能我的几台 vps 默认都开了。
2017-04-11 15:50:53 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@aru
@xiubin
@SkyTodInfi
谁教你们 telnet 的???
这个是 lkl 不是 uml 。。。
2017-04-11 15:43:57 +08:00
回复了 madeye 创建的主题 酷工作 [上海] NVIDIA Compute Arch 组招聘
手动 @breakwa11
2017-04-11 11:56:23 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@pisser #107
纯技术讨论,你可以用来加速 80 和 443 端口,加快网站的访问速度。
2017-04-11 11:43:34 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@xdeng #103
原来的教程基本上除了 haproxy 用 root 直接运行,可能存在一些安全隐患,其他并没有什么问题。
2017-04-11 11:35:10 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@BOYPT #97
LKL_HIJACK_NET_QDISC="root|fq"
为获得最佳效果, BBR 需要 Fair Queue 的支持,这个不能省。

LKL_HIJACK_NET_GATEWAY=10.0.0.1
这个类似之前的 ” iptables -t nat -A POSTROUTING -o venet0 -j MASQUERADE “, haproxy 的应用下确实可以省略。
2017-04-11 11:30:18 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@xiubin #96
恭喜你,成功了。
连一下 443 端口,看看速度又没有明显提升。
2017-04-11 11:28:56 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@amazing4amazing #92
@debye #93

lkl 下 file io 也完全不慢。
第一组结果是直接运行,第二组是加载 lkl 后运行。

root@serv:~# sysbench --test=fileio --file-total-size=1G --file-test-mode=rnd rw --init-rng=on --max-time=30 --max-requests=0 run
sysbench 0.4.12: multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1
Initializing random number generator from timer.


Extra file open flags: 0
128 files, 8Mb each
1Gb total file size
Block size 16Kb
Number of random requests for random IO: 0
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random r/w test
Threads started!
Time limit exceeded, exiting...
Done.

Operations performed: 50040 Read, 33360 Write, 106650 Other = 190050 Total
Read 781.88Mb Written 521.25Mb Total transferred 1.2726Gb (43.417Mb/sec)
2778.66 Requests/sec executed

Test execution summary:
total time: 30.0145s
total number of events: 83400
total time taken by event execution: 1.2453
per-request statistics:
min: 0.00ms
avg: 0.01ms
max: 55.90ms
approx. 95 percentile: 0.01ms

Threads fairness:
events (avg/stddev): 83400.0000/0.00
execution time (avg/stddev): 1.2453/0.00

root@serv:~# LD_PRELOAD=/root/haproxy/liblkl-hijack.so sysbench --test=fileio --file-total-size=1G --file-test-mode=rndrw --init-rng=on --max-time=30 --max-r equests=0 run
sysbench 0.4.12: multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1
Initializing random number generator from timer.


Extra file open flags: 0
128 files, 8Mb each
1Gb total file size
Block size 16Kb
Number of random requests for random IO: 0
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random r/w test
Threads started!
Time limit exceeded, exiting...
Done.

Operations performed: 52380 Read, 34920 Write, 111635 Other = 198935 Total
Read 818.44Mb Written 545.62Mb Total transferred 1.3321Gb (45.435Mb/sec)
2907.83 Requests/sec executed

Test execution summary:
total time: 30.0224s
total number of events: 87300
total time taken by event execution: 1.7224
per-request statistics:
min: 0.00ms
avg: 0.02ms
max: 2.28ms
approx. 95 percentile: 0.01ms

Threads fairness:
events (avg/stddev): 87300.0000/0.00
execution time (avg/stddev): 1.7224/0.00
2017-04-11 11:18:06 +08:00
回复了 JackyBao 创建的主题 VPS [分享] OpenVZ 开启 BBR 之最简方法 - Linux Kernel Library
@amazing4amazing #92
@debye #93

随便跑了个 CPU 测试, lkl 下 cpu 速度真不慢。
第一组结果是直接运行,第二组是加载 lkl 后运行。

root@serv:~# sysbench --test=cpu --cpu-max-prime=10000 --num-threads=4 run
sysbench 0.4.12: multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 4

Doing CPU performance benchmark

Threads started!
Done.

Maximum prime number checked in CPU test: 10000


Test execution summary:
total time: 9.3525s
total number of events: 10000
total time taken by event execution: 37.3938
per-request statistics:
min: 0.91ms
avg: 3.74ms
max: 32.93ms
approx. 95 percentile: 14.99ms

Threads fairness:
events (avg/stddev): 2500.0000/6.60
execution time (avg/stddev): 9.3485/0.00

root@serv:~# LD_PRELOAD=/root/haproxy/liblkl-hijack.so sysbench --test=cpu -- cpu-max-prime=10000 --num-threads=4 run
sysbench 0.4.12: multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 4

Doing CPU performance benchmark

Threads started!
Done.

Maximum prime number checked in CPU test: 10000


Test execution summary:
total time: 9.2872s
total number of events: 10000
total time taken by event execution: 37.1240
per-request statistics:
min: 0.91ms
avg: 3.71ms
max: 40.83ms
approx. 95 percentile: 16.06ms

Threads fairness:
events (avg/stddev): 2500.0000/3.61
execution time (avg/stddev): 9.2810/0.01
1 ... 2  3  4  5  6  7  8  9  10  11 ... 33  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2459 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms · UTC 09:03 · PVG 17:03 · LAX 02:03 · JFK 05:03
Developed with CodeLauncher
♥ Do have faith in what you're doing.