Caching Needs and SSDs
-
@NetworkNerd said in Caching Needs and SSDs:
How much of a performance impact can 1 GB or 2 GB of cache really have on a VM host with SSDs?
A bit. For one thing, it dramatically increases the life of the SSDs, because it absorbs a huge percentage of the writes.
-
One of the biggest benefits to Starwind is that it uses RAM cache in its SAN stack to give you millions of IOPS, instead of tens of thousands of IOPS, for lots of operations.
-
@NetworkNerd said in Caching Needs and SSDs:
While RAID controllers often come with some cache (helpful for frequently accessed data), I thought the biggest benefit of getting a sizable cache on a RAID card was in conjunction with a battery on the RAID controller so you would not lose data if the system lost power while writing.
That would not make any sense since the need for the battery is only to protect the cache. Remove the cache and there is no purpose for the battery. The risk only comes from the cache.
Also, the need for the battery went away long ago. That's a 2000's problem.
-
@NetworkNerd said in Caching Needs and SSDs:
I saw this earlier today and see a recommendation to not run SSDs without a PERC card that has caching:
https://community.spiceworks.com/topic/2005543-help-with-replacing-slow-serverThat makes sense as you would not want to couple expensive high speed SSD with a cheap, slow RAID system. Bad use of funds.
-
@scottalanmiller said in Caching Needs and SSDs:
@NetworkNerd said in Caching Needs and SSDs:
I saw this earlier today and see a recommendation to not run SSDs without a PERC card that has caching:
https://community.spiceworks.com/topic/2005543-help-with-replacing-slow-serverThat makes sense as you would not want to couple expensive high speed SSD with a cheap, slow RAID system. Bad use of funds.
I know of a company that just bought a new Dell PowerEdge with local write-intensive SSDs to use for running an ERP system and SQL Server but only got the PERC H330. Oops for them. Of course, in their case, they may not notice compared to how much better things will be compared to their current hardware.
-
@NetworkNerd said in Caching Needs and SSDs:
I know of a company that just bought a new Dell PowerEdge with local write-intensive SSDs to use for running an ERP system and SQL Server but only got the PERC H330. Oops for them. Of course, in their case, they may not notice compared to how much better things will be compared to their current hardware.
That's crazy. Unless they are doing software RAID. Then the cache is in system RAM and the battery is their UPS.
Databases are specifically where you need gobs of RAM cache in front of your SSDs.
-
@scottalanmiller said in Caching Needs and SSDs:
@NetworkNerd said in Caching Needs and SSDs:
I know of a company that just bought a new Dell PowerEdge with local write-intensive SSDs to use for running an ERP system and SQL Server but only got the PERC H330. Oops for them. Of course, in their case, they may not notice compared to how much better things will be compared to their current hardware.
That's crazy. Unless they are doing software RAID. Then the cache is in system RAM and the battery is their UPS.
Databases are specifically where you need gobs of RAM cache in front of your SSDs.
No software RAID will be used (hardware only) in this instance. It's not my environment but something I was told by a friend.
-
@NetworkNerd said in Caching Needs and SSDs:
@scottalanmiller said in Caching Needs and SSDs:
@NetworkNerd said in Caching Needs and SSDs:
I know of a company that just bought a new Dell PowerEdge with local write-intensive SSDs to use for running an ERP system and SQL Server but only got the PERC H330. Oops for them. Of course, in their case, they may not notice compared to how much better things will be compared to their current hardware.
That's crazy. Unless they are doing software RAID. Then the cache is in system RAM and the battery is their UPS.
Databases are specifically where you need gobs of RAM cache in front of your SSDs.
No software RAID will be used (hardware only) in this instance. It's not my environment but something I was told by a friend.
H330 doesn't do RAID. So they ARE doing software RAID. But they just aren't doing it properly.
-
You were on the thread two years ago where we discussed how the H330 is not FakeRAID because Dell openly admits that it is software RAID and the card is just an HBA.
-
@scottalanmiller said in Caching Needs and SSDs:
You were on the thread two years ago where we discussed how the H330 is not FakeRAID because Dell openly admits that it is software RAID and the card is just an HBA.
Did you actually remember that thread off the top of your head or just find it after a little searching? I totally forgot about that thread.
-
@NetworkNerd said in Caching Needs and SSDs:
@scottalanmiller said in Caching Needs and SSDs:
You were on the thread two years ago where we discussed how the H330 is not FakeRAID because Dell openly admits that it is software RAID and the card is just an HBA.
Did you actually remember that thread off the top of your head or just find it after a little searching? I totally forgot about that thread.
I just Googled H330 and FakeRAID to see if we had posted about it because I was sure that it had been discussed. It came right up.
-
Easy way to remember is that the H series are RAID with numbers like 6+ and are HBAs (non-RAID) with low numbers.
-
Double caching seems dangerous or at least slow things down a little.
Do you mean like this:
PERC Cache -> SSD Cache -> HDD Volume?
I'd rather go: SSD Cache -> HDD Volume... using write-through to the SSD Cache.
I can see going like this without issue:
RAM Cache -> SSD Volume
or
RAM Cache -> HDD Volume
or
SSD Cache -> HDD Volume -
@Tim_G said in Caching Needs and SSDs:
Double caching seems dangerous or at least slow things down a little.
Not dangerous or slow. We do similar things for high speed websites. But in the opposite direction, of course.
Double caching is no more dangerous than single caching, if caching is dangerous, it's dangerous. If it is safe, it doesn't matter how many times you do it.
As for latency, it's not an issue and all hardware RAID systems like this do it under the hood because it's the only good way to add the SSD layer. You always want a RAM cache on the front end, and you need disks on the back end. The question is, do you want SSD in the middle or not.
If you think about the performance leap from spinners to SSD, it makes total sense to have SSD in front of them for cache. Even a little SSD helps the spinners a LOT. Same difference from SSD to RAM. RAM is orders of magnitude faster than SSD, just like SSD is over spinners. So the gains are similar. And RAM doesn't wear like SSD does, so it doesn't just speed things up but allows for fewer and more efficient writes and that means longer SSD life which actually adds reliability.
Also, cache allows writes to happen faster allowing more data to be protected before a failure.
-
@scottalanmiller said in Caching Needs and SSDs:
@Tim_G said in Caching Needs and SSDs:
Double caching seems dangerous or at least slow things down a little.
Not dangerous or slow. We do similar things for high speed websites. But in the opposite direction, of course.
Double caching is no more dangerous than single caching, if caching is dangerous, it's dangerous. If it is safe, it doesn't matter how many times you do it.
As for latency, it's not an issue and all hardware RAID systems like this do it under the hood because it's the only good way to add the SSD layer. You always want a RAM cache on the front end, and you need disks on the back end. The question is, do you want SSD in the middle or not.
If you think about the performance leap from spinners to SSD, it makes total sense to have SSD in front of them for cache. Even a little SSD helps the spinners a LOT. Same difference from SSD to RAM. RAM is orders of magnitude faster than SSD, just like SSD is over spinners. So the gains are similar. And RAM doesn't wear like SSD does, so it doesn't just speed things up but allows for fewer and more efficient writes and that means longer SSD life which actually adds reliability.
Also, cache allows writes to happen faster allowing more data to be protected before a failure.
I have a main Hypervisor running with a PERC H730p (2gb cache), configured with write-back (uses the 2gb cache) for all volumes, even the SSD SanDisk DAS Cache slow HDD volume.
But if someone has a H330 (without a cache), you can still use an SSD cache (such as with SanDisk DAS Cache) perfectly fine. You don't NEED to have the onboard RAID card cache. You can even write-through to your SSD cache volume.
-
@Tim_G said in Caching Needs and SSDs:
But if someone has a H330 (without a cache), you can still use an SSD cache (such as with SanDisk DAS Cache) perfectly fine. You don't NEED to have the onboard RAID card cache. You can even write-through to your SSD cache volume.
Of course you can use software to create caching, but you are doing everything in software, the H330 is just a SAS controller, nothing more. You can do RAM cache too. But your SSDs aren't getting caching like they should in the SanDisk DAS Cache scenario, so you aren't getting good performance and are unnecessarily beating up the SSDs.
-
I WISH there was a built-in way in Windows Server to use RAM as cache. I think it's awesome that StarWind has it.
-
@Tim_G said in Caching Needs and SSDs:
I WISH there was a built-in way in Windows Server to use RAM as cache. I think it's awesome that StarWind has it.
Yeah, the reason it is not native, I would think, is because you need it lower in the stack. Putting it in a VM would be weird if individual VMs were doing loads on uncoordinated RAM cache syncs to partner VMs.
-
@scottalanmiller said in Caching Needs and SSDs:
Also, the need for the battery went away long ago. That's a 2000's problem.
Do what? This was a standard feature as recently as 2012 on the Dell T600 line.
-
@JaredBusch said in Caching Needs and SSDs:
@scottalanmiller said in Caching Needs and SSDs:
Also, the need for the battery went away long ago. That's a 2000's problem.
Do what? This was a standard feature as recently as 2012 on the Dell T600 line.
Standard as a cheaper downgrade, right?