All Virtuozzo development lists (kernel + QEMU)
 help / color / mirror / Atom feed
* [Devel] [PATCH hci-8.1 0/3] fs/fuse kio: cut per-4k-page sendmsg/recvmsg calls in the sockio path
@ 2026-09-30  7:34 Liu Kui
  2026-09-30  7:34 ` [Devel] [PATCH hci-8.1 1/3] fs/fuse kio: teach pcs_umem about hugepage-backed mappings Liu Kui
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Liu Kui @ 2026-09-30  7:34 UTC (permalink / raw)
  To: Konstantin Khorenko; +Cc: azaitsev, devel, Liu Kui

The sockio transport submits one 4k segment per sock_sendmsg() /
kernel_recvmsg() call, so a 1M chunk costs up to 256 socket calls
each way. Rework both paths to hand the whole iov_iter to the socket
in one call, and teach pcs_umem to keep hugepage-backed mappings as
single 2M chunks so the bvec builder stops splitting them into 4k
bio_vecs.

https://virtuozzo.atlassian.net/browse/VSTOR-142166
https://virtuozzo.atlassian.net/browse/VSTOR-142167

---
Liu Kui (3):
      fs/fuse kio: teach pcs_umem about hugepage-backed mappings
      fs/fuse kio: refactor transmit path in pcs_sockio_send()
      fs/fuse kio: refactor receive path in pcs_sockio_recv()

 fs/fuse/kio/pcs/pcs_krpc.c    |   9 +-
 fs/fuse/kio/pcs/pcs_mr.c      |  84 ++++++++++---
 fs/fuse/kio/pcs/pcs_mr.h      |  45 ++++++-
 fs/fuse/kio/pcs/pcs_sock_io.c | 287 +++++++++++++++++++-----------------------
 fs/fuse/kio/pcs/pcs_sock_io.h |   1 +
 5 files changed, 245 insertions(+), 181 deletions(-)
---
base-commit: ca54f152160587a74ff17cb52feef16f7b9d4e2b
change-id: 20260930-sockio-refactor-8-1-602d908e153c

Best regards,
--  
Liu Kui <kui.liu@virtuozzo.com>

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

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

end of thread, other threads:[~2026-09-30 16:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-30  7:34 [Devel] [PATCH hci-8.1 0/3] fs/fuse kio: cut per-4k-page sendmsg/recvmsg calls in the sockio path Liu Kui
2026-09-30  7:34 ` [Devel] [PATCH hci-8.1 1/3] fs/fuse kio: teach pcs_umem about hugepage-backed mappings Liu Kui
2026-09-30  7:41   ` no-reply
2026-09-30  7:34 ` [Devel] [PATCH hci-8.1 2/3] fs/fuse kio: refactor transmit path in pcs_sockio_send() Liu Kui
2026-09-30  7:42   ` no-reply
2026-09-30 16:29     ` Konstantin Khorenko
2026-09-30  7:34 ` [Devel] [PATCH hci-8.1 3/3] fs/fuse kio: refactor receive path in pcs_sockio_recv() Liu Kui
2026-09-30  7:42   ` no-reply
2026-09-30 16:09 ` [Devel] [PATCH hci-8.1 0/3] fs/fuse kio: cut per-4k-page sendmsg/recvmsg calls in the sockio path Konstantin Khorenko

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.