Skip to main content

sign_latency_cycles

Function sign_latency_cycles 

Source
pub fn sign_latency_cycles(own_sha: bool) -> f64
Expand description

Idle latency of one signature in cycles (model): the nonce block, a scalar job, the fixed-base walk on a 32-context barrel (one bundle per 32 cycles), the compress machine’s flush wait and its batch program on a 64-context barrel, the two challenge blocks and two scalar jobs. With own_sha the module’s SHA rings take ~81 cycles per block; on the shared line each block takes LINE_BLOCK_CYCLES (dispatch, the line, the return). Measured isolated (fix13, 8,0,2,1 on the line): 40,446 cycles against 40,406 from this model. The fused small core measured 22,240 cycles for one request (it has no compress machine, so this batch-compress model is not directly comparable).