hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting Talk Tutorials : Hosting Security and Technology Tutorials : half duplex
Reply

Forum Jump

half duplex

Reply Post New Thread In Hosting Security and Technology Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-19-2006, 09:38 AM
tigerlinux tigerlinux is offline
Disabled
 
Join Date: Jan 2006
Posts: 17

half duplex


hello,

i am a newbie to system administration. what is the difference between half duplex and full duplex? I have seen some admins change the half duplex to full duplex to increase the download speed. Is there any use for keeping the ethernet in half duplex mode?



Sponsored Links
  #2  
Old 01-22-2006, 01:25 PM
tigerlinux tigerlinux is offline
Disabled
 
Join Date: Jan 2006
Posts: 17
anybody can advice me?

  #3  
Old 01-22-2006, 02:09 PM
sehe sehe is offline
Web Hosting Master
 
Join Date: Jun 2003
Posts: 962
Quote:
Originally Posted by tigerlinux
what is the difference between half duplex and full duplex?
http://en.wikipedia.org/wiki/Duplex_communication

Sponsored Links
  #4  
Old 01-22-2006, 02:23 PM
tigerlinux tigerlinux is offline
Disabled
 
Join Date: Jan 2006
Posts: 17
hmmm, what is the advantage if we keep the server in half duplex mode?

  #5  
Old 01-22-2006, 02:59 PM
hostingent hostingent is offline
Junior Guru Wannabe
 
Join Date: Dec 2005
Location: United Kingdom
Posts: 80
good question think of it like this. half-duplex is like a hand radio you can only speak at any one time, so when the other person on the other end is speaking you have to wait until he's finished.

full-duplex is when data communication can pass both ways for example a telephone you can speak at the same time as the other person

network professionals prefer full-duplex becuase data can travel at the same time resulting in no collsions so it conserves bandwidth and network resources.

i hope that answers your question or helps you to answer it

__________________
For all your Cheating Needs
http://www.cheatycheat.com


  #6  
Old 01-23-2006, 02:09 AM
tigerlinux tigerlinux is offline
Disabled
 
Join Date: Jan 2006
Posts: 17
Thank You very much

  #7  
Old 01-23-2006, 03:54 AM
hostingent hostingent is offline
Junior Guru Wannabe
 
Join Date: Dec 2005
Location: United Kingdom
Posts: 80
glad to help

__________________
For all your Cheating Needs
http://www.cheatycheat.com


  #8  
Old 01-23-2006, 04:58 AM
error404 error404 is offline
Web Hosting Master
 
Join Date: Dec 2004
Location: Canada
Posts: 1,076
Keep in mind that full-duplex Ethernet is only possible with two-node collision domains - you must be connected directly to a switch, bridge or through a crossover cable to achieve full duplex. Otherwise you'll just get a whole lot more collisions if you enable it, obliterating network performance. Also remember that modern network gear will auto-negotiate the fastest available mode. If this autonegotiation is unsuccessful, it is likely that forcing a faster or more capable mode will fail or be unreliable. In general it's not a good idea to modify the transfer mode manually (unless you want to force the other endpoint to, e.g. 10mbps for bandwidth limiting considerations).

__________________
>> Keenan Tims
█▓▒░ I am currently looking for full-time work in the Vancouver area. Resume ░▒▓█
http://www.gotroot.ca/ | ktims@gotroot.ca | skype: keenan.tims

  #9  
Old 01-23-2006, 06:03 PM
GFuse|Kevin GFuse|Kevin is offline
Web Hosting Guru
 
Join Date: Mar 2004
Posts: 295
I wanted to expand on this..

A collision domain is a datapath for which devices sending data on that datapath could have a collision with other devices using the same datapath/(collision domain).

A few years back, half duplex was used because multiple machines were on the same collision domain.
One computer would send data, but it could not receive data.
This is known as half duplex, it could not receive data because since it was sending data.
Any other machine on the half duplex network that sent data would cause a collision with the data it was sending itself.
In half duplex, when you send data you copy that data to the loopback (rx) on your NIC card.
That data has to be an exact duplicate of what you are sending.
If it is not, then someone else has sent data on the network, and caused a collision ruining the data you sent to the network.

Today, switches and routers have a complex matrix for their bus.
They have dedicated datapaths instead of shared, meaning each port has its own collision domain.
1 PC connected to the port means that pc has its own collision domain, since no other computers are on that port you will not have collisions.
As you are the only one on that collision domain.

Hubs use a shared bus, so every port on a hub is 1 collision domain.
Any port you connect to, and another pc on a different, are in the same collision domain.
Thus half duplex is needed.

Take this scenario for example.
You connect your dedicated server to a switch in a datacenter.
The switch port is set to full duplex, and lets say it will not autonegotiate your pc's NIC Speed/Duplex because setting it to full duplex disables auto negotiation.
So your server boots up and defaults to 10/Half Duplex, or 100/Half Duplex.
What do you think will happen?

You will have packet loss.
Your server will not expect to receive packets when it sends packets.
And it will not ever send packets when it is receiving, thou sometimes it happens (millisecond difference)
Lets say you are sending some packets, the switch in full duplex will say.. you know what ? this port is full duplex I dont have to wait to send this packet.
The packet is sent to the server, only to mess up the data going to your loopback (rx) since you are in half duplex.
Causing collisions and likely the possibility of packetloss.

The more data you tx/rx, the more collisions you will have.
This will highly degrade your performance.
Each time a collision happens, a timer is set on the server for retransmit.
Once the timer expires it may send data again.
But with the duplex mismatch, you will likely have some extra laitency and loss.
As once it fails so many times of re transmitting, it will discard the data.

  #10  
Old 01-25-2006, 10:58 AM
tigerlinux tigerlinux is offline
Disabled
 
Join Date: Jan 2006
Posts: 17
Thank You

Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Hosting Sales and Promos Roundup - June 20, 2014 Web Hosting News 2014-06-20 16:21:36
Web Hosting Sales and Promos - June 13, 2014 Web Hosting News 2014-06-13 18:30:39
Majority of Phishers Targeting Chinese; Phishing Up 60 Percent: Report Web Hosting News 2014-05-01 08:33:51
Fortinet Updates DDoS Attack Mitigation Solution for New Threats Web Hosting News 2014-03-10 17:05:52
UK Cloud Computing Demand Drives 29 Percent Revenue Increase for iomart Group Web Hosting News 2012-11-27 12:13:51


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?