Data Rate and Transmission Delay Definition in ns3

Status
Not open for further replies.

knowledge_Seeker1

Newbie level 6
Joined
Jan 22, 2012
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,382
Hello,
In the NS3 tutorial :

They set the DataRate of the NetDevice (or the NIC ) to be 5Mps,
Code:
 pointToPoint.SetDeviceAttribute ("DataRate", StringValue ("5Mbps"));

They set the Delay of the Channel to be 2ms,
Code:
  pointToPoint.SetChannelAttribute ("Delay", StringValue ("2ms"));


Question 1
HTML:
[I]Data Rate Definition from Google:[/I] The number of bits transmitted per unit of time through the physical medium.
I want to make sure I got this right.
So Data Rate is the Nb of bits a DEVICE puts on a Channel per unit of time ?
In our example, the NIC puts 5 bits every second on a channel. Is that correct ?
But isn't the Data Rate a property of the Channel and NOT the device ?


Question 2
HTML:
In the Tutorial, they say that : the 2ms delay is the value of the transmission delay of every point to point channel it subsequently creates.

However, here is the definition of the Transmission Delay from Google:
HTML:
Transmission Delay, the time it takes to transmit a message. It is the size of the message in bits divided by the data rate (measured in bps) of the channel over which the transmission takes place.

How could they specify in ADVANCE, what is the Transmission Delay of the Channel ?


I hope somebody helps clarifying these for me.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…