grep -i dirty /proc/meminfo

If that number gets high enough the machine will freeze all write io
(dirty_ratio/bytes) until it gets down to the
dirty_background_bytes/ratio.

If you hit this, how long that is is how long it takes to write out
(background_ratio - ratio) * ram

I have had good luck setting background_bytes to say 3000000 (3 MB)
and setting ditry_ratio to say (5MB).

With it being 2MB or a lower number than default (usually a % of ram)
the pause is so small you won't notice it, and
it some cases the pause is fast enough that other processes don't stall.

On Wed, Jun 3, 2020 at 7:31 PM ToddAndMargo via users
<users@lists.fedoraproject.org> wrote:
>
> Hi All,
>
> Fedora 32
> Xfce 4.14
>
> Every so often, once every two weeks or so for no apparent
> reason or program, my computer slows down to about 1/5 speed.
> Typed letter take time to appear.  File system stuff is five
> times slower: tar, dump, etc..
>
> And I can't find anything wrong.  iotop and top both show
> hardly anything happening.  Here is a screenshot of atop:
>
> https://ibb.co/m8Gq1yQ
>
> I notice that when I am doing a tar or a dump, my hard drive
> light is on solid or constantly flashing.  When the slow
> down occurs, it will stay off for a solid five seconds,
> the flash a little, and back off again.
>
> And the tar and dumps always come out okay.  They just
> take five times longer.
>
> Any words of wisdom?
>
> Many thanks,
> -T
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to