-
Notifications
You must be signed in to change notification settings - Fork 266
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
SendPacket latency question #441
Comments
|
Thanks @kayoub5 for your interest
One more thing I've try is using an Intel i210 NIC board. Nothing changed. |
|
other things to consider:
|
Thank you @kayoub5
I'm wondering if a plain c/c++ software could help me for tests. |
Something interesting I've noticed: |
Possible, I would recommend using a different driver (like winpktfilter) or a kernel bypass using dpdk if that does not help. |
Hi all.
I'm using Sharppcap Npcap mode to receive and send Ethernet II RAW packet.
I've notice a behaviour I'm not able to explain myself. I suppose it's related to some kind of queue laying on the underline pcap level, but I'm here to ask you.
First of all my hardware:
Sharppcap function used to read and write packet:
Then my test logic:
Code testing:
Now the behaviour:
The question:
I don't expect a fully working environment, due to the non-real-time nature of the Windows kernel. But that's something "strange" that I can not explain myself. The flyback time should be always as low as the 10kHz time (or slower), the 1kHz flyback time makes me think that packets are send out only after some kind of queue is fulfilled, and of course with 1kHz time this queue takes more to fulfill. There is something I don't catch here, or something I've made wrong. Here I need your help to achive better performance.
Thank you!
Find below the C# code I'm using. This is not the exact code I'm using cause my code is part of and Interface, but is the extract of that code that has some value for the subject.
The text was updated successfully, but these errors were encountered: