Giter VIP home page Giter VIP logo

Comments (4)

pjattke avatar pjattke commented on August 16, 2024

Hi @MrObvious
I am not sure if it would work on WSL as the hugetlb filesystem is currently only partially implemented, see Memory Management - hugetlbfs filesystem partially implemented #3796. As we don't have any Windows systems, we would appreciate if you could report back in case you have tried it. Thank you!

Regards,
Patrick

from blacksmith.

MrObvious avatar MrObvious commented on August 16, 2024

Ok good news WSL2 supports big pages (hugetlb). It was only partially implemented in WSL1. I just need to figure out how to get it to detect the RAM banks. I'm not sure of the command so can I please have some commands or things to check to get it working?

from blacksmith.

pjattke avatar pjattke commented on August 16, 2024

If you are not running on a Coffee Lake machine (e.g., i7-8700K that we used), you will need to reverse-engineer the DRAM address functions. These are determined by the memory controller of the CPU, so I would assume that they are the same on the native host and WSL but we don't have experience with that.

Regarding reverse-engineering the DRAM address functions, please see the updated README:

NOTE: The DRAM address functions that are hard-coded in DRAMAddr.cpp assume an Intel Core i7-8700K. For any other microarchitecture, you will need to first reverse-engineer these functions (e.g., using DRAMA or TRResspass' DRAMA) and then update the matrices in this class accordingly.

Please follow this issue. I will soon add instructions there on how to pass the functions found by DRAMA to Blacksmith.

from blacksmith.

pjattke avatar pjattke commented on August 16, 2024

Any updates on this, @MrObvious — could you make it work?

from blacksmith.

Related Issues (14)

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.