Hi Luca: I have a small question about your paper "Beyond Device Polling": *In the last month the real-time patch issue has been solved using an adaptive poll* *algorithm. In other words, whenever there are no packets to process, the library sleeps* *for a limited amount of time (usually a few nano-seconds, because otherwise the system* *will loose packets as the userspace application will not fetch packets from the kernel)* *before poll() is called. If, after the sleep, there are still no packets available, poll() is* *called, otherwise packets are processed immediately. The sleep time is adapted* *according to the incoming packet rate: the more incoming packets means shorter (or* *zero) sleep time. Thanks to this trick, poll() is called very seldom hence avoiding the* *need to improve system calls performance with third party patches.*
In this paragraph, you mentioned sleep, so where should sleep be put and how to realize this nano scale sleep? * * * * * * Best Eugene
_______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
