From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PrgiC-0006MK-AL for garchives@archives.gentoo.org; Tue, 22 Feb 2011 01:06:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B887E1C094 for ; Tue, 22 Feb 2011 01:06:43 +0000 (UTC) Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.216.174]) by pigeon.gentoo.org (Postfix) with ESMTP id 13ED81C0A5 for ; Tue, 22 Feb 2011 00:11:39 +0000 (UTC) Received: by qyk7 with SMTP id 7so2437873qyk.19 for ; Mon, 21 Feb 2011 16:11:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=dcyQPqtdZcQ5S6QhDD6fA1r1K2bQR8IKh3NLPEu78Y8=; b=fC78EzyuH6qLSgLP4ZWexp8PErh8PIyFTB9r0L7OrdaQS63ClfwOyiToHkRM4wyBAt BnuKVzZEmvliQa5p0YA5bsZrl7zAOHHoTnNWi0Pui/VF9x5ORrspEDF3MOyIJCswdeqj LYxf7QOVUg5MoerNyZ0T9I0gl8YiDu/WM7+FQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=F97hMDN3uPPAjOyGs3UnAIyYGh7DJT+VMg8b6voXgHchod8EF/ZHiH8V8LgrRDjVJB OQHLcVr4oJkC1ouIjd9RRrJhW5ENAlDzHZJIaccQ5zeV5veNF6JE1iNxo0nVzng9Niwb LKZI8SOdYXmv7dvqUyq3jLhtj0oCSY0Tkb3qE= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.229.111.100 with SMTP id r36mr1471765qcp.205.1298333499435; Mon, 21 Feb 2011 16:11:39 -0800 (PST) Received: by 10.229.249.73 with HTTP; Mon, 21 Feb 2011 16:11:39 -0800 (PST) In-Reply-To: <87pqqlq9y2.fsf@newsguy.com> References: <87pqqlq9y2.fsf@newsguy.com> Date: Tue, 22 Feb 2011 11:11:39 +1100 Message-ID: Subject: Re: [gentoo-user] [OT] etho app rating 10/100 etc in megabytes From: Adam Carter To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=002354470f5408abc0049cd3d3f5 X-Archives-Salt: X-Archives-Hash: 3073f8fa251a5c9d3a44f15cb7b24e88 --002354470f5408abc0049cd3d3f5 Content-Type: text/plain; charset=ISO-8859-1 > > 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. --002354470f5408abc0049cd3d3f5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I've gotten confused on this problem way too many times.. I&#= 39;d like to
get some definitive starting points.

When you see net adapters online they are always rated like

10/100 =A0or 10/100/1000. =A0So 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 upp= ercase B. So you want to change Mbps to MBps. This is stating the raw throu= ghput, so Ethernet headers are included.

=A0
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. =A0So 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 state= s (or du) is just the data, so doesnt take into account ethernet, IP and TC= P headers.
=A0

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. =A0Or 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.
--002354470f5408abc0049cd3d3f5--