• Arbiter


    from 

    2015-EDCAV-Problems encountered in various arbitration techniques used in NOC router-A survey

    2001-Engineering Issues, Arbiters and Allocators

    book_Principles and Practices of Interconnection Networks

    basic terminology

    Congestion:- Many input ports are requesting for the same output port.

    Starvation: - A type of unfairness in which all the input ports don’t have an equal chance of accessing the output port.

    Deadlock: - Output port can’t be accessed by an input port because it is waiting on other input port to release the resources.

    Livelock: - Packets from the input port are moving but they can’t reach the desired output port.

    Head of Line Blocking:- It occurs in the case that two input ports request for the same output port but it is already being occupied by one of the input port, so another input port and the coming input port requests can’t advance to the desired output port thus, degrading the network performance.

    Arbitration Timing

    The duration of the grant depends on the application. In some applications, the requester may need uninterrupted access to the resource for a number of cycles.

    In other applications, it may be safe to rearbitrate every cycle.

    To suit these different applications, we may build arbiters that issue a grant for a single cycle, for a fixed number of cycles, or until the resource is released.

    Design goal

    The arbitration should guarantee the fairness in scheduling, avoid starvation, and provide high throughput

    Fixed Priority Arbiter(固定优先级)

    The simplest form of arbiters which has a predetermined priority order grants access to a shared resource based on which it grants access to a shared resource.

    Its implementation involves a linear array of basic bit cells resulting in the generation of the grant Gi if both the input request Ri and incoming priority signal Ci are asserted.

    The carry input Ci indicates that the resource has not been granted to a higher priority request and, hence, is available for this bit cell.

    disadvantages:

    • Critical path delay grant is linearly proportional to the number of inputs.
    • The problem of starvation is very severe as only one input port is provided with a highest priority while all other with a low priority to access the output port i.e. an unfair arbitration technique.

    Round-robin Arbiter(轮转法)

    Round robin arbiter provides a high degree of fairness among the agents by treating each input port fairly and guaranteeing fairness in scheduling.

    Thus, each input port is provided with an equal chance to access the output port and the starvation problem can be solved

    A round-robin arbiter operates on the principle that a request that was just served should have the lowest priority on the next round of arbitration.

    The round robin arbitration, in its basic form, is a simple time slice scheduling, allowing each requestor an equal share of the time in accessing a memory or a limited processing resource in a circular order.

    An extension to RRA is the weighted version of RRA. Here if we want to process Inputs 1’s packets twice as often as Input 2’s packets we do it in one of two ways.

    • We place two request of Input 1 in the Request Stack. 
    • Another way is to have a counter for each input. The counter represents the number of requests the input should be granted over a given period of time.

    The problems we have found are -
    1) The high degree of fairness of the round robin arbiter may degrade the efficiency for some input ports.
    2) Round Robin Arbiter is a little bit time-consuming operation and is mostly contributed by the Input Selector to grant the requests, which also determines critical path delay.

    Matrix Arbiter(最久未被使用优先)

    A matrix arbiter implements a least recently served priority scheme by maintaining a triangular array of state bits wij for all i < j.

    The bit W_ij in row i and column j indicates that request i takes priority over request j .

    A 1 at the ath row and the bth column means requestor a beats requestor b in acquiring the resource.

    This information is maintained in a matrix form where each row corresponds to an input and each column corresponds to an output.

    after Input 1 gets processed=>

    For the maintenance of priority registers, when a matrix arbiter grants a requester,

    the arbiter resets the row that has the same row index as the winner to 0 and sets the column that has the same column index as the winner to 1,

    to give itself the lowest priority since it was the most recently served.

    Queuing Arbiter(先到先服务)

    a queueing arbiter provides FIFO priority.

    It accomplishes this by assigning a time stamp to each request when it is asserted.

    During each time step, the earliest time stamp is selected by a tree of comparators.

  • 相关阅读:
    SpringBoot 项目发现的错误
    maven项目SpringBoot框架
    eclipse不能正常启动
    @Service、@Controller、@Repository、@Resource注解的作用
    navicat 不能正常启动
    序列化和反序列化
    hibernate主键生成策略
    eclipse 安装注意事项之一
    js-cookie的使用说明
    微信小程序自定义顶部导航栏,添加背景图,透明色等
  • 原文地址:https://www.cnblogs.com/cpsmile/p/8334746.html
Copyright © 2020-2023  润新知