Giter VIP home page Giter VIP logo

Comments (2)

grondo avatar grondo commented on May 29, 2024

I always assumed this was due to heavy kvs usage, especially the multitude of commits
that happen with each line of I/O. However, I realize I never actually characterized
the performance of this proof-of-concept code, and I guess we should probably do that to
understand how future remote execution implementations can and should leverage the kvs.

In my testing I find that using -o stdio-delay-commit pretty much erases the performance
degradation. However, I don't really understand why performance plateaus instead of
getting continually worse. Also, sleeping for a bit between runs seems to help too.

There is still a bit of a performance impact with subsequent jobs when using stdio-delay-commit,
but much less so than without:

~/git/flux-core.git/b/src/cmd $ for i in `seq 1 10`; do ./flux wreckrun -N8 -t16 hostname 2>&1 | grep 'State = complete'; done 
wreckrun: 0.778s: State = complete
wreckrun: 5.782s: State = complete
wreckrun: 6.723s: State = complete
wreckrun: 9.053s: State = complete
wreckrun: 9.353s: State = complete
wreckrun: 8.972s: State = complete
wreckrun: 7.814s: State = complete
wreckrun: 8.843s: State = complete
wreckrun: 9.228s: State = complete
wreckrun: 7.737s: State = complete
$ ~/git/flux-core.git/b/src/cmd$ for i in `seq 1 10`; do ./flux wreckrun -o stdio-delay-commit -N8 -t16 hostname 2>&1 | grep 'State = complete'; done                                                           
wreckrun: 0.222s: State = complete
wreckrun: 0.226s: State = complete
wreckrun: 0.228s: State = complete
wreckrun: 0.473s: State = complete
wreckrun: 0.472s: State = complete
wreckrun: 0.557s: State = complete
wreckrun: 0.469s: State = complete
wreckrun: 0.512s: State = complete
wreckrun: 0.513s: State = complete
wreckrun: 0.502s: State = complete

from flux-core.

trws avatar trws commented on May 29, 2024

As with the hang, this specific bug seems to have been addressed.

from flux-core.

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.