Why was the hub faster than the switch?

Why was the hub faster than the switch?

NewsGroups | Search | Tools
 comp.dcom.modems.cable  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Why was the hub faster than the switch? RobW 12-04-2005
Posted by RobW on December 4, 2005, 6:11 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Could someone give me a technical reason why, when I connected a cable modem
and three computers to a hub, it was faster than connecting a cable modem
and three computers with a switch?

I know that routers are the solution, but I am in a debate and am drawing on
my past experience. For example, when using a packet sniffer, you want to
be a part of the same collision an broadcast domain. You can do that with a
hub, but you can't with a switch.

It must be the same principle when you only have 2 or 3 computers on the
same network and collisions are not a problem. Am I right and if I am,
could someone explain why?

TIA



Posted by f/fgeorge on December 4, 2005, 9:18 pm
wrote:

>Could someone give me a technical reason why, when I connected a cable modem
>and three computers to a hub, it was faster than connecting a cable modem
>and three computers with a switch?
>
>I know that routers are the solution, but I am in a debate and am drawing on
>my past experience. For example, when using a packet sniffer, you want to
>be a part of the same collision an broadcast domain. You can do that with a
>hub, but you can't with a switch.
>
>It must be the same principle when you only have 2 or 3 computers on the
>same network and collisions are not a problem. Am I right and if I am,
>could someone explain why?
>
>TIA
>
The switch should be faster. The switch directs the data to a specific
port while a hub makes all the lights blink when a data transfer is
underway because it is broadcasting to all of the ports. This slows
down data transfers.
go here for more info: http://www.darron.net/network/secondpage.html


Posted by Reed on December 4, 2005, 11:25 pm
f/fgeorge wrote:
> wrote:
>
>
>>Could someone give me a technical reason why, when I connected a cable modem
>>and three computers to a hub, it was faster than connecting a cable modem
>>and three computers with a switch?
>>
>>I know that routers are the solution, but I am in a debate and am drawing on
>>my past experience. For example, when using a packet sniffer, you want to
>>be a part of the same collision an broadcast domain. You can do that with a
>>hub, but you can't with a switch.
>>
>>It must be the same principle when you only have 2 or 3 computers on the
>>same network and collisions are not a problem. Am I right and if I am,
>>could someone explain why?
>>
>>TIA
>>
>
> The switch should be faster. The switch directs the data to a specific
> port while a hub makes all the lights blink when a data transfer is
> underway because it is broadcasting to all of the ports. This slows
> down data transfers.
> go here for more info: http://www.darron.net/network/secondpage.html
>
What f/fgeorge says is true but not the whole story. All switches
introduce some amount of throughput delay into the data transfer from
input port to output port. The delay can be more or less depending on
which class of switch; "store and forward", or "cut-through" is used.

SF is worst because the complete incoming frame has to be received and
"stored" in the switch before it is allowed to start being sent out the
output port. This is primarily for error checking purposes.

CT is faster because data starts being output as soon as switch has
enough data to know which output port to send it to.

The most common mis-understanding about switches vs hubs is that
switches are not faster in all applications. The worst application is
where several PCs are trying to access the same one target ( ie DSL
modem) (many to one network). Hubs are actually faster here because they
have no delay as above.

Switches work best in applications where the PCs can access many targets
in the local network(ie, DSL, file servers, networked printers, PC-PC
transfer, etc) (any to any network)

--reed






Posted by Tom Stiller on December 5, 2005, 8:03 am

> f/fgeorge wrote:
> > wrote:
> >
> >
> >>Could someone give me a technical reason why, when I connected a cable
> >>modem
> >>and three computers to a hub, it was faster than connecting a cable modem
> >>and three computers with a switch?
> >>
> >>I know that routers are the solution, but I am in a debate and am drawing
> >>on
> >>my past experience. For example, when using a packet sniffer, you want to
> >>be a part of the same collision an broadcast domain. You can do that with
> >>a
> >>hub, but you can't with a switch.
> >>
> >>It must be the same principle when you only have 2 or 3 computers on the
> >>same network and collisions are not a problem. Am I right and if I am,
> >>could someone explain why?
> >>
> >>TIA
> >>
> >
> > The switch should be faster. The switch directs the data to a specific
> > port while a hub makes all the lights blink when a data transfer is
> > underway because it is broadcasting to all of the ports. This slows
> > down data transfers.
> > go here for more info: http://www.darron.net/network/secondpage.html
> >
> What f/fgeorge says is true but not the whole story. All switches
> introduce some amount of throughput delay into the data transfer from
> input port to output port. The delay can be more or less depending on
> which class of switch; "store and forward", or "cut-through" is used.
>
> SF is worst because the complete incoming frame has to be received and
> "stored" in the switch before it is allowed to start being sent out the
> output port. This is primarily for error checking purposes.
>
> CT is faster because data starts being output as soon as switch has
> enough data to know which output port to send it to.

Does that mean that switches which support speed switching (e.g. 10/100
Mbps) will always store and forward when moving data between a 10 Mbps
port and a 100 Mbps port?

>
> The most common mis-understanding about switches vs hubs is that
> switches are not faster in all applications. The worst application is
> where several PCs are trying to access the same one target ( ie DSL
> modem) (many to one network). Hubs are actually faster here because they
> have no delay as above.
>
> Switches work best in applications where the PCs can access many targets
> in the local network(ie, DSL, file servers, networked printers, PC-PC
> transfer, etc) (any to any network)
>
> --reed

--
Tom Stiller

PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3
7BDA 71ED 6496 99C0 C7CF

Posted by James Knott on December 5, 2005, 8:03 pm
Tom Stiller wrote:

> Does that mean that switches which support speed switching (e.g. 10/100
> Mbps) will always store and forward when moving data between a 10 Mbps
> port and a 100 Mbps port?

Even cut through switches have to store data, while waiting for previous
data to pass. So the first packet will start as cut through, but more and
more of it will be stored. Any additional packets behind it, will be
stored until the wire is free. However, TCP has mechanisms to detect such
congestion and back off the transmission rate, to reduce that congestion.
Also, some switches can cause a source to slow down.


Similar ThreadsPosted
Can I connect switch port of Router to uplink on another switch to add more PC's May 21, 2005, 9:55 pm
Switch stops working after five minutes - any switch I try. Please help. October 12, 2006, 6:24 am
What is the difference between Hub and switch February 8, 2005, 9:31 pm
Router or Switch? August 27, 2005, 10:36 am
using a switch rather than router January 19, 2006, 11:06 am
Looking for cheap and best Router-switch?. March 5, 2005, 11:30 am
Wireless Router To Hub/Switch May 2, 2005, 6:43 am
Looking for low cost Ethernet split switch June 14, 2007, 10:04 pm
Can I get an IAD which contains 4-port ethernet switch + modem (cable or adsl)? March 22, 2005, 5:29 pm
Linksys EZXS16W Switch + BEFSR11 Cable/DSL Router Problems November 21, 2006, 8:53 am

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map