DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Highly efficient reader-writer lock (EPRW) for mostly-read applications
@ 2026-09-08  3:55 Mukul Katiyar
  2026-09-08 17:40 ` Stephen Hemminger
  2026-09-08 17:55 ` Stephen Hemminger
  0 siblings, 2 replies; 5+ messages in thread
From: Mukul Katiyar @ 2026-09-08  3:55 UTC (permalink / raw)
  To: dev@dpdk.org

[-- Attachment #1: Type: text/plain, Size: 802 bytes --]

Hi all,

Sharing a userspace reader-writer lock that has been running in production in a DPDK-based network function for several years and wanted to check if there would be interest in contributing it to DPDK as rte_eprwlock.

The Enhanced Passive Reader-Writer (EPRW) lock eliminates atomic operations on the reader fast path, giving near-flat per-reader performance as core count grows. It is compatible with poll-mode lcore discipline — no heartbeat or periodic refresh required from registered threads.

Details, correctness proof, memory ordering analysis (x86-TSO and ARM), and performance evaluation against rte_rwlock and pthread_rwlock_t are in a preprint at:
https://zenodo.org/records/22636501

Would this be a useful addition to DPDK?

Regards,
Mukul Katiyar
Versa Networks


[-- Attachment #2: Type: text/html, Size: 2883 bytes --]

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

end of thread, other threads:[~2026-09-10  5:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-08  3:55 [RFC] Highly efficient reader-writer lock (EPRW) for mostly-read applications Mukul Katiyar
2026-09-08 17:40 ` Stephen Hemminger
2026-09-08 21:16   ` Mukul Katiyar
2026-09-08 17:55 ` Stephen Hemminger
2026-09-10  5:51   ` Mukul Katiyar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox