Coder Social home page Coder Social logo

Comments (9)

Kozlowlw avatar Kozlowlw commented on July 3, 2024

Having the same error with PARSEC benchmarking.
Clang 3.6.2
GCC 5.2.1
Swig 2.0.12
Running on Ubuntu 15.10

from ramulator.

Mappouras avatar Mappouras commented on July 3, 2024

Sorry I did not give an earlier update. It seems that other memory modules (DramSim) have similar problems. You can go to the indicated file and change line 567 as follow:

if (privateFlags.isSet(VALID_CONTEXT_ID))
return _contextId;
else
return 0;

Of course that does not fix the problem, but it temporarily ignores the error.

from ramulator.

i7mist avatar i7mist commented on July 3, 2024

Hi all, sorry for the delay. I have figured the reason and a patch to fix this with be pushed soon.

from ramulator.

astromonk2013 avatar astromonk2013 commented on July 3, 2024

Hi i7mist, is there any update regarding the fix for this issue. Please let us know if there is a patch for this or what the fix is.Thanks

from ramulator.

astromonk2013 avatar astromonk2013 commented on July 3, 2024

i believe the contextid in gem5 is performed just for the statistics. The ramulator is using the contextId for the source of the request or the coreid.Somehow the coreid or the context id is getting corrupted.I think its set to garbage value when the source of the request does not originate in the cpu but the cache. This might happen during a writeback. What confuses me is any access to the ramulator is a write back and it should fail immediately on a WR but it does not.

from ramulator.

i7mist avatar i7mist commented on July 3, 2024

Hi astromonk2013, sorry for replying late. You are right about the source of corruption, it is happening during a writeback. I can fix this issue but I found there are still some other issues that make it corrupt when running some SPEC benchmarks. I didn't have time to fix that problem so I haven't pushed it to github. I'll try to get it done this week. Please stay tuned.

from ramulator.

astromonk2013 avatar astromonk2013 commented on July 3, 2024

Thanks, just an update I am trying to use the threadId to pass the cpuid/coreId to the ramulator.lets see if that works.I'll look forward to your updates.

from ramulator.

kvprathap avatar kvprathap commented on July 3, 2024

Hello i7mist, I am at the latest commit(6ada583) and still get this error. I created a checkpoint with atomic cpu and restoring with '--mem-type=ramulator --ramulator-config=configs/LPDDR3-config.cfg --cpu-type=arm_detailed -r 1'.

gem5.opt: build/ARM/mem/request.hh:567: int Request::contextId() const: Assertion `privateFlags.isSet(VALID_CONTEXT_ID)' failed.

from ramulator.

afairouz84 avatar afairouz84 commented on July 3, 2024

Hi all,

Anyone fixed this issue?

I'm having the same error:

gem5.opt: build/X86/mem/request.hh:567: int Request::contextId() const: Assertion `privateFlags.isSet(VALID_CONTEXT_ID)' failed.

from ramulator.

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.