当前位置:网站首页>哪吒 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参考文档
边栏推荐
- 鸿蒙-大喵计算画板-简介
- [reading notes] deep learning Chapter 1: Introduction
- 聚智云算,向新而生| 有孚网络“专有云”开启新纪元
- 【Web技术】1391- 页面可视化搭建工具前生今世
- The difference between PHP equal to = = and identity equal to = = =
- Pyqt5 click qtableview vertical header to get row data and click cell to get row data
- 无惧高温暴雨,有孚网络如何保您无忧?
- Pymoo学习 (6):终止条件
- 小程序毕设作品之微信校园维修报修小程序毕业设计成品(5)任务书
- modelsim和quartus联合仿真PLL FIFO等IP核
猜你喜欢
![[iniparser] simple use of the project configuration tool iniparser](/img/2b/1d20b4ef44dfe2544891d9c72b676e.png)
[iniparser] simple use of the project configuration tool iniparser

小程序毕设作品之微信校园维修报修小程序毕业设计成品(3)后台功能

基于Mysql-Exporter监控Mysql

Huawei switch system software upgrade and security vulnerability repair tutorial

小程序毕设作品之微信校园维修报修小程序毕业设计成品(5)任务书

ThreadLocal Kills 11 consecutive questions

Have you ever seen this kind of dynamic programming -- the stock problem of state machine dynamic programming (Part 1)

Basic mode of music theory

CLIP还能做分割任务?哥廷根大学提出一个使用文本和图像prompt,能同时作三个分割任务的模型CLIPSeg,榨干CLIP能力...

【919. 完全二叉树插入器】
随机推荐
ThreadLocal Kills 11 consecutive questions
[Detr for 3D object detection] 3detr: an end to end transformer model for 3D object detection
【阅读笔记】《深度学习》第一章:引言
Modelsim and quartus jointly simulate PLL FIFO and other IP cores
SQL Server 2019 installation tutorial
Gan, why ".Length! == 3??
小程序毕设作品之微信校园维修报修小程序毕业设计成品(5)任务书
【小程序开发】常用组件及基本使用详解
Weak network test tool -qnet
Use of swift basic codable (jsonencoder jsondecoder)
PyQt5单击QTableView垂直表头verticalHeader获取行数据以及单击单元格获取行数据操作
基础乐理之音程的度数
Software testing (mind mapping)
基础乐理--配置和弦
A free image download warehouse website
Huawei recruited "talented teenagers" twice this year; 5.4 million twitter account information was leaked, with a selling price of $30000; Google fired engineers who believed in AI consciousness | gee
[applet development] common components and basic usage details
Ping command details [easy to understand]
Go code checking tool
QIIME2得到PICRUSt2结果后如何分析