techPowerUp! Forums

Go Back   techPowerUp! Forums > Hardware > Storage

Reply
 
Thread Tools
Old Mar 22, 2009, 08:55 PM   #1
Fitseries3
Eleet Hardware Junkie
 
Fitseries3's Avatar
 
Join Date: Oct 2007
Location: Republic of Texas
Posts: 14,993 (7.30/day)
Thanks: 4,318
Thanked 3,285 Times in 2,186 Posts
Send a message via Skype™ to Fitseries3

System Specs

Fits: SSD info thread

Im going to take an evolution approach to this one. This should help you to understand everything you could possibly need to know about ssds right from the start.

Yes, some of this information is summarized from an article found on Anandtech.com but i aim to take the above mentioned evolution approach to explain SSDs.

1. Basics -

Everyone knows what a flashdrive/jumpdrive/thumbdrive is. It has a single memory chip in it that stores data. This chip is capable of around 10mb/s read for a typical generic drive. The one i have here today just happens to do around 12mb/s read.




The idea of a SSD stemmed from this basic device. Though more complicated, a ssd is generally the same as a flash drive, just larger and made of more chips.

However... if these chips where chained together in one chain end to end they would still only perform at the 12mb/s read speed above.

Solution? RAID! SSDs use arrays of memory chips in a "raid" in order to achieve the high speeds we have come to see. But how? You need a controller for raid don't you? YES. The drives have their own built in controller that controls data transports and management to and from the disk itself.

So let us take what we have learned so far and put it into a real world example.

Lets say we take 20 memory chips and make a drive. We use a simple controller to "raid" the chips that we know are capable of 12mb/s read individually. So that's 20chips x 12mb/s = 240mb/s read!!! Makes more sense now doesn't it?

So where do the problems occur? Lets get more in depth of how this all works.

2. Flash memory, indepth -

NAND flash is made up of cells. each cell holds either 1 or 2 bits of data. These cells are organized into pages. Pages are the smallest structure that's readable/writable in SSDs. These pages hold 4kb each. Pages are then organized into Blocks. Each block has 128 pages in it therefore capable of holding 512kb of data. A block is the smallest level that can be erased in NAND memory.


Source: Anandtech

These blocks are then arranged in to planes. These planes then are arranged into what we see as the actual chips. Depending on the size of the chip, you can have differing groups of planes.


Source: Anandtech

So lets summarize what we just talked about.

NAND flash chips are made up of blocks of pages that contain cells. Each block is 512kb and has 128 pages that are 4kb each. You can read and write data to each individual page IF each page is empty. If the page contains data, it cannot be overwritten. It must be erased first before data can be written to it again. So where is the problem? Remember how i said that the lowest level that can be erased is the block? That means in order to write to a page that has data in it already, you have to erase the entire block of 128 pages before data can be written to that page again. Like i said, you can write to 4kb pages but you must erase entire blocks of 512kb in order to be able to write in those blocks again. AH... now i see the problem emerging.

Another thing to worry about, once you erase NAND memory it lessens the life span of the memory itself. NAND memory can be erased on average about 10,000 times before its not able to work correctly any longer. That right there makes the whole idea look pretty dumb.... but if you think about it in terms of performance, the benefits greatly outweigh the pitfalls.


3. How does this relate to performance? -

Lets say we have a simple SSD. It will have 1 block that contains 5 pages that hold the previously mentioned 4kb each. Let us also say we can only read 2kb/s and write 1kb/s. Now lets write some data to out theoretical drive.

we are going to write a simple text file to the drive...


Source: Anandtech

Since the text file is small it fits in a single 4kb page. That leaves 4 pages free of our block. Now lets write a picture to the drive.


Source: Anandtech

Since the picture is 8kb it fills 2 pages of our block. Now 3 pages are full so we have filled approximately 60% of our drive or 3/5ths. Now lets say we dont need our text file anymore so we delete it. When you delete a file from a hard disk, whether it be SSD or mechanical, the OS simply tells itself that there is no data in that page anymore. The data is not erased however. That is how you can recover data from a drive that has lost its data or after you have deleted data. You cannot recover the data though after it has been overwritten.

So lets say we want to now write a 12kb picture to the drive.


Source: Anandtech

If you remember what we talked about in the last section, the entire block has to be erased before the page is cleared for data to be rewritten to it again. To do that we need to relocate the data somewhere else until the entire block has been erased and the data can be written back to the drive.


Source: Anandtech


So what just happened? From what we normally see, we needed to write a simple 12kb file to a drive and thats what ended up happening. What really happened at the drive level is a bit more complicated though. We had to read 12kb into memory, erase the entire block, and then write 20kb back to the drive so if you do the math it took 26 seconds to perform an operation that should have taken only 12 seconds. Now to put this further into perspective, in a benchmark this event would look like the drive that normally writes at 1kb/s is now only writing at 0.46kb/s which is less than satisfactory causing disappointment and what appears to be "stuttering". This also points to another thing i want to cover. The more you use a SSD, the slower it gets.... to a certain point. Once you begin to fill a SSD it will have to start clearing entire blocks in order to write data to the drive again.

4. Whats the solution? -

There are 2 ways to begin to overcome the previously mentioned problem. The first one being cache and the second one being what Intel calls "Free Space".

Now i bet you didn't know that most SSDs don't have any cache at all. That is one of the contributors to the stuttering we've heard about. So it seems as though if we just add cache to the drives the problem will be eliminated right? Not exactly. What if the drive needs to erase a block that contains data that is linked to many other blocks? To ensure that none of the data is lost or corrupted, we need to relocate the entire group of data so that the pages can be erased and the data can be rewritten to the drive again. Most mechanical hard drives have between 8 and 32mb's of cache depending on the capacity of the drive. On SSDs more cache is needed so we are now seeing drives with 64mb of cache integrated. The data can now be offloaded into the cache so the drive can perform the tasks it needs to complete before being able to rewrite to the drive.

So what's this "Free Space" that Intel uses in its drives?

Intel has generously included both cache and "free space" in their drives. In addition to the cache, the drive has a built in "overhead" of space to use for temporarily relocating the data thus eliminating the stuttering altogether.

I still don't see the "free space"... where is it located? Free space is what i like to referring to as overhead. The Intel drives come in 32gb and 80gb sizes. For example, the 80gb drive will format out to ~79.98gb of usable space BUT actually has 100gb's of actual space that can be used collectively. The extra space that is used as "Free Space" is only seen by the drives internal controller, not the OS. This seamless integration is what makes the Intel drives perform without any hiccups and better than any other SSD to date.

5. Defragmenting? -

A common practice to keep your system up to speed is to defrag your hard drive regularly. This, however, will become a thing of the past when using SSDs.

SSDs are purposely fragmented to allow data to be written across as many chips as possible. This allows faster read and write times because the controller has to read/write from/to many chips rather than just a single source. The raid effect is prevalent here again.

Mechanical hard drives can read/write data faster on the outer portions of the disk but that drops way down as you proceed towards the spindle of the drive. Mechanical drives also have rotational latency. SSDs do not suffer from either one of these problems. Data can be read/wrote to all parts of the drive at the same speed regardless of where its being read from or stored. Yet another reason why defragmenting a SSD is pointless. Also, remember how I said that NAND memory can only be erased 10,000 times or so before it stops working? defragmenting your SSD would force the drive to relocate all the data thus shortening the drives lifespan drastically each time you defrag. NOT a good idea at all.

So how do i restore my drive to that "Like New" speed?

Format and reinstall. Intel includes a bootable disk with all of its SSDs that includes a few disk check and scan utilities as well as a ghosting and backup utility. They also have a special SSD tool that will return the drive to its "Like New" state of absolutely free and clear pages ready to be filled with data again.

Stay tuned, more soon.


Last edited by Fitseries3; Mar 27, 2009 at 04:06 AM.
Fitseries3 is offline  
Reply With Quote
The Following 17 Users Say Thank You to Fitseries3 For This Useful Post:
Old Mar 22, 2009, 08:57 PM   #2
CrAsHnBuRnXp
Eligible for custom title
 
CrAsHnBuRnXp's Avatar
 
Join Date: Oct 2007
Location: United States
Posts: 5,078 (2.49/day)
Thanks: 451
Thanked 640 Times in 526 Posts

System Specs

Interesting read thus far. Cant wait to see what else you post up.
CrAsHnBuRnXp is offline  
Crunching for Team TPU
Reply With Quote
Old Mar 22, 2009, 09:10 PM   #3
SystemViper
2000 Posts
 
SystemViper's Avatar
 
Join Date: Dec 2007
Posts: 2,304 (1.17/day)
Thanks: 693
Thanked 477 Times in 396 Posts

i haven't had much time to research this, thanks for the start.
__________________
HEAT

SystemViper is offline  
Reply With Quote
Old Mar 22, 2009, 09:13 PM   #4
newtekie1
Semi-Retired Folder
 
newtekie1's Avatar
 
Join Date: Nov 2005
Location: Indiana
Posts: 17,742 (6.48/day)
Thanks: 780
Thanked 5,114 Times in 3,705 Posts

System Specs

Very interesting so far.
__________________

Rig1: System Specs.
Rig2: A8-5600K@4.4GHz / AsRock FM2A75 Pro4 / 8GB Corsair DDR3-1600 9-9-9-24 / HD7560D / Samsung DVD-Burner / 1.5TB WD Green + 3x3TB WD RED in RAID5
Rig3: Athlon X2 4200+ / M4A79 Deluxe / 4GB G.Skill Pi DDR2-800 4-4-4-12 / GT430 / Sony DVD-Burner / 500GB WD
Rig4: Phenom II x6 1605T @ 3.6GHz / Asus M5A99X Evo / 8GB PNY DDR3-1600 9-9-9 / GTX470 & GTX470 / Samsung DVD-Burner / 1.5TB Seagate
newtekie1 is offline  
Crunching for Team TPU More than 25k PPD
Reply With Quote
Old Mar 22, 2009, 09:16 PM   #5
dark2099
3500 Posts
 
Join Date: Feb 2008
Location: where everyone wants to be
Posts: 4,147 (2.16/day)
Thanks: 472
Thanked 748 Times in 621 Posts
Send a message via AIM to dark2099 Send a message via MSN to dark2099

System Specs

Very interesting to see more about what we were talking about earlier fit. Can't wait to see how this all evolves.
__________________
Heatware
Check out Gomez Peer on how to make your PC work for you. Referred by dark2099 please!
Mini Rig: Biostar TP67XE / i5 2500k / Stock / 2x4GB PNY / XFX 7770 / Corsair CX500M / Win 8 64 bit / Thermaltake V9 Blackwidow
dark2099 is offline  
Reply With Quote
Old Mar 22, 2009, 09:22 PM   #6
WarEagleAU
Bird of Prey
 
WarEagleAU's Avatar
 
Join Date: Jul 2006
Location: Gurley, AL
Posts: 9,994 (3.99/day)
Thanks: 3,810
Thanked 557 Times in 521 Posts
Send a message via AIM to WarEagleAU Send a message via Yahoo to WarEagleAU

System Specs

Damn Fits you know alot of stuff, subscribed!
__________________
=-TheEagle-=



http://www.heatware.com/eval.php?id=62454
“You crazy? Surfing any website without an antivirus is like freaking with a dirty woman without protection” -OzzmanFloyd120
- Edited for content and clarity
WarEagleAU is offline  
Reply With Quote
Old Mar 23, 2009, 12:11 AM   #7
Fitseries3
Eleet Hardware Junkie
 
Fitseries3's Avatar
 
Join Date: Oct 2007
Location: Republic of Texas
Posts: 14,993 (7.30/day)
Thanks: 4,318
Thanked 3,285 Times in 2,186 Posts
Send a message via Skype™ to Fitseries3

System Specs

1st post updated again if you want to continue the read.
Fitseries3 is offline  
Reply With Quote
Old Mar 23, 2009, 12:21 AM   #8
WhiteLotus
3500 Posts
 
WhiteLotus's Avatar
 
Join Date: Jul 2007
Location: Plymouth, UK
Posts: 4,799 (2.26/day)
Thanks: 529
Thanked 856 Times in 682 Posts

System Specs

nicely explained, and certainly makes more sense of things. props to you Fit, props.
__________________
http://tpucdn.com/forums/signaturepics/sigpic41435_1.gif

“Sorry but I cannot respond now, I am running a full virus scan on the internet.” -brandonwh64
WhiteLotus is offline  
Reply With Quote
Old Mar 23, 2009, 01:25 AM   #9
NapalmV5
5 Posts
 
Join Date: Nov 2008
Posts: 24 (0.01/day)
Thanks: 0
Thanked 1 Time in 1 Post

no matter the ssd.. has to be defraged just as any hdd if crawling performance is not preferred

non fragmenting storage/os/apps are decades away..

whom ever says ssds dont need to be defraged dont know wth theyre talking about.. dont mean you fitseries3.. its been said since ssd intro without any intelligence/merit
NapalmV5 is offline  
Reply With Quote
Old Mar 23, 2009, 01:43 AM   #10
Cold Storm
Battosai
 
Cold Storm's Avatar
 
Join Date: Oct 2007
Location: In a library somewhere on this earth
Posts: 10,566 (5.15/day)
Thanks: 4,238
Thanked 3,047 Times in 2,493 Posts
Send a message via MSN to Cold Storm

System Specs

I gotta say fits, that's pretty good read. Made me aware of more then I knew about them, and now wanting one!
__________________
The only way success is before work, is in the dictionary

Support for the mind. Support for your hardware
Cold Storm is offline  
Reply With Quote
Old Apr 4, 2009, 11:49 PM   #11
stock
200 Posts
 
stock's Avatar
 
Join Date: Dec 2008
Location: UK
Posts: 319 (0.20/day)
Thanks: 97
Thanked 37 Times in 36 Posts

System Specs

Props
stock is offline  
Reply With Quote
Old Apr 5, 2009, 12:02 AM   #12
CyberDruid
1000 Posts
 
CyberDruid's Avatar
 
Join Date: Sep 2007
Location: On top of a mountain
Posts: 1,947 (0.94/day)
Thanks: 818
Thanked 1,120 Times in 659 Posts

System Specs

Interesting read. Thanks. Intel looks like they are miles ahead of the game.
CyberDruid is offline  
Reply With Quote
Old May 1, 2009, 02:49 AM   #13
CrAsHnBuRnXp
Eligible for custom title
 
CrAsHnBuRnXp's Avatar
 
Join Date: Oct 2007
Location: United States
Posts: 5,078 (2.49/day)
Thanks: 451
Thanked 640 Times in 526 Posts

System Specs

Got a question. I got a paper that I have to work on over the next 8 weeks covering emerging technologies. I choose to do mine on SSD's but the professor would like to know a bit more information before he approves or disapproves. He knows what SSD's are but he wants to know how SSD's would relate to networks of computers.

Can anyone think of a reason or two on how SSD's would relate to networks of computers?
CrAsHnBuRnXp is offline  
Crunching for Team TPU
Reply With Quote
Old May 1, 2009, 03:12 AM   #14
Kursah
Eligible for custom title
 
Kursah's Avatar
 
Join Date: Oct 2006
Location: Missoula, Montana, USA
Posts: 6,558 (2.72/day)
Thanks: 727
Thanked 1,349 Times in 1,118 Posts

System Specs

Quote:
Originally Posted by CrAsHnBuRnXp View Post
Got a question. I got a paper that I have to work on over the next 8 weeks covering emerging technologies. I choose to do mine on SSD's but the professor would like to know a bit more information before he approves or disapproves. He knows what SSD's are but he wants to know how SSD's would relate to networks of computers.

Can anyone think of a reason or two on how SSD's would relate to networks of computers?
One idea comes to mind for future technologies (and emerging) is improved latencies and faster bandwidth, for networking this means even better transfers between pc's over a network. With ssd's amazing with seek and getting better and better with bandwidth it is only going to become the standard in the future because of technology in use and being improved upon today. Lol...I haven't had to write a paper in about a decade, don't necessarily miss it. I like writing guides and mini-reviews better. But really, everythings getting faster at not only throughput, but in seeking what it needs and becoming more efficient. SSD's, quad+ cores, DDR3+, sata3, ssd's, shader cores/stream cores, all are definately a plus of emerging and improving technology.

Sorry if that reason sucks! It is pretty damn general lol!
Kursah is offline  
Reply With Quote
The Following User Says Thank You to Kursah For This Useful Post:
Old May 1, 2009, 03:29 AM   #15
Fitseries3
Eleet Hardware Junkie
 
Fitseries3's Avatar
 
Join Date: Oct 2007
Location: Republic of Texas
Posts: 14,993 (7.30/day)
Thanks: 4,318
Thanked 3,285 Times in 2,186 Posts
Send a message via Skype™ to Fitseries3

System Specs

yes..... hard disks have been the bottleneck for years. thats one of the many reasons raid was developed.

in any type of server, data must be accessed as fast as possible and ssds have an advantage of super fast reads which is ideal for server applications.
Fitseries3 is offline  
Reply With Quote
Old May 1, 2009, 03:35 AM   #16
Studabaker
Banned
 
Join Date: Mar 2009
Location: Somewhere in the underground
Posts: 1,028 (0.68/day)
Thanks: 52
Thanked 76 Times in 75 Posts

System Specs

You ought to split the lower part of Defragmenting off into a section called 'Optimizing', and there you can give info about shutting off services like Indexing and Superfetch also which I heard needs to be done for SSD to work properly in Vista.
Studabaker is offline  
Reply With Quote
Old May 1, 2009, 03:40 AM   #17
Wile E
Power User
 
Wile E's Avatar
 
Join Date: Oct 2006
Location: Western PA (Pittsburgh suburbs)
Posts: 18,129 (7.48/day)
Thanks: 450
Thanked 3,825 Times in 3,123 Posts
Send a message via AIM to Wile E Send a message via Yahoo to Wile E

System Specs

Very, very nice Fit. The way SSDs work makes a bit more sense to me now.
__________________

Visit Ashentech
“What the hell did you expect? Leave Vista under the pillow and the OS fairy would make it Win7?” -El Fiendo
“And Bring Mailman back god damnit, he is the Eric Cartman of TPU” -MRCL
Wile E is offline  
Reply With Quote
The Following User Says Thank You to Wile E For This Useful Post:
Old Jul 6, 2009, 10:53 PM   #18
Fitseries3
Eleet Hardware Junkie
 
Fitseries3's Avatar
 
Join Date: Oct 2007
Location: Republic of Texas
Posts: 14,993 (7.30/day)
Thanks: 4,318
Thanked 3,285 Times in 2,186 Posts
Send a message via Skype™ to Fitseries3

System Specs

i'll give this a bump for anyone who hasnt seen it
Fitseries3 is offline  
Reply With Quote
Old Jul 6, 2009, 11:02 PM   #19
wolf2009
Guest
 
Posts: n/a (0/day)

nice, thanks for posting. that block, page, cell, 4kb, 128, 512kb stuff really confuses you and has to be read really carefully.
 
Reply With Quote
The Following User Says Thank You to For This Useful Post:
Old Jul 6, 2009, 11:29 PM   #20
Wile E
Power User
 
Wile E's Avatar
 
Join Date: Oct 2006
Location: Western PA (Pittsburgh suburbs)
Posts: 18,129 (7.48/day)
Thanks: 450
Thanked 3,825 Times in 3,123 Posts
Send a message via AIM to Wile E Send a message via Yahoo to Wile E

System Specs

This thread: I like it.
__________________

Visit Ashentech
“What the hell did you expect? Leave Vista under the pillow and the OS fairy would make it Win7?” -El Fiendo
“And Bring Mailman back god damnit, he is the Eric Cartman of TPU” -MRCL
Wile E is offline  
Reply With Quote
The Following User Says Thank You to Wile E For This Useful Post:
Old Jul 6, 2009, 11:31 PM   #21
Cold Storm
Battosai
 
Cold Storm's Avatar
 
Join Date: Oct 2007
Location: In a library somewhere on this earth
Posts: 10,566 (5.15/day)
Thanks: 4,238
Thanked 3,047 Times in 2,493 Posts
Send a message via MSN to Cold Storm

System Specs

Man, everytime I read this, and look threw it, i go to Newegg, go into my account, and force myself to not hit the button for a ssd.. Damn funds!
__________________
The only way success is before work, is in the dictionary

Support for the mind. Support for your hardware
Cold Storm is offline  
Reply With Quote
Old Jul 6, 2009, 11:36 PM   #22
Fitseries3
Eleet Hardware Junkie
 
Fitseries3's Avatar
 
Join Date: Oct 2007
Location: Republic of Texas
Posts: 14,993 (7.30/day)
Thanks: 4,318
Thanked 3,285 Times in 2,186 Posts
Send a message via Skype™ to Fitseries3

System Specs

if i had the funds to keep up with the hardware to keep this thread going i would.
Fitseries3 is offline  
Reply With Quote
Old Jul 7, 2009, 12:32 AM   #23
Flyordie
Banned
 
Join Date: Oct 2008
Posts: 1,496 (0.90/day)
Thanks: 101
Thanked 249 Times in 219 Posts

System Specs


A good flash drive for under $8.
Ignore the CPU usage, I am running F@H CPU+GPU.

SanDisk has been very good to me when it comes to SSDs. I hope they make it out of this recession in good standing, because losing them would make me sad.
Also, I recommend this post to STICKIE!

Last edited by Flyordie; Jul 7, 2009 at 12:41 AM.
Flyordie is offline  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logitech Z-5500 Digital Soundroom DanishDevil techPowerUp! Club Forum 1654 Sep 17, 2012 01:19 AM
X-Fi Support Syndicate & Owner's Clubhouse imperialreign techPowerUp! Club Forum 1493 Jan 14, 2012 03:51 AM
Asus Maximus Formula Bios settings thread trt740 Motherboards & Memory 20 Dec 28, 2008 10:29 PM
The Call of Duty 5 Tweaks, Tips and News Thread TheMailMan78 Games 301 Dec 9, 2008 09:24 PM


All times are GMT. The time now is 02:33 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
no new posts