From: karthikbalaguru on
Hi,
I wonder why Iperf uses 1024*1024 for megabytes
and 1000*1000 for megabits ?

I think,
It should follow either 1000 * 1000 (International
System of Units)convention or 1024 *1024 convention .

Any specific reason for such a methadology ?

Any ideas ?

Thx in advans,
Karthik Balaguru
From: Doug McIntyre on
karthikbalaguru <karthikbalaguru79(a)gmail.com> writes:
>I wonder why Iperf uses 1024*1024 for megabytes
>and 1000*1000 for megabits ?

I couldn't say for sure, but in general, when you are talking about
the speed of a line in kilobits per sec, megabits per sec, etc. Those
lines are all measured in units of 1,000 (ie. a 64kbps circuit is
64,000 bits per sec, a 3mbps line is 3,000,000 bits per sec).

Almost everyone still refers to a Metabyte as 1048576 bytes,
drive manufacturers and the mebibyte people withholding.

They probably are just going with the normal convention that most
people use.
From: Tony Hwang on
Doug McIntyre wrote:
> karthikbalaguru<karthikbalaguru79(a)gmail.com> writes:
>> I wonder why Iperf uses 1024*1024 for megabytes
>> and 1000*1000 for megabits ?
>
> I couldn't say for sure, but in general, when you are talking about
> the speed of a line in kilobits per sec, megabits per sec, etc. Those
> lines are all measured in units of 1,000 (ie. a 64kbps circuit is
> 64,000 bits per sec, a 3mbps line is 3,000,000 bits per sec).
>
> Almost everyone still refers to a Metabyte as 1048576 bytes,
> drive manufacturers and the mebibyte people withholding.
>
> They probably are just going with the normal convention that most
> people use.
Hi,
Byte is originating from binary. When binary numbers are converted to
decimal that is what happens. Binary 111111111 > Octal 777 >512 decimal

From: Jeff Liebermann on
On Sat, 26 Dec 2009 02:10:07 -0800 (PST), karthikbalaguru
<karthikbalaguru79(a)gmail.com> wrote:

>Hi,
>I wonder why Iperf uses 1024*1024 for megabytes
>and 1000*1000 for megabits ?
>
>I think,
>It should follow either 1000 * 1000 (International
>System of Units)convention or 1024 *1024 convention .
>
>Any specific reason for such a methadology ?
>
>Any ideas ?

<http://www.soopertutorials.com/technology/networks/397-397.html>
One thing to note is that Iperf uses 1024*1024 for
Megabytes and 1000*1000 for Megabits.

<http://openmaniak.com/iperf.php>
Data formatting: (-f argument)

The -f argument can display the results in the desired format:
bits(b), bytes(B), kilobits(k), kilobytes(K), megabits(m),
megabytes(M), gigabits(g) or gigabytes(G).

Generally the bandwidth measures are displayed in bits (or
Kilobits, etc ...) and an amount of data is displayed in bytes
(or Kilobytes, etc ...).

As a reminder, 1 byte is equal to 8 bits and, in the computer
science world, 1 kilo is equal to 1024 (2^10).

For example: 100'000'000 bytes is not equal to 100 Mbytes but
to 100'000'000/1024/1024 = 95.37 Mbytes.




--
Jeff Liebermann jeffl(a)cruzio.com
150 Felker St #D http://www.LearnByDestroying.com
Santa Cruz CA 95060 http://802.11junk.com
Skype: JeffLiebermann AE6KS 831-336-2558
From: alexd on
Meanwhile, at the alt.internet.wireless Job Justification Hearings,
karthikbalaguru chose the tried and tested strategy of:

> I wonder why Iperf uses 1024*1024 for megabytes
> and 1000*1000 for megabits ?

> Any ideas ?

If it bothers you, you can always Use The Source, Karthikbalaguru :-)

On second thoughts, two different types of iperf floating around the
internet could lead to much confusion when trying to compare speed test
results.

--
<http://ale.cx/> (AIM:troffasky) (UnSoEsNpEaTm(a)ale.cx)
19:41:52 up 28 days, 23:36, 5 users, load average: 0.00, 0.03, 0.47
DIMENSION-CONTROLLING FORT DOH HAS NOW BEEN DEMOLISHED,
AND TIME STARTED FLOWING REVERSELY