List Info

Thread: How can i measure the bandwidth in use?




How can i measure the bandwidth in use?
user name
2006-10-24 06:03:00
Hi,
   I am simulating a QoS Routing Protocol,in this
protocol,the
available bandwidth of node is caculate according:
    Available Bandwidth=Total Bandwidth - Reseved Bandwidth
- Bandwith In Use
    My question is:In C++, to a mobile node,How can i
measure (or
caculate) the bandwidth in use?
    Any suggestion is appreciated!

How can i measure the bandwidth in use?
user name
2006-10-24 06:25:03
I am not sure if there are other cleaner techniques to do
this, but one of
the ways can be attaching a LossMonitor agent to the other
side of the link,
and periodically keep recording number of bytes received
during a small
interval. This will give you the b/w in use. Total bandwidth
of a link can
be easily known.

HTH,
Piyush

On 10/24/06, wang laye <wanglayegmail.com> wrote:
>
>
> Hi,
>    I am simulating a QoS Routing Protocol,in this
protocol,the
> available bandwidth of node is caculate according:
>     Available Bandwidth=Total Bandwidth - Reseved
Bandwidth - Bandwith In
> Use
>     My question is:In C++, to a mobile node,How can i
measure (or
> caculate) the bandwidth in use?
>     Any suggestion is appreciated!
>
>


-- 
Piyush Agrawal
4th Year Undergraduate Student,
Department of Computer Science & Engineering,
IIT Kanpur, India
Homepage: http://www.c
se.iitk.ac.in/users/piyushag
How can i measure the bandwidth in use?
user name
2006-10-24 06:53:10
wang laye schrieb:
> Hi,
>    I am simulating a QoS Routing Protocol,in this
protocol,the
> available bandwidth of node is caculate according:
>     Available Bandwidth=Total Bandwidth - Reseved
Bandwidth - Bandwith In Use
>     My question is:In C++, to a mobile node,How can i
measure (or
> caculate) the bandwidth in use?
>     Any suggestion is appreciated!
>   
You should explain your network a little more, are you suing
APs or an 
ad hoc network?

Determining the available bandwidth in a wireless network is
quite 
complicated because it depends on the behavior of the nodes
around you 
(even if they are out of communication range).

I used the following approach: instead of bandwidth I used
"air time" 
(to account for different transmission speeds), that is the
time a node 
utilizes the wireless channel in its region for a
transmission. To 
reserve air time I used a beacon-based multi-hop reservation
protocol. 
Additionally, to measure "lost" air time, that is
air time than cannot 
be used because of interference from nodes out of
communication range 
(or e.g. a microwave oven) I measured the time a packet to
be 
transmitted spends in the output buffer of the transmitter.
Changes in 
this time indicate a change in the available air time.

You see, the task you are going to solve cannot simply be
accomplished 
by calculating a value out of available variables. If you
have more 
questions, don't hesitate to ask me.

Daniel.

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )