diff options
author | Matias Elo <matias.elo@nokia.com> | 2019-04-18 11:05:09 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2019-04-18 16:46:58 +0300 |
commit | 86b4f6a67ce8c167ae960978fdb0e43e4a870c2d (patch) | |
tree | cb39e113330de3163df49a0c42dc0887978b5728 | |
parent | 5cab9bd4190cec9535f4784c57c9ea9001543516 (diff) |
linux-gen: shm: increase amount of pre-reserved single va memory
Due to changes in pool implementation (linux-gen: pool: use pointer ring to
store buffer headers) additional single va memory is required for process
mode operation.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Carl Wallen <carl.wallen@nokia.com>
Reported-by: Carl Wallen <carl.wallen@nokia.com>
-rw-r--r-- | config/odp-linux-generic.conf | 2 | ||||
-rwxr-xr-x | scripts/ci/check.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/odp-linux-generic.conf b/config/odp-linux-generic.conf index fcc5d75aa..9a5dbea69 100644 --- a/config/odp-linux-generic.conf +++ b/config/odp-linux-generic.conf @@ -40,7 +40,7 @@ shm: { huge_page_limit_kb = 64 # Amount of memory pre-reserved for ODP_SHM_SINGLE_VA usage in kilobytes - single_va_size_kb = 131072 + single_va_size_kb = 262144 } # Pool options diff --git a/scripts/ci/check.sh b/scripts/ci/check.sh index 85cee498c..948149300 100755 --- a/scripts/ci/check.sh +++ b/scripts/ci/check.sh @@ -1,7 +1,7 @@ #!/bin/bash set -e -echo 1000 | tee /proc/sys/vm/nr_hugepages +echo 1500 | tee /proc/sys/vm/nr_hugepages mkdir -p /mnt/huge mount -t hugetlbfs nodev /mnt/huge |