mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-13 12:59:45 +00:00
dm: use hugetlb by default
use hugetlb to set vm memory by default. Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
@@ -19,7 +19,7 @@ mem_size=1000M
|
||||
# make sure there is enough 2M hugepages in the pool
|
||||
echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
|
||||
|
||||
acrn-dm -T -A -m $mem_size -c $2 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \
|
||||
acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \
|
||||
-s 2,pci-gvt -G "$3" \
|
||||
-s 5,virtio-console,@pty:pty_port \
|
||||
-s 6,virtio-hyper_dmabuf \
|
||||
|
Reference in New Issue
Block a user