All of lore.kernel.org
 help / color / mirror / Atom feed
* nvme-5.3 ssd performance regression
@ 2019-07-16  1:04 Benjamin Herrenschmidt
  2019-07-16  7:12 ` Ming Lei
  0 siblings, 1 reply; 12+ messages in thread
From: Benjamin Herrenschmidt @ 2019-07-16  1:04 UTC (permalink / raw)


Hi !

Something I noticed while testing those patches for the Apple drives.

With 5.2.0 (and those patches):

[benh at mini ~]$ sudo hdparm -tf /dev/nvme0n1

/dev/nvme0n1:
 HDIO_DRIVE_CMD(identify) failed: Inappropriate ioctl for device
 Timing buffered disk reads: 5960 MB in  3.00 seconds = 1986.22 MB/sec

(The numbers are reasonably stable accross multiple runs)

With nvme-5.3 (and those patches & the ctrl->opts NULL fix)

[benh at mini linux]$ sudo hdparm -tf /dev/nvme0n1

/dev/nvme0n1:
 HDIO_DRIVE_CMD(identify) failed: Inappropriate ioctl for device
 Timing buffered disk reads: 4520 MB in  3.00 seconds = 1506.63 MB/sec
[benh at mini linux]$ sudo hdparm -tf /dev/nvme0n1

Here too, the numbers are quite stable during a given boot but
interestingly they seem to change from boot to boot, I also observed
1700 MB/s for example. It's a rather major regression.

The .config is identical in both cases (an x86_64-defconfig with a
small tweak or two, I removed more drivers mostly and made nvme a
module)

In both cases the io scheduler is mq-deadline. The device has a single
IO queue.

Cheers,
Ben.

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

end of thread, other threads:[~2019-07-17  6:19 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-16  1:04 nvme-5.3 ssd performance regression Benjamin Herrenschmidt
2019-07-16  7:12 ` Ming Lei
2019-07-16  9:36   ` Christoph Hellwig
2019-07-16 10:55     ` Benjamin Herrenschmidt
2019-07-16 12:47     ` Ming Lei
2019-07-16 19:12       ` Christoph Hellwig
2019-07-17  0:15   ` Benjamin Herrenschmidt
2019-07-17  4:26     ` Christoph Hellwig
2019-07-17  4:33       ` Benjamin Herrenschmidt
2019-07-17  4:40         ` Christoph Hellwig
2019-07-17  5:50           ` Benjamin Herrenschmidt
2019-07-17  6:19       ` Benjamin Herrenschmidt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.