Chris Gioran · @chrisg
422 followers · 1513 posts · Server fosstodon.org

Did I mention that "mapping the ZERO to ZERO" is impossible?

Yeah, that's not a thing. io_uring commands don't "map" to hardware, that's entirely _not_ how things work.

It took me some effort and a, frankly disconcerting, number of dump_stack() and pr_alert() to figure this out.

#io_uring #nvme #kernel #linux

Last updated 1 year ago

Chris Gioran · @chrisg
414 followers · 1417 posts · Server fosstodon.org

I added an opcode to in the kernel

Then I exposed it to the userspace uring library from

And finally I wrote an application with it.

It's easier than it sounds. But I still learned a lot. Here, I wrote it up:

radiki.dev/posts/add-zero-opco

If you find this useful let me know, and I'll write more.

#io_uring #linux #tokio #rust #rustlang

Last updated 1 year ago

Chris Gioran · @chrisg
388 followers · 1410 posts · Server fosstodon.org

Hey, it worked πŸŽ‰

I hacked a new opcode in and exposed it through 's io-uring crate.

Wait a sec as i write it up in a blog post. Should be public by tomorrow.

#io_uring #tokio #rust #rustlang #linux #kernel

Last updated 1 year ago

Chris Gioran · @chrisg
298 followers · 1317 posts · Server fosstodon.org

Let me help your mind wander on this lazy Friday morning with a quick look into how cp performs compared to io_uring.

2 minutes adventure, in and out.

radiki.dev/posts/compare-sync-

#uring #io_uring #linux

Last updated 1 year ago

spidaglurp · @spidaglurp
0 followers · 9 posts · Server mastodon.gamedev.place

Love this quote from from the io_uring materials: "Efficiency isn't something that can be an afterthought, it has to be designed in from the start - you can't wring it out of something later once the interface is fixed"

#linux #io_uring

Last updated 1 year ago

gudenau · @gudenau
133 followers · 1620 posts · Server fosstodon.org

Does anyone happen to know if you can make a weird machine out of 's system call?

#linux #io_uring

Last updated 1 year ago

Phoronix · @phoronix
2729 followers · 2481 posts · Server noc.social

#io_uring

Last updated 1 year ago

BenBE · @benbe
254 followers · 2495 posts · Server social.chaotikum.org

@axboe Are there plans for to support "execute always" sqe in link chains? Like with open/read/close or open/write/close kind of workloads to force the close despite the read or write failing? Basically submitting some flag "ignore_cancelled"?

#io_uring

Last updated 1 year ago

Phoronix · @phoronix
2339 followers · 2001 posts · Server noc.social
donaldh · @donaldh
10 followers · 134 posts · Server hachyderm.io
Hayden Stainsby · @hds
56 followers · 258 posts · Server hachyderm.io

An interesting article on and some of the recent advances and optimisations (in the kernel).

It notes that it isn’t an introduction and expects users to have some understanding of io_uring already, but even without much idea I think there are some interesting take-aways.

github.com/axboe/liburing/wiki

#io_uring #linux

Last updated 1 year ago

BitPirate · @bitpirate
34 followers · 230 posts · Server mas.to
· @jedisct1
31 followers · 38 posts · Server mastodon.social

RT KostasPardalis: even if you are not interested in any of the @\ziglang, , Viewstamped Replication, purpose built databases or disk firmware write failures

you should experience @\jorandirkgreef's passion for technology and databases! So much to learn from him.

datastackshow.com/podcast/why-

#io_uring

Last updated 2 years ago

Thorsten Leemhuis (1/4) · @kernellogger
1428 followers · 491 posts · Server fosstodon.org

```ublk-nbd[1] is available now. Basically it is one client, but totally implemented in userspace […] io handling is based on [3] […] ublk-nbd supports both tcp and unix socket, and allows to enable
send zero copy via command line '--send_zc', see details in README[4]. […] ublk-nbd IOPS is higher by ~40% than […]```

lore.kernel.org/all/Y8lSYBU9q5

[1] github.com/ming1/ubdsrv/tree/m
[3] github.com/axboe/liburing
[4] github.com/ming1/ubdsrv/blob/m

#nbd #liburing #io_uring

Last updated 2 years ago

Phoronix · @phoronix
531 followers · 697 posts · Server noc.social

.@AMDRyzen 7000 Series, 6.0, , Rust & Made For An Exciting September

phoronix.com/news/September-20

Original tweet : twitter.com/phoronix/status/15

#linux #MGLRU #io_uring

Last updated 2 years ago

Phoronix · @phoronix
531 followers · 697 posts · Server noc.social
Julien M. · @julm
486 followers · 4935 posts · Server framapiaf.org


> We ( and ) are disclosing a we found in the kernel's subsystem. We have written a local privilege escalation that can successfully elevate to system root from an unprivileged process (in a container).
> It is advised to upgrade your to latest ASAP.
openwall.com/lists/oss-securit

#kernel #poc #io_uring #linux #bug #DavidBouman #JaydenRivers #infosec

Last updated 2 years ago

Julien M. · @julm
486 followers · 4935 posts · Server framapiaf.org

-2021-41073 (2021)
> Put an on it: Exploiting the Kernel
graplsecurity.com/post/iou-rin

> Once I saw how quickly io_uring was growing, I knew it would be a good place to look. The old adage is true - new code means new bugs.
> When writing an unsafe programming language like C, which is what the Linux kernel is written in, even the best and most experienced developers make mistakes.

#linux #io_uring #cve #infosec

Last updated 3 years ago

alexanderadam · @alexanderadam
301 followers · 3369 posts · Server ruby.social

RT @postmodern_mod3@twitter.com

When @CrystalLanguage@twitter.com merges/releases the branch, Crystal will absolutely crush I/O benchmarks. twitter.com/helloflorin/status

πŸ¦πŸ”—: twitter.com/postmodern_mod3/st

#linux #io_uring

Last updated 3 years ago