what is dirty_bytes and dirty_background bytes in linux system?

721 views

I do have an idea but I don’t know if it is the correct idea.

Where I got the terms from:
[https://lwn.net/Articles/572911/](https://lwn.net/Articles/572911/)

In: Technology

Anonymous 0 Comments

https://www.thomas-krenn.com/en/wiki/Linux_Page_Cache_Basics

Dirty memory is related to how Linux caches writes to nonvolatile storage (hard drives, USB sticks, etc.). Basically the actual writing operation only begins when a given amount to be written is accumulated to prevent the system from having to babysit a huge amount of small and slow I/O operations. *Dirty pages* are memory pages allocated to this cache feature that have data written on them that is yet to be transfered to the nonvolatile storage.