# Phoronix Benchmarks

**URL:** <https://forums.sifive.com/t/phoronix-benchmarks/1224>\
**Category:** HiFive Unleashed\
**Created:** [May 14, 2018, 3:23pm UTC](https://forums.sifive.com/t/phoronix-benchmarks/1224 "2018-05-14T15:23:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![forksand](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.sifive.com/forksand/32/469_2.png) [@forksand](https://forums.sifive.com/u/forksand)\
**Post date:** [May 14, 2018, 3:23pm UTC](https://forums.sifive.com/t/phoronix-benchmarks/1224/1 "2018-05-14T15:23:46Z")

</div>

I started running some Phoronix benchmarks over the weekend. They did a mini writeup:

[https://www.phoronix.com/scan.php?page=news\_item&px=SiFive-RISC-V-Initial-Benchmark](https://www.phoronix.com/scan.php?page=news_item&px=SiFive-RISC-V-Initial-Benchmark)

[http://openbenchmarking.org/result/1805145-FORK-201805161](http://openbenchmarking.org/result/1805145-FORK-201805161)

Happy hacking,

-Jeff

---

<div class="post-metadata">

**Author:** ![Phantom0308](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.sifive.com/phantom0308/32/813_2.png) [@Phantom0308](https://forums.sifive.com/u/Phantom0308)\
**Post date:** [November 11, 2019, 10:51am UTC](https://forums.sifive.com/t/phoronix-benchmarks/1224/2 "2019-11-11T10:51:44Z")

</div>

Hi, could you please tell me some details about how to test benchmark on H5U ?  
I found that all the records in [openbenchmarking.org](http://openbenchmarking.org) are based on debian, so I guess maybe freedom-u-sdk can not support, so I tried to install debian follow:  
[https://wiki.debian.org/InstallingDebianOn/SiFive/HiFiveUnleashed](https://wiki.debian.org/InstallingDebianOn/SiFive/HiFiveUnleashed)  
But I got some error when execute: proxychains multistrap -d ./riscv64-chroot -f ./multistrap-riscv64.conf (Host system is Ubuntu 18.04 and I use freedom-u-sdk-v1\_0) like:  
N: Skipping acquire of configured file ‘main/binary-riscv64/Packages’ as repository ‘[http://deb.debian.org/debian](http://deb.debian.org/debian) unstable InRelease’ doesn’t support architecture ‘riscv64’  
E: Unable to locate package XXX  
apt download failed. Exit value: 100  
And the final directory looks like:  
$ tree -L 2  
.  
├── dev  
├── etc  
│ ├── apt  
│ ├── network  
│ └── shells  
├── lib64 -\> ./lib  
├── usr  
│ └── share  
└── var  
├── cache  
└── lib  
And I directly copy the chroot directory to the origin rootfs, but when I chroot, it successed, but I still can’t use apt.

---

<div class="post-metadata">

**Author:** ![jimw](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jimw](https://forums.sifive.com/u/jimw)\
**Post date:** [November 11, 2019, 5:18pm UTC](https://forums.sifive.com/t/phoronix-benchmarks/1224/3 "2019-11-11T17:18:18Z")

</div>

If you want to bootstrap debian, you probably have to start with a debian host system, and it will have to be a very recent version of debian, as the RISC-V stuff is still new.

It is possible to build a useful system via freedom-u-sdk. The current freedom-u-sdk is instructions for building open-embedded. The previous version of freedom-u-sdk is on the archive/buildroot branch, and has an optional debian rootfs that you can boot into.

---

<div class="post-metadata">

**Author:** ![forksand](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.sifive.com/forksand/32/469_2.png) [@forksand](https://forums.sifive.com/u/forksand)\
**Post date:** [November 13, 2019, 1:10am UTC](https://forums.sifive.com/t/phoronix-benchmarks/1224/4 "2019-11-13T01:10:40Z")

</div>

It’s been so long since I set it up, I’m not certain how I did it… I am running Debian Buster. I think I booted on the “default” SiFive/HiFive Linux/Busybox image. I created a Debian root installation and copied that to SD card. Then booted HiFive, mounted SD card, and chrooted to the Debian installation there. I saw I had this note, which may be helpful:

```
toolchain
 sudo apt-get install pbuilder
$ sudo pbuilder create --distribution unstable
$ git clone https://salsa.debian.org/helmutg/rebootstrap.git
$ cd rebootstrap
$ mkdir -p /tmp/repo && sudo pbuilder execute --bindmounts /tmp/repo bootstrap.sh HOST_ARCH=riscv64 REPODIR=/tmp/repo GCC_VER=7

bootstrap

sudo apt-get install debootstrap qemu-user-static binfmt-support debian-ports-archive-keyring
sudo debootstrap --arch=riscv64 --keyring /usr/share/keyrings/debian-ports-archive-keyring.gpg --include=debian-ports-archive-keyring unstable /tmp/riscv64-chroot http://deb.debian.org/debian-ports

bootstrap other
$ sudo apt install mmdebstrap qemu-user-static binfmt-support debian-ports-archive-keyring
$ sudo mmdebstrap --architectures=riscv64 --include="debian-ports-archive-keyring" sid /tmp/riscv64-chroot "deb http://deb.debian.org/debian-ports/ sid main" "deb http://deb.debian.org/debian-ports/ unreleased main"

```

Happy hacking,

-Jeff

---

<div class="post-metadata">

**Author:** ![Phantom0308](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.sifive.com/phantom0308/32/813_2.png) [@Phantom0308](https://forums.sifive.com/u/Phantom0308)\
**Post date:** [November 13, 2019, 5:23am UTC](https://forums.sifive.com/t/phoronix-benchmarks/1224/5 "2019-11-13T05:23:51Z")

</div>

Thank you! I solved my problem by using Debian as a host system to create chroot, Thank you all 🔥

---

<div class="post-metadata">

**Author:** ![forksand](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.sifive.com/forksand/32/469_2.png) [@forksand](https://forums.sifive.com/u/forksand)\
**Post date:** [November 13, 2019, 4:12pm UTC](https://forums.sifive.com/t/phoronix-benchmarks/1224/6 "2019-11-13T16:12:02Z")

</div>

Great! 🙂
