zoukankan      html  css  js  c++  java
  • Source Routing

    Source routing

    Followed by book_Principles and Practices of Interconnection Networks, p204.


    With source routing, all routing decisions for a packet are made entirely in the source terminal by table lookup of a precomputed route.

    Each source node contains a table of routes, at least one per destination.

    To route a packet, the table is indexed using the packet destination to look up the appropriate route or set of routes.

    This route is then prepended to the packet and used to rapidly steer the packet through the network along the selected path with no further computation.


    Source routing has several advantages:
    1.The foremost advantage is speed. After the initial table lookup and route selection in the source, no further time is spent on routing.

    As each packet arrives at a router, it can immediately select its output port without any computation or memory reference. The routing delay component of per-hop latency is zero.
    2.In addition to being fast, source routing results in a simple router design. There is no need for any routing logic or tables in each router.

    比如这个表,source node(00)->destination node(21), 期间经过的路由器个数为|2-0|+|1-0|=3。

    若选择Route 0, 路径上经过的output port依次为north, east, east, exit port (core),output port选择由port selectors来完成。

    eg. adopt source routing and encode the route in 2 bits for each router.

    At the source router, the 2-bit corresponds to East, South, West and North output ports, while at all other routers, the bits correspond to Left, Right, Straight and Core.

    The direction Left, Right and Straight are relative to the input port of the flit.

  • 相关阅读:
    Oracle学习
    WPF中获取DataGrid列表的选中行Id的方法
    调用MySql存储过程的方法 '增删改查'
    MySql中存储过程的基本增删改查操作
    在WinForm中遍历获取TreeView的节点及其子节点
    WinForm获取MySql数据的基本增删改查
    WinForm中的用户控件实现分页功能
    NGUI之自适应屏幕
    快速排序法
    Array,ArrayList、List<T>、HashSet<T>、LinkedList<T>与Dictionary<K,V>
  • 原文地址:https://www.cnblogs.com/cpsmile/p/8323689.html
Copyright © 2011-2022 走看看