Cell Relay Archive

Cell Relay Retreat>List Archive>month:1999-Jun> msg00147



[Date Prev][Date Next][Thread Prev][Thread Next]  
  [Date Index][Thread Index][Author Index][Subject Index]

Re: I have a question of the VPI/VCI assignment scheme of ATM switch

  • From: Paul Koning <pkoning@xedia.com>
  • Date: Tue, 29 Jun 1999 11:31:16 -0400
  • Organization: Xedia Corporation
  • X-Complaints-To: postmaster@xedia.com


mrityu wrote:
> 
> Hi,
> 
> Actually, I have a related question: can some one please explain how the
> VPI/VCI values are actually managed in a switch. I mean what kind of
> data structures do they use and what is the order of magnitude of their
> search time. Linear allocation is simple, but it also will have to take
> care of random allocations as in the case of PVC creation.

It would depend on who wrote the code; there's no reason to believe
there is any consistent pattern.

(Well, it's likely no one is dumb enough to use linear search...)

The obvious choice is by indexing: look up the VPI in one table,
the VCI in a second table pointed to by the first.  Then again,
some may use a CAM.  Some may use hash lookup.  Whatever works...

Or did you mean the lookup used by the hardware?  If so, the
most likely answer is the double indexing lookup, but I could
imagine it being a single indexed lookup (with the implemented VPI
bits and VCI bits concatenated).  There probably is the occasional
CAM, but probably not a lot of them (too expensive).

	paul