当前位置:网站首页>哪吒 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参考文档
边栏推荐
- Care for front-line epidemic prevention workers, Haocheng JIAYE and Gaomidian sub district office jointly build the great wall of public welfare
- Youth, oh, youth
- GDB help
- 微信小程序 26 播放音乐页的完善②
- 基于Mysql-Exporter监控Mysql
- [record of question brushing] 21. Merge two ordered linked lists
- 帝国CMS7.5仿《问答库》题库问答学习平台网站源码 带手机版
- Pymoo learning (6): termination conditions
- [cloud native kubernetes] management of secret storage objects under kubernetes cluster
- Swift 基础 Codable(JSONEncoder JSONDecoder)的使用
猜你喜欢

What is the application value of MES management system

How to change the chords after the tune of the song is changed

C 调的满级和玄

Single arm routing experiment demonstration (Huawei router device configuration)
![[open source project] stm32c8t6 + ADC signal acquisition + OLED waveform display](/img/5f/413f1324a8346d7bc4a9490702eef4.png)
[open source project] stm32c8t6 + ADC signal acquisition + OLED waveform display

Pymoo learning (5): convergence analysis

Korean AI team plagiarizes shock academia! One tutor with 51 students, or plagiarism recidivist

Pymoo学习 (5):收敛性分析

HTTP cache tongtianpian, there may be something you want

HTTP缓存通天篇,可能有你想要的
随机推荐
In the first half of the year, the shipment volume has exceeded that of the whole year of last year, and centritec millimeter wave radar has "captured" the international giant
房地产行业大洗牌
华为交换机系统软件升级和安全漏洞修复教程
Microsoft azure and Analysys jointly released the report "Enterprise Cloud native platform driven digital transformation"
600000 pieces of data are made from March 1 to March 31. Videodate requires starting time from 00:00 to 24:00 on March 1 to 31, which is only for notes
【HDLBits 刷题】Verilog Language(3)Modules: Hierarchy 部分
小程序毕设作品之微信校园维修报修小程序毕业设计成品(6)开题答辩PPT
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
【小程序开发】宿主环境详解
Detailed explanation of Bluetooth protocol (what is Bluetooth)
Pymoo学习 (5):收敛性分析
Hough transform understanding [easy to understand]
Cross Site Request Forgery in PHP
C 调的满级和玄
The bank's wealth management subsidiary accumulates power to distribute a shares; The rectification of cash management financial products was accelerated
Pixel2mesh generates 3D meshes from a single RGB image eccv2018
Improvement of wechat applet 26 playing music page ②
[Detr for 3D object detection] detr3d: 3D object detection from multi view images via 3D-to-2D queries
【iniparser】项目配置工具iniparser的简单使用
小程序毕设作品之微信校园维修报修小程序毕业设计成品(7)中期检查报告