Comments (4)
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.
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.
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.
Any updates on this, @MrObvious — could you make it work?
from blacksmith.
Related Issues (14)
- Blacksmith not running: mmap: Cannot allocate memory HOT 5
- blacksmith doesnt work : /mnt/huge/buff not found HOT 3
- Blacksmith terminated: Illegal instruction HOT 5
- Blacksmith on non-Coffee Lake CPUs HOT 20
- mmap: Invalid argument HOT 6
- Could not find conflicting address sets HOT 2
- Could not mount superpage from /mnt/huge/buff. Error: No such file or directory HOT 2
- Packaging of Blacksmith in Guix. HOT 4
- Some questions regarding the use of time-based side channels in blacksmith HOT 3
- Blacksmith run hangs and log shows strange characters HOT 2
- Fuzzer unable to find patterns on some DIMMs HOT 3
- Unable to compile on ARM processor HOT 1
- Dead loop of counting the number of possible activations per refresh interval HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blacksmith.