Problems activating your account? Send notification email to: [email protected]
Host4Fun Budget VPS Hosting
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!
Reply
 


Possibly Related Threads...
Thread Author Replies Views Last Post
  CentOS 7/8 with XFCE & XRDP Hidden Refuge 3 199 04-13-2020, 06:45 AM
Last Post: Hidden Refuge
  How to Change SSHD's Port The Right-Way In CentOS 8 fChk 3 226 04-12-2020, 02:44 PM
Last Post: OldMeister
  How to Set up Your Own DoH Server on CentOS 8 fChk 3 555 04-10-2020, 12:18 PM
Last Post: fChk
  CentOS 7 with XFCE & VNC Hidden Refuge 5 1,818 12-16-2019, 06:52 AM
Last Post: youssefbasha
  Setting up a Ubuntu-CentOS Server from scratch: Introduction LightDestory 9 908 11-12-2019, 04:52 PM
Last Post: tryp4vps

Forum Jump:


Users browsing this thread: 1 Guest(s)

Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis


About Post4VPS

Post4VPS is a forum/destiny where you can Delploy Your Free VPSs just by the Power of Posts.

We Provide VPSs of many locations like Germany,US,Canada,France,London,etc.

We also Provide VPSs of Both Linux and Windows OS.