Coder Social home page Coder Social logo

Comments (5)

sschnug avatar sschnug commented on June 8, 2024 1

GLOP is memory intensive. I guess your computer is memory bandwidth bound.

from 64GB it uses only 12Gb for 10 threads, the memory should not be a bottleneck.

That's imho not whats meant by "memory-bound" here.

The question is how much memory needs to be read for doing x cycles of computation.
GLOP being memory intensive could mean, that some operation which is relatively cheap, e.g. an accumulation which would take 1 microsec without waiting for data, but needs to fetch 20MB of memory/data which might be much slower...

Now one can sometimes recognize that something is compute bound (ALU work at cpu is bottleneck) or memory-bound (waiting for memory is bottleneck: e.g. well-optimized matrix-multiplication).

GLOP "seems" to be memory-bound or near that (lots of data is touched for relatively simple calculations) and issues related to that will get much more worse when you overcommit by parallel work as thread-scheduling will lead to cache-invalidation (and maybe less good prefetching) further worsening your memory-fetching.

As this is lots of guessing, one being interested should probably analyze this more by:

  • Comparing low-bandwith systems (consumer cpus) with high-bandwith systems (server cpus with many memory-channels)
  • Using valgrind or similar "simulation-based" tools
  • Using CPU-supported profiling
    • Hardware-counter based analysis of cache-misses and co.

from or-tools.

Mizux avatar Mizux commented on June 8, 2024

What is the size of one problem in RAM ? Did you see some swap ?
Also having several GLOP in // you must increase the cache miss ratio between process...

from or-tools.

Diddlik avatar Diddlik commented on June 8, 2024

What is the size of one problem in RAM ? Did you see some swap ? Also having several GLOP in // you must increase the cache miss ratio between process...

one problem is about 1.1Gb of Ram (regarding TaskManager). I have not observed swaps.
What did you mean by the last sentence?

from or-tools.

lperron avatar lperron commented on June 8, 2024

GLOP is memory intensive.
I guess your computer is memory bandwidth bound.

from or-tools.

Diddlik avatar Diddlik commented on June 8, 2024

GLOP is memory intensive. I guess your computer is memory bandwidth bound.

from 64GB it uses only 12Gb for 10 threads, the memory should not be a bottleneck.

from or-tools.

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.