Cost-aware Topology Customization of Mesh-based Networks-on-Chip
Subject Areas : Computer Architecture and Digital Systems
Ali Ramezanzad
1
(Department of Computer Engineering
Science and Research Branch, Islamic Azad University
Tehran, Iran)
Midia Reshadi
2
(Department of Computer Engineering
Science and Research Branch, Islamic Azad University
Tehran, Iran)
Keywords: long-range link insertion, average latency, Networks-on-chip, power and area consumption,
Abstract :
Nowadays, the growing demand for supporting multiple applications causes to use multiple IPs onto the chip. In fact, finding truly scalable communication architecture will be a critical concern. To this end, the Networks-on-Chip (NoC) paradigm has emerged as a promising solution to on-chip communication challenges within the silicon-based electronics. Many of today’s NoC architectures are based on grid-like topologies which are also used in application-specific design.The small world network idea recently has been introduced in order to optimize the performance of the Networks-on-chip. Based on this method the architecture will be neither fully customized nor completely regular. Results have shown that by using the long-range links which optimized the network power and performance, the area consumption will exceed. We can derive from this that an acceptable bound on the area consumption should be considered. Based on the restriction of a designer, in this paper we want to present a methodology that will automatically optimize an architecture while at the same time considering the area consumption.
1. L. Benini and G. De Micheli, “Networks on chip: a new SoC paradigm,” IEEE Comput., vol 35, no.1 pp. 70-78, January. 2002.
2. R. Marculescu, U.Y. Ogras, L.S. Peh, N. E. Jerger, and Y. Hoskote, “Outstanding Research Problems in NoC Design: System, Microarchitecture, and Circuit perspectives”. J. IEEE TCAD, vol. 28, no. 1, pp.3-21, January, 2009.
3. P. Vivet et al., "A $4 times 4 times 2$ Homogeneous Scalable 3D Network-on-Chip Circuit With 326 MFlit/s 0.66 pJ/b Robust and Fault Tolerant Asynchronous 3D Links," in IEEE Journal of Solid-State Circuits, vol. 52, no. 1, pp. 33-49, Jan. 2017.
4. B. Bohnenstiehl et al., "KiloCore: A 32-nm 1000-Processor Computational Array," in IEEE Journal of Solid-State Circuits, vol. 52, no. 4, pp. 891-902, April 2017. doi: 10.1109/JSSC.2016.2638459
5. U.Y. Ogras, and R. Marculescu, ““It’s a Small World After All”: NoC Performance Optimization Via Long-Range Link Insertion”. Journal of IEEE TVLSI Systems, vol.14, no. 7, pp. 693-706, July, 2006.
6. M. E. J. Newman and D. J.Watts, “Scaling and percolation in the smallworld network model,” Phys. Rev. E, vol. 60, pp. 7332–7342, 1999.
7. D. J. Watts, Small Worlds, The Dynamics of Networks Between Order and Randomness, Princeton Univ. Press, New jersey, USA, 1999.
8. A. Kahng, B. Li, L.-S. Peh, and K. Samadi. “Orion 2.0: A Fast and Accurate NoC Power and Area Model for Early-Stage Design Space Exploration,” Proc. Design, Automation and Test in Europe (DATE), pp. 423–428, April, 2009.
9. P. Meloni, I. Loi, F. Angiolini, S. Carta, M. Barbaro, and L. Raffo, “Area and power modeling for networks-on-chip with layout awareness,” J. VLSI Design, vol. 2007.
10. M. Reshadi, A. Khademzadeh, and A. Reza, “Elixir: A New Bandwidth-Constrained Mapping for Networks- on- Chip,” will be appeared in IEICE Electronics Express.
11. Princeton University, Orion 2.0 software release, Available: http://www.princeton.edu/~peh/orion.html
12. Carnegie Mellon University, SLD: System Level Design Group, SmallNoC: Application-specific long-range link insertion tool, release 1.0, Available: http://www.ece.cmu.edu/~sld/software/SmallNoC.php
13. Carnegie Mellon University, SLD: System Level Design Group, Worm_sim Simulator: a cycle accurate simulator for Networks-on-Chip, release 4.2, Available: http://www.ece.cmu.edu/~sld/software/worm_sim.php
Cost-aware Topology Customization of Mesh-based Networks-on-Chip
Abstract: The small world network idea recently has been introduced in order to optimize the performance of the Networks-on-chip. Based on this method the architecture will be neither fully customized nor completely regular. Results have shown that by using the long-range links which optimized the network power and performance, the area consumption will exceed. We can derive from this that an acceptable bound on the area consumption should be considered. Based on the restriction of a designer, in this paper we want to present a methodology that will automatically optimize an architecture while at the same time considering the area consumption.
Keywords: Networks-on-chip, long-range link insertion, power and area consumption, average latency
Classification: Integrated circuits
1. Introduction
Nowadays, the growing demand for supporting multiple applications causes to use multiple IPs onto the chip. In fact, finding truly scalable communication architecture will be a critical concern. To this end, the Networks-on-Chip (NoC) paradigm has emerged as a promising solution to on-chip communication challenges within the silicon-based electronics [1][3][4]. Many of today’s NoC architectures are based on grid-like topologies which are also used in application-specific design [2][3][4]. We can see that in this way, the mapping algorithm plays an important role in improving the overall system cost and performance. Nevertheless, the cost and performance of mapping the applications onto the general-propose platforms are not as optimal as a fully customized topologies [5]. In recent years, small-world network idea [6][7] has been proposed in order to improve the performance of the NoC with minimum effect on the regularity of the network. Ogras et.al [5] has presented an iterative long-range link insertion algorithm with evaluating the performance and power consumption of the NoC. We have explored this algorithm and simulation results show that by inserting long-range links the average latency and power consumption will be reduced. Moreover, we have also evaluated the area consumption of this approach. The results ensure us that we need to define the limitation regarding the expense of the growing of the area. Built on these assumptions, we present an iterative long-range link insertion algorithm while considering the area cost.
2. Related Works
In this section, we review a number of related works which could clarify the scheme of the intended methodology.
In [1], a short representation to a contemporary paradigm for systems on chip (SoC) design has been represented. A component-based design methodology will be common among other methods in future in order to support plug-and-play reusability. Authors of [2] have introduced research problems in NoC design which have not been solved yet. In this paper, five main research problems are organized as application characterization, communication paradigm, communication infrastructure, analysis, and solution evaluation. In [3], a 3D modular and scalable NoC architecture which uses robust asynchronous logic is implemented. Authors of [4] have represented a processor array containing 12 memory modules and 1000 independent processors which have been fabricated in 32-nm partially depleted silicon on insulator CMOS. In [5], for synthesizing an architecture which is neither fully customized nor regular, a new method has been introduced. In fact, the communication architecture is a superposition of long-range links and a mesh network. Authors of [6] have introduced the small-world network model of Strogatz and Watts in order to mimic structure of social interaction networks. In [7], the book of DJ Watts which named, “the dynamics of networks between order and randomness”, has been introduced. Authors of [8] have represented an accurate and fast NoC area and power model for design space exploration which named: ORION 2.0. In [9], a flow to invent analytical models for NoC switches in terms of power consumption and area occupation, and also strategies for coefficient characterization with different tradeoffs in accuracy and modeling activity has been represented. Authors of [10], based on the combination of both branch and bound concepts and the bandwidth-constrained have represented a performance and power aware mapping mechanism.
3. Problem Formulation
Firstly we want to present a few definitions regarding the application and NoC architecture. Fig.1 shows the pictorial description of the problem formulation.
Definition 1: The core graph G(V,E) is a directed graph where each denotes a core and the directed edge
denotes the communication trace between the cores
and
. For every
,
represents the bandwidth of the communication from
to
.
Definition 2: The NoC architecture is described by, where,
· The labeled directed graph T(N,L) represent the network topology where each denotes a router and the directed edge
denotes a direct physical link between the tiles
and
. For every
:
- npi(ni) gives a number of the input ports of the router ni,
- npo(ni) gives a number of the output ports in the router ni,
- bdj(ni) gives the buffer depth of a channel jth of the router ni.
For every,
- bwi,j represents the bandwidth available across the edge li,j,
- h(li,j) gives the length of the link li,j. We have defined a basic link unit bl identical to the size of the regular links used in the mesh network,
- fw(li,j) gives the flit width of the link li,j,
· The routing protocol Rp(ni, nSrc ,nDest) that determines the outgoing channel at the router ni for all packets travelling from the source router nSrc to the destination router nDest. In this paper we have applied a routing algorithm which is proposed in [5].
· A mapping functionmaps each core
of the core graph onto a node
of a topology graph such that
. We have applied Elixir mapping which has been presented in [10].
In the core graph,is the communication between each pair of cores.
is treated as a flow of commodity and the value of
is denoted by
. The set of all commodities is represented by D and is defined as:
(1)
Then the problem statement is as follows:
The fast and automated algorithm has to customize the mesh network based on the specific application by adding the long-range links with a minimum distortion of regularity plus at the same time considering the area overhead constraints so that average latency and power consumption are minimized.
Fig.1. Pictorial description of problem formulation
4. Area Model
Here we want to investigate the Networks-on-chip from an area consumption point of view. In order to achieve this, we use the Orion2.0 the power and the area model [8] which is associated with the Meloni, et al’s formulation [9].
In general, the total area consumption of the network can be expressed as:
AreaNetwork=Arearouter+Arealinks (2)
where AreaNetwork is the total area of the network and both Arearouter and Arealinks are the area of routers and links respectively. Modeled on both the Orion area model and [9], the area of the given router can be rendered as the sum of four contributions: (I) input buffers, (II) output buffers, (III) arbitration and flow control logic, (IV) crossbar switch. Thus the area of the router can be expressed as:
Arearouter=Areainput_buffers+Areaoutput_buffers+AreaArbitration+Areacrossbar (6)
where AreaArbitration, Areacrossbar, Areainput_buffers and Areaoutput_buffers are the area consumption of the arbitration unit, crossbar switch, input buffers and output buffers respectively. Each contribution depends on a combination of architectural parameters where have been introduced in section 3. According to [9] the area of the router can be calculated as:
Arearouter=A1.npo.fw.bd+A2.npi.fw+A3 .npo.npi+A4.fw.npo.npi (7)
where A1, A2, A3, and A4 are the coefficients and npi, npo, fw, and bd are the number of input ports, number of output ports, flit width, and buffer depth of a given router.
According to the Orion2.0 model, the area of the link can be expressed as the combination of the following architectural parameters:
Arealink=A’1.h.fw (8)
where A’1 is the coefficient and h and fw are the link length and the flit width of a given link. According to this, the total area consumption before inserting the long-range links can be expressed as:
AreaNetwork= A1.npo.fw.bd+A2.npi.fw+A3 .npo.npi+A4.fw.npo.npi+ A’1.h.fw (9)
Identically, the total area consumption after the insertion of the long-range links can be calculated as:
AreaNetwork= A1.npo’.fw.bd+A2.npi’.fw+A3 .npo’.npi’+A4.fw.npo’.npi’+ A”1.h’.fw (10)
Where h’, npi’, npo’ totally represent the link length, the number of input buffer, as well as the number of output buffer after the insertion of the long-range links. In fact adding the long-range links will directly affect the area consumption of the network. Overall, as the area model shows, adding the long-range links has a serious impact on the area penalty.
5. Long-range Link Insertion Algorithm
In order to analyze the long-range link insertion algorithm which was proposed by Ogras et. al [5], we have used the SmallNoC[12] plus the worm_sim [13] tools. The results were obtained by defining the different resource constraints. On these results we can see, when the number of inserted long-range links exceeds a specific value, the latency and power consumption decrease abruptly while at the same time, the area consumption will grow linearly. Therefore our main objection is considering the area penalty in the process of adding long-range links. In order to achieve this end, for a given application we have performed the following steps:
- Firstly, the area constraint, the target application and the mesh topology dimension is taken as inputs.
- Secondly, based on the commodity ranking, the long-range links are inserted to the given pairs of tiles with a higher rank within a descending order. This ranking can be calculated as:
Where hopcount (a, b) is the minimum number of hops between nodes a and b.
- Thirdly, this resulting output network is then evaluated to find out the latency improvement which has been obtained from the previous configuration while considering the area constraint.
Fig.2. Long-range link insertion algorithm and the simulation toolchain
This process repeats iteratively until the most beneficial links have been founded along with considering the area overhead penalty (Fig. 2). Once this happens, the architecture file and routing data are generated for the precise evaluation. It is important to note that our proposed algorithm has a lower computational complexity (i.e., the link insertion and the routing table generation) because, instead of examining all of the pairs of tiles, the tiles with a higher rank are inspected. In order to verify this idea experimentally, we have modified the SmallNoC tool to implement the proposed algorithm. Furthermore, the Orion 2.0 power and area model [11] library have been added to both the SmallNoC and worm_sim tools so that we can estimate the area consumption of the network. This proposed algorithm gives same long-range links in a lower computational complexity. Fig.3a, Fig.3b, Fig.3e and Fig. 3f totally show the improvement of the average latency, power and area consumption for the MPEG4 and the VOPD video processing applications in 65nm process technology. In order to clear view by considering the area penalty, we have normalized all values in Fig.3d and Fig.3h. Our results show that for the MPEG4 application, growing of the area are 7.8%, 17.9% and 59.3% in conjunction with 1, 2 and 8 links respectively. Correspondingly, with the VOPD, growing of the area are 15.8%, 34.2% and 79.6% while at the same time 2, 4 and 8 links are added respectively. At this point, the designer can chooses more improved architecture based on the area overhead limitation.
Finally, it’s worth mentioning, one of the goals for writing this paper was comparing intended algorithm with other related algorithms. Also, we have sought in the latest researches for finding latest basic methods, which is relevant to the proposed technique. But, unfortunately, there is no other related algorithm in order to compare with the intended strategy.
(a) (b)
(c) (d)
(e) (f)
(g) (h)
Fig.3 (a) Average Network latency for the VOPD application within 65nm process technology, (b) Network energy consumption for the VOPD application within 65nm process technology, (c) Total area consumption for the VOPD application within 65nm process technology, (d) Normalized Network latency, power, and area consumption for the VOPD application. (e) Average Network latency for the MPEG4 application within 65nm process technology, (f) Network energy consumption for the MPEG4 application within 65nm process technology, (g) Total area consumption for the MPEG4 application within 65nm process technology, (h) Normalized Network latency, power, and area consumption for the MPEG4 application.
6. Conclusion
In this paper we have experimentally shown an area penalty of long-range link insertion idea in the NoC. We have also demonstrated the area model based on the Orion 2.0 and the formulation of [9].As the part of the main contribution, we have proposed the fast and automatic application-specific long-range link insertion algorithm while considering the area consumption. Results show the improvement of the latency and performance based on the definition of the area limitation.
7. References
1. L. Benini and G. De Micheli, “Networks on chip: a new SoC paradigm,” IEEE Comput., vol 35, no.1 pp. 70-78, January. 2002.
2. R. Marculescu, U.Y. Ogras, L.S. Peh, N. E. Jerger, and Y. Hoskote, “Outstanding Research Problems in NoC Design: System, Microarchitecture, and Circuit perspectives”. J. IEEE TCAD, vol. 28, no. 1, pp.3-21, January, 2009.
3. P. Vivet et al., "A $4 times 4 times 2$ Homogeneous Scalable 3D Network-on-Chip Circuit With 326 MFlit/s 0.66 pJ/b Robust and Fault Tolerant Asynchronous 3D Links," in IEEE Journal of Solid-State Circuits, vol. 52, no. 1, pp. 33-49, Jan. 2017.
4. B. Bohnenstiehl et al., "KiloCore: A 32-nm 1000-Processor Computational Array," in IEEE Journal of Solid-State Circuits, vol. 52, no. 4, pp. 891-902, April 2017.
doi: 10.1109/JSSC.2016.2638459
5. U.Y. Ogras, and R. Marculescu, ““It’s a Small World After All”: NoC Performance Optimization Via Long-Range Link Insertion”. Journal of IEEE TVLSI Systems, vol.14, no. 7, pp. 693-706, July, 2006.
6. M. E. J. Newman and D. J.Watts, “Scaling and percolation in the smallworld network model,” Phys. Rev. E, vol. 60, pp. 7332–7342, 1999.
7. D. J. Watts, Small Worlds, The Dynamics of Networks Between Order and Randomness, Princeton Univ. Press, New jersey, USA, 1999.
8. A. Kahng, B. Li, L.-S. Peh, and K. Samadi. “Orion 2.0: A Fast and Accurate NoC Power and Area Model for Early-Stage Design Space Exploration,” Proc. Design, Automation and Test in Europe (DATE), pp. 423–428, April, 2009.
9. P. Meloni, I. Loi, F. Angiolini, S. Carta, M. Barbaro, and L. Raffo, “Area and power modeling for networks-on-chip with layout awareness,” J. VLSI Design, vol. 2007.
10. M. Reshadi, A. Khademzadeh, and A. Reza, “Elixir: A New Bandwidth-Constrained Mapping for Networks- on- Chip,” will be appeared in IEICE Electronics Express.
11. Princeton University, Orion 2.0 software release, Available: http://www.princeton.edu/~peh/orion.html
12. Carnegie Mellon University, SLD: System Level Design Group, SmallNoC: Application-specific long-range link insertion tool, release 1.0, Available: http://www.ece.cmu.edu/~sld/software/SmallNoC.php
13. Carnegie Mellon University, SLD: System Level Design Group, Worm_sim Simulator: a cycle accurate simulator for Networks-on-Chip, release 4.2, Available: http://www.ece.cmu.edu/~sld/software/worm_sim.php