Page 1 of 1
Adding SSD for l2arc cache
Posted:
Wed Dec 14, 2022 7:56 pm
by t3hite
I'm running a 4-bay drive enclosure with WD 6TB NAS drives (5640 rpm). I have a spare 500GB SSD that I could use as a read cache. Would it be any help?
I've seen how to add the disk to the pool. Do I need to make any changes to ARC memory settings?
Re: Adding SSD for l2arc cache
Posted:
Thu Dec 15, 2022 1:56 am
by lundman
Just add it as a l2arc - no reason to tweak arc settings for a l2arc
zpool add pool l2arc /dev/diskX
Re: Adding SSD for l2arc cache
Posted:
Thu Dec 15, 2022 10:02 am
by t3hite
How is that different from:
zpool add pool cache /dev/diskX
Re: Adding SSD for l2arc cache
Posted:
Thu Dec 15, 2022 11:46 pm
by Jimbo
I think the difference will be that "cache" should work, where as "l2arc" will have zpool going "err what?".
Re: Adding SSD for l2arc cache
Posted:
Fri Dec 16, 2022 11:26 pm
by lundman
dang it, i really should take the time to double check my commands
Re: Adding SSD for l2arc cache
Posted:
Sat Dec 17, 2022 9:21 am
by t3hite
I created the l2arc cache disk using: zpool add ''pool' cache 'dev'. I wasn't working till I changed the secondary cache property on the dataset to 'all'. Now it works but doesn't seem to be getting may hits.
Re: Adding SSD for l2arc cache
Posted:
Tue Dec 20, 2022 8:43 am
by ffk
From what I've read about L2ARC... the not getting many hits is how it works.
Will/does the addition of L2ARC help speed up directory listings? I have a few folders that have 500+ folders in them and it takes a while for them to list.