Open lk-davidegironi opened 1 year ago
@lk-davidegironi
Thanks @kayoub5 for your interest
One more thing I've try is using an Intel i210 NIC board. Nothing changed. I'll keep you updated... in case I found something usefull.
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: .NET 5.0, .NET Core 3.0 and 3.1 has almost the same performance .NET 6.0 or .NET 7.0 is almost half the performance of the above
I'm wondering if a plain c/c++ software could help me for tests.
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.