Skip to content

Conversation

stoops
Copy link

@stoops stoops commented Aug 6, 2025

@stoops stoops force-pushed the bulk branch 13 times, most recently from c5b0fd0 to 0afd598 Compare August 13, 2025 02:01
@stoops stoops changed the title bulk mode bulk-mode Aug 15, 2025
@stoops stoops force-pushed the bulk branch 4 times, most recently from 425f9bc to eff4a68 Compare August 23, 2025 20:09
@stoops stoops force-pushed the bulk branch 8 times, most recently from 751ced8 to 4aa41fa Compare August 27, 2025 19:48
@stoops
Copy link
Author

stoops commented Aug 28, 2025

Edit/Update: I spent several days and reworked the bulk + mtio mode code a little bit and am now getting almost full line speed that my wifi / internet connection will allow for which is much better/nicer to use as my main network wide TCP VPN. I don't have an official comparison speed test yet as I don't have a wired client available here at home.
I was able to remap the tun read/write file descriptors on each of the multiple threads and create a an extra management thread which is dedicated to bulk reading and filling up the each of the threaded bulk context buffers and then signalling them all for parallel processing and socket transmission with much larger payload sizes without any thread locks needed. The code seems to be working way better now as this was the first time for me going through the code base and finding out the edge cases here and there!
Thanks again all for the project work. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant