|
本帖最后由 CheapLolicon 于 2018-6-20 22:23 编辑
2018年6月18日 01:11:43
破除限速方法到这里 https://www.hs2v.com/forum.php ... 601&pid=5578467
。
等了三天sys验证总算回复了,不愧没白等,居然通过了
然后立即剁手,付款完,2分钟上架,很快,看来库存很够
于是来水一下贴
[ol]----------------------------------------------------------------------CPU model : ARMv7 Processor rev 1 (v7l)Number of cores : 2CPU frequency : MHzTotal size of Disk : 1903.4 GB (45.9 GB Used)Total amount of Mem : 2019 MB (1600 MB Used)Total amount of Swap : 4094 MB (6 MB Used)System uptime : 0 days, 3 hour 2 minLoad average : 0.13, 0.35, 0.46OS : Debian GNU/Linux 8Arch : armv7l (32 Bit)Kernel : 4.9.58-armada375----------------------------------------------------------------------I/O speed(1st run) : 173 MB/sI/O speed(2nd run) : 186 MB/sI/O speed(3rd run) : 184 MB/sAverage I/O speed : 181.0 MB/s----------------------------------------------------------------------Node Name IPv4 address Download SpeedCacheFly 205.234.175.175 27.7MB/s Linode, Tokyo, JP 106.187.96.148 3.55MB/s Linode, Singapore, SG 139.162.23.4 1.89MB/s Linode, London, UK 176.58.107.39 34.7MB/s Linode, Frankfurt, DE 139.162.130.8 27.5MB/s Linode, Fremont, CA 50.116.14.9 1.08MB/s Softlayer, Dallas, TX 173.192.68.18 11.2MB/s Softlayer, Seattle, WA 67.228.112.250 7.96MB/s Softlayer, Frankfurt, DE 159.122.69.4 42.8MB/s Softlayer, Singapore, SG 119.81.28.170 5.33MB/s Softlayer, HongKong, CN 119.81.130.170 5.59MB/s ----------------------------------------------------------------------root@SYS-ARM-2T-01:~# smartctl -A /dev/sda smartctl 6.4 2014-10-07 r4002 [armv7l-linux-4.9.58-armada375] (local build)Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org=== START OF READ SMART DATA SECTION ===SMART Attributes Data Structure revision number: 16Vendor Specific SMART Attributes with Thresholds:ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000b 100 100 016 Pre-fail Always - 0 2 Throughput_Performance 0x0005 136 136 054 Pre-fail Offline - 108 3 Spin_Up_Time 0x0007 162 162 024 Pre-fail Always - 200 (Average 168) 4 Start_Stop_Count 0x0012 100 100 000 Old_age Always - 122 5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0 7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0 8 Seek_Time_Performance 0x0005 128 128 020 Pre-fail Offline - 18 9 Power_On_Hours 0x0012 100 100 000 Old_age Always - 6458 10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 122192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 925193 Load_Cycle_Count 0x0012 100 100 000 Old_age Always - 925194 Temperature_Celsius 0x0002 171 171 000 Old_age Always - 35 (Min/Max 19/47)196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always - 0[/ol]复制代码
先来下没什么卵用的测试
硬盘6k小时,可以的
之后就来下正题,关于单线程限速
先来总结一下,直接Nginx 确实单线程限速5Mbit/s,需要5/10+线程下载才不会限速
但开个Docker 并安装Nginx,没有限速
[ol]测试链接(下午起床就关)直接Nginxhttp://■■■■■■■■■■/10GB.binDocker Nginxhttp:/■■■■■■■■■■:32771/10GB.bin[/ol]复制代码
[ol]---------------------------------------------------------------------------root@debian-s-1vcpu-1gb-sfo2-02:~# wget http://■■■■■■■■■■/10GB.bin--2018-06-15 04:59:21-- http://■■■■■■■■■■/10GB.binConnecting to ■■■■■■■■■■:80... connected.HTTP request sent, awaiting response... 200 OKLength: 10485760000 (9.8G) [application/octet-stream]Saving to: ‘10GB.bin’10GB.bin 0%[ ] 3.78M 564KB/s eta 5h 13m---------------------------------------------------------------------------root@debian-s-1vcpu-1gb-sfo2-02:~# axel -a -n 10 http://■■■■■■■■■■/10GB.binInitializing download: http://■■■■■■■■■■/10GB.binFile size: 10485760000 bytesOpening output file 10GB.binStarting download[ 6%] [0 1 2 3 4 5 6 7 8 9 ] [ 59.9MB/s] [02:36]^CDownloaded 602.2 megabytes in 10 seconds. (61380.95 KB/s)---------------------------------------------------------------------------root@debian-s-1vcpu-1gb-sfo2-02:~# wget http://■■■■■■■■■■:32771/10GB.bin--2018-06-15 05:01:47-- http://■■■■■■■■■■:32771/10GB.binConnecting to ■■■■■■■■■■:32771... connected.HTTP request sent, awaiting response... 200 OKLength: 10485760000 (9.8G) [application/octet-stream]Saving to: ‘10GB.bin.1’10GB.bin.1 3%[> ] 350.83M 19.2MB/s eta 8m 48s---------------------------------------------------------------------------[/ol]复制代码
个人感觉应该是sys的系统模版有毒,最大可能性还是那个改不了的内核
另外这sys丫的,连IPv6也弄不支持,内核限制了……点点点
不过换个角度来思考,毕竟才5欧的玩具,能有250Mpbs保证带宽?还是有点想得太美了
但不管怎么说这单线程限速的做法还是太恶心了,多线程虽能破,但这U……16线程下去都20%,点点点 |
|