ethernet frame reception through polling
Posted: Mon Jul 07, 2008 9:32 am
Hi
I poll my driver every 10 ms for a frame. There seems to be another way, you have to supply the adapter with multiple buffers and later on see to it that the card does not exhaust them and although I am perfectly happy with a polling solution, I got curious if my solution is significantly slower so I come here to listen for your opinions.
A great delay might be annoying, like if the driver was polled once each second when you played a shooter game online. A very small delay might introduce large overheads to the processing. And still, a 10 ms latency time is a lot when you want to host a router.
Do you find 10 ms reasonable?
Cheers
I poll my driver every 10 ms for a frame. There seems to be another way, you have to supply the adapter with multiple buffers and later on see to it that the card does not exhaust them and although I am perfectly happy with a polling solution, I got curious if my solution is significantly slower so I come here to listen for your opinions.
A great delay might be annoying, like if the driver was polled once each second when you played a shooter game online. A very small delay might introduce large overheads to the processing. And still, a 10 ms latency time is a lot when you want to host a router.
Do you find 10 ms reasonable?
Cheers