From 94c07a274446e90abd8d498544ec013e3b41323c Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Sun, 25 Oct 2015 16:52:37 +0100 Subject: [PATCH] increase the number of nodes in our qemu environment --- config/linux_config | 2 +- hermit/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/linux_config b/config/linux_config index 4308b9867..c9287de8d 100644 --- a/config/linux_config +++ b/config/linux_config @@ -320,7 +320,7 @@ CONFIG_HPET_TIMER=y CONFIG_SWIOTLB=y CONFIG_IOMMU_HELPER=y # CONFIG_MAXSMP is not set -CONFIG_NR_CPUS=8 +CONFIG_NR_CPUS=32 CONFIG_SCHED_SMT=y CONFIG_SCHED_MC=y CONFIG_PREEMPT_NONE=y diff --git a/hermit/Makefile b/hermit/Makefile index 5350cb0a8..a126e430e 100644 --- a/hermit/Makefile +++ b/hermit/Makefile @@ -133,7 +133,7 @@ ramfs: hermit.elf find . -print0 | cpio --null -ov --format=newc > $(TOPDIR)/initrd.cpio qemu: - $(QEMU) -smp 8 -kernel ../linux/arch/x86/boot/bzImage -initrd initrd.cpio -append "root=/dev/ram0 rootfstype=ramfs init=init console=ttyS0 maxcpus=1" -net nic,model=rtl8139 -net user -net dump -nographic -monitor telnet:127.0.0.1:1234,server,nowait -m 8G -numa node,nodeid=0,cpus=0-3 -numa node,nodeid=1,cpus=4-7 + $(QEMU) -smp 20 -kernel ../linux/arch/x86/boot/bzImage -initrd initrd.cpio -append "root=/dev/ram0 rootfstype=ramfs init=init console=ttyS0 maxcpus=1" -net nic,model=rtl8139 -net user -net dump -nographic -monitor telnet:127.0.0.1:1234,server,nowait -m 8G -numa node,nodeid=0,cpus=0-4 -numa node,nodeid=1,cpus=5-9 -numa node,nodeid=2,cpus=10-14 -numa node,nodeid=3,cpus=15-19 doc: @echo Create documentation...