curl-users
Re: curl statistics are always off by about 5-10%
From: Jeremy Nicoll - ml curl users <jn.ml.crlu.36_at_letterboxes.org>
Date: Mon, 25 Mar 2013 19:49:25 +0000
Date: Mon, 25 Mar 2013 19:49:25 +0000
Sven Lanckmans <sven.lanckmans_at_gmail.com> wrote:
>Hi,
>
>I'm using curl to measure bandwidth performance behind cable modems. Every
>result I see is 5-10% below what I would expect. (these tests are in a lab
>so I'm sure about allocated bandwidth).
>
>I've set up a local ftp server which has a file with size of 100MB.
100MB = 100 * 1024 * 1024 = 104857600 bytes
On the other hand, 100 * 1000 * 1000 = 100000000 bytes which is about 5%
fewer.
100*1000*1000/1024*1024 = 95.367 MB.
-- Jeremy C B Nicoll - my opinions are my own. ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2013-03-25