Coder Social home page Coder Social logo

Comments (5)

ouankou avatar ouankou commented on July 20, 2024

FPM (functional performance modeling) is used to create a model for offloading guidance.
In general, the computing speed of a given device s = f(x), where x is problem size. f(x) is application-specific and it may not be a linear function.

2D Stencil running on Lassen:
Problem size: 64
Iterations: 5000
CPU total time: 1275 ms
GPU total time: 836 ms

Problem size: 32
Iterations: 5000
CPU total time: 456 ms
GPU total time: 827 ms

from llnl-work-notes.

ouankou avatar ouankou commented on July 20, 2024

The scope of profiling should be limited by user-defined parameter. The problem size should be provided by users per application.
For example, if the problem size varies between 16 to 64, then there's no point to profile 1024. Otherwise, the overhead of unnecessary profiling is too much for this particular application.

from llnl-work-notes.

ouankou avatar ouankou commented on July 20, 2024

The description of FPM has been added to Overleaf.

A complete FPM-based model is supposed to be created offline in advance. During runtime, a partial model based on selected problem sizes can be created to represent the complete model.

from llnl-work-notes.

ouankou avatar ouankou commented on July 20, 2024

For 2D stencil on Pascal:
CPU: 72 cores, GPU: NVIDIA Tesla P100 16 GB.

The CPU performance model (16 threads) is: y = -19521 + 8628 * ln(x), where x is the problem size and y is how many elements are processed per ms.

The GPU performance model (Tesla P100) is: y = -54023 + 16517 * ln(x)

The model data and equation are on Google Sheet.

from llnl-work-notes.

ouankou avatar ouankou commented on July 20, 2024

For 2D stencil on Surface:
CPU: 32 cores, GPU: NVIDIA Tesla K40 12 GB.

The CPU performance model (8 threads) is: y = -2576 + 3610 * ln(x), where x is the problem size and y is how many elements are processed per ms.

The GPU performance model (Tesla K40) is: y = -20039 + 7341 * ln(x)

The model data and equation are on Google Sheet.

from llnl-work-notes.

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.