当前位置:网站首页>哪吒 D1-H 测试 microbench
哪吒 D1-H 测试 microbench
2022-07-25 19:16:00 【InfoQ】
烧写固件
PhoenixSuit使用简介
一键刷机-浏览立即升级
空设备烧写
按住fel按键烧写
已有设备固件烧写
reboot efexRootFS
简单准备
Cloud Lab Managerqemu-user-static$ sudo apt install -y qemu-user-static jq$ pwd~/Develop/cloud-lab$ cd labs/linux-lab查询支持的 RISC-V Linux 发行版
$ docker search riscv64 | grep ^riscv64/riscv64/debian Debian is a Linux distribution that's compos… 1riscv64/busybox Busybox base image. 0riscv64/alpine A minimal Docker image based on Alpine Linux… 0riscv64/ubuntu Ubuntu is a Debian-based Linux operating sys… 0$ ../../tools/docker/tags riscv64/ubuntu"latest""devel""jammy""jammy-20220315""22.04""rolling""impish""impish-20220316""21.10""focal"任选一个下载下来
22.04$ tools/root/docker/extract.sh riscv64/ubuntu:22.04LOG: Pulling riscv64/ubuntu:22.0422.04: Pulling from riscv64/ubuntu779c5da60b92: Pull completeDigest: sha256:4de0b5a51c63b54d27ad151217f6cefaa4114a5db33abce6f47fc6a1f2c3bc2bStatus: Downloaded newer image for riscv64/ubuntu:22.04docker.io/riscv64/ubuntu:22.04LOG: Running riscv64/ubuntu:22.04WARNING: The requested image's platform (linux/riscv64) does not match the detected host platform (linux/amd64) and no specific platform was requestedLOG: Creating temporary rootdir: /home/kali/Develop/cloud-lab/labs/linux-lab/prebuilt/fullroot/tmp/riscv64-ubuntu-22.04LOG: Extract docker image to /home/kali/Develop/cloud-lab/labs/linux-lab/prebuilt/fullroot/tmp/riscv64-ubuntu-22.04[sudo] password for kali:LOG: Removing docker container2b3b9d005682e664f40f4ff80ce483e3673828eaafef51809757e2d91b2ba090LOG: Chroot into new rootfsLinux linux-lab-host 5.10.0-kali9-amd64 #1 SMP Debian 5.10.46-4kali1 (2021-08-09) riscv64 riscv64 riscv64 GNU/LinuxUbuntu Jammy Jellyfish (development branch) \n \l极速体验目标 Linux 系统
$ tools/root/docker/chroot.sh riscv64/ubuntu:22.04LOG: Chroot into /home/kali/Develop/cloud-lab/labs/linux-lab/prebuilt/fullroot/tmp/[email protected]:/#[email protected]:/# uname -aLinux linux-lab-host 5.10.0-kali9-amd64 #1 SMP Debian 5.10.46-4kali1 (2021-08-09) riscv64 riscv64 riscv64 GNU/[email protected]:/# uname [email protected]:/# exittools/root/docker/run.sh测试
git clone https://gitee.com/tinylab/riscv-linux
cd riscv-linux/test/microbench
make logging PRODUCT='D1-H-nezha' O=0
make logging PRODUCT='D1-H-nezha' O=1Run on (1 X 1008 MHz CPU )
Load Average: 1.43, 1.21, 1.10
-------------------------------------------------------------------------
Benchmark Time CPU Iterations
-------------------------------------------------------------------------
BM_nop 10.1 ns 10.0 ns 69957559
BM_ub 10.2 ns 10.0 ns 69873414
BM_bnez 10.1 ns 10.0 ns 69937321
BM_beqz 10.1 ns 10.0 ns 69938862
BM_load_bnez 12.2 ns 12.0 ns 58255983
BM_load_beqz 12.2 ns 12.0 ns 58298861
BM_cache_miss_load_bnez 24.3 ns 12.0 ns 58107258
BM_cache_miss_load_beqz 24.3 ns 12.0 ns 58252024
BM_branch_miss_load_bnez 24.2 ns 12.0 ns 58267620
BM_branch_miss_load_beqz 24.3 ns 12.0 ns 58236516
BM_cache_branch_miss_load_bnez 24.4 ns 12.0 ns 58232276
BM_cache_branch_miss_load_beqz 24.7 ns 12.0 ns 58142354参考文档
边栏推荐
- 小程序毕设作品之微信校园维修报修小程序毕业设计成品(6)开题答辩PPT
- 小程序毕设作品之微信校园维修报修小程序毕业设计成品(5)任务书
- Full scale and Xuan of C key
- 微信小程序 29 热搜榜的完善②
- The difference between QT exec and show
- 帝国CMS整站|手机号/QQ靓号商城源码|适配移动端
- 【DETR用于3D目标检测】3DETR: An End-to-End Transformer Model for 3D Object Detection
- 小程序毕设作品之微信校园维修报修小程序毕业设计成品(7)中期检查报告
- Baklib: make excellent product instruction manual
- Hough transform understanding [easy to understand]
猜你喜欢

Deng Qinglin, a technical expert of Alibaba cloud: Best Practices for disaster recovery and remote multi activity across availability zones on cloud

Wechat campus maintenance and repair application applet graduation design finished product of applet completion work (6) opening defense ppt

微信小程序 29 热搜榜的完善②

Basic mode of music theory

The second "future Cup" knowledge map championship was officially launched

微信小程序 26 播放音乐页的完善②

聊聊sql优化的15个小技巧

Pymoo learning (5): convergence analysis

The degree of interval of basic music theory

小程序毕设作品之微信校园维修报修小程序毕业设计成品(4)开题报告
随机推荐
How to ensure the consistency of double write between database and cache?
李宏毅《机器学习》丨1. Introduction of this course(机器学习介绍)
Pixel2mesh generates 3D meshes from a single RGB image eccv2018
Juzhi cloud computing opens a new era to the "proprietary cloud" of Youfu network
Hongmeng - Damiao computing Sketchpad - VIDEO
Deng Qinglin, a technical expert of Alibaba cloud: Best Practices for disaster recovery and remote multi activity across availability zones on cloud
Go code checking tool
HTTP cache tongtianpian, there may be something you want
【Web技术】1391- 页面可视化搭建工具前生今世
【刷题记录】21. 合并两个有序链表
Pymoo learning (7): Parallelization
这种动态规划你见过吗——状态机动态规划之股票问题(上)
Clip can also do segmentation tasks? The University of Gottingen proposed a model clipseg that uses text and image prompt and can do three segmentation tasks at the same time, squeezing out the clip a
qt之编译成功但程序无法运行
鸿蒙-大喵计算画板-视频
小程序毕设作品之微信校园维修报修小程序毕业设计成品(7)中期检查报告
[Detr for 3D object detection] 3detr: an end to end transformer model for 3D object detection
[help center] provide your customers with the core options of self-service
i3-status 配置
MySQL sub query (selected 20 sub query exercises)