arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to perform GeekBench 5 CPU Benchmark on CentOS 7?
#1
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. 

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`. 
    wget http://cdn.geekbench.com/Geekbench-5.0.1-Linux.tar.gz

  • Next extract the archive. 
    tar -xzvf Geekbench-5.0.1-Linux.tar.gz
NOTE: Do not try to run the test now; you will get an error:

./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. 
    wget https://repo.anaconda.com/archive/Anaconda3-2019.07-Linux-x86_64.sh

  • Run it. 
    sh Anaconda3-2019.07-Linux-x86_64.sh
    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`.

  • Copy the `libstdc++.so.6.0.26` to the shared libraries.
    cp anaconda3/lib/libstdc++.so.6.0.26 /usr/lib64

  • Remove the existing symlink. 
    rm /usr/lib64/libstdc++.so.6
    When it prompts you, reply with `yes`.

  • Finally add the new symlink. 
    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. 
    cd Geekbench-5.0.1-Linux

  • Run the script. 
    ./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: 

. . . . .

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.

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,
Sayan Bhattacharyya,

Heartiest thanks to Post4VPS and Virmach for my wonderful VPS 9!
#2
Very helpful tutorial! I need to write a review for VPS 16 and I believe this will be come in very handy Big Grin

Btw, Geekbench 5.2.2 is out, you might wanna update the link :p
Thanks to ShadowHosting and Post4VPS for my VPS 5!


Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
5,224
04-13-2020, 06:45 AM
Last Post: Mashiro
5,539
12-16-2019, 06:52 AM
Last Post: youssefbasha

person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting