-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El 2023-05-16 a las 11:42 +0200, Paul Neuwirth via openSUSE Users escribió:
On Tuesday 2023-05-16 11:21, Andrei Borzenkov wrote:
On Tue, May 16, 2023 at 11:33 AM Paul Neuwirth via openSUSE Users <> wrote:
Hello,
...
Thank you for that information, I thus monitored nr_dirty and nr_dirty_threshold in /proc/vmstat. the highest value for nr_dirty I got so far is as following:
nr_dirty 7686 nr_dirty_threshold 23977156
it seems "dirty" data is being written quite regularly to disk. But why does "sync" (or a sysrq emergency sync) take ages then on shutdown?
maybe I also need to monitor that over a longer period of time. currently a "sync" is finished in parts of a second.
Look at the top part of top: top - 12:11:36 up 31 days, 12:29, 2 users, load average: 1,14, 1,07, 1,07 Tasks: 815 total, 2 running, 813 sleeping, 0 stopped, 0 zombie %Cpu(s): 10,5 us, 2,0 sy, 0,0 ni, 87,2 id, 0,3 wa, 0,0 hi, 0,0 si, 0,0 st KiB Mem : 65778600 total, 16972240 free, 32940940 used, 16763984 buff/cache KiB Swap: 10485760+total, 88519704 free, 16337892 used. 32837660 avail Mem PID USER PR NI VIRT RES SHR SWAP S %CPU %MEM TIME+ COMMAND 10975 cer 20 0 7909248 4,723g 16952 59296 R 86,14 7,528 2822:45 Isolated Web Co 9988 cer 20 0 10,407g 1,291g 157136 1,225g S 8,581 2,058 3107:45 firefox 9260 cer 20 0 49512 38316 2052 136 S 4,950 0,058 1783:15 atop or free: cer@Telcontar:~> free -h total used free shared buff/cache available Mem: 62Gi 31Gi 16Gi 170Mi 15Gi 31Gi Swap: 99Gi 15Gi 84Gi cer@Telcontar:~> When I have not powered off or hibernated my machine for days, the "free" ram gets down to 1 gig or so, and the rest is on "buff/cache". You can see that this moment 25% my ram is there, and another 25% is free. Side note (unrelated): some web page is behaving itself very badly. I can use "top" to kill that "Isolated Web Co..." or open "about:performance" in a firefox tab to see what tab is the culprit. - -- Cheers, Carlos E. R. (from openSUSE 15.4 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCZGNYvRwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVIoEAn0lj9vEVEaJLxExAASix hDfHE7gpAKCPFmYGNTrs2vLJ+xBRefsXfTxXZQ== =Xw+6 -----END PGP SIGNATURE-----