I am Colin Zhu, a software developer in the computer storage industry. While I'm a relatively recent entrant into the world of Kdb+ and the q language, I've authored an article where I propose a novel method. It involves intercepting system calls made by q and redirecting them to a user-mode NVMe driver. This method effectively bypasses the costly kernel-user mode context switch, and the results seems impressive, over 800% performance improvement in a simple HDB query.
The source code for this project is available on GitHub at https://github.com/StorWav/ssnq.git. Considering it's still in the early stages of development, I encourage you to experiment with it and share your valuable feedback.