I think that if you still see hangs/stalls it will be as a result of the system caching lots of data in memory that then needs to be flushed out.
But your checking on dirty pages suggests that is not the issue.
the system caching lots of data in memory that then needs to be flushed out.
Are you referring to dirty bytes here or it’s something else?
Sorry but this dirty bytes thing is new for me and I still have to fully grasp it.
Are you still seeing problems?
Not for now, which is weird because I didn’t change anything. That’s why I’d still want to have an idea on how to manage it, if the problems come back.
I’m pretty sure they’d come back if for some reason I’d have to reinstall the system.
So, should I change this dirty bytes values, just to be safe? If so, how?
And the swap/zram are fine like this, or should I change that too?
I would not suggest changing swap from default. If you use the free command it shows swap available and used, so only if swap were consistently more than half used would I consider making it larger.
The dirty bytes value seems to me to have been a red herring that led us to the firmware updates problem which you have already fixed. I would not change it without further indication that it may be an actual problem.