D
D
Dmitry Morozov2017-06-15 13:57:43
linux
Dmitry Morozov, 2017-06-15 13:57:43

How to unload a disk from journaling?

A web server with a good config slows down and obviously on disk operations. iotop indicates logging. You can’t turn it off completely, of course, but can you do something?
Installed 4 disks: 2HDD for the system and later added 2 SSDs for site files and MySQL.
4311aa10c00741d19afd2d50eb444f2f.png3ddba07075f24f63a3cb5bdb3f21b543.png69ce9ba4832f4778a17fc8a1480e21b0.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Artem @Jump, 2017-06-15
Tag

Transfer the necessary logs to a separate disk.

D
Dmitry Shitskov, 2017-06-15
@Zarom

There was such a recommendation to reduce the frequency of logging. Add parameters to fstab/on mount noatime,commit=60,barrier=0
Or use another journaled fs.

R
rPman, 2017-06-15
@rPman

add an ssd disk as a cache, using, for example, bcache
if you use bcache in read caching mode, then you can even take a cheap, unreliable one, in which case the data will not be corrupted in this case.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question