[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y+P5+jrsZOjqG+VT@mit.edu>
Date: Wed, 8 Feb 2023 14:37:30 -0500
From: "Theodore Ts'o" <tytso@....edu>
To: Jan Kara <jack@...e.cz>
Cc: "Bhatnagar, Rishabh" <risbhat@...zon.com>,
akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org,
abuehaze@...zon.com
Subject: Re: EXT4 IOPS degradation between 4.14 and 5.10
On Wed, Feb 08, 2023 at 03:02:47PM +0100, Jan Kara wrote:
> > I believe its the MySQL database though not so sure.
>
> Well, in that case I think your MySQL DB is somewhat misconfigured. At
> least as far as we have been consulting MySQL / MariaDB developers
> regarding benchmarking, they suggested we should configure the database to
> use direct IO and increase DB internal buffers instead of relying on
> buffered IO and pagecache behavior. And if your fio job is representative
> of the IO load the DB really creates, I'd agree that that would be a saner
> and likely more performant configuration ;)
Could it possibly be Postgres? I happen to know that Amazon RDS and
Google Cloud SQL support both MySQL and Postgres, and there are some
optimizations that some of us in the Cloud space have been pursuing
which are much easier because MySQL uses Direct I/O, but unfortunately
Postgres uses buffered I/O and doens't support DIO. :-(
- Ted
Powered by blists - more mailing lists