Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Userfaultfd returns ENOMEM with > 900 active regision #91

Open
mcfadden8 opened this issue Sep 3, 2019 · 0 comments
Open

Userfaultfd returns ENOMEM with > 900 active regision #91

mcfadden8 opened this issue Sep 3, 2019 · 0 comments

Comments

@mcfadden8
Copy link
Collaborator

We are seeing the following error when attempting to register more than 900 regions with userfaultfd:

Tue Aug 27 13:57:55 PDT 2019
./db_bench --benchmarks=fillseq --num=40000000 --threads=24
LevelDB:    version 1.22
Date:       Tue Aug 27 13:57:55 2019
CPU:        96 * AMD EPYC 7401 24-Core Processor
CPUCache:   512 KB
Values:     100 bytes each (50 bytes after compression)
Entries:    40000000
RawSize:    4425.0 MB (estimated)
FileSize:   2517.7 MB (estimated)
WARNING: Snappy compression is not enabled
------------------------------------------------
100869:100900 [ERROR][/home/martymcf/.sessions/altus/src/umap/src/umap/Uffd.cpp:266]: register_region ioctl(UFFDIO_REGISTER) failed: Cannot allocate memoryNumber of regions is: 950
terminate called after throwing an instance of 'Umap::Exception'
  what():  ! UMAP Exception [/home/martymcf/.sessions/altus/src/umap/src/umap/Uffd.cpp:266]:  register_region ioctl(UFFDIO_REGISTER) failed: Cannot allocate memoryNumber of regions is: 950
/home/martymcf/run_db_bench.sh: line 39: 100869 Aborted                 (core dumped) ./db_bench --benchmarks=fillseq --num=$blocks --threads=$threads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant