public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Adam Carter <adamcarter3@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] [OT] etho app rating 10/100 etc in megabytes
Date: Tue, 22 Feb 2011 11:11:39 +1100	[thread overview]
Message-ID: <AANLkTi=_Bmm3j2-Qf3NocTEjM3TB_8su6oVyr=jX9+Z7@mail.gmail.com> (raw)
In-Reply-To: <87pqqlq9y2.fsf@newsguy.com>

[-- Attachment #1: Type: text/plain, Size: 1945 bytes --]

>
> I've gotten confused on this problem way too many times.. I'd like to
> get some definitive starting points.
>
> When you see net adapters online they are always rated like
>
> 10/100  or 10/100/1000.  So how does one turn that notation into
> megabytes?
>

That notation is in megabits per second, or Mb/s or Mbps. Bits are shown as
lowercase b and bytes are shown as uppercase B. So you want to change Mbps
to MBps. This is stating the raw throughput, so Ethernet headers are
included.



> But still, when I'm trying to measure how much data is moving to a
> certain directory, and I want to compare it to what the adapter is
> supposed to do... (in some easy homeboy way).
>
> I vaguely remember something about 8 bits to a byte or maybe its the
> other way round...
>

Yep - 8 bits to a byte in this case. Serial comms can be a different number
of bits per byte.

>
> My homeboy transfer measurements:
>
> I measure the incoming MegaBytes as measured with `du' with a while
> loop interating in settable intervals.  So in this case when set to 60
> seconds,I now the number of megabytes that arrive in 60 seconds but
> would like to know how to convert that to the other notation.
>

du is probably not a good way of doing it, depending on how the disk system
commits the writes. Some clients show you the data rate. Maybe wget or ssh?
Cant check where i am now. Thee numbers the application states (or du) is
just the data, so doesnt take into account ethernet, IP and TCP headers.


>
> I'm seeing between 222 and 237 MB in a full minute being transferred
> and it seems quite slow for what is supposed to be a gigabyte network.
>
> This is just across two computers on my home lan, both with gigabyte
> adapters and they connect thru a gigabyte switch.  Or I hope they are.
>
> My setup looks like this in brief (simplified).
>
>
>
IIRC typical speeds on 100Mbps LANs are 4 or 5 MBps. There's many factors
that can affect speed tho.

[-- Attachment #2: Type: text/html, Size: 2737 bytes --]

  parent reply	other threads:[~2011-02-22  1:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-21 22:50 [gentoo-user] [OT] etho app rating 10/100 etc in megabytes Harry Putnam
2011-02-22  0:03 ` [gentoo-user] " Harry Putnam
2011-02-22  0:11 ` Adam Carter [this message]
2011-02-22 15:17   ` Grant Edwards
2011-02-24  1:16 ` James
2011-02-24 17:09   ` Harry Putnam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=_Bmm3j2-Qf3NocTEjM3TB_8su6oVyr=jX9+Z7@mail.gmail.com' \
    --to=adamcarter3@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox