mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-30 00:00:15 +01:00
increase the number of nodes in our qemu environment
This commit is contained in:
parent
626db95a3a
commit
94c07a2744
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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...
|
||||
|
|
Loading…
Add table
Reference in a new issue