Add test programs for lage page
Tests arm64 specific, contiguous bit based large pages as well. Change-Id: I09edad8cfde6c23a259f1f32cfc97974d9cb63c3
This commit is contained in:
committed by
Dominique Martinet
parent
100754f556
commit
9f7425c152
2
test/large_page/arm64/init/001_4K.init
Normal file
2
test/large_page/arm64/init/001_4K.init
Normal file
@@ -0,0 +1,2 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
MCEXECOPT="-s 4K,16G"
|
||||
1
test/large_page/arm64/init/001_64K.init
Normal file
1
test/large_page/arm64/init/001_64K.init
Normal file
@@ -0,0 +1 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
2
test/large_page/arm64/init/101_4K.init
Normal file
2
test/large_page/arm64/init/101_4K.init
Normal file
@@ -0,0 +1,2 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
MCEXECOPT="-s 4K,16G"
|
||||
1
test/large_page/arm64/init/101_64K.init
Normal file
1
test/large_page/arm64/init/101_64K.init
Normal file
@@ -0,0 +1 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
2
test/large_page/arm64/init/201_4K.init
Normal file
2
test/large_page/arm64/init/201_4K.init
Normal file
@@ -0,0 +1,2 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
MCEXECOPT="-s 4K,16G"
|
||||
1
test/large_page/arm64/init/201_64K.init
Normal file
1
test/large_page/arm64/init/201_64K.init
Normal file
@@ -0,0 +1 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
2
test/large_page/arm64/init/301_4K.init
Normal file
2
test/large_page/arm64/init/301_4K.init
Normal file
@@ -0,0 +1,2 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
MCEXECOPT="-s 4K,16G"
|
||||
1
test/large_page/arm64/init/301_64K.init
Normal file
1
test/large_page/arm64/init/301_64K.init
Normal file
@@ -0,0 +1 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
2
test/large_page/arm64/init/401_4K.init
Normal file
2
test/large_page/arm64/init/401_4K.init
Normal file
@@ -0,0 +1,2 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
MCEXECOPT="-s 4K,16G -h 64K"
|
||||
2
test/large_page/arm64/init/401_64K.init
Normal file
2
test/large_page/arm64/init/401_64K.init
Normal file
@@ -0,0 +1,2 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
MCEXECOPT="-h 2M"
|
||||
2
test/large_page/arm64/init/402_4K.init
Normal file
2
test/large_page/arm64/init/402_4K.init
Normal file
@@ -0,0 +1,2 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
MCEXECOPT="-s 4K,16G -h 2M"
|
||||
2
test/large_page/arm64/init/402_64K.init
Normal file
2
test/large_page/arm64/init/402_64K.init
Normal file
@@ -0,0 +1,2 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
MCEXECOPT="-h 512M"
|
||||
2
test/large_page/arm64/init/403_4K.init
Normal file
2
test/large_page/arm64/init/403_4K.init
Normal file
@@ -0,0 +1,2 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
MCEXECOPT="-s 4K,16G -h 32M"
|
||||
2
test/large_page/arm64/init/404_4K.init
Normal file
2
test/large_page/arm64/init/404_4K.init
Normal file
@@ -0,0 +1,2 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
MCEXECOPT="-s 4K,16G -h 1G"
|
||||
2
test/large_page/arm64/init/501_4K.init
Normal file
2
test/large_page/arm64/init/501_4K.init
Normal file
@@ -0,0 +1,2 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
MCEXECOPT="-s 64K,16G"
|
||||
2
test/large_page/arm64/init/501_64K.init
Normal file
2
test/large_page/arm64/init/501_64K.init
Normal file
@@ -0,0 +1,2 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
MCEXECOPT="-s 2M,16G"
|
||||
2
test/large_page/arm64/init/502_4K.init
Normal file
2
test/large_page/arm64/init/502_4K.init
Normal file
@@ -0,0 +1,2 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
MCEXECOPT="-s 2M,16G"
|
||||
2
test/large_page/arm64/init/502_64K.init
Normal file
2
test/large_page/arm64/init/502_64K.init
Normal file
@@ -0,0 +1,2 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
MCEXECOPT="-s 512M,16G"
|
||||
2
test/large_page/arm64/init/503_4K.init
Normal file
2
test/large_page/arm64/init/503_4K.init
Normal file
@@ -0,0 +1,2 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
MCEXECOPT="-s 32M,16G"
|
||||
2
test/large_page/arm64/init/504_4K.init
Normal file
2
test/large_page/arm64/init/504_4K.init
Normal file
@@ -0,0 +1,2 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
MCEXECOPT="-s 1G,16G"
|
||||
14
test/large_page/arm64/init/601_4K.init
Normal file
14
test/large_page/arm64/init/601_4K.init
Normal file
@@ -0,0 +1,14 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
MCEXECOPT="-s 4K,16G"
|
||||
|
||||
sudo mkdir -p /mnt/hugetlbfs-64K
|
||||
sudo mount -t hugetlbfs -o mode=777,pagesize=64k none /mnt/hugetlbfs-64K
|
||||
|
||||
sudo mkdir -p /mnt/hugetlbfs-2M
|
||||
sudo mount -t hugetlbfs -o mode=777,pagesize=2m none /mnt/hugetlbfs-2M
|
||||
|
||||
sudo mkdir -p /mnt/hugetlbfs-32M
|
||||
sudo mount -t hugetlbfs -o mode=777,pagesize=32m none /mnt/hugetlbfs-32M
|
||||
|
||||
sudo mkdir -p /mnt/hugetlbfs-1G
|
||||
sudo mount -t hugetlbfs -o mode=777,pagesize=1g none /mnt/hugetlbfs-1G
|
||||
7
test/large_page/arm64/init/601_64K.init
Normal file
7
test/large_page/arm64/init/601_64K.init
Normal file
@@ -0,0 +1,7 @@
|
||||
BOOTPARAM="-c 1-7 -m 16G -r 1-7:0"
|
||||
|
||||
sudo mkdir -p /mnt/hugetlbfs-2M
|
||||
sudo mount -t hugetlbfs -o mode=777,pagesize=2m none /mnt/hugetlbfs-2M
|
||||
|
||||
sudo mkdir -p /mnt/hugetlbfs-512M
|
||||
sudo mount -t hugetlbfs -o mode=777,pagesize=512m none /mnt/hugetlbfs-512M
|
||||
Reference in New Issue
Block a user