GithubHelp home page GithubHelp logo

Comments (7)

rsdunlapiv avatar rsdunlapiv commented on June 14, 2024 1

We need to leave this one open since we have not yet implemented command line parameters for the user to define the analyses they want. But it is not part of a MVP.

from esmf-profiler.

rsdunlapiv avatar rsdunlapiv commented on June 14, 2024

The user also needs to point the tool to the directory containing the binary (CTF) trace. So the commands above would have an additional argument such as:

$ ./esmf-profiler --load-balance=depth:4 /path/to/trace/directory

from esmf-profiler.

rsdunlapiv avatar rsdunlapiv commented on June 14, 2024

Error checking will be needed:

$ ./esmf-profiler --memory=type:rss,pet:16  /path/to/my/tracedir

ERROR: A memory profile was requested for PET 16, but there is no memory information in the trace.

from esmf-profiler.

rsdunlapiv avatar rsdunlapiv commented on June 14, 2024

@rlongio any thoughts on this?

from esmf-profiler.

ryanlong1004 avatar ryanlong1004 commented on June 14, 2024

Sorry for the delay.

Yes, these can all be implemented in the user layer rapidly once the backend logic is finished. It has an API that will allow the user to specify the data they need (filters, etc.) and how many layers depth to go, so if there is a cookie cutter high chart you'd like to use we can get something visually together quicker.

On a side note, after working with a larger binary trace, I did some profiling as the execution time was near 30 minutes. I was able to get that down to less than 5, but it required some refactoring (ie time in bt2 library is expensive).

I expect to finish this by today, or at least have a working MVP.

Regardless, this week I'm going to start sticking static data in the front end to explore some visuals.

The requested features will be either in the first iteration or will be put in as tasks for the second.

from esmf-profiler.

rsdunlapiv avatar rsdunlapiv commented on June 14, 2024

Sounds good. Good work reducing the time. Some of the time in bt2 is just an artifact of file system access, so we may have limited options in optimizing that side, especially for large traces. However, that is not a showstopper as the user will have the expectation of waiting to post-process large traces.

For your first iteration, you are essentially delivering this, even if the CLI is not set up:

$ ./esmf-profiler --load-balance=depth:2  /path/to/trace

from esmf-profiler.

ryanlong1004 avatar ryanlong1004 commented on June 14, 2024

@rsdunlapiv Can we close this issue?

from esmf-profiler.

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.