Git Product home page Git Product logo

Comments (5)

piyushgupta1551 avatar piyushgupta1551 commented on July 19, 2024

Update - I did manage to eventually build the uperf image on ppc64le.
What I did additionally to make it happen -

  • Install a couple of rpm packages before scipy and numpy from the Dockerfile - atlas-devel libffi-devel gcc gcc-c++ gcc-gfortran libffi-devel make openssl-devel (added them in line 3 of the Dockerfiles) - this seems to be a known requirement for ppc64le in general for both scipy & numpy
  • I had to add this to the Dockerfile as the same somehow doesn't work by adding as dependency in setup.cfg - RUN python3 -m pip install --upgrade cython numpy
  • I had to add a couple of python packages to setup.cfg - importlib_metadata & urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (version clash and eventual failure while running workload if version specifics not added)

Since this requirement is specific to ppc64le systems only, can we probably add this info as a small Note in the README doc somewhere for future reference?

from benchmark-wrapper.

jtaleric avatar jtaleric commented on July 19, 2024

Update - I did manage to eventually build the uperf image on ppc64le.
What I did additionally to make it happen -

  • Install a couple of rpm packages before scipy and numpy from the Dockerfile - atlas-devel libffi-devel gcc gcc-c++ gcc-gfortran libffi-devel make openssl-devel (added them in line 3 of the Dockerfiles) - this seems to be a known requirement for ppc64le in general for both scipy & numpy
  • I had to add this to the Dockerfile as the same somehow doesn't work by adding as dependency in setup.cfg - RUN python3 -m pip install --upgrade cython numpy
  • I had to add a couple of python packages to setup.cfg - importlib_metadata & urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (version clash and eventual failure while running workload if version specifics not added)

Since this requirement is specific to ppc64le systems only, can we probably add this info as a small Note in the README doc somewhere for future reference?

Interesting on the ppc64 specific needs. I wonder if we can have a uperf Dockerfile that is ppc64 specific?

Would you like to do a PR against benchmark-wrapper to include this ppc64. And if you have a container image, maybe you can share that, so I can push to Quay?

from benchmark-wrapper.

piyushgupta1551 avatar piyushgupta1551 commented on July 19, 2024

@jtaleric , yes I will raise the PR for ppc64le Dockerfiles. In my opinion all dockerfiles except iperf will need these additions to be ppc64le compliant.
So far I've created 4 images for ppc64le -

  • quay.io/piyushgupta1551/benchmark-operator:master (this needs recreation after yesterday's uperf sa issue. The template needs to be updated)
  • quay.io/piyushgupta1551/uperf:master
  • quay.io/piyushgupta1551/iperf:master
  • quay.io/piyushgupta1551/fio:master

How do you want me to add in the python packages that I added in setup.cfg? Should I add them in the Dockerfiles directly? Adding them in setup.cfg might create a conflict as they are not really required for x86.

from benchmark-wrapper.

piyushgupta1551 avatar piyushgupta1551 commented on July 19, 2024

Hi @jtaleric @vasukulkarni
Below are the images that could be created for benchmark-operator and benchmark-wrapper workloads for ppc64le arch -

quay.io/piyushgupta1551/benchmark-operator:ppc64le
quay.io/piyushgupta1551/iperf3-m:ppc64le
quay.io/piyushgupta1551/fs-drift-m:ppc64le
quay.io/piyushgupta1551/fio-m:ppc64le
quay.io/piyushgupta1551/ycsb-m:ppc64le
quay.io/piyushgupta1551/smallfile-m:ppc64le
quay.io/piyushgupta1551/upgrade-m:ppc64le
quay.io/piyushgupta1551/scale-openshift-m:ppc64le
quay.io/piyushgupta1551/uperf-m:ppc64le

The remaining (oslat, hammerdb, sysbench, pgbench, cyclictest, vegeta) could not be created as dependent rpms, installers etc were not available for the required distros for ppc64le arch.

from benchmark-wrapper.

piyushgupta1551 avatar piyushgupta1551 commented on July 19, 2024

Open Issues for ppc64le workload images -

FYI @vasukulkarni

from benchmark-wrapper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.