服务器driver类型 对网站 I/O的影响

在hostloc看到了这一段讨论,感觉很不错,记录下来

I/O响应快慢和硬盘读写速度关系不大,就类似于延迟和带宽的差距。
I/O响应快慢取决于硬盘类型,同等RAID情况下,SSD普遍好于HDD。
主要HDD机械硬盘磁头定位一类物理耗时要长,I/O响应快会加快网站速度。
至于硬盘读写速度,主要影响的是网站负载能力。
比如1个用户以5MB/s的速度下载一张图片,那他占用的硬盘独写就是5MB/s。
如果10个用户以相同速度下载一张图片,那他们就会占用50MB/s。
如果读写峰值是100MB/s,100个人下载,那带宽再大他们每人下载速度也只有1MB/s。
主机商限制I/O主要是为了公平分配硬盘占用。
比如SSD最大读写速度是2000MB/s,限制到100MB/s就能保证至少20个用户同时使用。
一般个人网站并发读写根本不会超过50MB/s。

正解,需要指出的是,SSD的IO可以叠加计算,而HDD的话,峰值100MB/S,10个人同时干,是达不到10M/S的,有5M/S就不错了,100个人干的话就是几十KB的级别了。HDD对多线程支持非常差劲,HDD在RAID情况下略好,不过仍旧完败于SSD。

windows10 lstc 1809 重置本地账户密码

年龄大了,记性越来越差。win10的本地密码忘记了,在无忧启动论坛找了一个PE,然后用里面的密码工具重置了密码。看了一下,清除密码的工具叫Active@ Password Changer Ultimate

下载链接:http://bbs.wuyou.net/forum.php?mod=viewthread&tid=414659&extra=page%3D1

ESXi 独服切小鸡成功了

写上一篇博客时,我的独服用ESXi切小鸡网络总是连不上,后来改用PVE就很顺利连上了,后来思考了一下,感觉ESXi可能也不用设置什么网络的,直接桥接母鸡的网卡就OK了,今天测试了一下果然成功了。安装完ESXi以后不用设置任何网络设置,直接创建虚拟机,使用默认的VM network即可,如果安装的是windows,虚拟机创建完以后在控制面板里面设置一下静态ip就可以联网了,如果是ubuntu等Linux,需要在安装系统的时候设置静态ip。

顺便贴一下dedicated.com切出来的小鸡的benchmark

----------------------------------------------------------------------
CPU model : Intel(R) Xeon(R) CPU E3-1271 v3 @ 3.60GHz
Number of cores : 2
CPU frequency : 3599.997 MHz
Total size of Disk : 49.1 GB (7.0 GB Used)
Total amount of Mem : 3945 MB (1815 MB Used)
Total amount of Swap : 3944 MB (0 MB Used)
System uptime : 0 days, 0 hour 10 min
Load average : 1.63, 0.89, 0.38
OS : Ubuntu 18.04.4 LTS
Arch : x86_64 (64 Bit)
Kernel : 4.15.0-91-generic
----------------------------------------------------------------------
I/O speed(1st run) : 233 MB/s
I/O speed(2nd run) : 249 MB/s
I/O speed(3rd run) : 245 MB/s
Average I/O speed : 242.3 MB/s
----------------------------------------------------------------------
Node Name IPv4 address Download Speed
CacheFly 205.234.175.175 93.0MB/s
Linode, Tokyo2, JP 139.162.65.37 12.7MB/s
Linode, Singapore, SG 139.162.23.4 5.70MB/s
Linode, London, UK 176.58.107.39 9.61MB/s
Linode, Frankfurt, DE 139.162.130.8 8.26MB/s
Linode, Fremont, CA 50.116.14.9 78.0MB/s
Softlayer, Dallas, TX 173.192.68.18 67.4MB/s
Softlayer, Seattle, WA 67.228.112.250 77.4MB/s
Softlayer, Frankfurt, DE 159.122.69.4 5.27MB/s
Softlayer, Singapore, SG 119.81.28.170 13.0MB/s
Softlayer, HongKong, CN 119.81.130.170 15.4MB/s
----------------------------------------------------------------------

这款独服用的SSD是三星850PRO,可以看的出来,开出来的小鸡的SSD I/O比母鸡差了一点

ESXi 从入门到放弃

最近几天折腾ESXi一直失败搞得我很沮丧,ESXi的网络配置对于我而言太复杂了,而且ESXi有不少坑,比如ssh被攻击次数太多的话就无法登录了,必须要设置防火墙

今天晚上试用了一下Proxmox VE,一切都变得美好起来,太简单太顺利了,成功的开好了windows小鸡和ubuntu小鸡,而且网络配置没有任何问题,小鸡直接桥接母鸡然后设置一下static ip就OK,太愉快了

说回来我的计算机网络知识差不多都忘记了,趁着这次机会再补习一下

QuadraNet dedicated server(LA) benchmark

root@:~# wget -qO- bench.sh | bash
----------------------------------------------------------------------
CPU model : Intel(R) Xeon(R) CPU E3-1241 v3 @ 3.50GHz
Number of cores : 8
CPU frequency : 1300.456 MHz
Total size of Disk : 914.0 GB (1.9 GB Used)
Total amount of Mem : 15999 MB (123 MB Used)
Total amount of Swap : 2047 MB (0 MB Used)
System uptime : 0 days, 0 hour 3 min
Load average : 0.05, 0.13, 0.06
OS : Ubuntu 18.04.3 LTS
Arch : x86_64 (64 Bit)
Kernel : 4.15.0-91-generic
----------------------------------------------------------------------
I/O speed(1st run) : 432 MB/s
I/O speed(2nd run) : 431 MB/s
I/O speed(3rd run) : 429 MB/s
Average I/O speed : 430.7 MB/s
----------------------------------------------------------------------
Node Name IPv4 address Download Speed
CacheFly 205.234.175.175 88.4MB/s
Linode, Tokyo2, JP 139.162.65.37 6.75MB/s
Linode, Singapore, SG 139.162.23.4 3.67MB/s
Linode, London, UK 176.58.107.39 5.12MB/s
Linode, Frankfurt, DE 139.162.130.8 6.14MB/s
Linode, Fremont, CA 50.116.14.9 52.3MB/s
Softlayer, Dallas, TX 173.192.68.18 41.0MB/s
Softlayer, Seattle, WA 67.228.112.250 47.7MB/s
Softlayer, Frankfurt, DE 159.122.69.4 6.49MB/s
Softlayer, Singapore, SG 119.81.28.170 8.65MB/s
Softlayer, HongKong, CN 119.81.130.170 10.5MB/s
----------------------------------------------------------------------

root@:~# smartctl --all /dev/sda
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-91-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model: CT1000MX500SSD1
Serial Number: 2007E28BE01A
LU WWN Device Id: 5 00a075 1e28be01a
Firmware Version: M3CR032
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-3 T13/2161-D revision 5
SATA Version is: SATA >3.2 (0x1ff), 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sat Mar 28 03:41:20 2020 PDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status: (0x80) Offline data collection activity
was never started.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 30) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x0031) SCT Status supported.
SCT Feature Control supported.
SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 100 100 000 Pre-fail Always - 0
5 Reallocated_Sector_Ct 0x0032 100 100 010 Old_age Always - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 27
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 9
171 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
172 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
173 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
174 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 5
180 Unused_Rsvd_Blk_Cnt_Tot 0x0033 000 000 000 Pre-fail Always - 27
183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0
184 End-to-End_Error 0x0032 100 100 000 Old_age Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
194 Temperature_Celsius 0x0022 076 070 000 Old_age Always - 24 (Min/Max 0/30)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 100 100 000 Old_age Always - 0
202 Unknown_SSD_Attribute 0x0030 100 100 001 Old_age Offline - 0
206 Unknown_SSD_Attribute 0x000e 100 100 000 Old_age Always - 0
210 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
246 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 143958177
247 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 1215882
248 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 301139

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Completed [00% left] (0-65535)
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

这是一款QN 洛杉矶机房的独服,价格是$79/month。处理器和内存都中规中矩,但是SSD似乎给了一块全新的美光MX500,还是非常不错的。

affiliate需要熟练掌握的技术

1. html css javascript, 这三个就不说了
2. php mysql, affiliate大多数用的软件基本上都是 php mysql架构的,因此需要熟练掌握php mysql知识,以及一个LNMP脚本(大佬推荐军哥的LNMP脚本)
3. linux基本的运维知识,学习shell脚本,掌握docker技术,这个是新的趋势,还有计算机网络,熟练操作VPS, cloud,dedicated server
4. python mongodb, 这两个用来采集整理存储数据都非常方便

大概就是以上这些了,想到了再补充,把上面这些学到极致也是很不容易了

hivelocity.net dedicated server benchmark

选的是这一款特价套餐(LAX2 (Los Angeles, CA)):

Quad-Core E3-1230 v5 3.5GHz Kaby Lake Xeon – Outlet Page Server
16 GB DDR4 RAM
480 GB SSD
20TB on 1Gbps
IPMI
10GB Cloud Storage
Instantly Deploy- $80/month, $0/setup (as low as $56/mo)

[root@la ~]# wget -qO- bench.sh | bash
----------------------------------------------------------------------
CPU model : Intel(R) Xeon(R) CPU E3-1230 v5 @ 3.40GHz
Number of cores : 8
CPU frequency : 838.586 MHz
Total size of Disk : 432.8 GB (1.5 GB Used)
Total amount of Mem : 15709 MB (245 MB Used)
Total amount of Swap : 7935 MB (0 MB Used)
System uptime : 0 days, 0 hour 12 min
Load average : 0.65, 0.23, 0.09
OS : CentOS 7.7.1908
Arch : x86_64 (64 Bit)
Kernel : 3.10.0-1062.el7.x86_64
----------------------------------------------------------------------
I/O speed(1st run) : 424 MB/s
I/O speed(2nd run) : 428 MB/s
I/O speed(3rd run) : 418 MB/s
Average I/O speed : 423.3 MB/s
----------------------------------------------------------------------
Node Name IPv4 address Download Speed
CacheFly 205.234.175.175 102MB/s
Linode, Tokyo2, JP 139.162.65.37 4.18MB/s
Linode, Singapore, SG 139.162.23.4 2.87MB/s
Linode, London, UK 176.58.107.39 8.93MB/s
Linode, Frankfurt, DE 139.162.130.8 8.36MB/s
Linode, Fremont, CA 50.116.14.9 106MB/s
Softlayer, Dallas, TX 173.192.68.18 10.7MB/s
Softlayer, Seattle, WA 67.228.112.250 4.65MB/s
Softlayer, Frankfurt, DE 159.122.69.4 2.62MB/s
Softlayer, Singapore, SG 119.81.28.170 2.95MB/s
Softlayer, HongKong, CN 119.81.130.170 4.39MB/s
----------------------------------------------------------------------

[root@la ~]# hdparm -Tt /dev/mapper/vg1-root

/dev/mapper/vg1-root:
Timing cached reads: 32990 MB in 1.98 seconds = 16623.37 MB/sec
Timing buffered disk reads: 1594 MB in 3.00 seconds = 531.25 MB/sec

[root@la ~]# smartctl --all /dev/sda
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-3.10.0-1062.el7.x86_64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: Phison Driven SSDs
Device Model: KINGSTON SEDC400S37480G
Serial Number: 50026B72760536BE
LU WWN Device Id: 5 0026b7 2760536be
Firmware Version: SAFM02.H
User Capacity: 480,103,981,056 bytes [480 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2 (minor revision not indicated)
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Wed Mar 25 10:50:59 2020 EDT
SMART support is: Available – device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 30) seconds.
Offline data collection
capabilities: (0x79) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 2) minutes.
Conveyance self-test routine
recommended polling time: ( 3) minutes.

SMART Attributes Data Structure revision number: 16
Vendor 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 050 Pre-fail Always – 0
2 Not_In_Use 0x0005 100 100 050 Pre-fail Offline – 0
3 Not_In_Use 0x0007 100 100 050 Pre-fail Always – 0
5 Retired_Block_Count 0x0013 100 100 050 Pre-fail Always – 0
7 Not_In_Use 0x000b 100 100 050 Pre-fail Always – 0
8 Not_In_Use 0x0005 100 100 050 Pre-fail Offline – 0
9 Power_On_Hours 0x0012 100 100 000 Old_age Always – 21080
12 Power_Cycle_Count 0x0012 100 100 000 Old_age Always – 38
168 SATA_Phy_Error_Count 0x0012 100 100 000 Old_age Always – 0
170 Bad_Blk_Ct_Erl/Lat 0x0003 100 100 010 Pre-fail Always – 0/704
173 MaxAvgErase_Ct 0x0012 100 100 000 Old_age Always – 205 (Average 137)
175 Not_In_Use 0x0013 100 100 050 Pre-fail Always – 0
187 Reported_Uncorrect 0x0012 100 100 000 Old_age Always – 0
192 Unsafe_Shutdown_Count 0x0012 100 100 000 Old_age Always – 24
194 Temperature_Celsius 0x0023 068 055 030 Pre-fail Always – 32 (Min/Max 22/45)
196 Not_In_Use 0x0002 100 100 010 Old_age Always – 0
197 Not_In_Use 0x0032 100 100 000 Old_age Always – 0
199 CRC_Error_Count 0x000b 100 100 050 Pre-fail Always – 0
218 CRC_Error_Count 0x000b 100 100 050 Pre-fail Always – 0
231 SSD_Life_Left 0x0013 100 100 000 Pre-fail Always – 96
233 Flash_Writes_GiB 0x000b 100 100 000 Pre-fail Always – 72004
240 Not_In_Use 0x0013 100 100 000 Pre-fail Always – 0
241 Lifetime_Writes_GiB 0x0012 100 100 000 Old_age Always – 21265
242 Lifetime_Reads_GiB 0x0012 100 100 000 Old_age Always – 8752
244 Average_Erase_Count 0x0002 100 100 000 Old_age Always – 137
245 Max_Erase_Count 0x0002 100 100 000 Old_age Always – 205
246 Total_Erase_Count 0x0012 100 100 000 Old_age Always – 18597568

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

[root@la ~]# smartctl –all /dev/sdb
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-3.10.0-1062.el7.x86_64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: Seagate Constellation ES (SATA 6Gb/s)
Device Model: ST1000NM0011
Serial Number: Z1N3GWPV
LU WWN Device Id: 5 000c50 04fbd0469
Add. Product Id: DELL(tm)
Firmware Version: PA08
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 4
SATA Version is: SATA 3.0, 3.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Wed Mar 25 10:51:05 2020 EDT
SMART support is: Available – device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 600) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 149) minutes.
Conveyance self-test routine
recommended polling time: ( 3) minutes.
SCT capabilities: (0x10bd) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 083 063 044 Pre-fail Always – 203618471
3 Spin_Up_Time 0x0003 094 094 000 Pre-fail Always – 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always – 44
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always – 6
7 Seek_Error_Rate 0x000f 074 060 030 Pre-fail Always – 17280776616
9 Power_On_Hours 0x0032 056 056 000 Old_age Always – 39169
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always – 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always – 43
184 End-to-End_Error 0x0032 100 100 099 Old_age Always – 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always – 0
188 Command_Timeout 0x0032 100 100 000 Old_age Always – 0
189 High_Fly_Writes 0x003a 100 100 000 Old_age Always – 0
190 Airflow_Temperature_Cel 0x0022 072 060 045 Old_age Always – 28 (Min/Max 20/28)
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always – 0
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always – 38
193 Load_Cycle_Count 0x0032 099 099 000 Old_age Always – 3243
194 Temperature_Celsius 0x0022 028 040 000 Old_age Always – 28 (0 20 0 0 0)
195 Hardware_ECC_Recovered 0x001a 119 099 000 Old_age Always – 203618471
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always – 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline – 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always – 0
240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline – 37110 (6 142 0)
241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline – 3020952145
242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline – 2446486215

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 20 –
# 2 Extended offline Completed without error 00% 19 –
# 3 Short offline Completed without error 00% 17 –
# 4 Short offline Completed without error 00% 4 –
# 5 Extended offline Completed without error 00% 3 –
# 6 Short offline Completed without error 00% 1 –

SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

网络似乎有点差,到欧洲的速度比较慢,美国除了LA的其他地区也比较慢,感觉比linode差远了,还好没有买年付的plan。硬盘通电时间也比较长了,很奇怪的是多给了我一块HDD。练练手,艹完扔吧

gcorelabs.com 伯力 88卢布小鸡 benchmark

root@:~# wget -qO- bench.sh | bash
----------------------------------------------------------------------
CPU model : Intel Core Processor (Skylake)
Number of cores : 1
CPU frequency : 3599.996 MHz
Total size of Disk : 6.9 GB (1.9 GB Used)
Total amount of Mem : 481 MB (45 MB Used)
Total amount of Swap : 329 MB (0 MB Used)
System uptime : 0 days, 0 hour 3 min
Load average : 0.07, 0.02, 0.00
OS : Ubuntu 18.04.4 LTS
Arch : x86_64 (64 Bit)
Kernel : 4.15.0-91-generic
----------------------------------------------------------------------
I/O speed(1st run) : 43.4 MB/s
I/O speed(2nd run) : 48.1 MB/s
I/O speed(3rd run) : 42.5 MB/s
Average I/O speed : 44.7 MB/s
----------------------------------------------------------------------
Node Name IPv4 address Download Speed
CacheFly 205.234.175.175 10.4MB/s
Linode, Tokyo2, JP 139.162.65.37 3.38MB/s
Linode, Singapore, SG 139.162.23.4 5.26MB/s
Linode, London, UK 176.58.107.39 8.38MB/s
Linode, Frankfurt, DE 139.162.130.8 9.99MB/s
Linode, Fremont, CA 50.116.14.9 4.86MB/s
Softlayer, Dallas, TX 173.192.68.18 3.82MB/s
Softlayer, Seattle, WA 67.228.112.250 4.72MB/s
Softlayer, Frankfurt, DE 159.122.69.4 8.04MB/s
Softlayer, Singapore, SG 119.81.28.170 5.86MB/s
Softlayer, HongKong, CN 119.81.130.170 6.31MB/s
----------------------------------------------------------------------

可以看得出来各个方面都很差,ip还被block了,不过88卢布(半杯奶茶的钱),当是花钱买个好奇心吧

root@Ubuntu-1804-bionic-64-nextcloud ~ # wget -qO- bench.sh | bash
----------------------------------------------------------------------
CPU model : Intel(R) Xeon(R) CPU E3-1275 v5 @ 3.60GHz
Number of cores : 8
CPU frequency : 1119.363 MHz
Total size of Disk : 874.5 GB (2.6 GB Used)
Total amount of Mem : 64199 MB (389 MB Used)
Total amount of Swap : 65469 MB (0 MB Used)
System uptime : 0 days, 0 hour 0 min
Load average : 0.10, 0.03, 0.01
OS : Ubuntu 18.04.4 LTS
Arch : x86_64 (64 Bit)
Kernel : 4.15.0-88-generic
----------------------------------------------------------------------
I/O speed(1st run) : 1.3 GB/s
I/O speed(2nd run) : 1.3 GB/s
I/O speed(3rd run) : 1.2 GB/s
Average I/O speed : 1297.1 MB/s
----------------------------------------------------------------------
Node Name IPv4 address Download Speed
CacheFly 205.234.175.175 85.9MB/s
Linode, Tokyo2, JP 139.162.65.37 4.78MB/s
Linode, Singapore, SG 139.162.23.4 8.46MB/s
Linode, London, UK 176.58.107.39 61.1MB/s
Linode, Frankfurt, DE 139.162.130.8 108MB/s
Linode, Fremont, CA 50.116.14.9 9.50MB/s
Softlayer, Dallas, TX 173.192.68.18 13.5MB/s
Softlayer, Seattle, WA 67.228.112.250 11.5MB/s
Softlayer, Frankfurt, DE 159.122.69.4 92.8MB/s
Softlayer, Singapore, SG 119.81.28.170 11.7MB/s
Softlayer, HongKong, CN 119.81.130.170 8.64MB/s
----------------------------------------------------------------------

root@Ubuntu-1804-bionic-64-nextcloud ~ # hdparm -Tt /dev/md2

/dev/md2:
Timing cached reads: 32510 MB in 1.99 seconds = 16376.18 MB/sec
Timing buffered disk reads: 9296 MB in 3.00 seconds = 3098.65 MB/sec

被IPMI的Java .jnlp 搞得快要爆炸了

买了一个dedicated.com的辣鸡服务器练练手,本来打算学习esxi,结果他妈的连服务器都连不上,我操了,FUCK了,java真是地球上最辣鸡的语言了,安装了N个版本java都提示出错,FUCK!!!看来我搞独服没什么天分,还是老老实实玩vps吧。

—————20200322update———————-

经过和dedicated.com的多次ticket交流,发现在ACLs里面添加ip白名单即可解决问题