Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running KDiskMark on a Raspberry Pi #156

Open
raspberrypieman opened this issue Oct 28, 2024 · 7 comments
Open

Running KDiskMark on a Raspberry Pi #156

raspberrypieman opened this issue Oct 28, 2024 · 7 comments

Comments

@raspberrypieman
Copy link

I have been using CrystalDiskMark on Windows for many years and love it. KDiskMark seems to be an ideal equivalent on Linux. However, I want to run it on a Raspberry Pi4b running Raspbian Bookworm. I have no idea about compiling it from source, I just want a installable binary. I found something in this repository about using PPA but it would not work on my system. I think my fellow Raspberry Pi users would love to use this application but are put off because they cannot simply use apt install ...
Can anyone help, please?

@JonMagon
Copy link
Owner

Hi! You can download the arm64 deb package from the PPA repository and install it using apt install: https://launchpad.net/~jonmagon/+archive/ubuntu/kdiskmark/+build/26322421/+files/kdiskmark_3.1.4-bionic-2_arm64.deb

Technically, the arm64 build through GitHub CI has already been done in this commit: 782bdc2

I'm planning to publish a release soon. However, I've already tested the method described above on a Raspberry Pi 5, and everything works perfectly there.

@raspberrypieman
Copy link
Author

raspberrypieman commented Oct 28, 2024 via email

@JonMagon
Copy link
Owner

You can use apt install ./kdiskmark_3.1.4-bionic-2_arm64.deb
It'll take care of all the dependencies

@raspberrypieman
Copy link
Author

raspberrypieman commented Oct 28, 2024 via email

@EnTerr
Copy link

EnTerr commented Dec 29, 2024

@rpi:~ $ sudo apt install ./kdiskmark_3.1.4-bionic-2_arm64.deb 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'kdiskmark:arm64' instead of './kdiskmark_3.1.4-bionic-2_arm64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 kdiskmark:arm64 : Depends: fio:arm64 (>= 3.1) but it is not installable
                   Depends: libc6:arm64 (>= 2.17) but it is not installable
                   Depends: libgcc1:arm64 (>= 1:3.0) but it is not installable
                   Depends: libpolkit-qt5-1-1:arm64 (>= 0.112.0) but it is not installable
                   Depends: libqt5core5a:arm64 (>= 5.5.0) but it is not installable
                   Depends: libqt5dbus5:arm64 (>= 5.0.2) but it is not installable
                   Depends: libqt5gui5:arm64 (>= 5.7.0) but it is not installable
                   Depends: libqt5network5:arm64 (>= 5.0.2) but it is not installable
                   Depends: libqt5widgets5:arm64 (>= 5.2.0~alpha1) but it is not installable
                   Depends: libstdc++6:arm64 (>= 5) but it is not installable
E: Unable to correct problems, you have held broken packages.

i guess i could have guessed by the name it's 64-bit version w/o trying

Please compile a 32-bit version?

Use case, Raspberry Pi Zero 2 (a miniaturised RPi 3, the latest and greatest in small-factor RPi) has only 0.5GB RAM and makes no sense to install 64-bit OS, while still very important to check the speeds of microSD card from which boots. There's the builtin "Agnostics" (sh /ush/share/agnostics/sdtest.sh for cmd line) which tests 3 values (sequential write MB/s, random write and read IOPS) but reports are somewhat unstable, can vary wildly since does not do repeat trials to report median/mean.

I'd argue if compiling only one version, it should be 32-bit, since can run on 64-bit OS as well, when the reverse is not true. And SD cards are way, way, way slower for 32-vs-64 bit to make a measurable difference.

@JonMagon
Copy link
Owner

There is an armhf package: https://launchpad.net/~jonmagon/+archive/ubuntu/kdiskmark/+build/26322422/+files/kdiskmark_3.1.4-bionic-2_armhf.deb

@EnTerr
Copy link

EnTerr commented Jan 3, 2025

Yes! Thank you so very much @JonMagon - i could not figure out before how to browse launchpad.net looking for releases. I am glad to report that the arm-hf package works on RPiZ2 + 32bit Raspbian 11/Bullseye

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants