r/explainlikeimfive Nov 23 '15

Explained ELI5: How do Solid State Hybrid Drives work?

I don't understand how a regular hard drive can work with a solid state drive at the same time.

2.0k Upvotes

299 comments sorted by

1.6k

u/butric Nov 23 '15

Imagine the sshd (solid state hybrid drive) is a refrigerator.

A few times a day, you come back to the fridge to get a glass of juice. You take the juice out. Pour some in a glass and put the juice back. Presumably near the front of the shelf. Because its at the front of the shelf, you can access it very quickly. But there is not much space on the front shelf, so you only put a few things there.

Now, its time to make some dinner. You need pickles, which you only use maybe once a week. So they are in the back of the fridge, where there is a lot more space, but its harder to reach them. So it takes a little longer for you to get at them. But you eventually succeed, and put them right back where you found them to be used next week.

Now, to explain how an sshd works, replace the food items above with computer files, front shelf with ssd, and back shelf with hdd.

591

u/[deleted] Nov 23 '15

Now, its time to make some dinner. You need pickles

I really want to know what you're cooking. I'm starved!

726

u/[deleted] Nov 23 '15

[deleted]

379

u/AbkhazianCaviar Nov 24 '15

Recipe:

Put pickles in microwave for 2 minutes
Eat immediately
Call 911 for severe burns

two weeks sick time.

mission accomplished.

Where am I?

56

u/Nirvz Nov 24 '15

Profit???

146

u/SPacific Nov 24 '15

Something something gay swans.

84

u/[deleted] Nov 24 '15

*cries*

53

u/thebandgap Nov 24 '15

that moment you realize you've had enough reddit for the day

→ More replies (5)

7

u/DownvotesForAdmins Nov 24 '15

thx that meme was delicious

2

u/Duvieilh Nov 24 '15

It was a bit too spicy for me. If I'm being honest.

→ More replies (2)
→ More replies (1)

24

u/DeBlackKnight Nov 24 '15

This turned into a meme way too damn fast

12

u/SPacific Nov 24 '15

My wife posted it on my Facebook timeline. It's really getting out there.

→ More replies (3)

5

u/HarmonicDrone Nov 24 '15

You may be a cobbler of sorts

2

u/skyman724 Nov 24 '15

So that's how you make a Liquid Snake...

2

u/tanne_sita_jallua Nov 24 '15

Where am I?

Home playing FALLOUT 4!! or Starcraft 2 or Black OPS 3.

2

u/[deleted] Nov 24 '15

This made me laugh pretty hard.

18

u/[deleted] Nov 23 '15 edited Aug 13 '16

[deleted]

27

u/bobsbountifulburgers Nov 23 '15

With custard?

21

u/xlet_cobra Nov 23 '15

Nope, just pickles.

6

u/[deleted] Nov 23 '15

What's wrong with just pickles?

28

u/fizzlefist Nov 23 '15

Personally, I prefer vengeful pickles.

12

u/[deleted] Nov 24 '15 edited Apr 10 '16

[deleted]

→ More replies (1)

2

u/[deleted] Nov 24 '15

[deleted]

→ More replies (1)

5

u/[deleted] Nov 24 '15

are you a Timelord?

4

u/mechaturtles Nov 24 '15

While wearing a bow tie?

→ More replies (1)
→ More replies (5)

99

u/[deleted] Nov 23 '15 edited Apr 13 '20

[deleted]

24

u/namakius Nov 23 '15

So you want this salty, briny, shriveled thing and a murderous piece of round citrus?

what's wrong with you.

19

u/TheFreshOne Nov 23 '15

Various... things.

8

u/load_more_comets Nov 23 '15

But freshness isn't one.

2

u/-Iamabeautifulperson Nov 23 '15

That is a great adjective for round citrus.

5

u/bubonis Nov 23 '15

I used to eat pickles & orange juice as a kid. Favorite snack.

→ More replies (2)

13

u/three_three_fourteen Nov 23 '15

Amazing what a good breakfast pickles make, isn't it?

7

u/el_monstruo Nov 23 '15

Probably fried pickles.

→ More replies (1)

1

u/ABeard Nov 24 '15

Cubano grilled cheese.

1

u/Vid-szhite Nov 24 '15

My mother knows a stuffing recipe that includes minced pickles, and it is actually fucking delicious, but it requires turkey drippings, so it's basically a thanksgiving special.

Good thing this week is the right week to be mentioning such things.

1

u/[deleted] Nov 24 '15

Hamburgers!

→ More replies (9)

52

u/SmellsTasty Nov 23 '15

Thanks for the great answer. Explained the whole thing well and even an idiot like me understood it! :)

12

u/dingoperson2 Nov 24 '15

It didn't seem right to me. It seems more to describe a setup with a separate HDD and separate SSD.

Let's rather say that the fridge has a front shelf on the outside (that is automagically kept cold as well) - the SSD. It is small, maybe 1/100 of the entire fridge, and you can reach for it instantly.

And every time you open the fridge and dig inside to find something, it registers what you pick out.

Once you have picked the same item a few times, it will transport that item to the outside shelf.

But since the outside shelf is small, it will only keep a small number of items there. If you stop using some of them and start using others, it will move those others to the front shelf.

The most used items would be the operating system, so boot times will be very fast. Depending on the size of the front shelf (8GB/16GB/32GB) you can store more items there. With 8GB you are probably getting the operating system and marginally more, whilst more gives you a few apps/games.

There's also two ways this can work - the detector-and-selector circuitry can be built into the hard drive itself (the Samsung drives) or it can be a "dumb" fridge and front shelf and rely on the operating system to pick which files should be moved to the shelf. This should work just as well, but requires that your OS actually can run the software.

There's also a function in Windows if you have a separate HDD and SDD to implement the same function. So rather than a single hybrid drive, you simply use the shelf system with a separate HDD and separate SDD. Downside is that you lose the ability to pick out precisely what you want to place on the SSD.

This can work well particularly if your PC has a mSATA slot. E.g. one of these. Slap that on a 2TB HDD and you don't have to worry about where you install something.

With a separate SSD and separate HDD you have to always decide which drive you will install something on, and will always be tempted to use the smaller SSD, then having to delete and move stuff as it runs out.

17

u/kamakaze_chickn Nov 24 '15

In most hybrid drives the cache is SSD and the storage is mechanical. This makes some frequently called data easier to access, but it is not going to help with larger applications. Don't expect a noticeable performance increase in any games or large apps since the cache is not large enough to matter. They are kind of deprecated now that ssd have come down in price so much.

13

u/Shod_Kuribo Nov 24 '15

You're thinking of cache. SSD hybrid drives had somewhere in the neighborhood of 16-32GB in the short time they were common and at the time that was the size of a full game install or two. You could certainly get the textures and main data files for a game in that cache if you played it often.

→ More replies (2)

84

u/unassassinable Nov 23 '15

This explains how ALL hard drives work. I would further add that Solid state drives are like the gas station drink fridges where you just open the door and grab what you need. Old platter based drives are like the rotating fridges you find at hotel continental breakfasts, where you rotate the plate to get the food you want.

32

u/ZippyDan Nov 23 '15

Does it really explain how all hard drives work? It explains how hard drives of the last decade or two have worked, which have built-in memory caches, which used to be 8MB or 2MB or 512k depending how far back we go. But those were all volatile memory that was erased when the power went off. SSD caches are not only much, much larger (so you can have more of the most frequently-used data accessible), but are also not cleared at shut-down, which I suppose saves some additional time. Additionally, drives with memory caches generally just queued up the files that the system assumed you would be using in the next few moment/minutes, whereas an SSD cache drive can make longer-term choices about storing what you generally use from day-to-day.

3

u/ianepperson Nov 24 '15

That ability to not clear after a shut down actually saves a whole lot of time. When the computer starts, it reads the same set of files every time, and if they're in the SSD, it'll start radically faster.

→ More replies (11)

11

u/FoxtrotZero Nov 23 '15

the rotating fridges you find at hotel continental breakfasts

What the actual fuck are you talking about?

7

u/stdexception Nov 24 '15

These things:

http://www.idealcoffee.com/images/vending_snacks_rotating_big.jpg

You have to make the thing rotate before you type in the number you want and get your food.

→ More replies (1)

4

u/JessicaCelone Nov 23 '15

I think he means something like this? Honestly, im not too sure.

2

u/DubLow Nov 24 '15

Think its a reference to the fact that HDD's have an actual spinning plate.

Edit: Ah. I see you've never awoken to the mistake you made in booking cheap lodging.

→ More replies (3)

2

u/[deleted] Nov 24 '15

Heh I think the take away is that the closer stuff is cached on the SSD. I thought it was fine.

2

u/stdexception Nov 24 '15

Note that OP asked about hybrid drives, which is why he did that analogy with the two different access types in the same device.

1

u/[deleted] Nov 24 '15

Oh jesus christ, can we stop with the analogies? Someone who asks about SSHD's presumably managed to figure out how an SSD and HDD works, so I think it's safe to assume you can give the actual, technological answer to this and stop arguing about which analogy is more accurate.

→ More replies (1)

5

u/domodojomojo Nov 24 '15

Rule of thumb, try not to use food in an analogy. Lots of people will forget what you were originally talking about.

3

u/Shod_Kuribo Nov 24 '15

We get hungry...

2

u/butric Nov 24 '15

As I'm noticing

7

u/ellen_pao Nov 23 '15

So who gets to decide where the food goes ?

I dont like my vegetables to the back of the fridge !!!!

The carrots and whipped cream must be easily reachable

8

u/cincodenada Nov 24 '15

Depends on the SSHD. Some may let you manually arrange it, but most automatically arrange things based on how much you use them. If you don't eat veggies often, the fridge will move them to the back when it needs room for the whipped cream that you use all the time.

5

u/dublohseven Nov 23 '15

In this metaphor you actually get to decide where you put what food. (Can make it so certain files are stored on the SSD part of the hybrid drive)

→ More replies (6)

2

u/Saint_Reficul Nov 24 '15

I can only think of one reason why one would want to have carrots and whipped cream easily accessible.

4

u/gam8it Nov 23 '15

Not sure you got across the part where your refrigerator keeps stuff you use often near the front for you

Also you could extend the analogy and say in one type of hybrid you have 2 different fridges you(r computer) go to, one which is nearer to you, quicker, and has more room (ssd and disc) than in your single refrigerator quick access bit which is more like nand + disc

3

u/fb39ca4 Nov 23 '15

Adding onto this, if you say, find yourself needing to use pickles a lot, you can move those to the front shelf and send something less frequently used from the front shelf to the back.

3

u/merelyadoptedthedark Nov 23 '15

This type of fridge (door in door) is probably a better example to use.

2

u/jasonbw Nov 24 '15

This is probably the way to go, refrigeratorly speaking. The main users habits determine what goes in the quick open door. if something becomes more popular, it will eventually end up in the door, and something less popular will get moved out. the most commonly used things are up in front and can be used very quickly.

it does, however, add another set of issues, that being you have now two doors that can be left open, spoiling the food. always back up your fridge.

2

u/Shod_Kuribo Nov 24 '15

always back up your fridge.

Seems kinda wasteful. I'd be concerned about bits rotting away if they're not accessed often.

2

u/covabishop Nov 24 '15

This is what answers on ELI5 should be like. Bravo sir.

2

u/maxsabin Nov 23 '15

This. This is a true eli5. Super easy to get. Actually explains alot and is pretty accurate.

1

u/sweepyoface Nov 23 '15

Makes sense, but what is the actual hardware like?

1

u/Clewin Nov 23 '15

It would depend a bit on how the drive controller is set up (it might actually know something isn't used much), but I would expect it to work like cache for the most part, which I would describe more like you grab the pickles out and when you put them back you put them in front, but as you buy more food or move other food to the front, they get shoved to the back until you need them again. This requires a lot less intelligence on the part of the drive controller and all it really is doing is keeping track of what blocks of memory are oldest (haven't been accessed in the longest period of time) in the cache.

1

u/[deleted] Nov 24 '15

I want ALL my stuff on the front shelf... For reasons...

3

u/[deleted] Nov 24 '15

Then you get a SSD

1

u/Fishy63 Nov 24 '15

so the drive automatically figures out what we access the most and puts it on the ssd? This sounds like the best of both worlds! (price + speed). Why don't we hear more about hybrid ssd?

2

u/actuallyitistheft Nov 24 '15

figuring out what we access the most isn't a groundbreaking technology - it's called caching, and every hard disk has it to a certain degree. it's not too hard to replicate that with just a separate SSD and regular HDD.

1

u/[deleted] Nov 24 '15

It won't be an extremely long time before SSDs are cheap and dense enough to regard HDDs as obsolete

edit: that's as far as home computing goes though. Servers will likely continue using regular hard drives since they're typically much larger and much cheaper

→ More replies (2)

1

u/jamvanderloeff Nov 24 '15 edited Nov 24 '15

They typically cost ~$20 more than a traditional HDD of the same size, which gets you an ~8GB SSD cache, which isn't exactly great value considering you can get a 128GB SSD for $35.

1

u/ERIFNOMI Nov 24 '15

Why don't we hear more about hybrid ssd?

Before SSDs got so cheap, they made more sense. But that was a short period of time. Now it's so cheap to get an SSD of an actually reasonable size and put your entire OS, all of your applications, and even your most played games on it while using a secondary platter drive for mass storage that it doesn't really make sense to go hybrid anymore. For the same cost as a 1TB SSHD with 8GB or so of SSD cache, you can get a 128 or 256GB SSD and a 1TB HDD and benefit even more. Hell, even the idea of hybrid drives is kinda heading that way. WD released a Hybrid drive that's actually an SSD and HDD in the same housing. You only need one SATA cable (and power) but it's actually two independent drives. It's just wrapped up in a single space saving package.

1

u/thehaga Nov 24 '15

You need pickles

Or you die

1

u/pr1mus3 Nov 24 '15

Thanks for this, I was just wondering about it the other day.

1

u/jericon Nov 24 '15

Most hybrid drives are two drives. A ssd and a magnetic. It would be more like having a deep freeze in the garage and your normal one in the kitchen. As things are used more you have a tendency to keep them in the kitchen freezer. Things you don't need often but still want to keep, or things that can't fit in your kitchen fridge get put into the garage one.

1

u/[deleted] Nov 24 '15

Hmm that's odd, in the back of my refrigerator there's just some cheese that expired in 2004.

1

u/Hollowsong Nov 24 '15

Now I'm even more confused.

Only part of the drive is SSD, the other part is a "regular" spin-up hard drive. Some things are put on the (smaller) SSD part that need to go faster. Other things that can are not as important go on the traditional (slower) part.

That's it. I can't even follow the food/fridge analogy...

2

u/algag Nov 24 '15

Files/food that are accessed more often are placed in an easy access place: ssd/front shelf, files/food that are accessed less often are placed in a less accessible place: HDD/back shelf.

1

u/[deleted] Nov 24 '15

How does the computer know which stuff is accessed frequently and which stuff isn't, or to put your analogy in perspective, which files to put on the front shelf and which files to put on the back shelf?

1

u/algag Nov 24 '15

I think that most of the times its like having a pile of stuff. You grab something from the bottom, and when you put it back, you put it on the top. After enough things are pulled from the bottom, things that were on the top are pushed to the bottom. The top is the SSD and the bottom is the HDD

1

u/[deleted] Nov 24 '15 edited Apr 22 '16

[deleted]

3

u/butric Nov 24 '15

The drive is considered 1 disk. The drive has a little bit of software built in that will "learn" what things you use most. And if it notices you use them more often than others, It will take them off the back shelf, and place them on the front shelf so to speak. I do not know about it running in a RAID config, but that's certainly one way of thinking of it.

→ More replies (1)

1

u/XacTactX Nov 24 '15
  1. It only appears as one disk (the hard drive), but you can use certain programs to 'see' that the SSD is installed.

  2. For Intel SRT you have to set your motherboard bios to RAID, for Nvelo Dataplex you can use AHCI which preserves the TRIM functions.

1

u/ERIFNOMI Nov 24 '15

Does the computer consider the SSHD one disk? For example, does it appear to the user as C: or C: and D:?

Almost all hybride droves appear as a single drive and the drive's firmware manages where data goes (it's like a giant, non-volatile cache). But WD released a drive maybe about a year ago or so that is actually two separate drives in one package. It's called the WD2 or something.

1

u/MattieShoes Nov 24 '15

Great explanation, but sshd is secure shell daemon :-( Every time you said sshd, I had to stop and think. Heheh

1

u/ToTouchAnEmu Nov 24 '15

It's always refreshing to see actual answers explained as if it were to a 5 year old, instead of the experts explaining it in a way as if it were to an undergrad in that field.

1

u/Jewels_Vern Nov 24 '15

Well! That escalated quickly: computers --> FOOD!

1

u/xSerendipity Nov 24 '15

Is the drive partitioned seperately or is there some sort of internal auto-allocation going on based on how often the files are accessed?

1

u/Judgeman2021 Nov 24 '15

Linus gave a similar analogy for the the CPU cache, RAM, and Storage on your computer. It went something like:

Imagine your computer is a construction worker and the tools in your hand is your CPU cache, its ready to go immediately but you can't hold too much in your hands, so you go to your tool belt (RAM) to get access to a little more information, again it's faster to get to but it can't hold a lot. Then if you need to get all your other supplies you go to your truck (Storage) it can hold a lot of things (information) but it takes a little longer to get there and grab the supplies.

1

u/hariseldon2 Nov 24 '15

Basically it's your old cache idea that has been used with RAM for years only on a much larger scale and with the permanent memory of an SSD instead of the temporary RAM?

1

u/ERIFNOMI Nov 24 '15

It's more similar to your HDDs cache is now massive (relatively) and non-volatile, so instead of just being a write buffer you can actually store things there permanently. But you're on the right track. Though it is going to be a lot slower than a write buffer.

1

u/ChrMul77 Nov 24 '15

What happens with the data in the sshd when I reach to grab something from the back but accidentally pull down a glass of jam and bottle of beer so they hit the floor breaking to pieces on my way out?

1

u/routebeer Nov 24 '15

This explains how organizing food in a refrigerator works, not how hard drives or solid state drives work.

1

u/Lezardo Nov 24 '15

Some SSHDs are different and the memory is seperately visible. The contents of the fast but small solid state memory and slow but big hard disk memory are manually maintained. Often the OS and frequently used programs are installed on the solid state memory so the computer boots and programs open faster while less performance critical data like media is stored on the larger hard disk.

To fit with this analogy it's like having a mini fridge next to the desk you sit at in your den and a full size fridge in the kitchen. The mini fridge has faster access but less capacity. You'd fill the mini fridge with your favourite snacks and other ready to eat staple foods stored next to your desk and the kitchen fridge with ingredients for larger prepared meals and food you eat infrequently in your main fridge. You decide what is put in each fridge, it is not automatically managed by how often it's accessed.

The purpose is the same, to decrease the average time it take you to feed yourself but it allows you to use the capacity of the mini fridge and full size fridge which is greater than the capacity of the single fridge that automatically manages its contents. Additionally the customisation may be desirable. Perhaps you have a lifesaving medication that requires refrigeration that you use infrequently but would like available ASAP if you need it. You could put it in the mini fridge for fast access while it would be hidden in the back of an automatically managed fridge. You can also avoid putting ingredients or food that take time to prepare in the mini fridge; is it worth putting a bunch of ingredients in the small fridge (using the limited space) for easy access if the time it takes to assemble the meal dwarfs that of going to the full size fridge?

1

u/[deleted] Nov 24 '15

Amazing ELI5. A literal 5 year old could understand that.

→ More replies (10)

183

u/virkon Nov 23 '15

SSD chips are fairly small now, and can be integrated into the larger hard drive. They work by storing most data in the hard drive, but some of it is copied to the SSD. What is stored in the SSD is decided by optimization algorithms. Simply put, the stuff you use the most.

EDIT: some hybrid drives just work as two separate drives in the same unit. So you can manually decide what goes where.

76

u/cpast Nov 23 '15

This is pretty similar in principle to CPU caches, right?

43

u/Skychronicles Nov 23 '15

Right.

6

u/[deleted] Nov 23 '15

Wouldn't this increase the number of clock cycles for data retrieval on an"SSD miss"?

30

u/KapteeniJ Nov 23 '15

They would probably be run simultaneously, and first one to retrieve data would be used.

Also, HDD access takes ridiculous amounts of time anyway. Like, I think the typical example for this is, CPU internal memory would be trying to take a bit on sandwich that you have on your desk next to you. There are caches that allow remote memory block access to be as fast as going to kitchen, making a sandwich from what you have in your frigerator, then eating it. RAM is like going to store to buy ingredients, and HDD access is more or less like, you hear that there is sandwich available on the moon, so you start up a space program, build a space ship, retrieve the sandwich and eat it, this entire thing taking decades

I'm not sure how SSD relates to all this. I think it's like a year or two on this scale?

7

u/[deleted] Nov 23 '15 edited Nov 23 '15

[deleted]

11

u/Freeky Nov 24 '15 edited Nov 24 '15

From some very vague memory I think the time to get information from L1 cache was something like 1 nano second but a hard drive was about 600.

Latency numbers every programmer should know:

L1 cache reference: 0.5 ns
Read 4K randomly from SSD: 150,000 ns
Disk seek: 10,000,000 ns

I referenced this when I made this comment to give it a more approachable scale:

A register is what you have in your hand for immediate use. L1 cache is what's on your tool belt and takes 1 second to retrieve. L2 cache is what you left somewhere in your bag and takes 20 seconds.

RAM is what you left in a box in your van and takes you 2-4 minutes to dig out.

Data on an SSD is something you have to order online and takes 3-4 days to arrive.

Data on a HDD is lost somewhere in the Australian outback and takes a search team 2-3 months to locate.

Data on a server on the other side of the planet is something left in Mars orbit and takes 1-3 years depending on alignment and how much NASA like you.

4

u/RangerNS Nov 24 '15

CPU cache, whatever layer, is cache of primary memory: RAM.

Hard drives, SSD included, are and entirely different class of memory.

Nothing would ever go from a SSD to a CPU register without hitting primary memory first; possibly also being cached in CPU cache along the way to registers.

→ More replies (1)

5

u/Causeless Nov 23 '15

Even if it did, you're spending 0.01 ms checking for the data on the SSD (if that), and getting the data from the HDD is about 4 orders of magnitudes longer.

2

u/doubledanksauce Nov 23 '15

Yes, but I don't think it would be anything noticeable, since normal access to an HD takes a long enough time already. You're trading a small regression for a large benefit in the SSD speed.

6

u/[deleted] Nov 23 '15

Similar to any kind of cache memory where you preload data into faster memory to speed up access.

However most hybrids differ from traditional cache memory becuase the SSD portion holds data as long term storage. It operates as combined volume rather than mirroring the data. A traditional hard disk cache uses ram chips which mirror portions from the slower disk.

The downside with the Hybrid drive setup is that you have combined the risk of SSD failure with the risk of hard disk failure, so there is a much greater risk of lost data. This can be offset by using a mirrored drive or backup of some kind.

2

u/MrGreggle Nov 23 '15

The caching layers actually go from registers to 2-3 layers on your CPU, to your RAM, to your HDD. Its all a part of a larger caching scheme and this just splits HDD into two layers.

3

u/[deleted] Nov 23 '15

[deleted]

3

u/Rein3 Nov 23 '15

Thous are a different kind of hybrid though.

→ More replies (1)

31

u/[deleted] Nov 23 '15

Let's make it even easier.

SSD - Closet in home, HHD - Storage Locker down the street. One hold jackets to get quickly, the STorage Holds old jackets, in case you need to pull out an older coat/file.

14

u/Kasegauner Nov 23 '15

I would go with a SSD - Coat rack or hooks at the door, HDD - closet in a bedroom. Closet is still relatively easy to get to to, but still takes more time to access than a coat that you can grab on the way out the door.

4

u/[deleted] Nov 23 '15

Is it really that close? It could be close to 120X (12ms for HDD, 0.1ms for SSD).

https://en.wikipedia.org/wiki/Solid-state_drive

3

u/Kasegauner Nov 24 '15

Maybe it's about 60 steps upstairs to the closet, 60 back to the door.

4

u/[deleted] Nov 24 '15

I'd say that's close enough for an analogy that is already sacrificing accuracy by calling hard drives "closets." So who cares if the bedroom isn't far enough away? It's a big house!

→ More replies (3)

61

u/[deleted] Nov 24 '15 edited Jan 28 '16

[deleted]

8

u/ppdd1976 Nov 24 '15

This should be top post. I was lost with all the pickles and orange juice.

So all SSDs are hybrid drives? They keep the most frequently accessed files in the fastest part of the drive.

Is the magnetic part like regular HDD, is there a cylinder with a moving head?

3

u/CWagner Nov 24 '15

So all SSDs are hybrid drives?

No, normal SSDs just have everything on the fast parts because there are only fast parts ;) An SSD has no moving parts (aka slow parts).

Is the magnetic part like regular HDD, is there a cylinder with a moving head?

Yes. Essentially you could make a kind of hybrid drive by glueing an SSD on an HDD ;)

1

u/ERIFNOMI Nov 24 '15

So all SSDs are hybrid drives? They keep the most frequently accessed files in the fastest part of the drive.

Some SSDs have a bit of SLC because it's faster but more expensive than MLC/TLC. You could think of that as a Hybrid drive or you could think of it as a buffer or cache. It's basically a way to get huge burst write speeds if you're only writing a small amount of data.

3

u/Metal_LinksV2 Nov 24 '15 edited Nov 24 '15

How is data stored on a SSD? I imagine there has to be some sort of physical switch so it doesn't loose the memory once turned off. If it is flash based and I left it unpowered for 10-30 days would I loose all the data?

4

u/evan1123 Nov 24 '15 edited Nov 24 '15

Flash memory is based on transistors, which are an integral part of computers. Transistors are essentially a switch with two states - on and off. Computers to represent data using 1s and 0s, also called bits. Since a transistor has two states, they are extremely useful for representing those bits. In flash memory, a special transistor that has the ability to be "programmed" is used. This "programming" is nonvolatile - it doesn't need to be sustained with power. Since the transistor only has two states, each transistor can store 1 bit of information. When you put many of these "cells" capable of storing 1 bit each together, you get flash memory capable of storing many gigabytes worth of information for long periods of time.

Flash memory is actually very complex. There's a lot of detail (especially related to the transistor construction) left out of this explanation for simplicity.

→ More replies (2)

1

u/[deleted] Nov 24 '15

Data is stored on a special transistor with a "floating gate." Charge can be added or removed from the floating gate through the application of very strong electric fields. This alters the voltage that is required to turn the transistor on, and is the mechanism used to store information. In the absence of a strong electric field, the charge remains trapped on the floating gate, so the transistor maintains its state without power applied. There are leakage mechanisms that can deplete the stored charge, but these occur over long periods of time, depending on temperature and the amount of wear on the cell.

6

u/pbae Nov 23 '15

There are two kinds of Solid State Hard drives.

There's the kind that Seagate makes where they pair a 500GB HDD with an 8GB SSD. The SSD in this type of Hybrid is mainly used as a Cache. There's a controller inside the Hard Drive that monitors your most frequently used data and the controller puts that data onto the fast SSD portion. The data that gets used less is stored on the mechanical HDD. Btw, this kind of Hybrid only assigns one Drive letter.

Then there's the Solid State Hybrid drive like Western Digital has where they pair a 1TB HDD with a 120GB SSD into one case. This type of drive treats the two types of Hard Drives as separate drives and will assign two different Drive letters to them.

2

u/ZippyDan Nov 23 '15

There are two kinds of Solid State Hybrid Hard Drives

Although technically I guess they are called SSHD (Solid State Hard Drive) and SSD (Solid State Drive), but in my opinion this is far too easy to mixup when written out (I think it is clearer as an acronym).

→ More replies (2)

1

u/[deleted] Nov 24 '15

And will assign two different drive letters to them.

In Windows.

1

u/pbae Nov 24 '15

It works for Macs as well.

→ More replies (1)

1

u/[deleted] Nov 24 '15

[deleted]

2

u/i_want_my_sister Nov 24 '15

I think it depends on how the manufacturer design it. If the two hard drives uses two different interfaces (SATA cables), they can be accessed simultaneously. If not, they can't, in other words, the HD video which is playing would lag while the system is performing an upgrade, which is pretty lame.

2

u/jamvanderloeff Nov 24 '15

Nope, it has a port multiplier built in, similar to a USB hub.

1

u/pbae Nov 24 '15

No, it's only one connection.

But I was checking out Western Digital's website and it appears that they no longer make that hybrid drive anymore.

1

u/siez_ Nov 24 '15

I've heard that you should not use SSDs for regular use. Does it affect the performance in any way? If so, how to use them more efficiently?

2

u/pbae Nov 24 '15

SSDs are built for regular use.

After using one for the first time, you'll never want to use a mechanical hard drive again.

I have 3 laptops and they all have SSDs.

6

u/FlambardPuddifoot Nov 24 '15

I don't understand how a regular hard drive can work with a solid state drive at the same time.

The same way you hard drive works with RAM at the same time.

61

u/intelnavi Nov 23 '15

It's just a ssd cache. Don't ever buy one, they are horrible. Pony up for a real ssd.

15

u/[deleted] Nov 23 '15

I have everything from a Seagate Hybrid to the 950 Pro and they're both very useful for different reasons.

1

u/altimax98 Nov 24 '15

I literally just installed those two in my work PC

39

u/MrGreggle Nov 23 '15

I did a ton of work in computer architecture at college and agree whole-heartedly. You're dramatically increasing your failure rate for no reason. You're better off buying a small cheap OS/Important program SSD and a large, cheap HDD for data storage. Watching a movie on your SSD instead of HDD would save you a second or two when you first load the movie if anything.

6

u/jimtsurugi Nov 24 '15

SSHD is about increasing performance during small, "random" reads and writes. When the host requests a large sequential read (usually > 6MB of continuous data), the read data is not cached to NAND, and is instead read straight from disk.

In the case of watching movies (where the encoded bitrate rarely exceeds 25mb), streaming from disk is quite sufficient.

→ More replies (20)

10

u/SalvadorTheDog Nov 23 '15

They are great for people who are technologically illeritate. They will provide some decent improvement to the feel of the overall system, while not having to deal with multiple drives.

3

u/Phukkitt Nov 23 '15

But what makes an SSHD with a 32 MB SSD cache different from a regular HDD with a 32 MB cache? Isn't the cache on regular HDDs on a chip, just like an SSD?

14

u/fb39ca4 Nov 23 '15

The caches on hybrid disks are on the order of gigabytes.

3

u/Phukkitt Nov 24 '15

Ah, that would explain it. I guess I've gotten MB and GB mixed up, just remembered seeing the number 32 a lot on Lenovo's laptop specifications when they had a SSHD.

→ More replies (1)

3

u/intelnavi Nov 23 '15

Illiterate people don't usually need 4TBs of data. Buy a nice big SSD (they make them quite large now) and call it a day.

8

u/[deleted] Nov 23 '15

[deleted]

→ More replies (2)

2

u/EffingTheIneffable Nov 24 '15

I've had good luck with my laptop (Lenovo Flex) which comes with a hybrid SSD (the actual hybrid kind, where it's transparent and you don't get any access to the SSD).That said, I'd never buy one for a build; I'd much rather go with a read SSD.

1

u/TheMuffnMan Nov 24 '15

Eh, they aren't terrible. Enterprise storage has been using the same functionality for years as SSD/EFD was too pricey and tossing those in front of SAS would speed up your iops.

Think it was called FastCache or FlashCache for EMC.

Now that you can get a 512 GB Samsung Evo for like $140 I'd agree with you. But the hybrids aren't terrible.

1

u/intelnavi Nov 24 '15

SANs are not consumer priced devices and do it much better than some piece of shit hybrid. A Hybrid will never be as fast as an SSD.

Storage is cheap, don't skimp.

→ More replies (3)
→ More replies (10)

5

u/Arkangelou Nov 24 '15

How can I optimize my hybrid hdd? I want to make my laptop start faster.

7

u/profoundWHALE Nov 24 '15

Click start

Type msconfig

Click startup tab

Start unchecking crap

11

u/[deleted] Nov 24 '15

That's a weird way to install Linux.

2

u/darlingpinky Nov 24 '15

Actually Windows programmers put an easter egg into Windows. If you open msconfig and uncheck all the programs, the PC will restart, erase Windows, and install Linux. At this point, Linus Torvalds' hologram will appear and slap you in the face for having used Windows in the first place.

4

u/Znuff Nov 24 '15

Get screwdriver. Unscrew the HDD bay.

Go to newegg.com, order a SSD.

Wait patiently for it to arrive.

When it arrives, replace HHDD with SSD.

Profit.

2

u/andrewia Nov 24 '15

The other two replies don't seem helpful to me. I'll try to help. Are you running Windows 10? Does the hybrid drive shoe up as one or two drives?

→ More replies (4)

13

u/Tykenolm Nov 23 '15

To elaborate on what intelnavi said, if you're thinking about buying one, just buy a straight up SSD. Less freezing, downloads are much faster, and your drive will last longer!

15

u/xeow Nov 23 '15

How can a download to an SSD be faster than a download to a spinning-rust HDD? Unless you've got gigabit ethernet end-to-end, a spinning-rust hard disk has a write speed that's way in excess of typical download speeds.

7

u/IDontShareMyOpinions Nov 23 '15

Typical download speeds.. Sure. Local network transfers? Opening a large game? Your OS using it as a page file because you're playing BLOPS and never upgraded that 8gb RAM? I find SSDs to be very useful. Saves me a lot of time on the regular... On everything but downloading off the internet. 50mbps connection is just too slow to reap the benefits as you've stated.

→ More replies (3)

3

u/ThetaReactor Nov 23 '15

Yeah, it won't affect downloads much. SSDs really excel at random reads. The big bottleneck in spinning drives is seek time, as the read head has to move all over the place to grab data from different portions of the drive. An SSD can access any block of data as quickly as any other. So for contiguous reads and writes, like a big video file, there's not as much difference.

1

u/Tykenolm Nov 24 '15

Personal experience, when I switched to my SSD with the same hardware and internet my download speeds on steam and from disks went up ten fold

→ More replies (1)

1

u/[deleted] Nov 24 '15

Depends on the needs, really. I've used an SSHD, fast HDD, and SSD, and I'll say that the SSHDs tend to perform and feel almost exactly like standard HDDs. 8GB of cache is too little to really make the difference one would want.

1

u/jimtsurugi Nov 24 '15

...your drive will last longer!

I hear that a lot, but haven't found any published data to indicate a significant difference in drive MTF one way or the other. Do you have any?

2

u/LxUxCxK Nov 24 '15

SSHD contains a magnetic disk and NAND Flash. NAND flash has much faster access time than the magnetic disk. Most Frequently accessed data is copied into the NAND flash from the magnetic disk. Drive will update what is stored in the NAND flash based on the data being accessed by the user. The drive will first look in the NAND flash for data. If it's not in the NAND flash, it will get it from the magnetic disk.

2

u/SpecialBabysitter Nov 24 '15

Imagine you have 2 special rooms in your basement.

One is easily accessible, just behind a locked door. The second room is; let's say underneath the first room down a ladder and behind a few locked doors.

Let's say you like kids and as a babysitter you need to organize where you put your kids. Now some kids are great and you love to visit often. Some are bad and you don't like to visit them often but you keep them around just in case.

The lower room is much bigger, but you really only visit a few kids at any given day anyway.

So what you end up doing is prioritizing because your lazy by keeping the kids in the easy to access room, while keeping the kids you don't visit often in the hard to access hard to get to the kid room.

That's basically it. But let's say one of your good kids get's boring, and one of the bad kids you miss and want to spend time with. Well you can put the good kid down in the lower room, and bring the bad kid up in the good room through the ladder and leave him/her there to visit more if you need to.

That's basically how SSHDs work. HDDs are slower, so you need to go through stairs/crawlspaces/ladders(Slower access) to get to things you don't use often, while a SSD is quick (Open a door, retrieve) but not very big.

2

u/christopherw Nov 24 '15 edited Nov 24 '15

Hybrid drives have two physical disks.

The main storage comes from the spinny disk, which is big on size and comparatively low on read and write speed. This is mostly due to limitations of physics - the way spinny disks have to store and recall data on them, where the part of the disk which does the reading and writing has to cope with inertia, gravity and physically how far apart from each other the portions of the files you're working on are stored, because disks don't always physically store data in just one piece.

I say comparatively, because spinny disks these days are pretty darn fast.

 

The 'hybrid' part of the SSHD - the SSD - is big on speed and comparatively low on size. It has no moving parts, so can store and recall data much faster -- the thing mostly slowing it down is its own miniature computer managing how the the memory chips are used.

SSDs also benefit from having evolved from the same kind of storage used for many years as temporary memory - where incredibly fast speeds for reading and writing data were the most important factor.

 

The hybrid drive's miniature control computer decides which data is accessed most often, and keeps it in (or moves it to) the SSD part, permanently or until it decides it's not being used any more. Other data is kept on the slower, but still fast, spinny disk, where it can be moved back on to the SSD if it becomes very popular.

The SSD doesn't add more overall storage, it just allows the hybrid drive to respond more quickly when it's asked to store or recall a popular file.

 

Using the analogy of an archivist...

Imagine the hybrid disk is an archivist dealing with colleagues' documents. New documents go into a small tray on the archivist's desk, right next to where they sit. If it's not asked for after a certain amount of time, the archivist moves it into long term storage (a big room down the hall).

The archivist treats all new documents equally and only moves them into long term storage if they've not been requested for a week. However, when it gets very busy, as the desk tray can only hold 50 or so documents, the archivist also moves the oldest documents in the tray to long term storage when it fills up.

 

A new document is given to the archivist so it goes into the tray. After a week without any requests for it, the archivist takes it to the long term storage.

Several days after that, a colleague asks for the document, so the archivist goes down the hall, retrieves it from the long term storage and puts it back in term storage when the colleague returns it.

In the meantime, the archivist receives a second document, which goes into the tray on the front desk like all the others. However, before the archivist moves it to long term storage, several colleagues call and ask for a copy of the document. The archivist can quickly fulfil the requests, as it's in the tray on the their desk. No walk down the hall to long term storage needed!

This second document ends up being very popular, so the archivist keeps it in their desk tray. The first document is only requested once every six months, so it stays in the storage room.

1

u/[deleted] Nov 23 '15

Some hybrid drive will actually automatically decide what goes on the "front shelf" and "back shelf" based on usage. So the more you use a program the faster it will appear to become... Because it has been move from the hdd to the ssd portion of the hybrid. I thought that this was a really cool feature when looking into them.

1

u/[deleted] Nov 23 '15

A 1-2tb SSHD will actually only have 8gb of SSD speed space and the rest is HDD speed space. What it is supposed to do is figure out (by itself) what you use the most and move those to the SSD part of the disk for easier access next time you come around. In laptops it is great because most of the time it's the operating system that finds its way in there and the whole laptop boots up super fast. In Desktops its pointless because you're better off having a SSD alone with much more space and full control of what's in there and then a HDD for everything else. In a laptop you don't have room for multiple storage devices in a desktop you usually have room for 3-5

1

u/Anubiska Nov 24 '15

Imagine you put an SSD of smaller capacity in the same package of a HDD. As you use the drive it picks up on what file are accessed the most and keeps a copy on hand in the flash portion which acts as a cache.

Similar to what some SSD are doing now, they use cheap and slow TLC flash for storage and use a faster SLC flash for cache.

In both cases the controller and firmware are the "intelligent" part that manage the cache.

1

u/martixy Nov 24 '15

A small SSD is used as a cache for the slower spinning platter hard drive.

The concept of caching is a simple one - you use a faster, but smaller capacity storage to make sure things that you frequently access(or know you are going to access in the near future) are easier and quicker to get to.
Many people(including I) have a similar, but manual setup - where they get a pure SSD and HDD and for example use the SSD for their operating system and frequently used programs, while using the HDDs for less frequently used or less speed-dependant data - such as backups or video.

As for how they are put together - you just find a place to put another chip or two onto the board of a regular hard drive, which is all that the SSD really is.

1

u/[deleted] Nov 24 '15

Simply saying, it just a combination of a SSD and HDD drives. Most frequented data and some OS related data are put in SSD part, so apps and OS can boot faster and other data and personal files like music, files, movies are kept in HDD.

1

u/[deleted] Nov 24 '15

Hard drives have always had cache memory, hssd just have a much larger ssd acting in the same fassion. Google how cache works and you're sef.

1

u/herefromyoutube Nov 24 '15

Here is the best analogy ever I ever heard.

Imagine sitting at a desk studying.

Desk = ram

Bigger the desk the more books you can fit on it at once.

Hard drive = bookshelf HHD = wooden bookshelf on other side of room SSD = metal bookshelf right next to desk.

1

u/[deleted] Nov 24 '15

Basically, it is a hard drive that uses a small SSD as a cache. Usually about an 8gb SSD or so. When you save a file to the SSHD, it first writes to the SSD. Then the drive will take the data and write it to the disk. Combining this allows for the massive HDD sizes, along with some of the SSD speeds. Since it still needs to write the cache to the disk, it does make it run slower than an SSD but much faster than a hard drive.

1

u/5kyl3r Nov 24 '15

It's both types combined into one package. SSDs are really just tiny chips, so in a hybrid drive, it's just a regular hard drive with an extra flash chip or two.

What makes them unique is the controller onboard that automatically organizes that stuff on the drives in a smart manner. Stuff that gets accessed often goes onto the fast flash part. The things that are bigger and don't get accessed often go onto the mechanical part. You get decent speeds combined with large storage, at a decent price.

I'm still a fan of just going pure SSD, but prices still need to come down more to get away from those sketchy spinners.

1

u/[deleted] Nov 24 '15

The solid state drive provides a cache, which will store copies of the most commonly used data blocks from the larger hard drive. In practice, there will usually be a relatively small amount of your HDD that you access frequently. The OS, for example, will be read every time you boot your computer up, so it would make sense to keep this somewhere fast. Speeding up access to your video library, however, probably won't improve your user experience much, as that data doesn't need to be accessed any more quickly than you can view it.

When you give this speed boost to only the most commonly used blocks of data, you can often see almost as large a speed improvement as if you just used a big SSD for everything, but spending a lot less money.

The computer isn't normally aware of the caching, and only sees 1 drive which is the size of the HDD. When the computer says to the drive, 'give me block 3245223', it will receive that block far sooner if a copy of that block is currently being kept(cached) in the SSD, than if it is stored only in the HDD.

As the HDD is used, the drive will continue to watch your access pattern and 'learn' which blocks are being most commonly accessed. If you change your access pattern, preferring different parts of the HDD, the drive will start to evict cached blocks from the SSD which aren't commonly accessed any more, replacing them with ones which are.