I have set up my old PC (i5 6600K, 64GB DDR4 RAM, 512GB M.2 SSD, 8TB HDD).
I have little experience with Debian 12 & Docker, but I have zero experience with SSD cache setup.
I have used PrimoCache on Windows. I would really like a very similar setup in Debian.
Should I should setup LVM-Cache OR Bcache?
(Please provide a link of YouTube or other website tutorial on how to setup on Debian)
If I setup any of them, do I need to setup Badger Cache too?
Can I setup SSD cache after the node setup? (Haven’t started yet)
I am going with universally popular EXT4 file system. Should I go with any other?
After building node on Docker, can I move DB’s after node setup? Or Is it possible to set DB path to my OS SSD while setting up a new node on Docker? If so, how?
I have a spare 1TB M.2 SSD for Cache.
If you have any more tips to optimize OS/Node, would be helpful.
This is an interesting time to set up a new node. As you’ve seen there’s already a Badger option to help streamline disk access… and now a new Hashstore option is being tested that should do even better. The idea is to batch more random writes into sequential writes so regular HDDs deal with it better. But those new features aren’t well-tested… yet.
If it was me… I’d set up a completely vanilla new node on ext4… and just let it vet and work towards clearing the nine-month withholding period. Maybe place the DBs on SSD (which is independent, and can be done at any time). But just kinda wait to see if Hashstore becomes the new default option… and then migrate to it.
Or… since it’s new and doesn’t really have data yet… you could yolo it and enable hashstore from the start. You’d be trying something new and experimental… and would probably be fine
(either way, I’m not sure if I’d set up LVM-Cache or Bcache today, with node internals changing so much)
Problem is my three 8TB drives are SMR and tested running nodes on Windows last year (without PrimoCache) and at around 2TB mark they were already at 100% 24/7. And even blocking Windows update for a month, it finally had to restart and then Filewalker thing would make it worse. So I am giving it a go again, just trying to make it work once more but with proper caching to ease up the load on HDD.