Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 2026 10:19:49 -0800
From:      Pete Wright <pete@nomadlogic.org>
To:        Pete French <pete@twisted.org.uk>, freebsd-stable@freebsd.org
Subject:   Re: Higher load averages running mysql on 15 instead fo 14
Message-ID:  <fe398d35-4516-4daf-9106-6fe475e6d187@nomadlogic.org>
In-Reply-To: <65e9528a-e64e-4cc3-9778-4d64403eb7f0@twisted.org.uk>

index | next in thread | previous in thread | raw e-mail



On 2/3/26 01:55, Pete French wrote:
> I upgraded all our machines to 15.0-STABLE last week. Which works fine, 
> but I have noticed a very curious thing where the load averages on our 
> main database machine have doubled.
> 
> See graph here...
> 
> https://api.ticketswitch.com/shared/mysql-load-average-14-to-15.png
> 
> 
> The only thing which has changed there is the operating system, and
> the re-install of the packages to match. All the versions are
> identical, config is identical, workload is identical.
> 
> The CPU usage hasn't changed, just the load averages. If I look on
> that machine, which is really only running mysql, then the processes
> in mysql are all in the state "Waiting for table metadata lock"
> 
> My hope is that FreeBSD 15 somehow calculates load averages
> differently, and I simply never noticed 100 processes
> waiting on locks before. But I also worry that maybe mysql does
> its locking using some operating system primitive, which has changed,
> and is causing this.
> 
> Any ideas anyone ?

which filesystem is your mysql data mounted on?  my fist suspect would 
be some performance change in the underlying filesystem, or how data is 
cached in memory.  systat may help shed light on this with maybe the 
vmstat, iolat or iostat options.

do you have a similar system running 14.x available for comparison purposes?

-pete

-- 
Pete Wright
pete@nomadlogic.org



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fe398d35-4516-4daf-9106-6fe475e6d187>