请问ubuntu对ssd的损害大不大啊,应该怎么减少?

18.04、16.04、14.04
回复
liaosw97
帖子: 12
注册时间: 2017-03-31 22:37
送出感谢: 0
接收感谢: 0

请问ubuntu对ssd的损害大不大啊,应该怎么减少?

#1

帖子 liaosw97 » 2017-03-31 22:54

如上
poloshiao
论坛版主
帖子: 18280
注册时间: 2009-08-04 16:33
送出感谢: 21 次
接收感谢: 1957 次

Re: 请问ubuntu对ssd的损害大不大啊,应该怎么减少?

#2

帖子 poloshiao » 2017-04-01 6:27

0. 正常使用下 不會感覺到 什麼損害
0-1. https://zh.wikipedia.org/wiki/%E5%9B%BA ... C%E7%9B%98
固態硬碟(英語:Solid State Disk、Solid State Drive,簡稱SSD)
0-2. https://en.wikipedia.org/wiki/Solid-state_drive#Linux
Suitable file systems ... work well with solid-states drives.
Linux

參閱
1. http://manpages.ubuntu.com/manpages/yak ... ard.8.html
This is useful for solid-state drivers (SSDs) and thinly-provisioned storage.
2. http://manpages.ubuntu.com/manpages/yak ... rim.8.html
This is useful for solid-state drives (SSDs) and thinly-provisioned storage.
3. http://askubuntu.com/questions/18903/how-to-enable-trim
How to enable TRIM?
4. http://askubuntu.com/questions/443761/h ... im-enabled
How is Trim enabled?
5. https://wiki.debian.org/SSDOptimization
SSDOptimization
liaosw97
帖子: 12
注册时间: 2017-03-31 22:37
送出感谢: 0
接收感谢: 0

Re: 请问ubuntu对ssd的损害大不大啊,应该怎么减少?

#3

帖子 liaosw97 » 2017-04-01 22:12

谢谢
liaosw97
帖子: 12
注册时间: 2017-03-31 22:37
送出感谢: 0
接收感谢: 0

Re: 请问ubuntu对ssd的损害大不大啊,应该怎么减少?

#4

帖子 liaosw97 » 2017-04-01 22:17

非常感谢
qadqingkong
帖子: 83
注册时间: 2011-07-02 11:08
送出感谢: 0
接收感谢: 0

Re: 请问ubuntu对ssd的损害大不大啊,应该怎么减少?

#5

帖子 qadqingkong » 2017-04-26 12:13

其实SSD 没有传说中那么不经折腾
这个基本上一直没关机,一直做工作电脑win7的系统盘,然后网页缓存 内存缓存也都在SSD上
看看这才写了多点。。。。。。

放心用吧
就是网上那些优化甚至都可以不考虑

代码: 全选


smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.8.0-49-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     KINGSTON SHFS37A120G
Serial Number:     
LU WWN Device Id:  
Firmware Version: 60AABBF0
User Capacity:    120,034,123,776 bytes [120 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ATA8-ACS, ACS-2 T13/2015-D revision 3
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Wed Apr 26 12:11:28 2017 CST
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:  (0x02)	Offline data collection activity
					was completed without error.
					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: 		(    0) seconds.
Offline data collection
capabilities: 			 (0x7d) SMART execute Offline immediate.
					No Auto Offline data collection support.
					Abort 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: 	 (  48) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.
SCT capabilities: 	       (0x0025)	SCT Status 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     0x0032   095   095   050    Old_age   Always       -       25227545
  5 Reallocated_Sector_Ct   0x0033   100   100   003    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   081   081   000    Old_age   Always       -       17403 (193 34 0)
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       240
171 Unknown_Attribute       0x000a   100   100   000    Old_age   Always       -       0
172 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
174 Unknown_Attribute       0x0030   000   000   000    Old_age   Offline      -       71
177 Wear_Leveling_Count     0x0000   000   000   000    Old_age   Offline      -       98
181 Program_Fail_Cnt_Total  0x000a   100   100   000    Old_age   Always       -       0
182 Erase_Fail_Count_Total  0x0032   100   100   000    Old_age   Always       -       0
187 Reported_Uncorrect      0x0012   100   100   000    Old_age   Always       -       0
189 Unknown_SSD_Attribute   0x0000   031   044   000    Old_age   Offline      -       60132425759
194 Temperature_Celsius     0x0022   031   044   000    Old_age   Always       -       31 (Min/Max 14/44)
195 Hardware_ECC_Recovered  0x001c   120   120   000    Old_age   Offline      -       25227545
196 Reallocated_Event_Count 0x0033   100   100   003    Pre-fail  Always       -       0
201 Unknown_SSD_Attribute   0x001c   120   120   000    Old_age   Offline      -       25227545
204 Soft_ECC_Correction     0x001c   120   120   000    Old_age   Offline      -       25227545
230 Unknown_SSD_Attribute   0x0013   100   100   000    Pre-fail  Always       -       100
231 Temperature_Celsius     0x0000   093   093   011    Old_age   Offline      -       30064771073
233 Media_Wearout_Indicator 0x0032   000   000   000    Old_age   Always       -       17415
234 Unknown_Attribute       0x0032   000   000   000    Old_age   Always       -       5086
241 Total_LBAs_Written      0x0032   000   000   000    Old_age   Always       -       5086
242 Total_LBAs_Read         0x0032   000   000   000    Old_age   Always       -       5152
244 Unknown_Attribute       0x0000   097   097   010    Old_age   Offline      -       196739189

SMART Error Log not supported

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%     16887         -

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.

回复

回到 “LTS 长支持版”