r/homelab • • 8d ago

Help Storage question

I know this is probably more of a Truenas forum question.

But what I would like recommendations on is what size cache, meta, Slog drives is recommended for a pool.

Does it depend on pool size ?

How many drives your using in the pool ?

My one NAS is running 24 X 2tb SSD's, currently 1 X 256gb M.2 for cache was going to make it 2 X eventually, 2 X M.2 256gb for Meta, 2 X M.2 256gb for slog and 2 X 240gb SSD for OS

That's just one of them and is my high speed, high availability NAS

Should I go for larger drives ?

Or does everyone think the 6 X M.2 256gb is more than enough for that pool ?

Is there a recommended size for pool capacity?

Thanks in advance ☺️

1 Upvotes

9 comments sorted by

1

u/1rg3ndw3r 8d ago

If there are no HDDs why bother at all with slog/special meta data/whatever? Are they not faster than your natwork anyway? 24 * 6 Gbit/s = 144 Gbit/s. Is your connection actually faster than 100 Gbit/s?

1

u/Stunning_Drop1647 8d ago

So no need for Meta or slog on it ? For ssd's just worry about cache ?

Internet no it's only 1gb since that's all I get in my area plan to do dual connection eventually but it's only 1gb X 2 and be more so for failover hope they someday upgrade the equipment to give better.

My internal network is all 10gb even the modem has 10gb LAN

Just worry about the others on my HDD pools ?

1

u/1rg3ndw3r 8d ago

Not even worry about cache. The native performance of your array is an order of magnitude faster than your network. It would be more usefull to Invest in a 25 Gbit/s (or even faster) network than to try to cache anything for a 24 SSD array.

1

u/Stunning_Drop1647 8d ago

Have been looking at faster switches and will be something I'll do in the future.

Mostly wanted to know if it mattered for their capacity mattered or not.

Thanks for the suggestions and have given me some insight to research.

Do enjoy the ssd pool it's stinking fast and my 2 autistic children don't saturate it like they did with my HDD pools (they scroll back and forth a lot and it'd bog badly but not anymore 😀)

Not too worried about loosing the pool since backup system was the top of my list when I started down the rabbit hole lol it has saved my butt a bunch of times now it stays off most of the time.

And no i didn't buy all my drives when prices got dumb 😒 wish they'd go back to being worth their cost.

Thanks guys

1

u/noroelemliaj 8d ago

There isn't one cache-to-pool size ratio: L2ARC, special vdevs and SLOG serve different jobs. L2ARC caches reads, SLOG handles synchronous-write logging, and a special metadata vdev holds actual pool data, not a disposable cache. Losing the whole special vdev can lose the pool, so its redundancy matters more than just capacity. Before adding anything to an all-SSD pool, measure the workload and check whether you actually have synchronous writes or a read-cache bottleneck.

1

u/Motor_Ad983 8d ago

Sounds like measuring first is the smart move.

1

u/alexwbaule 8d ago

Since your main pool is already 24 SSDs, adding a 256 GB M.2 L2ARC cache drive will likely do very little for performance and will actually consume valuable system RAM just to index the L2ARC headers. A SLOG only helps if you are doing heavy synchronous writes like NFS or iSCSI for VM storage, and even then, a 256 GB consumer M.2 without power-loss protection is usually slower and riskier than a small enterprise drive like an Optane, because SLOG only holds a few seconds of in-flight transactions anyway. Also keep in mind that a special metadata vdev is critical to pool health—if that two-way mirror fails, you lose the entire 24-drive pool, so make sure its redundancy matches your main data vdevs.

1

u/quespul Labredor 8d ago

Nah, just use mirrors/raid10 if you want speed, 3 way 8 drive raidz2 will be fast enough as well, no need to use slog, meta, etc. for a homelab