06-14-2020, 11:29 AM
Hello everyone,
In consideration of the problems I faced while trying to perform the GeekBench 5 CPU benchmark while collecting resources for my recent review of VPS 9 Atlanta, I thought it'd be best to write a community guide so that in the future other users may find it useful and save some time.
Before You Begin
Please note that this is an OS specific guide and meant for CentOS 7 only.
Update your system and install `wget` which is a requirement for this tutorial.
NOTE: The steps in this guide require root privileges. Be sure to run the steps below as `root` or as a user with the `sudo` privileges.
Download & Extract GeekBench Files
GeekBench on CentOS 7 requires additional dependencies, which will be covered in the section below.
Install Additional Dependencies
We need additional dependencies. We will get these dependencies from an Anaconda installation-
RUN GEEKBENCH
We are now ready to proceed with the running GeekBench.
That's it. It will take sometime to complete the benchmark and you will receive the results in the form of a browser URL, upon successful completion. It should be like this:
REMOVING GEEKBENCH AND OTHER FILES
Now we shall remove the GeekBench and the "anaconda3" files, which we had installed earlier to get the required shared libraries.
So that's how to perform a GeekBench CPU Benchmark on CentOS 7. I hope you all liked the tutorial!
Regards,
In consideration of the problems I faced while trying to perform the GeekBench 5 CPU benchmark while collecting resources for my recent review of VPS 9 Atlanta, I thought it'd be best to write a community guide so that in the future other users may find it useful and save some time.
Before You Begin
Please note that this is an OS specific guide and meant for CentOS 7 only.
Update your system and install `wget` which is a requirement for this tutorial.
Code: (Select All)
yum update -y && yum install wget -y
NOTE: The steps in this guide require root privileges. Be sure to run the steps below as `root` or as a user with the `sudo` privileges.
Download & Extract GeekBench Files
- Start by downloading the latest version of Geekbench files. For this tutorial, I'll be using `v5.0.1`.
Code: (Select All)wget http://cdn.geekbench.com/Geekbench-5.0.1-Linux.tar.gz
- Next extract the archive.
Code: (Select All)tar -xzvf Geekbench-5.0.1-Linux.tar.gz
Code: (Select All)
./geekbench5: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./geekbench5)
./geekbench5: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./geekbench5)
GeekBench on CentOS 7 requires additional dependencies, which will be covered in the section below.
Install Additional Dependencies
We need additional dependencies. We will get these dependencies from an Anaconda installation-
- Download the installer script.
Code: (Select All)wget https://repo.anaconda.com/archive/Anaconda3-2019.07-Linux-x86_64.sh
- Run it.
While the script runs, you need to press `ENTER` to accept the license agreement, and then answer with `yes` and press `ENTER` again. At last you'll be asked if you'd like to have Anaconda3 initialized, just type in `no` or press `ENTER`.Code: (Select All)sh Anaconda3-2019.07-Linux-x86_64.sh
- Copy the `libstdc++.so.6.0.26` to the shared libraries.
Code: (Select All)cp anaconda3/lib/libstdc++.so.6.0.26 /usr/lib64
- Remove the existing symlink.
When it prompts you, reply with `yes`.Code: (Select All)rm /usr/lib64/libstdc++.so.6
- Finally add the new symlink.
Code: (Select All)ln -s /usr/lib64/libstdc++.so.6.0.26 /usr/lib64/libstdc++.so.6
RUN GEEKBENCH
We are now ready to proceed with the running GeekBench.
- Switch to the directory where we extracted the GeekBench files.
Code: (Select All)cd Geekbench-5.0.1-Linux
- Run the script.
Code: (Select All)./geekbench5
That's it. It will take sometime to complete the benchmark and you will receive the results in the form of a browser URL, upon successful completion. It should be like this:
Code: (Select All)
. . . . .
Uploading results to the Geekbench Browser. This could take a minute or two
depending on the speed of your internet connection.
Upload succeeded. Visit the following link and view your results online:
https://browser.geekbench.com/v5/cpu/1234567
Visit the following link and add this result to your profile:
https://browser.geekbench.com/v5/cpu/1234567/claim?key=543210
REMOVING GEEKBENCH AND OTHER FILES
Now we shall remove the GeekBench and the "anaconda3" files, which we had installed earlier to get the required shared libraries.
Code: (Select All)
cd && rm -rf Anaconda3-2019.07-Linux-x86_64.sh anaconda3 Geekbench-5.0.1-Linux Geekbench-5.0.1-Linux.tar.gz
So that's how to perform a GeekBench CPU Benchmark on CentOS 7. I hope you all liked the tutorial!
Regards,