[L2 Caching] Cache Priority and Modes
Posted: Wed Jul 07, 2021 7:32 pm
One thing that would be cool too is to have Cache Priority and their modes.
Examples
L2 Caching Mode Extended:
Objetive: Cache 5TB Hard Drive and in the future add more drives.
L1 Cache - RAM
L2 Cache (1) - SSD NVMe (8GB)
L2 Cache (2) - SSD NVMe (64GB)
L2 Cache (3) - SSD NVMe (128GB)
when L2 (1) be full then use L2 (2), and when L2 (2) be full, use L2 (3),
This increase the flexibility for adding more and more disks for caching without changing the current ones.
L2 Caching Mode Stripped:
Objetive: Cache 10TB Hard Drive
L1 Cache - RAM
L2 Cache (1) - SSD NVMe (128GB) 25% of 100% cache here
L2 Cache (2) - SSD NVMe (128GB) 25% of 100% cache here
L2 Cache (3) - SSD NVMe (128GB) 25% of 100% cache here
L2 Cache (4) - SSD NVMe (128GB) 25% of 100% cache here
Result: L2 Cache 512GB as 100%
This will reduce wear in the SSDs and also speed by the four working together
L2 Caching Mode Safe Mode:
Objetive: turn the L2 Cache more reliable
L1 Cache - RAM
L2 Cache (1) - SSD NVMe (128GB) Active Disk
L2 Cache (2) - SSD NVMe (128GB) Backup Disk
when disconnected or failed one of disks
L2 Cache (1) - SSD NVMe (128GB) Stopped Disk
L2 Cache (2) - SSD NVMe (128GB) Backup Disk working as Active Disk until declares other disk as L2 Cache
This will increase the reability and can mantain the cache working for more time.
Examples
L2 Caching Mode Extended:
Objetive: Cache 5TB Hard Drive and in the future add more drives.
L1 Cache - RAM
L2 Cache (1) - SSD NVMe (8GB)
L2 Cache (2) - SSD NVMe (64GB)
L2 Cache (3) - SSD NVMe (128GB)
when L2 (1) be full then use L2 (2), and when L2 (2) be full, use L2 (3),
This increase the flexibility for adding more and more disks for caching without changing the current ones.
L2 Caching Mode Stripped:
Objetive: Cache 10TB Hard Drive
L1 Cache - RAM
L2 Cache (1) - SSD NVMe (128GB) 25% of 100% cache here
L2 Cache (2) - SSD NVMe (128GB) 25% of 100% cache here
L2 Cache (3) - SSD NVMe (128GB) 25% of 100% cache here
L2 Cache (4) - SSD NVMe (128GB) 25% of 100% cache here
Result: L2 Cache 512GB as 100%
This will reduce wear in the SSDs and also speed by the four working together
L2 Caching Mode Safe Mode:
Objetive: turn the L2 Cache more reliable
L1 Cache - RAM
L2 Cache (1) - SSD NVMe (128GB) Active Disk
L2 Cache (2) - SSD NVMe (128GB) Backup Disk
when disconnected or failed one of disks
L2 Cache (1) - SSD NVMe (128GB) Stopped Disk
L2 Cache (2) - SSD NVMe (128GB) Backup Disk working as Active Disk until declares other disk as L2 Cache
This will increase the reability and can mantain the cache working for more time.