Changing this setting will tell Grub to wait only one second before booting the default operating system. sudo nano /etc/default/grub Scroll down and look for GRUBTIMEOUT and change the time from 5 (or whatever it may be set to) to 1. ZRAM support has been considered stable since Linux 3.14 released in early 2014.īefore showing how to use ZRAM, let’s check the memory in my board. To edit this file, open up a terminal and use the Nano text editor to modify the settings. It’s also possible to combine it with swap, but if you have to go that route, it may be worth considering upgrading the memory, or changing to a more powerful hardware platform. So it’s similar to swap, expect it operates in RAM and compresses memory. a RAM disk, but with on-the-fly “disk” compression. sudo rm -rf /.cache/thumbnails/. Zram, formerly called compcache, is a Linux kernel module for creating a compressed block device in RAM, i.e. The good news is that Ubuntu has an inbuilt command to help you with this issue. However, I was told it would have been better to enable ZRAM instead. This week-end, I compiled Arm Compute Library on ODROID-XU4Q board, and the first time it crashed because the system ran out of memory, so I enable swap on the eMMC flash module to restart and complete the build successfully. The main advantage is that it’s does not require extra hardware, but come at the cost of much slower access, and potential issues or wear and tear, unless you only use it temporary. Whenever I ran out of RAM on a Linux system, I used to enable swap memory using the storage device to provide an extra bit of memory.
0 Comments
Leave a Reply. |