linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [LSF/MM/BPF TOPIC] Rust block layer abstractions and benchmark strategies
@ 2025-01-21 11:13 Andreas Hindborg
  2025-01-21 12:04 ` [Lsf-pc] " Jan Kara
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Hindborg @ 2025-01-21 11:13 UTC (permalink / raw)
  To: lsf-pc
  Cc: linux-block, Jens Axboe, Matthew Wilcox, Luis Chamberlain,
	Miguel Ojeda

I All,

I would like to propose that we have a session on Rust in the block
layer again this year. Specifically I would like to discuss some rather
puzzling results I observe when I benchmark the C and Rust null block
drivers. I did a write up of the challenges I face at [1]. The
observations are not tied to rust, they also manifest in the C driver.

Being able to consistently benchmark performance of the null block
driver is rather important in terms of validating Rust for use in the
block layer. I would hope to be able to collect some feedback on these
issues during a session.

If time permits, I would like to give a status update on the efforts of
building a feature complete null block driver in Rust. I will send
additional patches that enable memory backed devices and timer
completions before the Summit. Most of the patches have been ready for a
while, but they are pending merge of dependencies (xarray, hrtimer,
module_params).

If anyone is interested, I would make myself available for deep dives on
the Rust block layer code base, 1:1 or tutorial style. We (the Rust
kernel hackers) have had some good experiences with these kinds of
sessions in other subsystems.


Best regards,
Andreas Hindborg


[1] https://metaspace.github.io/2024/12/02/problems-in-benchmark-land.html


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

end of thread, other threads:[~2025-01-23  8:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-21 11:13 [LSF/MM/BPF TOPIC] Rust block layer abstractions and benchmark strategies Andreas Hindborg
2025-01-21 12:04 ` [Lsf-pc] " Jan Kara
2025-01-21 12:51   ` Andreas Hindborg
2025-01-21 13:18     ` Jan Kara
2025-01-22  9:52     ` Niklas Cassel
2025-01-23  8:56       ` Andreas Hindborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).