Re: [RFC] setting up throughput threshold indications to userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 2010-08-16 16:01, Luciano Coelho wrote:
>> You can implement a daemon: which samples the statistics data of NIC
>> periodically, calculates the average bandwidth in a period, and change
>> the condition variables accordingly.
>
>We don't want to use polling from userspace.  That's the reason why we
>decided to use iptables instead.  The idea is that we will only notify
>the userspace when the throughput crosses the threshold line.  And the
>rules I defined above are working rather well, except for this "detail"
>that the BELOW signal is not sent when there's no data flowing.

Without data, the turing machine won't finish, so you can't say for
sure that you reached below. That is sort of a halting problem, which
is known to be unsolvable.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux