Ubuntu 20.04 Is possible enable write back on OS system ?

aug7744

Member
Joined
Aug 12, 2020
Messages
98
Reaction score
12
Credits
1,020
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.
 


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.
 
Unhappily not is exactly the solution to write cache buffer using defer write.
 

Members online


Top