Skip to content

Commit

Permalink
improve: add mount hugepage commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Naplesoul committed Apr 7, 2022
1 parent 7677599 commit b0d3327
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Server/mount.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
echo 1024 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages
mkdir -p /mnt/huge
mount -t hugetlbfs nodev /mnt/huge

0 comments on commit b0d3327

Please sign in to comment.