public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* SCSI sr driver: parallel writes to optical serialized which hurts performance (sr_mutex)
@ 2016-03-01 11:00 Johan de Jong
  2016-03-05 20:15 ` Johan de Jong
  0 siblings, 1 reply; 8+ messages in thread
From: Johan de Jong @ 2016-03-01 11:00 UTC (permalink / raw)
  To: linux-kernel

Dear developers,

(Please CC me as I am not subscribed (yet))

Writing (backing up) to multiple optical drives at the same time results in
a performance loss of about 7-10 times compared to writing to a single
drive.

After digging around it seems the problem arose about 5 years ago after the
Big Kernel Lock removal and the introduction of the new "sr_mutex" private
mutex in drivers/scsi/sr.c, which locks on a per driver basis instead of a
per device basis.

Various reports by users are listed on this issue on various mailing lists,
so I think there is interest for a solution in the linux community. So far,
it looks like this has not attracted the attention of, or not been
identified as a priority by, any of the kernel developers. However, I think
a Linux based DIY server with multiple optical drives for the purpose of
backing up files in multiple offline copies is a very useful application
and it would be unfortunate if the current behavior keeps such an
application unfeasible.

Would someone be willing to look into this and/or comment on the issue?

Sincerely,
Johan de Jong

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

end of thread, other threads:[~2016-03-07 13:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-01 11:00 SCSI sr driver: parallel writes to optical serialized which hurts performance (sr_mutex) Johan de Jong
2016-03-05 20:15 ` Johan de Jong
2016-03-05 20:47   ` Thomas Schmitt
2016-03-07 12:13     ` One Thousand Gnomes
2016-03-07 13:11       ` Thomas Schmitt
2016-03-05 21:25   ` Wakko Warner
2016-03-05 21:36     ` Johan de Jong
2016-03-06  2:06       ` Wakko Warner

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