Jump to content

I've always wondered if cache would doubke like the rest of the storage or would it lay dormant kind of like VRAM for GPUs

 

Don't say "I would expect"... I can make guesses, I'm asking if anyone *knows*

i7 8700k 5.0GHz 4.0Ghz Cache (Stock Cooler)

2x8GB 3400mhz RAM 19-19-19-38

GTX 1060 3GB 2050Mhz Core, 9500Mhz Memory

Link to comment
https://linustechtips.com/topic/1244888-does-raid-0-clone-or-double-cache-amount/
Share on other sites

Link to post
Share on other sites

10 minutes ago, TechMasterMind said:

Does RAID 0 Clone or Double Cache Amount?

If we are talking about the storage-device's internal cache, the answer is neither.

Hand, n. A singular instrument worn at the end of the human arm and commonly thrust into somebody’s pocket.

Link to post
Share on other sites

1 minute ago, WereCatf said:

If we are talking about the storage-device's internal cache, the answer is neither.

What other cache would I be talking about And what do you mean by neither? Does it just rely on one drives cache?

i7 8700k 5.0GHz 4.0Ghz Cache (Stock Cooler)

2x8GB 3400mhz RAM 19-19-19-38

GTX 1060 3GB 2050Mhz Core, 9500Mhz Memory

Link to post
Share on other sites

2 minutes ago, TechMasterMind said:

What other cache would I be talking about

The OS's own cache, for example. Or, if it's a software-RAID, it may also be keeping its own cache. Hardware-RAID-cards also have their own cache.

2 minutes ago, TechMasterMind said:

And what do you mean by neither? Does it just rely on one drives cache?

See above. There are several different caches involved.

Hand, n. A singular instrument worn at the end of the human arm and commonly thrust into somebody’s pocket.

Link to post
Share on other sites

1 minute ago, TechMasterMind said:

What other cache would I be talking about And what do you mean by neither? Does it just rely on one drives cache?

 There is no intermingling of drive cache in raid, each drives cache is built into the drive to manage data that gets sent to said drive.

desktop

Spoiler

r5 3600,3450@0.9v (0.875v get) 4.2ghz@1.25v (1.212 get) | custom loop cpu&gpu 1260mm nexxos xt45 | MSI b450i gaming ac | crucial ballistix 2x8 3000c15->3733c15@1.39v(1.376v get) |Zotac 2060 amp | 256GB Samsung 950 pro nvme | 1TB Adata su800 | 4TB HGST drive | Silverstone SX500-LG

HTPC

Spoiler

HTPC i3 7300 | Gigabyte GA-B250M-DS3H | 16GB G Skill | Adata XPG SX8000 128GB M.2 | Many HDDs | Rosewill FBM-01 | Corsair CXM 450W

 

 

Link to post
Share on other sites

1 minute ago, Cyracus said:

 There is no intermingling of drive cache in raid, each drives cache is built into the drive to manage data that gets sent to said drive.

So does this mean you'll still get a roughly equivilent benefit from the cache as if it were shared?

i7 8700k 5.0GHz 4.0Ghz Cache (Stock Cooler)

2x8GB 3400mhz RAM 19-19-19-38

GTX 1060 3GB 2050Mhz Core, 9500Mhz Memory

Link to post
Share on other sites

3 minutes ago, Electronics Wizardy said:

The raid card can't access a disk cache directly, thats all up to the drive. The raid card just sends requests to the drive for data, and the disk will use the cache to get some of those requests faster.

Does this mean the drives act like they have say 1 GB + 1GB cache instead od a pool like if they somehow combined to make 2GB or would something about raid or such cause issues to make them only 1GB or 0

i7 8700k 5.0GHz 4.0Ghz Cache (Stock Cooler)

2x8GB 3400mhz RAM 19-19-19-38

GTX 1060 3GB 2050Mhz Core, 9500Mhz Memory

Link to post
Share on other sites

1 minute ago, TechMasterMind said:

So does this mean you'll still get a roughly equivilent benefit from the cache as if it were shared?

How much benefit you get from the drive's internal cache depends on: 1) how much cache there is 2) drive's internal caching-algorithm and how it fits the stripe-size of the RAID.

Hand, n. A singular instrument worn at the end of the human arm and commonly thrust into somebody’s pocket.

Link to post
Share on other sites

Just now, TechMasterMind said:

Does this mean the drives act like they have say 1 GB + 1GB cache instead od a pool like if they somehow combined to make 2GB or would something about raid or such cause issues to make them only 1GB or 0

The cache doesn't work like that at all. The raid has no idea if there is cache on the drives at all, and can't control whats on it.

 

But in raid 0 all the drives store different water, so they cache won't hold the same things on different drives.

Link to post
Share on other sites

7 minutes ago, TechMasterMind said:

So does this mean you'll still get a roughly equivilent benefit from the cache as if it were shared?

no, the cache cannot be shared. The computer sends it data to be stored (whether raid or not), the data arrives at the drive, the data sent to the drive is stored in drives internal cache, cached data copied to drive.
So the drive's cache only gets involved with data going into or out of the drive regardless of how that data is managed before being sent to the drive

desktop

Spoiler

r5 3600,3450@0.9v (0.875v get) 4.2ghz@1.25v (1.212 get) | custom loop cpu&gpu 1260mm nexxos xt45 | MSI b450i gaming ac | crucial ballistix 2x8 3000c15->3733c15@1.39v(1.376v get) |Zotac 2060 amp | 256GB Samsung 950 pro nvme | 1TB Adata su800 | 4TB HGST drive | Silverstone SX500-LG

HTPC

Spoiler

HTPC i3 7300 | Gigabyte GA-B250M-DS3H | 16GB G Skill | Adata XPG SX8000 128GB M.2 | Many HDDs | Rosewill FBM-01 | Corsair CXM 450W

 

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×