Hi YangSheng,
Had to modify it slightly to work as it complained:
May 24 10:38:49 bravo2 kernel: LNetError: 21221:0:(linux-cpu.c:1151:cfs_cpu_init()) Failed to create cptab from pattern '[0,2,4,6,8,10]1[12,14,16,18,20,22]2[1,3,5,7,9,11]3[13,15,17,19,21,23]'
Modified cpu_pattern to have a partition number for the first set, so I have:
alias ko2iblnd-opa ko2iblnd
options ko2iblnd-opa peer_credits=128 peer_credits_hiw=64 credits=1024 concurrent_sends=256 ntx=2048 map_on_demand=32 fmr_pool_size=2048 fmr_flush_trigger=512 fmr_cache=1 conns_per_peer=4
options libcfs cpu_npartitions=6
options libcfs cpu_pattern=0[0,2,4,6,8,10]1[12,14,16,18,20,22]2[1,3,5,7,9,11]3[13,15,17,19,21,23]
install ko2iblnd /usr/sbin/ko2iblnd-probe
So I get:
cpu_partition_table=
0 : 0 2 4 6 8 10
1 : 12 14 16 18 20 22
2 : 1 3 5 7 9 11
3 : 13 15 17 19 21 23
Which looks like what we want I assume.
Hi, Campbell,
You can refer to document http://doc.lustre.org/lustre_manual.xhtml#dbdoclet.libcfstuning. But we still haven't a detail standard for CPT configuration. Since it is really depend on situation.
Thanks,
Yangsheng