Hi
Thanks for that.
When we speak of vCPUs here do we really mean native CPU threads available?
I'm using a dual E5506 box - so 8 threads/cores available, I think:
root@leclerc:/media/array2/vmx# lscpu -x
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) mask: 0xff
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 26
Model name: Intel(R) Xeon(R) CPU E5506 @ 2.13GHz
Stepping: 5
CPU MHz: 1635.823
CPU max MHz: 2128.0000
CPU min MHz: 1596.0000
BogoMIPS: 4266.76
Virtualisation: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 4096K
NUMA node0 CPU(s): 0x55
NUMA node1 CPU(s): 0xaa
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid dtherm flush_l1d
Even if I specify 20 vCPUs for 2 interfaces in vmx.conf, RIOT crashes as soon as I enable performance mode:
Sep 16 12:26:15 localhost user.notice root: : Number of ucode workers : 0
Sep 16 12:26:15 localhost user.notice root: : Detected Junos Device type VirtIO
Sep 16 12:26:15 localhost user.notice root: : Number of CPUs available : 20
Sep 16 12:26:15 localhost user.notice root: : Number of Ucode workers : 0
Sep 16 12:26:15 localhost user.notice root: : Number of PORTs to service : 2, loopbacks: 0
Sep 16 12:26:15 localhost user.notice root: : vdev_str:
Sep 16 12:26:15 localhost user.notice root: : /home/pfe/riot/build/app/riot -c 0xfffff -n 2 --log-level=5 -w 00:05.0 -w 00:06.0 -- --rx "(0,0,0,3),(1,0,1,4)," --tx "(0,3),(1,4)," --w "5,6,7,8,9,10,11,12,13,14,15,16,17,18,19" --f "1" --bbe_mode "0" --rpio "local,3000,
Sep 16 12:26:15 localhost user.info kernel: traps: riot[1438] trap invalid opcode ip:41326e sp:7fff082df1a8 error:0 in riot[400000+1a40000]
Sep 16 12:26:16 localhost user.notice root: start_afi_server.sh : tar -xzf /usr/share/pfe/afi-server.tgz : SUCCESS
start_riot.sh: line 424: 1438 Illegal instruction (core dumped) /home/pfe/riot/build/app/riot -c 0xfffff -n 2 --log-level=5 -w 00:05.0 -w 00:06.0 -- --rx "(0,0,0,3),(1,0,1,4)," --tx "(0,3),(1,4)," --w "5,6,7,8,9,10,11,12,13,14,15,16,17,18,19" --f "1" --bbe_mode "0" --rpio "local,3000,3001" --hostif "local,3002" --bsz "(32,32),(64,64),(512,512)"
Is RIOT crashing the expected behaviour?
Is it possible to overcommit KVM CPU resource for testing performance mode?
Thanks for your help on this!
Michael