# Which Kernel Benchmark is support now?

**URL:** <https://forums.sifive.com/t/which-kernel-benchmark-is-support-now/3021>\
**Category:** HiFive Unleashed\
**Created:** [November 10, 2019, 3:20pm UTC](https://forums.sifive.com/t/which-kernel-benchmark-is-support-now/3021 "2019-11-10T15:20:45Z")\
**Posts on this page:** 8\
**Page:** 1

<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 10, 2019, 3:20pm UTC](https://forums.sifive.com/t/which-kernel-benchmark-is-support-now/3021/1 "2019-11-10T15:20:45Z")

</div>

Just like the title, I want to test my kernel performance on Hifive Unleashed U540. But I find the kernel benchmark like lmbench, unixbench are not supported RISC-V now, thanks in advance.

---

<div class="post-metadata">

**Author:** ![paulw](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@paulw](https://forums.sifive.com/u/paulw)\
**Post date:** [November 11, 2019, 5:45am UTC](https://forums.sifive.com/t/which-kernel-benchmark-is-support-now/3021/2 "2019-11-11T05:45:41Z")

</div>

lmbench and unixbench work fine on RISC-V. What problem are you encountering?

---

<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, 8:12am UTC](https://forums.sifive.com/t/which-kernel-benchmark-is-support-now/3021/3 "2019-11-11T08:12:19Z")

</div>

I want to run the whole bench, but for lacking perl, make, I can only run part of them.

---

<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:08pm UTC](https://forums.sifive.com/t/which-kernel-benchmark-is-support-now/3021/4 "2019-11-11T17:08:24Z")

</div>

What are you running on your HiFive Unleashed? The board ships with a minimal buildroot system that isn’t useful for anything. The very first thing you should do with the board is replace that with something useful. A newer version of freedom-u-sdk for instance, or one of the supported distros like Fedora or Debian.

---

<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 12, 2019, 1:30pm UTC](https://forums.sifive.com/t/which-kernel-benchmark-is-support-now/3021/5 "2019-11-12T13:30:46Z")

</div>

Sorry for my beginner question, now, I have realize that point, so I try to using Debian as rootfs, but I find that I can’t use apt:  
I use debootstrap to create a chroot floder, and successfully boot and change root to it, but when I following the steps in [https://wiki.debian.org/RISC-V#OS\_.2F\_filesystem\_images](https://wiki.debian.org/RISC-V#OS_.2F_filesystem_images) OS / filesystem images part, I find I can’t use apt to install any software:  
root@buildroot:/# apt install emacs25-nox openssh-server  
Reading package lists… Done  
Building dependency tree… Done  
E: Unable to locate package emacs25-nox  
E: Unable to locate package openssh-server  
But I build the source list obey their instructions:  
cat \<\<EOF \> /etc/apt/sources.list  
deb [http://ftp.ports.debian.org/debian-ports/](http://ftp.ports.debian.org/debian-ports/) sid main  
deb [http://ftp.ports.debian.org/debian-ports/](http://ftp.ports.debian.org/debian-ports/) unreleased main  
deb-src [http://ftp.ports.debian.org/debian-ports/](http://ftp.ports.debian.org/debian-ports/) sid main  
EOF  
Do you know how to fix this problem ?

---

<div class="post-metadata">

**Author:** ![bruce](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.sifive.com/bruce/32/452_2.png) [@bruce](https://forums.sifive.com/u/bruce)\
**Post date:** [November 12, 2019, 9:02pm UTC](https://forums.sifive.com/t/which-kernel-benchmark-is-support-now/3021/6 "2019-11-12T21:02:26Z")

</div>

On my own HiFive Unleashed I’m using the “sifive-debian-demo-mar7.tar.xz” [https://github.com/tmagik/freedom-u-sdk/releases](https://github.com/tmagik/freedom-u-sdk/releases). It has both a buildroot partition and a Debian partition. First boot is in to buildroot but then you can edit the uboot config to boot directly into Debian (or do beforehand on a PC, mounting the image after you copy it to a card).

apt-get update, upgrade, install all work fine for me, though space gets a bit tight in the small 6 GB partition provided. Uninstalling the tuxkart game and its data helps a lot.

---

<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 12, 2019, 9:18pm UTC](https://forums.sifive.com/t/which-kernel-benchmark-is-support-now/3021/7 "2019-11-12T21:18:41Z")

</div>

If apt isn’t working, have you tried ping? Maybe it is a simple network configuration problem. We aren’t the debian experts though. You could try asking on some debian mailing list or chat room.

The debian image Bruce is referring to is on the freedom-u-sdk archive/buildroot branch.

You can create larger partitions for the debian image if you have an SDcard larger than 8GB. There are also ways to enlarge existing partitions and filesystems. resize2fs can increase the size of a filesystem to match the partition size. You have to use some partition tool (fdisk?) to make the partition larger first. I’ve done this a few times, though I use instructions I find elsewhere as I’m not an expert on this stuff.

---

<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:22am UTC](https://forums.sifive.com/t/which-kernel-benchmark-is-support-now/3021/8 "2019-11-13T05:22:23Z")

</div>

@jimw @bruce  
I solved my problem because my time was set incorrectly, minicom didn’t create a new line for exceeded part of the output, so I found this problem until I accidentally used a wider terminal, thank you all ! ☀
