In article <1133546302.971664.195900@g43g2000cwa.googlegroups.com>,
<parasiteslost@bigfoot.com> wrote:
I have a basic question about LAN oerformance.
Given a 1km 10Mbps bus lan using simple TDM with 100bits slots for
Medium access and a propagation speed of 2 x 10^8 m/s, with each
station transmitting at rate R bps.
What would be the max. no. of stations it can accomodate?
You mention TDM. Is it correct that you do not do any bus arbitration
as such? That each station in turn has a time slot to send data in, and
if one station has nothing to send then the slot just doesn't carry any
useful information during that slot? Presumably with there being either
being the ability to send "nothing" during part of a slot, or else with
there being some encoding or protocol signifying "this is idle data"?
Should we also assume that there is a master clock signal controlling
the synchronization, and that that clock signal is carried in such
a way that it does not get skewed beyond tolerance during transmission
or at intermediate switches/hubs/connectors ?
And should we also assume that the stations have the slots pre-assigned,
so we don't have to worry about protocols for automatically
assigning slots to stations (statically or dynamically) ?
Your bus length is 1000 m / (2 x 10^8 m/s) = 5 x 10^-6 seconds long,
multiply by 10 x 10^6 bit/s (10 Mbps) to get a bus latency of 50 bits.
As that is less than your TDM slot, you won't be using the bus as
a storage medium ;-)
So, assuming strict pre-assigned TDM, the problem simplifies quite a bit.
You just need to find the maximum number of stations, N, such that
N * R <= 10 x 10^6. This does, though, presume that when you say
that each station transmits at rate R, that it is always ready to send 100
further bits when its time-slot comes around.
The actual throughput rate achievable would depend upon the details
of the addressing protocols, and of the mechanisms for dealing with
changing destinations mid-slot and so on.
The problem would change considerably if there were mechanisms to
take advantage of unused slots (such as for token-ring), or if
R is an average rate for each station but the data transmission is
not constant speed.
--
If you lie to the compiler, it will get its revenge. -- Henry Spencer