Today, just out of interest I had a look at the kernel cmdline and noticed we are are restricted to 5 cpus:
root@gemini:/home/gemini# cat /proc/cmdline
console=tty0 console=ttyMT0,921600n1 root=/dev/ram vmalloc=496M slub_max_order=0 slub_debug=OFZPU androidboot.hardware=mt6797 maxcpus=5 androidboot.verifiedbootstate=green bootopt=64S3,32N2,64N2 log_buf_len=4M printk.disable_uart=1 bootprof.pl_t=1127 bootprof.lk_t=2950 boot_reason=4 androidboot.serialno=TGRWNRQ8ORQKC6TK androidboot.bootreason=wdt_by_pass_pwk gpt=1 usb2jtag_mode=0
To prove this I tried while running sysbench ( sysbench --test=threads --num-threads=99 run ) to see the count of enabled cpus:
root@gemini:/home/gemini# cat /proc/cpuinfo |grep proc|wc -l
5
The count of active cpus never went above 5 (as expected). Does anybody know the reason for this restriction? Has anybody already tried to increase this number, maybe to 10? Do we all have this restriction(might be a problem with my setup, but don't think so)? Where could this be changed (it is not part of the mkbootimg call)?
Mith