On Wed, 2013-11-13 at 10:47 +0200, Ronen Hod wrote: > I looked at how ewma works, and although it is computationally efficient, > and it does what it is supposed to do, initially (at the first samples) it is strongly > biased towards the value that was added at the first ewma_add. > I suggest that you print the values of ewma_add() and ewma_read(). If you are > happy with the results, then ignore my comments. If you are not, then I can > provide a version that does better for the first samples. > Unfortunately, it will be slightly less efficient. Value is clamped by (GOOD_PACKET_LEN, PAGE_SIZE - hdr_len) So initial value is conservative and not really used. Thanks _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization