RISC-V内核的系统模型评估,以提高性能和容错性

Tom Jose, D. Shankar
{"title":"RISC-V内核的系统模型评估,以提高性能和容错性","authors":"Tom Jose, D. Shankar","doi":"10.1109/SCC57168.2023.00022","DOIUrl":null,"url":null,"abstract":"As aerospace and defense firms are working towards developing future air and space platforms, decisions involving which hardware and software elements to use in their design need to be made. One significant design choice is the underlying Instruction Set Architecture (ISA) that defines the interface between the software and hardware for a processor. A relatively new ISA called RISC-V has emerged as an open-source alternative to commercial ISAs. Verifiable security, frozen base specification for long-term stability, designed for extensibility, and no license fee for modifications make RISC-V particularly well suited for aerospace and defense applications. It is important for the architect to evaluate not only the RISC-V core but the interaction of the core with other subsystems, data accesses, and interrupts. This has to be done in the scope of the target mission application at early design stages in order to minimize design bugs, reduce cost and optimize the design. In this work, we developed the system models of the RISC-V core and System-on-Chip (SoC) where the RISC-V cores were plugged in. Using the system model, we are able to run target applications/benchmarks on the RISC-V core and evaluate the performance and power for different clock frequencies, custom instructions, topology, cache associativity degrees, cache replacement policies, cache sizes, write-back policies, bus width, buffer sizes, bus speeds, memory types, and memory width. For each simulation, the system model generates various statistics including details on pipeline stalls, pipeline utilization, execution unit utilization, execution unit buffer occupancy, instruction and data cache accesses, cache hit ratio, number of evictions, writebacks, memory throughput, cycles per instruction, memory access latency and network latency. Using the system model, we were able to obtain debug logs from each SoC subsystem including the RISC-V cores. Using the pipeline traces for each instruction, we were able to verify the behavior of custom instructions which were introduced to improve our application performance. Performance and functional requirements were provided as input to the system model and faults were injected into the system model to determine the expected performance of the system under failure. Our SoC design was then updated to improve the fault tolerance and application performance by 4x times under faults by adding redundant cores and error correction mechanisms.","PeriodicalId":258620,"journal":{"name":"2023 IEEE Space Computing Conference (SCC)","volume":"23 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"System Model Evaluation of RISC-V Cores for improved performance and fault tolerance\",\"authors\":\"Tom Jose, D. Shankar\",\"doi\":\"10.1109/SCC57168.2023.00022\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"As aerospace and defense firms are working towards developing future air and space platforms, decisions involving which hardware and software elements to use in their design need to be made. One significant design choice is the underlying Instruction Set Architecture (ISA) that defines the interface between the software and hardware for a processor. A relatively new ISA called RISC-V has emerged as an open-source alternative to commercial ISAs. Verifiable security, frozen base specification for long-term stability, designed for extensibility, and no license fee for modifications make RISC-V particularly well suited for aerospace and defense applications. It is important for the architect to evaluate not only the RISC-V core but the interaction of the core with other subsystems, data accesses, and interrupts. This has to be done in the scope of the target mission application at early design stages in order to minimize design bugs, reduce cost and optimize the design. In this work, we developed the system models of the RISC-V core and System-on-Chip (SoC) where the RISC-V cores were plugged in. Using the system model, we are able to run target applications/benchmarks on the RISC-V core and evaluate the performance and power for different clock frequencies, custom instructions, topology, cache associativity degrees, cache replacement policies, cache sizes, write-back policies, bus width, buffer sizes, bus speeds, memory types, and memory width. For each simulation, the system model generates various statistics including details on pipeline stalls, pipeline utilization, execution unit utilization, execution unit buffer occupancy, instruction and data cache accesses, cache hit ratio, number of evictions, writebacks, memory throughput, cycles per instruction, memory access latency and network latency. Using the system model, we were able to obtain debug logs from each SoC subsystem including the RISC-V cores. Using the pipeline traces for each instruction, we were able to verify the behavior of custom instructions which were introduced to improve our application performance. Performance and functional requirements were provided as input to the system model and faults were injected into the system model to determine the expected performance of the system under failure. Our SoC design was then updated to improve the fault tolerance and application performance by 4x times under faults by adding redundant cores and error correction mechanisms.\",\"PeriodicalId\":258620,\"journal\":{\"name\":\"2023 IEEE Space Computing Conference (SCC)\",\"volume\":\"23 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-07-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2023 IEEE Space Computing Conference (SCC)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/SCC57168.2023.00022\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 IEEE Space Computing Conference (SCC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SCC57168.2023.00022","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

随着航空航天和国防公司致力于开发未来的航空航天平台,需要做出涉及在其设计中使用哪些硬件和软件元素的决策。一个重要的设计选择是底层指令集体系结构(ISA),它定义了处理器的软件和硬件之间的接口。一种名为RISC-V的相对较新的ISA已经出现,它是商业ISA的开源替代品。可验证的安全性,长期稳定性的冻结基础规范,可扩展性设计,以及修改的免许可费用使RISC-V特别适合航空航天和国防应用。对于架构师来说,重要的是不仅要评估RISC-V核心,还要评估核心与其他子系统、数据访问和中断的交互。这必须在早期设计阶段的目标任务应用范围内完成,以便最大限度地减少设计错误,降低成本并优化设计。在这项工作中,我们开发了RISC-V核心和片上系统(SoC)的系统模型,其中插入了RISC-V核心。使用系统模型,我们能够在RISC-V内核上运行目标应用程序/基准测试,并评估不同时钟频率、自定义指令、拓扑、缓存关联度、缓存替换策略、缓存大小、回写策略、总线宽度、缓冲区大小、总线速度、内存类型和内存宽度的性能和功耗。对于每次模拟,系统模型都会生成各种统计数据,包括管道停滞、管道利用率、执行单元利用率、执行单元缓冲区占用、指令和数据缓存访问、缓存命中率、驱逐次数、回写、内存吞吐量、每条指令的周期、内存访问延迟和网络延迟等详细信息。使用系统模型,我们能够从包括RISC-V内核在内的每个SoC子系统获得调试日志。使用每个指令的管道跟踪,我们能够验证为提高应用程序性能而引入的自定义指令的行为。将性能和功能需求作为系统模型的输入,并将故障注入系统模型,以确定系统在故障情况下的预期性能。然后更新我们的SoC设计,通过添加冗余内核和纠错机制,将故障下的容错性和应用程序性能提高4倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
System Model Evaluation of RISC-V Cores for improved performance and fault tolerance
As aerospace and defense firms are working towards developing future air and space platforms, decisions involving which hardware and software elements to use in their design need to be made. One significant design choice is the underlying Instruction Set Architecture (ISA) that defines the interface between the software and hardware for a processor. A relatively new ISA called RISC-V has emerged as an open-source alternative to commercial ISAs. Verifiable security, frozen base specification for long-term stability, designed for extensibility, and no license fee for modifications make RISC-V particularly well suited for aerospace and defense applications. It is important for the architect to evaluate not only the RISC-V core but the interaction of the core with other subsystems, data accesses, and interrupts. This has to be done in the scope of the target mission application at early design stages in order to minimize design bugs, reduce cost and optimize the design. In this work, we developed the system models of the RISC-V core and System-on-Chip (SoC) where the RISC-V cores were plugged in. Using the system model, we are able to run target applications/benchmarks on the RISC-V core and evaluate the performance and power for different clock frequencies, custom instructions, topology, cache associativity degrees, cache replacement policies, cache sizes, write-back policies, bus width, buffer sizes, bus speeds, memory types, and memory width. For each simulation, the system model generates various statistics including details on pipeline stalls, pipeline utilization, execution unit utilization, execution unit buffer occupancy, instruction and data cache accesses, cache hit ratio, number of evictions, writebacks, memory throughput, cycles per instruction, memory access latency and network latency. Using the system model, we were able to obtain debug logs from each SoC subsystem including the RISC-V cores. Using the pipeline traces for each instruction, we were able to verify the behavior of custom instructions which were introduced to improve our application performance. Performance and functional requirements were provided as input to the system model and faults were injected into the system model to determine the expected performance of the system under failure. Our SoC design was then updated to improve the fault tolerance and application performance by 4x times under faults by adding redundant cores and error correction mechanisms.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信