Giter VIP home page Giter VIP logo

Comments (5)

joe-desimone avatar joe-desimone commented on August 16, 2024 4

Similar issue here.

Update: on my Ubuntu 18 system the default hugepage directory was /dev/hugepages. (mount |grep huge). I edited the hard coded directory in code to point here. Also configured the system with 1000 huge pages. This seemed to get me past the this mmap error.

I did notice that the mmap command is specifying 1gb huge page size, while it was set to 2mb on my machine. I am going to assume 1gb huge page size is required but would appreciate guidance.

Update 2:
Set huge page size to 1gb by editing etc/default/grub and reboot. Now hammering with no errors 🔨🚀

from blacksmith.

HxJi avatar HxJi commented on August 16, 2024

The huge page size adjustment works for me. Thanks @joe-desimone . Btw, do you meet the illegal instruction issue after solving this problem?

from blacksmith.

AnaMazda avatar AnaMazda commented on August 16, 2024

mmap: Invalid argument
anyone has the same issue

from blacksmith.

T-TROUCHKINE avatar T-TROUCHKINE commented on August 16, 2024

I confirm that the page size adjustment worked for me aswell.

Add GRUB_CMDLINE_LINUX="hugepagesz=1G hugepages=1 default_hugepagesz=1G" in /etc/default/grub
Then you can run update-grub and reboot.

from blacksmith.

pjattke avatar pjattke commented on August 16, 2024

@AnaMazda Please open a new issue for the mmap problem. Also state details about your system (for example, you will encounter your described issue on macOS).

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.