Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| lwc:hardware:wear_leveling [2025/11/14 06:37] – John Harrison | lwc:hardware:wear_leveling [2025/11/14 10:58] (current) – John Harrison | ||
|---|---|---|---|
| Line 52: | Line 52: | ||
| </ | </ | ||
| === lighten ext4 journaling === | === lighten ext4 journaling === | ||
| - | //not sure '' | + | //not sure '' |
| * in ''/ | * in ''/ | ||
| * '' | * '' | ||
| Line 59: | Line 59: | ||
| * '' | * '' | ||
| * data=writeback + sudden power loss = some recently changed files may become garbage inside (but no FS corruption) | * data=writeback + sudden power loss = some recently changed files may become garbage inside (but no FS corruption) | ||
| - | * add/change the '' | + | * add/change the '' |
| * '' | * '' | ||
| === enable Trim === | === enable Trim === | ||
| - | * When a file is deleted trim says to tell the OS to tell the flash controller that those blocks are no longer used. | + | |
| - | * Unused blocks even in the file system can be used by the controller to help with wear leveling | + | * Unused blocks even in the file system can be used by the controller to help with wear leveling |
| - | * Continuous trim is apparently a bad idea but for wear leveling a periodic trim of 1x/week is helpful" | + | * Continuous trim is apparently a bad idea but for wear leveling a periodic trim of 1x/week is helpful |
| < | < | ||
| sudo systemctl enable fstrim.timer # defaults to 1x/week | sudo systemctl enable fstrim.timer # defaults to 1x/week | ||
| Line 72: | Line 72: | ||
| ==== Zram ==== | ==== Zram ==== | ||
| - | * Zram doesn' | + | |
| + | //the below suggestions have not been tested// | ||
| < | < | ||
| sudo apt update | sudo apt update | ||