Re: To Swap, or not to Swap
From: Mladen Gogala <gogala.mladen_at_gmail.com>
Date: Mon, 3 Apr 2023 14:57:47 -0400
Message-ID: <b0a01eff-457c-62c5-7e1f-a58ab6c428fe_at_gmail.com>
Date: Mon, 3 Apr 2023 14:57:47 -0400
Message-ID: <b0a01eff-457c-62c5-7e1f-a58ab6c428fe_at_gmail.com>
On 4/3/23 12:59, Niklas Iveslatt wrote:
> "These days" in Linux there is a Linux metric called PSI (Pressure
> Stall Information) /proc/pressure/memory - I know we look at this in
> our monitoring - I think *by default *we look at 3 distinct minutes in
> sequence and if there are any stalls we issue a warning for someone to
> look at it. I am not saying this is how it should be done in all cases
> and any monitoring thresholds may vary depending on the system and
> related characteristics.
>
> I also looked and "These days" appear to mean Linux kernel >=4.20
I should have read your post before writing mine. Yes, /proc/pressure is the way to go.
-- Mladen Gogala Database Consultant Tel: (347) 321-1217 https://dbwhisperer.wordpress.com -- http://www.freelists.org/webpage/oracle-lReceived on Mon Apr 03 2023 - 20:57:47 CEST