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

Re: CPS/throttle patches



There's a simple and short reply to your post...

On Wed, Jun 12, 2002 at 12:33:59PM -0500, Charlie Hubbard wrote:
[...]
> I
> decided to test the CPS=768 case that I was talking about yesterday. 
[...]
> First, the TCP numbers tend to oscillate up and down between two values
> but the true average values are very stable. 
[...]
> For the purposes of rate limiting, maybe the
> oscillations aren't important, but if you were to use the TCP method to
> actually display the current CPS to the screen, the continual jumping up
> and down would bother me.

The problem with such test cases is, that you will *never* see such nice
values in real life. The CPS you will see will go up and down *anyway*, even
if you use a 100% correct CPS average. And nobody is going to complain if
they momentarily see a CPS of 15253 instead of 15743, or the other way
around.

I must say I like the TCP method. It's simple and does a decent job. Of
course, using an array gives more accurate results, but who cares? If nobody
finds any horrible defects in this method, I'd vote to go for it.

Richard
--
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/xchat-discuss/