Adding L2ARC Cache

G8One2

Patron
Joined
Jan 2, 2017
Messages
248
Sorry if this question seems a bit silly, but when messing around with established pools, Id rather be safe then sorry. My arc hit ratio averages around 80%, So i have a 250Gb SSD i want to add as a L2ARC cache, just becasue i have it laying around and not using it. I want to add this SSD to see how it performs with it vs without. Im not entirely confident on how to add this as a cache device. Id rather not nuke my pool by accident by adding it the wrong way. Can someone clarify the correct steps to add this? The guide says to "extend" the pool to add a cache device, but I can also add it as a new pool. I want to be able to remove it if it hurts performance, and not accidentally add it to a pool that would have to be rebuilt to correct. Im pretty sure that "extend" pool / ADD CACHE / ->Cache VDEV / EXTEND is the correct way to add this, but i want to make sure. Can someone clarify this for me please?

1585240923947.png


1585240978881.png
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
You should remove the empty data vdev if you can, but that's the right path to it.

As a general rule, L2ARC isn't helpful unless you're getting a lot of ARC misses... have you checked? With that much RAM, I'd be surprised.
 

G8One2

Patron
Joined
Jan 2, 2017
Messages
248
That empty vdev is what shows up when I select "extend" pool. I only have 1 pool so Im not sure why that shows as empty. I suspect its because i thinks Im adding vdevs to an existing pool. The cache vdev pops up when i select add cache. Not sure about arc misses, below is what my system is reporting. I do not have any performace issues with my system, lets just clarify that. Im always looking to make things better though. It seems the more my data pools grow, the smaller my hit ratio gets. Which is why Im looking to add the L2ARC. But, this is just for comparisons sake.

1585242196466.png

1585242219944.png

1585242253524.png

1585242277448.png

1585242304211.png

1585242328797.png
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
When you're having higher demand for data, your ARC hit rate increases to almost 100% too... I'm not sure you will see any difference, but it's not my money, so do as you see fit.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
So could also use that SSD as a SLOG perhaps...
Depends what you're expecting to improve by doing that... are you doing a lot of synchronous writing (usually iSCSI or VM block storage)?
 
Top