Overclock.net › Forums › Components › Hard Drives & Storage › SSD › How to tell if an SSD is degraded?
New Posts  All Forums:Forum Nav:

How to tell if an SSD is degraded?

post #1 of 15
Thread Starter 
Short story: I read/wrote to the drive almost 9000 times its capacity (I believe), and would like to know if there is a way to test for drive degradation. Some sort of benchmark? Or SMART data I can check? I tried HD Tune, and it said the drive was fine.

Long story: I bought an SSD about two months back, installed it in my server for the purpose of running Minecraft, and I think it may have died already with the sheer number of read/writes I've put it through.

For starters, the minecraft map files are made up of hundreds of thousands of 4KB files. There's probably more than a million individual files on the drive now. The main map sizes are 3GB and 4GB, respectively, but there are 17GB's total of minecraft-related files on the server. The maps are edited, and saved to the drive whenever a player changes anything in that "chunk" of the map and moves on. The SSD is in constant usage of 1-3MB/s while the servers are running, and it's been running 24/7 since the installation of said SSD.

If I calculate that out, that means I've read/written roughly 15TB of data to this drive (assuming an average of 3MB/s, accounting for spikes in traffic and other anomalies). Now, that's only 258 times the total drive space of read/writes, so, on average, each block in the drive has only been written to 258 times.

Here's the kicker though: SSD's, from what I know, can only write in 512KB chunks. And they must first erase the original data from the 512KB block before overwriting it. I'm not sure how drive manufacturers calculate the total number of read-writes a drive is capable of, but we'll assume best-case, in that they count a deletion of data and rewriting new data as only one action. We'll also assume only 1/4 of the data is written, and the other 3/4 is read.

1/4 of 15TB is 4TB (rounded, for simplicity). 4TB * 512KB / 4KB = 512TB. 512TB / 60GB = 8533 times the drive capacity in read/writes.

Now we're talking. Assuming the drive had to rewrite 512KB for each 4KB file that was changed, it's getting very close to the maximum theoretical limit of read/writes for the drive, which is 10,000.

Thoughts? Am I doin' it wrong? The reason I suspect the drive has problems is that the minecraft servers have become quite laggy, and I've tried upgrading and modifying everything else I can think of. It has gotten to the point where I can type a command in the server console and wait a full minute or two before the command is actually processed. Players experience the same type of lag. I try to blame it on poor programming, but if that was the case, wouldn't I see a bottleneck somewhere? CPU, ram, and network are never at full utilization. It's multithreaded, but even still, I rarely see the process take more than 8% CPU usage. The JVM is given 4GB of ram to play with for each server, and it rarely uses more than 2GB. I have a 50/10 internet connection, and can run speedtest.net @ 8mbps while the servers are running with 5mbps usage without a problem.

The other server specs: i7 @ 3.8ghz, 12GB DDR3, 650w Corsair PSU, Gigabyte X58-USB3 motherboard, Intel Server-class NIC. Nothing is nearing its max capabilities. The SSD benchmarks @ 80-90MB/s while the servers are running. While the servers are running, I see read/writes of 1-3MB/s.

Anyway, a reliable benchmark or SMART data information, anyone?
Edited by SgtSpike - 1/21/11 at 3:41pm
post #2 of 15
Does it support trim? if so, Is trim activated on the SSD?
post #3 of 15
What SSD was it btw?
i7 930
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 930 [4.0@1.23v] [4.2@1.32v] ASUS P6T-Deluxe [v1] EVGA GTX 480 SC+ [850/2000@1.100v] OCZ Gold DDR3 [3x2GB] [1600@8-8-8-24-1N] 
Hard Drive
OCZ Vertex 2e (120GB) SSD 
  hide details  
Reply
i7 930
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 930 [4.0@1.23v] [4.2@1.32v] ASUS P6T-Deluxe [v1] EVGA GTX 480 SC+ [850/2000@1.100v] OCZ Gold DDR3 [3x2GB] [1600@8-8-8-24-1N] 
Hard Drive
OCZ Vertex 2e (120GB) SSD 
  hide details  
Reply
post #4 of 15
Thread Starter 
It is a 60GB OCZ Vertex (not II).

I've no idea if it supports trim, and unless it automatically activates, then no, it is not activated.
post #5 of 15
Type this in the command prompt to check if trim is on

Code:
fsutil behavior query disabledeletenotify
If it = 0 then its on
If it = 1 then its off
post #6 of 15
https://sites.google.com/site/lightr...bledandworking
https://sites.google.com/site/lightr...orssdsonubuntu

To check, if its a *nix box.

I believe that drive uses an Indilinx controller which relies heavily on TRIM being available to maintain its performance.
Even then, unless its given sufficient idle time, the background GC (your OCZ firmware should support it) isn't going to work very well.

In other words, not a very good idea to use in something that's running around the clock. :/
Edited by Trigunflame - 1/21/11 at 3:59pm
i7 930
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 930 [4.0@1.23v] [4.2@1.32v] ASUS P6T-Deluxe [v1] EVGA GTX 480 SC+ [850/2000@1.100v] OCZ Gold DDR3 [3x2GB] [1600@8-8-8-24-1N] 
Hard Drive
OCZ Vertex 2e (120GB) SSD 
  hide details  
Reply
i7 930
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 930 [4.0@1.23v] [4.2@1.32v] ASUS P6T-Deluxe [v1] EVGA GTX 480 SC+ [850/2000@1.100v] OCZ Gold DDR3 [3x2GB] [1600@8-8-8-24-1N] 
Hard Drive
OCZ Vertex 2e (120GB) SSD 
  hide details  
Reply
post #7 of 15
Thread Starter 
Trigun, thanks for the info. Might need to switch to a raptor or something instead, though I really loved the initial performance of the SSD. I'm going to test running the server on a VR tonight, see if it does any better.

Quote:
Originally Posted by Ubeermench View Post
Type this in the command prompt to check if trim is on

Code:
fsutil behavior query disabledeletenotify
If it = 0 then its on
If it = 1 then its off
Comes up with a lot more than just 1 or 0! I'll try to copy it down...

Code:
<option>   <values>
allowextchar  1 | 0
BugcheckOnCorrupt  1 | 0
disable8dot3  1 | 0
disablecompression  1 | 0
disableencryption  1 | 0
disablelastaccess  1 | 0
encryptpagingfile  1 | 0
mftzone  1 through 4
memoryusage  1 through 2
quotanotify  1 through 4294967295 seconds
SymlinkEvaluation  [L2L:{0|1}] | [L2R:{0|1}] | [R2R:{0|1}] | [R2L:{0|1}]
How do I tell what it's set to? It seems as though this is a listing of possible options and possible settings?

EDIT: This IS a Windows Server 2008 x64 box, btw. Don't know if I put that in the OP or not.
post #8 of 15
I have a guide on how to set trim for windows server but its on my home pc. I only remember how to do it for W7 atm. Won't be home for another 2 hours =/
post #9 of 15
Quote:
Originally Posted by SgtSpike View Post
EDIT: This IS a Windows Server 2008 x64 box, btw. Don't know if I put that in the OP or not.
TRIM was made available in Server 2008 R2, as far as I know.
It should have been enabled by default as well.

--

If you don't have TRIM support, there is an alternative.
Quote:
What does wiper.exe do?
By default all MLC based SSD drives slow down when each Nand cell has been written to at least once. Even though the data on that cell may have been deleted this means that the controller within the VERTEX has to erase the whole cell before any data can be written to it...this adds latency and so slows the drive down.
Wiper.exe is a brute force method of resetting all those erased cells so that they work at full speed with no added latency..IE they have already been erased.
We have a thread on the SSD forum that shows some good methods for scheduling wiper to run each day or 3 times a week etc...
http://www.ocztechnologyforum.com/fo...ith-Wiper-0525
http://www.ocztechnologyforum.com/fo...ng-Wiper-(trim)

Other than that, I have no clue.
Edited by Trigunflame - 1/21/11 at 4:31pm
i7 930
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 930 [4.0@1.23v] [4.2@1.32v] ASUS P6T-Deluxe [v1] EVGA GTX 480 SC+ [850/2000@1.100v] OCZ Gold DDR3 [3x2GB] [1600@8-8-8-24-1N] 
Hard Drive
OCZ Vertex 2e (120GB) SSD 
  hide details  
Reply
i7 930
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 930 [4.0@1.23v] [4.2@1.32v] ASUS P6T-Deluxe [v1] EVGA GTX 480 SC+ [850/2000@1.100v] OCZ Gold DDR3 [3x2GB] [1600@8-8-8-24-1N] 
Hard Drive
OCZ Vertex 2e (120GB) SSD 
  hide details  
Reply
post #10 of 15
Thread Starter 
Bummer... I don't have R2. So I'm SSD-screwed then, unless I can manage to grab a copy of 2008 R2?

That very well could be the source of my problems.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: SSD
Overclock.net › Forums › Components › Hard Drives & Storage › SSD › How to tell if an SSD is degraded?