当前位置:网站首页>哪吒 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参考文档
边栏推荐
- Talk about 15 tips of SQL optimization
- [iniparser] simple use of the project configuration tool iniparser
- Talk about 11 tips for interface performance optimization
- CLIP还能做分割任务?哥廷根大学提出一个使用文本和图像prompt,能同时作三个分割任务的模型CLIPSeg,榨干CLIP能力...
- 【云原生之kubernetes】kubernetes集群下Secret存储对象的管理
- Interface automation test platform fasterrunner series (III) - operation examples
- 小程序毕设作品之微信校园维修报修小程序毕业设计成品(3)后台功能
- Fearless of high temperature and rainstorm, how can Youfu network protect you from worry?
- 有孚原力超算,为客户提供定制化高性能计算服务
- 小程序毕设作品之微信校园维修报修小程序毕业设计成品(7)中期检查报告
猜你喜欢

【加密周报】加密市场有所回温?寒冬仍未解冻!盘点上周加密市场发生的重大事件!

果链“围城”:傍上苹果,是一场甜蜜与苦楚交错的旅途

Microsoft azure and Analysys jointly released the report "Enterprise Cloud native platform driven digital transformation"

【HDLBits 刷题】Verilog Language(3)Modules: Hierarchy 部分

Swift 基础 Codable(JSONEncoder JSONDecoder)的使用

SQL Server 2019 installation tutorial

阿里云免费SSL证书申请详细流程

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

Wechat campus maintenance application applet graduation design finished product of applet completion work (3) background function

The degree of interval of basic music theory
随机推荐
无惧高温暴雨,有孚网络如何保您无忧?
【小程序开发】你了解小程序开发吗?
华为交换机系统软件升级和安全漏洞修复教程
Microsoft azure and Analysys jointly released the report "Enterprise Cloud native platform driven digital transformation"
Software testing (mind mapping)
聊聊sql优化的15个小技巧
小程序毕设作品之微信校园维修报修小程序毕业设计成品(1)开发概要
[iniparser] simple use of the project configuration tool iniparser
Basic music theory -- configuring chords
Real estate industry reshuffle
telnet安装以及telnet(密码正确)无法登录!
Intouch高级报警(报警筛选)
The degree of interval of basic music theory
SQL Server 2019 installation tutorial
[919. Complete binary tree inserter]
阿里云免费SSL证书申请详细流程
kubernetes RBAC
Cross Site Request Forgery in PHP
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
I3 status configuration