Giter Site home page Giter Site logo

Comments (14)

Transpeptidase avatar Transpeptidase commented on June 20, 2024 1

Hi, i found a possible data race bug in the index cache, and pushed a simple solution: 300dc9f. Hope it works

from sherman.

Transpeptidase avatar Transpeptidase commented on June 20, 2024

Hi, is your OS huge page 2MB? If it is 1GB, you should modify the hugepage.sh

from sherman.

skmonga avatar skmonga commented on June 20, 2024

Thanks, that was quick. Yes, the huge page size is 2 MB.

from sherman.

Transpeptidase avatar Transpeptidase commented on June 20, 2024

You can try to reduce the number of huge pages

from sherman.

skmonga avatar skmonga commented on June 20, 2024

I have tried with fewer huge pages as well (4096) but the problem persists.

from sherman.

Transpeptidase avatar Transpeptidase commented on June 20, 2024

It is weird. This issue (#5) reported the same problems, but it results from the huge pages.

from sherman.

skmonga avatar skmonga commented on June 20, 2024

The machine I am using has 128 kB NIC memory, so I have updated Common.h to reflect the same. Is there any possibility it can cause this weird behavior?

from sherman.

Transpeptidase avatar Transpeptidase commented on June 20, 2024

This should not cause a problem...

from sherman.

Transpeptidase avatar Transpeptidase commented on June 20, 2024

Can you comment out this line

index_cache->add_to_cache(page);

to disable index cache ?

from sherman.

skmonga avatar skmonga commented on June 20, 2024

After disabling the index cache, it seems to work fine (no failures on 3 runs of the benchmark). As expected, throughput drops considerably in doing so. Will this be fixed (index cache enabled) for a realistic comparison?

from sherman.

Transpeptidase avatar Transpeptidase commented on June 20, 2024

I don not know what causes this issue.... You can try to comiple with -O0 to figure out if it is a concurrency bugs.

from sherman.

skmonga avatar skmonga commented on June 20, 2024

I am currently testing with -O0 to disable optimizations but the behavior is the same with -O3.

from sherman.

Transpeptidase avatar Transpeptidase commented on June 20, 2024

Hi, can you provide a way to log into your server (my mail is [email protected]) ? In this way, i can debug easily.

from sherman.

skmonga avatar skmonga commented on June 20, 2024

Applying the fix, it works for multi-threaded compute node. Thanks!!

from sherman.

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.