public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [REGRESSION] ioprio performance hangs, bisected
@ 2024-11-25 15:44 Chris Bainbridge
  2024-11-25 17:16 ` Chris Bainbridge
  0 siblings, 1 reply; 7+ messages in thread
From: Chris Bainbridge @ 2024-11-25 15:44 UTC (permalink / raw)
  To: hch; +Cc: LKML, axboe, bvanassche, Linux regressions mailing list,
	linux-block

The commit 6975c1a486a4 ("block: remove the ioprio field from struct
request") appears to have introduced a performance regression. Test
case is the script /etc/cron.daily/locate from package `locate` (which
is from findutils locate on Debian). The script runs:

  ionice -c 3 -p 3965
  nice -n 10 updatedb.findutils

This locate script will usually complete in about 1m20s on my machine.
But, following commit 6975c1a486a4, the script doesn't seem to
complete in a reasonable time (I waited 20 minutes). `top` shows that
no or little CPU time seems to be dedicated to the find process. Also
it seems that this affects other processes too - once find is in a
"hung" state, doing `ls -R` on the affected drive will also hang, even
though the priority of the terminal/bash/ls process hasn't changed,
and is supposedly independent of the locate/find script. I'm running
btrfs, on an external USB SSD drive.

#regzbot introduced: 6975c1a486a40446b5bc77a89d9c520f8296fd08

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-11-30 17:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-25 15:44 [REGRESSION] ioprio performance hangs, bisected Chris Bainbridge
2024-11-25 17:16 ` Chris Bainbridge
2024-11-26  6:52   ` Christoph Hellwig
2024-11-26  9:18     ` Chris Bainbridge
2024-11-30  6:09       ` David Wang
2024-11-30 16:00         ` Jens Axboe
2024-11-30 16:59           ` David Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox