From: Liu Kui <kui.liu@virtuozzo.com>
To: Konstantin Khorenko <khorenko@virtuozzo.com>
Cc: azaitsev@virtuozzo.com, devel@openvz.org,
Liu Kui <kui.liu@virtuozzo.com>
Subject: [Devel] [PATCH hci-8.1 0/3] fs/fuse kio: cut per-4k-page sendmsg/recvmsg calls in the sockio path
Date: Wed, 30 Sep 2026 15:34:30 +0800 [thread overview]
Message-ID: <20260930-sockio-refactor-8-1-v1-0-806348b9eb26@virtuozzo.com> (raw)
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
next reply other threads:[~2026-09-30 7:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-30 7:34 Liu Kui [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260930-sockio-refactor-8-1-v1-0-806348b9eb26@virtuozzo.com \
--to=kui.liu@virtuozzo.com \
--cc=azaitsev@virtuozzo.com \
--cc=devel@openvz.org \
--cc=khorenko@virtuozzo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox