|
装了个Archlinux,md确实精简,只用了50几M内存啊卧槽。
然后去用秋水哥的bench脚本跑了一下。io能上100M,赚了,用smartmontools看了一下,果然,才210个小时。
[ol][root@sd-118224 ~]# ./bench.sh ----------------------------------------------------------------------CPU model : Intel(R) Atom(TM) CPU C2338 @ 1.74GHzNumber of cores : 2CPU frequency : 1400.000 MHzTotal size of Disk : 917.5 GB (337.3 GB Used)Total amount of Mem : 3952 MB (52 MB Used)Total amount of Swap : 3947 MB (0 MB Used)System uptime : 0 days, 0 hour 33 minLoad average : 0.00, 0.00, 0.00OS : Arch Linux Arch : x86_64 (64 Bit)Kernel : 4.10.6-1-ARCH----------------------------------------------------------------------I/O speed(1st run) : 103 MB/sI/O speed(2nd run) : 103 MB/sI/O speed(3rd run) : 103 MB/sAverage I/O speed : 103.0 MB/s----------------------------------------------------------------------Node Name IPv4 address Download SpeedCacheFly 62.210.187.96 68.3MB/s Linode, Tokyo, JP 106.187.96.148 8.75MB/s Linode, Singapore, SG 139.162.23.4 3.96MB/s Linode, London, UK 176.58.107.39 18.6MB/s Linode, Frankfurt, DE 139.162.130.8 14.1MB/s Linode, Fremont, CA 50.116.14.9 2.07MB/s Softlayer, Dallas, TX 173.192.68.18 11.1MB/s Softlayer, Seattle, WA 67.228.112.250 10.6MB/s Softlayer, Frankfurt, DE 159.122.69.4 47.7MB/s Softlayer, Singapore, SG 119.81.28.170 3.21MB/s Softlayer, HongKong, CN 119.81.130.170 1.71MB/s ----------------------------------------------------------------------[root@sd-118224 ~]# pacman -S smartmontoolsresolving dependencies...looking for conflicting packages...Packages (2) libcap-ng-0.7.8-1 smartmontools-6.5-1Total Download Size: 0.44 MiBTotal Installed Size: 1.67 MiB:: Proceed with installation? [Y/n] Y:: Retrieving packages... libcap-ng-0.7.8-1-x86_64 34.9 KiB 261K/s 00:00 [####################################] 100% smartmontools-6.5-1-x86_64 411.8 KiB 1040K/s 00:00 [####################################] 100%(2/2) checking keys in keyring [####################################] 100%(2/2) checking package integrity [####################################] 100%(2/2) loading package files [####################################] 100%(2/2) checking for file conflicts [####################################] 100%:: Processing package changes...(1/2) installing libcap-ng [####################################] 100%(2/2) installing smartmontools [####################################] 100%Optional dependencies for smartmontools s-nail: to get mail alerts to work [installed]:: Running post-transaction hooks...(1/1) Arming ConditionNeedsUpdate...[root@sd-118224 ~]# df -hFilesystem Size Used Avail Use% Mounted ondev 2.0G 0 2.0G 0% /devrun 2.0G 336K 2.0G 1% /run/dev/sda3 913G 1.3G 865G 1% /tmpfs 2.0G 0 2.0G 0% /dev/shmtmpfs 2.0G 0 2.0G 0% /sys/fs/cgrouptmpfs 2.0G 0 2.0G 0% /tmp/dev/sda2 488M 35M 418M 8% /boottmpfs 396M 0 396M 0% /run/user/1000[root@sd-118224 ~]# smartctl -A /dev/sdasda sda1 sda2 sda3 sda4 [root@sd-118224 ~]# smartctl -A /dev/sdasda sda1 sda2 sda3 sda4 [root@sd-118224 ~]# smartctl -A /dev/sdasmartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.10.6-1-ARCH] (local build)Copyright (C) 2002-16, 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 062 Pre-fail Always - 0 2 Throughput_Performance 0x0004 100 100 000 Old_age Offline - 0 3 Spin_Up_Time 0x0007 100 100 033 Pre-fail Always - 2 4 Start_Stop_Count 0x0012 100 100 000 Old_age Always - 9 5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0 7 Seek_Error_Rate 0x000a 100 100 000 Old_age Always - 0 8 Seek_Time_Performance 0x0004 100 100 000 Old_age Offline - 0 9 Power_On_Hours 0x0012 100 100 000 Old_age Always - 209 10 Spin_Retry_Count 0x0012 100 100 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 9191 G-Sense_Error_Rate 0x000a 100 100 000 Old_age Always - 0192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 3193 Load_Cycle_Count 0x0012 100 100 000 Old_age Always - 21194 Temperature_Celsius 0x0002 222 222 000 Old_age Always - 27 (Min/Max 19/27)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 - 0223 Load_Retry_Count 0x000a 100 100 000 Old_age Always - 0240 Head_Flying_Hours 0x0032 100 100 000 Old_age Always - 209241 Total_LBAs_Written 0x0032 100 100 000 Old_age Always - 45343312242 Total_LBAs_Read 0x0032 100 100 000 Old_age Always - 588821254 Free_Fall_Sensor 0x0032 100 100 000 Old_age Always - 0[root@sd-118224 ~]# smartctl -A /dev/sda3smartctl 6.5 2016-05-07 r4318 [x86_64-linux-4.10.6-1-ARCH] (local build)Copyright (C) 2002-16, 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 062 Pre-fail Always - 0 2 Throughput_Performance 0x0004 100 100 000 Old_age Offline - 0 3 Spin_Up_Time 0x0007 100 100 033 Pre-fail Always - 2 4 Start_Stop_Count 0x0012 100 100 000 Old_age Always - 9 5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0 7 Seek_Error_Rate 0x000a 100 100 000 Old_age Always - 0 8 Seek_Time_Performance 0x0004 100 100 000 Old_age Offline - 0 9 Power_On_Hours 0x0012 100 100 000 Old_age Always - 210 10 Spin_Retry_Count 0x0012 100 100 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 9191 G-Sense_Error_Rate 0x000a 100 100 000 Old_age Always - 0192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 3193 Load_Cycle_Count 0x0012 100 100 000 Old_age Always - 21194 Temperature_Celsius 0x0002 222 222 000 Old_age Always - 27 (Min/Max 19/27)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 - 0223 Load_Retry_Count 0x000a 100 100 000 Old_age Always - 0240 Head_Flying_Hours 0x0032 100 100 000 Old_age Always - 210241 Total_LBAs_Written 0x0032 100 100 000 Old_age Always - 45589632242 Total_LBAs_Read 0x0032 100 100 000 Old_age Always - 591013254 Free_Fall_Sensor 0x0032 100 100 000 Old_age Always - 0[root@sd-118224 ~]# [/ol]复制代码 |
|