Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Sep 2022 03:11:03 +0000
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        FreeBSD Filesystems <freebsd-fs@freebsd.org>
Subject:   RFC: multiple concurrent I/O ops for copy_file_range(2)
Message-ID:  <YQXPR01MB41506C61D9936C01072F6373DD7D9@YQXPR01MB4150.CANPRD01.PROD.OUTLOOK.COM>

next in thread | raw e-mail | index | archive | help
Hi,=0A=
=0A=
A recent discussion involving copy_file_range(2) performance=0A=
included a suggestion that, maybe, copying of subranges=0A=
should be done concurrently.=0A=
=0A=
Although I cannot be 100% sure, I think that this would=0A=
involve using multiple kernel threads (taskqueue or similar)=0A=
to issue I/O operations on the file system(s) for blocks=0A=
(of f_iosize maybe?) concurrently, to improve performance.=0A=
=0A=
Doing this in a system call is unusual, to say the least but, then,=0A=
copy_file_range(2) is an unusual system call to begin with.=0A=
=0A=
I have not attempted to code this up as of yet.=0A=
=0A=
So, what do others think of this idea?=0A=
=0A=
rick=0A=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YQXPR01MB41506C61D9936C01072F6373DD7D9>