DR-STRaNGe: End-to-End System Design for DRAM-based True Random Number Generators

随机数生成 计算机科学 德拉姆 连锁 嵌入式系统 计算机硬件 计算机工程
作者
F. Nisa Bostanci,Ataberk Olgun,Lois Orosa,A. Giray Yaglikci,Jeremie S. Kim,Hasan Hassan,Oguz Ergin,Onur Mutlu
标识
DOI:10.1109/hpca53966.2022.00087
摘要

Random number generation is an important task in a wide variety of critical applications including cryptographic algorithms, scientific simulations, and industrial testing tools. True Random Number Generators (TRNGs) produce cryptographically-secure truly random data by sampling a physical entropy source that typically requires custom hardware and suffers from long latency. To enable high-bandwidth and low-latency TRNGs on widely-available commodity devices, recent works propose hardware TRNGs that generate random numbers using commodity DRAM as an entropy source. Although prior works demonstrate promising TRNG mechanisms using DRAM, practical integration of such mechanisms into real systems poses various challenges.We identify three key challenges for using DRAM-based TRNGs in current systems: (1) generating random numbers with DRAM-based TRNGs can degrade overall system performance by slowing down concurrently-running applications due to the interference between RNG and regular memory operations in the memory controller (i.e., RNG interference), (2) this RNG interference can degrade system fairness by causing unfair prioritization of applications that intensively use random numbers (i.e., RNG applications), and (3) RNG applications can experience significant slowdown due to the high latency of DRAM-based TRNGs.To address these challenges, we propose DR-STRaNGe, an end-to-end system design for DRAM-based TRNGs that (1) reduces the RNG interference by separating RNG requests from regular memory requests in the memory controller, (2) improves fairness across applications with an RNG-aware memory request scheduler, and (3) hides the large TRNG latencies using a random number buffering mechanism combined with a new DRAM idleness predictor that accurately identifies idle DRAM periods.We evaluate DR-STRaNGe using a comprehensive set of 186 multi-programmed workloads. Compared to an RNG-oblivious baseline system, DR-STRaNGe improves the performance of non-RNG and RNG applications on average by 17.9% and 25.1%, respectively. DR-STRaNGe improves system fairness by 32.1% on average when generating random numbers at a 5 Gb/s throughput. DR-STRaNGe reduces energy consumption by 21% compared to the RNG-oblivious baseline design by reducing the time spent for RNG and non-RNG memory accesses by 15.8%.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
上官若男应助Uu采纳,获得10
1秒前
600am发布了新的文献求助10
1秒前
3秒前
4秒前
DuesKing完成签到,获得积分10
6秒前
Ankh完成签到,获得积分10
8秒前
敏感的海雪完成签到 ,获得积分10
8秒前
笨笨雪碧发布了新的文献求助10
8秒前
烟花应助甜美梦槐采纳,获得100
8秒前
9秒前
无我完成签到,获得积分10
9秒前
自然雅寒发布了新的文献求助10
10秒前
10秒前
张占完成签到,获得积分10
11秒前
JIECHENG完成签到 ,获得积分10
13秒前
淡定如天发布了新的文献求助10
13秒前
东东完成签到 ,获得积分10
14秒前
笨笨雪碧完成签到,获得积分10
14秒前
CodeCraft应助600am采纳,获得30
17秒前
JJ完成签到,获得积分10
17秒前
qaplay完成签到 ,获得积分0
17秒前
优雅的雁凡完成签到,获得积分10
17秒前
王小鱼完成签到 ,获得积分10
18秒前
敏er好学完成签到,获得积分10
19秒前
文乐完成签到,获得积分10
21秒前
Georges-09完成签到,获得积分10
21秒前
多情怜蕾完成签到,获得积分10
23秒前
24秒前
纯真的梦竹完成签到,获得积分10
24秒前
俏皮的灵阳完成签到,获得积分10
25秒前
Allen完成签到,获得积分10
27秒前
听安完成签到 ,获得积分10
28秒前
畅快的长颈鹿完成签到 ,获得积分10
29秒前
LL完成签到,获得积分10
33秒前
健忘的晓小完成签到 ,获得积分10
35秒前
欲见完成签到 ,获得积分10
36秒前
37秒前
从容谷菱完成签到 ,获得积分10
38秒前
38秒前
小萱完成签到 ,获得积分10
40秒前
高分求助中
液晶指向矢仿真分析数据集 8888
Invited Discussant 63O and 64O 1000
Ideology and Meaning-Making under the Putin Regime 750
Thermal effects on behaviour of clay–structure interface under partial drainage 500
Petrology and Plate Tectonics 500
Writing Systems 500
A Handbook of User Experience Research & Design in Libraries 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 计算机科学 化学工程 生物化学 物理 内科学 复合材料 催化作用 光电子学 物理化学 电极 细胞生物学 基因 遗传学
热门帖子
关注 科研通微信公众号,转发送积分 6895521
求助须知:如何正确求助?哪些是违规求助? 8591375
关于积分的说明 18242840
捐赠科研通 6291146
什么是DOI,文献DOI怎么找? 3060287
关于科研通互助平台的介绍 2078642
邀请新用户注册赠送积分活动 2038149