Welcome to WiFi-Forum

Go Back   WiFi-Forum - Wi-Fi Discussion Forum > Networking > General Networking > comp.dcom.lans.ethernet
Reply
 
Thread Tools Display Modes
  #1  
Old 10-04-2004, 07:24 AM
wld
 
Posts: n/a
Default network throughput

Hi,
a switch has 48 ports and 1Gb for each port. it also support
full deplux mode. so max. throughput is 96Gb.
if use min. packet 64 bytes then theoretical throughput
pps(packets-per-seconds)=142,857,142
above info. is from a article.
my question is why use 64 bytes and where is 142,857,142 come from?

thanks,

LL
Reply With Quote
  #2  
Old 10-04-2004, 08:31 AM
Walter Roberson
 
Posts: n/a
Default Re: network throughput

In article <dc998cfd.0410040624.2fc730e7@posting.google.com >,
wld <aaabbb16@hotmail.com> wrote:
:a switch has 48 ports and 1Gb for each port. it also support
:full deplux mode. so max. throughput is 96Gb.
:if use min. packet 64 bytes then theoretical throughput
ps(packets-per-seconds)=142,857,142
:above info. is from a article.
:my question is why use 64 bytes

64 bytes is the minimum packet size, and so takes the least amount of
time to transmit, and so allows the greatest number of packets to
be transmitted in a given time interval. As well, because the 64 packets
are the shortest valid packets, a continuous stream of 64 byte packets
puts the greatest stress on a switch or router, in the sense that
the switch or router has the least amount of time to process the packet
and get ready for the next one.

:and where is 142,857,142 come from?

Calculate the maximum packets per second on one link by taking the number
of bit-times in one second, and dividing by the number of bits required
for one packet. One packet on ethernet starts with a preamble and other
overhead of a fixed length before the packet itself, and then there is
the packet, and then there is a mandatory "intra-frame gap" of 96 bit times.
When you have found the number of packets per second for one link,
multiply by the number of simultaneous links (96 in your case) to
get the theoretical maximum packets per second handled by the router or
switch.

I haven't done the calculation for the scenario you present, but the
number stated looks about right.
--
Positrons can be described as electrons traveling backwards in time.
Certainly many Usenet arguments about the past become clearer when they
are re-interpreted as uncertainty about the future.
-- Walter Roberson
Reply With Quote
  #3  
Old 10-04-2004, 08:38 AM
Rich Seifert
 
Posts: n/a
Default Re: network throughput

In article <dc998cfd.0410040624.2fc730e7@posting.google.com >,
aaabbb16@hotmail.com (wld) wrote:

> Hi,
> a switch has 48 ports and 1Gb for each port. it also support
> full deplux mode. so max. throughput is 96Gb.


You must work in Marketing. ;^)

Even assuming that the traffic distribution is perfectly uniform (e.g.,
each port is receiving frames at the rate of 1 Gb/s and is forwarding
them to a single, unique output port), there is still only 48 Gb/s of
data being moved. With the exception of those few management-related
frames actually being sent to the switch as an end-station, *every
frame* that arrives at the switch is tranferred out of the switch on
another port; i.e., each frame uses link capacity *twice*, once on
input, and then again on output. Thus, the "data throughput" is 48 Gb/s,
not 96; 48 Gb/s is being "put through" the switch.

Many companies try to inflate their performance data by counting each
frame twice.

> if use min. packet 64 bytes then theoretical throughput
> pps(packets-per-seconds)=142,857,142
> above info. is from a article.
> my question is why use 64 bytes and where is 142,857,142 come from?
>


There is no reason to use 64 byte frames; this is simply a worst-case
scenario considered from a "frames-per-second" basis. That is, the
switch will see the most frames-per-second (as opposed to *bits* per
second) when using minimum length (64 byte) frames.

Using 64 byte frames, and allowing for preamble and interframe gap, a
GbE link can carry 1,488,095.23 frames-per-second. Multiply this by the
48 ports of the switch, and the resulting throughput is 71,428,571
frames-per-second. That is, the switch must examine, parse, and make a
forwarding decision on ~71 million frames per second, in the worst-case.

As in the throughput example earlier, you can make yourself look better
by doubling that number (i.e., counting the frames both as they enter
and leave the switch) to 142,857,142 (the number you quoted), but the
fact is that the real performance demands on the switch are related to
frame parsing on input, not frame forwarding on output, so doubling the
number is inappropriate as a reflection of switch performance.


--
Rich Seifert Networks and Communications Consulting
21885 Bear Creek Way
(408) 395-5700 Los Gatos, CA 95033
(408) 228-0803 FAX

Send replies to: usenet at richseifert dot com
Reply With Quote
  #4  
Old 10-05-2004, 02:33 AM
wld
 
Posts: n/a
Default Re: network throughput

Thanks!!


64 =46+12+2+4
46 byes-->min. packet (payload)
12 bytes-->mac address of source and des.
2 bytes --> type /length
4 bytes -->CRC

add 20 more byes (8 byes preamble and 12 byes IFG)
64+20=84bytes
96,000,000,000/(84*8)=142,857,142pps (should be FPS)

Thanks again!!

LL






Rich Seifert <usenet@richseifert.com.invalid> wrote in message news:<usenet-DB53B0.08385104102004@news.isp.giganews.com>...
> In article <dc998cfd.0410040624.2fc730e7@posting.google.com >,
> aaabbb16@hotmail.com (wld) wrote:
>
> > Hi,
> > a switch has 48 ports and 1Gb for each port. it also support
> > full deplux mode. so max. throughput is 96Gb.

>
> You must work in Marketing. ;^)
>
> Even assuming that the traffic distribution is perfectly uniform (e.g.,
> each port is receiving frames at the rate of 1 Gb/s and is forwarding
> them to a single, unique output port), there is still only 48 Gb/s of
> data being moved. With the exception of those few management-related
> frames actually being sent to the switch as an end-station, *every
> frame* that arrives at the switch is tranferred out of the switch on
> another port; i.e., each frame uses link capacity *twice*, once on
> input, and then again on output. Thus, the "data throughput" is 48 Gb/s,
> not 96; 48 Gb/s is being "put through" the switch.
>
> Many companies try to inflate their performance data by counting each
> frame twice.
>
> > if use min. packet 64 bytes then theoretical throughput
> > pps(packets-per-seconds)=142,857,142
> > above info. is from a article.
> > my question is why use 64 bytes and where is 142,857,142 come from?
> >

>
> There is no reason to use 64 byte frames; this is simply a worst-case
> scenario considered from a "frames-per-second" basis. That is, the
> switch will see the most frames-per-second (as opposed to *bits* per
> second) when using minimum length (64 byte) frames.
>
> Using 64 byte frames, and allowing for preamble and interframe gap, a
> GbE link can carry 1,488,095.23 frames-per-second. Multiply this by the
> 48 ports of the switch, and the resulting throughput is 71,428,571
> frames-per-second. That is, the switch must examine, parse, and make a
> forwarding decision on ~71 million frames per second, in the worst-case.
>
> As in the throughput example earlier, you can make yourself look better
> by doubling that number (i.e., counting the frames both as they enter
> and leave the switch) to 142,857,142 (the number you quoted), but the
> fact is that the real performance demands on the switch are related to
> frame parsing on input, not frame forwarding on output, so doubling the
> number is inappropriate as a reflection of switch performance.

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
comp.dcom.lans.ethernet FAQ James Messer comp.dcom.lans.ethernet 0 09-28-2004 09:19 PM
advice on setting up home wireless network Devin Panchal alt.internet.wireless 3 07-06-2004 12:17 PM
comp.dcom.lans.ethernet FAQ James Messer comp.dcom.lans.ethernet 0 06-28-2004 11:43 AM
Wrong Wireless Network MNP alt.internet.wireless 4 06-12-2004 12:15 PM




All times are GMT -7. The time now is 02:29 AM.

vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. All Contents Copyright © Wifi-Forum.com