Ubuntu 20.04 Is possible enable write back on OS system ?

aug7744

Member
Credits
745
Lubuntu 20.04 64 bits.
How enable write back for OS partitions (root and home) using an write cache buffer being one 128 MB for root and 64 Mb for home ?
I want avoid useless repeated writes in same file being that OS and some softwares (browsers) does it.
Thanks for reply.
 


KGIII

Well-Known Member
Credits
8,160
The write-back caching is usually already enabled by default and not something that folks suggest messing with.

Check the output of:

Code:
sudo hdparm -W /dev/sda
Where /sda is /<your drive>.

If it's not enabled:

Code:
sudo hdparm -W1 /dev/sda
To disable it, change that to -W0. You may need to install hdparm. I can't recall if it's installed by default.
 

Latest posts

Top