Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • R RISC-V Benchmarks
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • Benchmarks
  • RISC-V Benchmarks
  • Wiki
  • Use huge pages on EPAC

Use huge pages on EPAC · Changes

Page history
Create Use huge pages on EPAC authored Sep 03, 2021 by gramirez's avatar gramirez
Show whitespace changes
Inline Side-by-side
Use-huge-pages-on-EPAC.md 0 → 100644
View page @ 225816d9
Check if you have enough Huge pages:
```
cat /proc/sys/vm/nr_hugepages
```
If you need more:
```
echo 32 > /proc/sys/vm/nr_hugepages
```
In this repo, there are 2 files in the common directory with the routines. ( alloc_hp.{h,c} )
In your c code (example):
```
int number_of_elements = 100000;
double* X = (double*) malloc_hp(number_of_elements*sizeof(double));
[...]
free_hp(X, number_of_elements*sizeof(double));
```
Clone repository
  • Blackscholes
  • Canneal
  • EPI Benchmarks Inputs
  • SpMV
  • Use huge pages on EPAC
  • Home