-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improving WinDivert perfomance by using BatchMode offered in WinDivertRecvEx #273
Comments
Sorry, no any comment about this? |
It’s a good idea. Let me look at how we might support that feature once
I’ve wrapped up some changes I have pending to clean up the API.
…On Sun, May 2, 2021 at 7:31 PM trudyhood ***@***.***> wrote:
Sorry, no any comment about this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#273 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJH4AEXIIPEBKHNVPN5TZDTLXODTANCNFSM43ASH5UA>
.
|
Very good, really waiting for that. |
Alright, took a look at the recv api. I'm not sure if/when I'd get to the changes but if this was implemented I think we'd want to do something like:
and of course we'd want to add a test to test the new method. |
I hope you make the changes. I should say congratulation for updating to version 6. It looks version 6 is 30% faster. Using batch mode with WinDivert increases the speed by more than 300%! passthru.exe [filter] [num-threads] [batch-size] |
Keeping this open until WinDivertSendEx is supported as well |
Would it make sense to read |
That generally have little benefit, the main point of batch processing for a network processing library is being able to process the batch elements in parallel at the application side. |
I have found out that WinDivert performance can be increased significantly by using batch mode offered in WinDivertRecvEx. Can you implement WinDivertDevice with BatchMode using WinDivertRecvEx instead WinDivertRecv? The performance is near 3x on high bandwidth and CPU utilization looks lower.
Please consider WinDivertSendEx too.
The text was updated successfully, but these errors were encountered: