发明名称 EFFICIENT INTERLEAVING BETWEEN A NON-POWER-OF-TWO NUMBER OF ENTITIES
摘要 Some embodiments of the present invention provide a system that maps an address to an entity, wherein the mapping interleaves addresses between a number of entities. During operation, the system receives an address A from a set of X consecutive addresses, wherein the address A is to be mapped to an entity E in a set of Y entities, and wherein Y need not be a power of two. Next, the system obtains F=floor(log2(Y)) and C=ceiling(log2(Y)). The system then calculates L, which equals the value of the F least-significant bits of A. The system also calculates M, which equals the value of the C most-significant bits of A. Next, the system calculates S=L+M. Finally, if S<Y, the system sets E=S. Otherwise, if S≧Y, the system sets E=S−Y.
申请公布号 US2011047346(A1) 申请公布日期 2011.02.24
申请号 US20090543803 申请日期 2009.08.19
申请人 SUN MICROSYSTEMS, INC. 发明人 CYPHER ROBERT E.;DAGA BHARAT K.
分类号 G06F12/10 主分类号 G06F12/10
代理机构 代理人
主权项
地址