I think I solved a major problem in the NAS industry
| https://imgur.com/a/o2g8xYK | 09/10/25 | | VoteRepublican | 09/10/25 | | https://imgur.com/a/o2g8xYK | 09/10/25 | | https://imgur.com/a/o2g8xYK | 09/10/25 | | daniel gay luis | 09/10/25 | | Nothing Ever Happens | 09/10/25 | | https://imgur.com/a/o2g8xYK | 09/10/25 | | https://imgur.com/a/o2g8xYK | 09/10/25 |
Poast new message in this thread
Date: September 10th, 2025 12:13 AM
Author: https://imgur.com/a/o2g8xYK
The problem is "write amplification" in NAS systems that were designed to run entirely on hard drives. When running Docker they write tiny amounts of data to the SSD every 5-10 seconds. Normally these would go to hard drives that are always spinning, but over time these writes can add up and shorten the lifespan of a SSD.
My previous approach was to put shitty old SSDs in the cache pools so that I wouldn't care if they died, but then I realized a bunch of these are the old school ones that have a DRAM cache. The DRAM cache shouldn't write to the drive until it's full, and the smallest drive gives you 64mb. The chances of it ever filling up 64mb with these tiny writes is slim, because whatever the OS writes every 5 seconds probably overwrites whatever it wrote 5 seconds earlier.
And now I have proof:
https://i.imgur.com/AUxssNC.png
Two shitty old drives with DRAM caches report a 1:10 ratio of writes to reads. Previously it was 1:3-ish. The cache is usually a ratio of drive capacity, so a 512gb SSD has 128mb of cache, and it's hardly EVER touching that now.
(http://www.autoadmit.com/thread.php?thread_id=5771553&forum_id=2:#49249437) |
 |
Date: September 10th, 2025 12:18 AM
Author: https://imgur.com/a/o2g8xYK
Disabling docker solves it. Unfortunately I have to run ONE docker container on this NAS. Just one. I can't do anything about it. One is all it takes.
Also, this is only a problem in RAID arrays, and it's bigger problem in ZFS pools that BTRFS. It doesn't happen at all if you store the Docker image in XFS, but you can't have a proper RAID array with XFS.
(http://www.autoadmit.com/thread.php?thread_id=5771553&forum_id=2:#49249443) |
Date: September 10th, 2025 5:03 PM
Author: https://imgur.com/a/o2g8xYK
Caught in the act
https://i.imgur.com/t0iNNep.jpeg
(http://www.autoadmit.com/thread.php?thread_id=5771553&forum_id=2:#49251531) |
|
|