COUNTING NETWORKS

被引:91
作者
ASPNES, J
HERLIHY, M
SHAVIT, N
机构
[1] DIGITAL EQUIPMENT CORP,CAMBRIDGE RES LAB,CAMBRIDGE,MA 02139
[2] TEL AVIV UNIV,SCH MATH,DEPT COMP SCI,IL-69978 TEL AVIV,ISRAEL
关键词
ALGORITHMS; PERFORMANCE; COUNTING NETWORKS; HOT-SPOTS; NETWORK ROUTING; PARALLEL PROCESSING;
D O I
10.1145/185675.185815
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Many fundamental multi-processor coordination problems can be expressed as counting problems: Processes must cooperate to assign successive values from a given range, such as addresses in memory or destinations on an interconnection network. Conventional solutions to these problems perform poorly because of synchronization bottlenecks and high memory contention. Motivated by observations on the behavior of sorting networks, we offer a new approach to solving such problems, by introducing counting networks, a new class of networks that can be used to count. We give two counting network constructions, one of depth log n(1 + log n)/2 using n log n(1 + log n)/4 ''gates,'' and a second of depth log(2) n using n log(2) n/2 gates. These networks avoid the sequential bottlenecks inherent to earlier solutions, and substantially lower the memory contention. Finally, to show that counting networks are not merely mathematical creatures, we provide experimental evidence that they outperform conventional synchronization techniques under a variety of circumstances.
引用
收藏
页码:1020 / 1048
页数:29
相关论文
共 32 条
  • [1] AGARWAL A, 1991, P WORKSHOP SCALABLE
  • [2] AITAI M, 1983, 15TH P ACM S THEOR C, P1
  • [3] ANDERSON TE, 1989, 890403 U WASH TECH R
  • [4] CORMEN TH, 1990, INTRO ALGORIGHTMS
  • [5] THE PERIODIC BALANCED SORTING NETWORK
    DOWD, M
    PERL, Y
    RUDOLPH, L
    SAKS, M
    [J]. JOURNAL OF THE ACM, 1989, 36 (04) : 738 - 757
  • [6] ALGORITHMS FOR PARALLEL MEMORY ALLOCATION
    ELLIS, CS
    OLSON, TJ
    [J]. INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 1988, 17 (04) : 303 - 345
  • [7] FELTON EW, 1993, 930409 U WASH TECH R
  • [8] FREUDENTHAL E, 1991, 4TH P INT C ARCH SUP
  • [9] GAWLICK D, 1985, SPR P IEEE COMP C, P249
  • [10] GOODMAN JR, 1989, 3 P ASPLOS, P64