-
公开(公告)号:US09971565B2
公开(公告)日:2018-05-15
申请号:US14706213
申请日:2015-05-07
Applicant: Oracle International Corporation
Inventor: John Pape , Mark Luttrell , Paul Jordan , Michael Snyder
IPC: G06F7/58
Abstract: Random numbers within a processor may be scarce, especially when multiple hardware threads are consuming them. A local random number buffer can be used by an execution core to better manage allocation and consumption of random numbers. The buffer may operate in a number of modes, and allow any hardware thread to use a random number under some conditions. In other conditions, only certain hardware threads may be allowed to consume a random number. The local random number buffer may have a dynamic pool of entries usable by any hardware thread, as well as reserved entries usable by only particular hardware threads. Further, a user-level instruction is disclosed that can be stored in a wait queue in response to a random number being unavailable, rather than having the instruction's request for a random number simply be denied. The random number buffer may also boost performance and reduce latency.
-
公开(公告)号:US20160328209A1
公开(公告)日:2016-11-10
申请号:US14706213
申请日:2015-05-07
Applicant: Oracle International Corporation
Inventor: John Pape , Mark Luttrell , Paul Jordan , Michael Snyder
IPC: G06F7/58
Abstract: Random numbers within a processor may be scarce, especially when multiple hardware threads are consuming them. A local random number buffer can be used by an execution core to better manage allocation and consumption of random numbers. The buffer may operate in a number of modes, and allow any hardware thread to use a random number under some conditions. In other conditions, only certain hardware threads may be allowed to consume a random number. The local random number buffer may have a dynamic pool of entries usable by any hardware thread, as well as reserved entries usable by only particular hardware threads. Further, a user-level instruction is disclosed that can be stored in a wait queue in response to a random number being unavailable, rather than having the instruction's request for a random number simply be denied. The random number buffer may also boost performance and reduce latency.
Abstract translation: 处理器内的随机数可能很少,特别是当多个硬件线程消耗它们时。 执行核心可以使用本地随机数缓冲区来更好地管理随机数的分配和消耗。 缓冲器可以以多种模式操作,并且允许任何硬件线程在某些条件下使用随机数。 在其他条件下,只允许某些硬件线程使用随机数。 本地随机数缓冲器可以具有可由任何硬件线程使用的条目的动态池,以及仅由特定硬件线程使用的保留条目。 此外,公开了可以响应于随机数不可用而存储在等待队列中的用户级指令,而不是简单地拒绝指令对随机数的请求。 随机数缓冲器也可以提高性能并减少延迟。
-