[PATCH v6 0/7] Stage-Ordered API and other extensions for ring library

David Christensen drc at linux.ibm.com
Mon Oct 28 18:18:06 CET 2024



On 10/21/24 10:47 AM, Konstantin Ananyev wrote:
> NOTE UPFRONT: this version is still not ready for merging.
> Missing items:
> - ARM/PPC tests passing
> - PG update

SORING tests pass on a P9 PowerNV system. (Results attached for review.)
Original ring_stress_autotest still fails as documented in Bug 1527.

Dave
-------------- next part --------------
~/src/dpdk/build/app/test/dpdk-test -l 2-127 --no-pci --no-huge soring_stress_autotest
EAL: Detected CPU lcores: 128
EAL: Detected NUMA nodes: 2
EAL: Static memory layout is selected, amount of reserved memory can be adjusted with -m or --socket-mem
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /run/user/1000/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
APP: HPET is not enabled, using TSC as default timer
RTE>>soring_stress_autotest
TEST-CASE MT MT_DEQENQ-MT_STG1-PRCS START
lcore_stat_dump(AGGREGATE)={
	nb_cycle=30720098753(60000192.88 usec),
	DEQ+ENQ={
		nb_lcore=125,
		nb_call=27847142,
		nb_obj=787705656,
		nb_cycle=3088261505751,
		obj/call(avg): 28.29
		cycles/obj(avg): 3920.58
		cycles/call(avg): 110900.48
		max cycles/call=69561043(135861.41 usec),
		min cycles/call=63(0.12 usec),
	},
	STAGE#0={
		nb_lcore=125,
		nb_call=27847142,
		nb_obj=787709713,
		nb_cycle=51194411622,
		obj/call(avg): 28.29
		cycles/obj(avg): 64.99
		cycles/call(avg): 1838.41
		max cycles/call=810480(1582.97 usec),
		min cycles/call=22(0.04 usec),
	},
};
soring <mt1_init>@0x103d87900
  size=16384
  capacity=8192
  esize=8
  msize=0
  used=8192
  avail=0
  cons.sync_type=multi thread
  cons.head=787705656
  cons.tail=787705656
  prod.sync_type=multi thread
  prod.head=787713848
  prod.tail=787713848
  nb_stage=1
  stage[0].tail.pos=787705709
  stage[0].tail.sync=0
  stage[0].head=787709713
TEST-CASE MT MT_DEQENQ-MT_STG1-PRCS OK
TEST-CASE MT MT_DEQENQ-MT_STG1-AVG START
lcore_stat_dump(AGGREGATE)={
	nb_cycle=30720091030(60000177.79 usec),
	DEQ+ENQ={
		nb_lcore=125,
		nb_call=28317736,
		nb_obj=774446728,
		nb_cycle=3840007072287,
		obj/call(avg): 27.35
		cycles/obj(avg): 4958.39
		cycles/call(avg): 135604.31
	},
	STAGE#0={
		nb_lcore=125,
		nb_call=28317736,
		nb_obj=774450875,
		nb_cycle=3840007072287,
		obj/call(avg): 27.35
		cycles/obj(avg): 4958.36
		cycles/call(avg): 135604.31
	},
};
soring <mt1_init>@0x103d87900
  size=16384
  capacity=8192
  esize=8
  msize=0
  used=8192
  avail=0
  cons.sync_type=multi thread
  cons.head=774446728
  cons.tail=774446728
  prod.sync_type=multi thread
  prod.head=774454920
  prod.tail=774454920
  nb_stage=1
  stage[0].tail.pos=774446751
  stage[0].tail.sync=0
  stage[0].head=774450875
TEST-CASE MT MT_DEQENQ-MT_STG1-AVG OK
TEST-CASE MT MT_DEQENQ-MT_STG4-PRCS START
lcore_stat_dump(AGGREGATE)={
	nb_cycle=30720110117(60000215.07 usec),
	DEQ+ENQ={
		nb_lcore=125,
		nb_call=29697958,
		nb_obj=846300330,
		nb_cycle=2230878102976,
		obj/call(avg): 28.50
		cycles/obj(avg): 2636.04
		cycles/call(avg): 75118.91
		max cycles/call=46136094(90109.56 usec),
		min cycles/call=63(0.12 usec),
	},
	STAGE#0={
		nb_lcore=125,
		nb_call=29697958,
		nb_obj=846304420,
		nb_cycle=47534073852,
		obj/call(avg): 28.50
		cycles/obj(avg): 56.17
		cycles/call(avg): 1600.58
		max cycles/call=269319(526.01 usec),
		min cycles/call=21(0.04 usec),
	},
	STAGE#1={
		nb_lcore=125,
		nb_call=29697958,
		nb_obj=846303741,
		nb_cycle=42701590291,
		obj/call(avg): 28.50
		cycles/obj(avg): 50.46
		cycles/call(avg): 1437.86
		max cycles/call=289448(565.33 usec),
		min cycles/call=27(0.05 usec),
	},
	STAGE#2={
		nb_lcore=125,
		nb_call=29697958,
		nb_obj=846302445,
		nb_cycle=41652357581,
		obj/call(avg): 28.50
		cycles/obj(avg): 49.22
		cycles/call(avg): 1402.53
		max cycles/call=2025124(3955.32 usec),
		min cycles/call=27(0.05 usec),
	},
	STAGE#3={
		nb_lcore=125,
		nb_call=29697958,
		nb_obj=846301760,
		nb_cycle=40106867652,
		obj/call(avg): 28.50
		cycles/obj(avg): 47.39
		cycles/call(avg): 1350.49
		max cycles/call=237244(463.37 usec),
		min cycles/call=27(0.05 usec),
	},
};
soring <mt1_init>@0x103d87600
  size=16384
  capacity=8192
  esize=8
  msize=0
  used=8192
  avail=0
  cons.sync_type=multi thread
  cons.head=846300330
  cons.tail=846300330
  prod.sync_type=multi thread
  prod.head=846308522
  prod.tail=846308522
  nb_stage=4
  stage[0].tail.pos=846303758
  stage[0].tail.sync=0
  stage[0].head=846304420
  stage[1].tail.pos=846302512
  stage[1].tail.sync=0
  stage[1].head=846303741
  stage[2].tail.pos=846302445
  stage[2].tail.sync=0
  stage[2].head=846302445
  stage[3].tail.pos=846300393
  stage[3].tail.sync=0
  stage[3].head=846301760
TEST-CASE MT MT_DEQENQ-MT_STG4-PRCS OK
TEST-CASE MT MT_DEQENQ-MT_STG4-AVG START
lcore_stat_dump(AGGREGATE)={
	nb_cycle=30720110142(60000215.12 usec),
	DEQ+ENQ={
		nb_lcore=125,
		nb_call=28451159,
		nb_obj=846733560,
		nb_cycle=3840008212464,
		obj/call(avg): 29.76
		cycles/obj(avg): 4535.08
		cycles/call(avg): 134968.43
	},
	STAGE#0={
		nb_lcore=125,
		nb_call=28451159,
		nb_obj=846737450,
		nb_cycle=3840008212464,
		obj/call(avg): 29.76
		cycles/obj(avg): 4535.06
		cycles/call(avg): 134968.43
	},
	STAGE#1={
		nb_lcore=125,
		nb_call=28451159,
		nb_obj=846736826,
		nb_cycle=3840008212464,
		obj/call(avg): 29.76
		cycles/obj(avg): 4535.07
		cycles/call(avg): 134968.43
	},
	STAGE#2={
		nb_lcore=125,
		nb_call=28451159,
		nb_obj=846736166,
		nb_cycle=3840008212464,
		obj/call(avg): 29.76
		cycles/obj(avg): 4535.07
		cycles/call(avg): 134968.43
	},
	STAGE#3={
		nb_lcore=125,
		nb_call=28451159,
		nb_obj=846735134,
		nb_cycle=3840008212464,
		obj/call(avg): 29.76
		cycles/obj(avg): 4535.08
		cycles/call(avg): 134968.43
	},
};
soring <mt1_init>@0x103d87600
  size=16384
  capacity=8192
  esize=8
  msize=0
  used=8192
  avail=0
  cons.sync_type=multi thread
  cons.head=846733560
  cons.tail=846733560
  prod.sync_type=multi thread
  prod.head=846741752
  prod.tail=846741752
  nb_stage=4
  stage[0].tail.pos=846736856
  stage[0].tail.sync=0
  stage[0].head=846737450
  stage[1].tail.pos=846736212
  stage[1].tail.sync=0
  stage[1].head=846736826
  stage[2].tail.pos=846735186
  stage[2].tail.sync=0
  stage[2].head=846736166
  stage[3].tail.pos=846733570
  stage[3].tail.sync=0
  stage[3].head=846735134
TEST-CASE MT MT_DEQENQ-MT_STG4-AVG OK
TEST-CASE MT MTRTS_DEQENQ-MT_STG4-PRCS START
lcore_stat_dump(AGGREGATE)={
	nb_cycle=30720037900(60000074.02 usec),
	DEQ+ENQ={
		nb_lcore=125,
		nb_call=55786006,
		nb_obj=889191739,
		nb_cycle=2558329725635,
		obj/call(avg): 15.94
		cycles/obj(avg): 2877.14
		cycles/call(avg): 45859.70
		max cycles/call=2790909(5450.99 usec),
		min cycles/call=49(0.10 usec),
	},
	STAGE#0={
		nb_lcore=125,
		nb_call=55786006,
		nb_obj=889198697,
		nb_cycle=73560844419,
		obj/call(avg): 15.94
		cycles/obj(avg): 82.73
		cycles/call(avg): 1318.63
		max cycles/call=262968(513.61 usec),
		min cycles/call=23(0.04 usec),
	},
	STAGE#1={
		nb_lcore=125,
		nb_call=55786006,
		nb_obj=889198386,
		nb_cycle=111168637303,
		obj/call(avg): 15.94
		cycles/obj(avg): 125.02
		cycles/call(avg): 1992.77
		max cycles/call=994515(1942.41 usec),
		min cycles/call=27(0.05 usec),
	},
	STAGE#2={
		nb_lcore=125,
		nb_call=55786006,
		nb_obj=889198113,
		nb_cycle=109356595441,
		obj/call(avg): 15.94
		cycles/obj(avg): 122.98
		cycles/call(avg): 1960.29
		max cycles/call=678340(1324.88 usec),
		min cycles/call=27(0.05 usec),
	},
	STAGE#3={
		nb_lcore=125,
		nb_call=55786006,
		nb_obj=889197965,
		nb_cycle=104683790166,
		obj/call(avg): 15.94
		cycles/obj(avg): 117.73
		cycles/call(avg): 1876.52
		max cycles/call=1251419(2444.18 usec),
		min cycles/call=27(0.05 usec),
	},
};
soring <mt1_init>@0x103d87600
  size=16384
  capacity=8192
  esize=8
  msize=0
  used=8192
  avail=0
  cons.sync_type=multi thread - RTS
  cons.head.pos=889191739
  cons.head.cnt=27709173
  cons.tail.pos=889191739
  cons.tail.cnt=27709173
  cons.htd_max=0
  prod.sync_type=multi thread - RTS
  prod.head.pos=889199931
  prod.head.cnt=27717365
  prod.tail.pos=889199931
  prod.tail.cnt=27717365
  prod.htd_max=0
  nb_stage=4
  stage[0].tail.pos=889198697
  stage[0].tail.sync=0
  stage[0].head=889198697
  stage[1].tail.pos=889198386
  stage[1].tail.sync=0
  stage[1].head=889198386
  stage[2].tail.pos=889198113
  stage[2].tail.sync=0
  stage[2].head=889198113
  stage[3].tail.pos=889191739
  stage[3].tail.sync=0
  stage[3].head=889197965
TEST-CASE MT MTRTS_DEQENQ-MT_STG4-PRCS OK
TEST-CASE MT MTRTS_DEQENQ-MT_STG4-AVG START
lcore_stat_dump(AGGREGATE)={
	nb_cycle=30720037694(60000073.62 usec),
	DEQ+ENQ={
		nb_lcore=125,
		nb_call=63933184,
		nb_obj=886396598,
		nb_cycle=3840002670696,
		obj/call(avg): 13.86
		cycles/obj(avg): 4332.15
		cycles/call(avg): 60062.75
	},
	STAGE#0={
		nb_lcore=125,
		nb_call=63933184,
		nb_obj=886403255,
		nb_cycle=3840002670696,
		obj/call(avg): 13.86
		cycles/obj(avg): 4332.12
		cycles/call(avg): 60062.75
	},
	STAGE#1={
		nb_lcore=125,
		nb_call=63933184,
		nb_obj=886403014,
		nb_cycle=3840002670696,
		obj/call(avg): 13.86
		cycles/obj(avg): 4332.12
		cycles/call(avg): 60062.75
	},
	STAGE#2={
		nb_lcore=125,
		nb_call=63933184,
		nb_obj=886402603,
		nb_cycle=3840002670696,
		obj/call(avg): 13.86
		cycles/obj(avg): 4332.12
		cycles/call(avg): 60062.75
	},
	STAGE#3={
		nb_lcore=125,
		nb_call=63933184,
		nb_obj=886402335,
		nb_cycle=3840002670696,
		obj/call(avg): 13.86
		cycles/obj(avg): 4332.12
		cycles/call(avg): 60062.75
	},
};
soring <mt1_init>@0x103d87600
  size=16384
  capacity=8192
  esize=8
  msize=0
  used=8192
  avail=0
  cons.sync_type=multi thread - RTS
  cons.head.pos=886396598
  cons.head.cnt=27771444
  cons.tail.pos=886396598
  cons.tail.cnt=27771444
  cons.htd_max=0
  prod.sync_type=multi thread - RTS
  prod.head.pos=886404790
  prod.head.cnt=27779636
  prod.tail.pos=886404790
  prod.tail.cnt=27779636
  prod.htd_max=0
  nb_stage=4
  stage[0].tail.pos=886403086
  stage[0].tail.sync=0
  stage[0].head=886403255
  stage[1].tail.pos=886403014
  stage[1].tail.sync=0
  stage[1].head=886403014
  stage[2].tail.pos=886402377
  stage[2].tail.sync=0
  stage[2].head=886402603
  stage[3].tail.pos=886396624
  stage[3].tail.sync=0
  stage[3].head=886402335
TEST-CASE MT MTRTS_DEQENQ-MT_STG4-AVG OK
TEST-CASE MT MTHTS_DEQENQ-MT_STG4-PRCS START
lcore_stat_dump(AGGREGATE)={
	nb_cycle=30720074024(60000144.58 usec),
	DEQ+ENQ={
		nb_lcore=125,
		nb_call=46551171,
		nb_obj=1068227537,
		nb_cycle=2499810847933,
		obj/call(avg): 22.95
		cycles/obj(avg): 2340.15
		cycles/call(avg): 53700.28
		max cycles/call=15438015(30152.37 usec),
		min cycles/call=49(0.10 usec),
	},
	STAGE#0={
		nb_lcore=125,
		nb_call=46551171,
		nb_obj=1068232309,
		nb_cycle=99067129064,
		obj/call(avg): 22.95
		cycles/obj(avg): 92.74
		cycles/call(avg): 2128.13
		max cycles/call=1958062(3824.34 usec),
		min cycles/call=23(0.04 usec),
	},
	STAGE#1={
		nb_lcore=125,
		nb_call=46551171,
		nb_obj=1068231598,
		nb_cycle=46852180540,
		obj/call(avg): 22.95
		cycles/obj(avg): 43.86
		cycles/call(avg): 1006.47
		max cycles/call=248770(485.88 usec),
		min cycles/call=27(0.05 usec),
	},
	STAGE#2={
		nb_lcore=125,
		nb_call=46551171,
		nb_obj=1068230644,
		nb_cycle=44096278409,
		obj/call(avg): 22.95
		cycles/obj(avg): 41.28
		cycles/call(avg): 947.26
		max cycles/call=270901(529.10 usec),
		min cycles/call=27(0.05 usec),
	},
	STAGE#3={
		nb_lcore=125,
		nb_call=46551171,
		nb_obj=1068229762,
		nb_cycle=44541158664,
		obj/call(avg): 22.95
		cycles/obj(avg): 41.70
		cycles/call(avg): 956.82
		max cycles/call=227162(443.68 usec),
		min cycles/call=27(0.05 usec),
	},
};
soring <mt1_init>@0x103d87600
  size=16384
  capacity=8192
  esize=8
  msize=0
  used=8192
  avail=0
  cons.sync_type=multi thread - HTS
  cons.head=1068227537
  cons.tail=1068227537
  prod.sync_type=multi thread - HTS
  prod.head=1068235729
  prod.tail=1068235729
  nb_stage=4
  stage[0].tail.pos=1068232309
  stage[0].tail.sync=0
  stage[0].head=1068232309
  stage[1].tail.pos=1068231598
  stage[1].tail.sync=0
  stage[1].head=1068231598
  stage[2].tail.pos=1068230644
  stage[2].tail.sync=0
  stage[2].head=1068230644
  stage[3].tail.pos=1068227579
  stage[3].tail.sync=0
  stage[3].head=1068229762
TEST-CASE MT MTHTS_DEQENQ-MT_STG4-PRCS OK
TEST-CASE MT MTHTS_DEQENQ-MT_STG4-AVG START
lcore_stat_dump(AGGREGATE)={
	nb_cycle=30720069256(60000135.27 usec),
	DEQ+ENQ={
		nb_lcore=125,
		nb_call=47383088,
		nb_obj=1047939017,
		nb_cycle=3840004139686,
		obj/call(avg): 22.12
		cycles/obj(avg): 3664.34
		cycles/call(avg): 81041.66
	},
	STAGE#0={
		nb_lcore=125,
		nb_call=47383088,
		nb_obj=1047943910,
		nb_cycle=3840004139686,
		obj/call(avg): 22.12
		cycles/obj(avg): 3664.32
		cycles/call(avg): 81041.66
	},
	STAGE#1={
		nb_lcore=125,
		nb_call=47383088,
		nb_obj=1047943575,
		nb_cycle=3840004139686,
		obj/call(avg): 22.12
		cycles/obj(avg): 3664.32
		cycles/call(avg): 81041.66
	},
	STAGE#2={
		nb_lcore=125,
		nb_call=47383088,
		nb_obj=1047942583,
		nb_cycle=3840004139686,
		obj/call(avg): 22.12
		cycles/obj(avg): 3664.33
		cycles/call(avg): 81041.66
	},
	STAGE#3={
		nb_lcore=125,
		nb_call=47383088,
		nb_obj=1047941571,
		nb_cycle=3840004139686,
		obj/call(avg): 22.12
		cycles/obj(avg): 3664.33
		cycles/call(avg): 81041.66
	},
};
soring <mt1_init>@0x103d87600
  size=16384
  capacity=8192
  esize=8
  msize=0
  used=8192
  avail=0
  cons.sync_type=multi thread - HTS
  cons.head=1047939017
  cons.tail=1047939017
  prod.sync_type=multi thread - HTS
  prod.head=1047947209
  prod.tail=1047947209
  nb_stage=4
  stage[0].tail.pos=1047943910
  stage[0].tail.sync=0
  stage[0].head=1047943910
  stage[1].tail.pos=1047943575
  stage[1].tail.sync=0
  stage[1].head=1047943575
  stage[2].tail.pos=1047942583
  stage[2].tail.sync=0
  stage[2].head=1047942583
  stage[3].tail.pos=1047939033
  stage[3].tail.sync=0
  stage[3].head=1047941571
TEST-CASE MT MTHTS_DEQENQ-MT_STG4-AVG OK
TEST-CASE MT MT_DEQENQ-MT_STG5-1:1-PRCS START
lcore_stat_dump(AGGREGATE)={
	nb_cycle=30720046097(60000090.03 usec),
	DEQ+ENQ={
		nb_lcore=63,
		nb_call=193297299,
		nb_obj=830587316,
		nb_cycle=1753304759124,
		obj/call(avg): 4.30
		cycles/obj(avg): 2110.92
		cycles/call(avg): 9070.51
		max cycles/call=205886284(402121.65 usec),
		min cycles/call=60(0.12 usec),
	},
	STAGE#0={
		nb_lcore=62,
		nb_call=41824714,
		nb_obj=830593145,
		nb_cycle=45140522868,
		obj/call(avg): 19.86
		cycles/obj(avg): 54.35
		cycles/call(avg): 1079.28
		max cycles/call=224483(438.44 usec),
		min cycles/call=22(0.04 usec),
	},
	STAGE#1={
		nb_lcore=62,
		nb_call=41824714,
		nb_obj=830592406,
		nb_cycle=62951345574,
		obj/call(avg): 19.86
		cycles/obj(avg): 75.79
		cycles/call(avg): 1505.12
		max cycles/call=188947(369.04 usec),
		min cycles/call=26(0.05 usec),
	},
	STAGE#2={
		nb_lcore=62,
		nb_call=41824714,
		nb_obj=830591483,
		nb_cycle=66296234652,
		obj/call(avg): 19.86
		cycles/obj(avg): 79.82
		cycles/call(avg): 1585.10
		max cycles/call=207984(406.22 usec),
		min cycles/call=26(0.05 usec),
	},
	STAGE#3={
		nb_lcore=62,
		nb_call=41824714,
		nb_obj=830591193,
		nb_cycle=67630143639,
		obj/call(avg): 19.86
		cycles/obj(avg): 81.42
		cycles/call(avg): 1616.99
		max cycles/call=583718660(1140075.51 usec),
		min cycles/call=26(0.05 usec),
	},
	STAGE#4={
		nb_lcore=62,
		nb_call=41824714,
		nb_obj=830589415,
		nb_cycle=98176191780,
		obj/call(avg): 19.86
		cycles/obj(avg): 118.20
		cycles/call(avg): 2347.32
		max cycles/call=1186780(2317.93 usec),
		min cycles/call=26(0.05 usec),
	},
};
soring <mt1_init>@0x103d87500
  size=16384
  capacity=8192
  esize=8
  msize=0
  used=8192
  avail=0
  cons.sync_type=multi thread
  cons.head=830587316
  cons.tail=830587316
  prod.sync_type=multi thread
  prod.head=830595508
  prod.tail=830595508
  nb_stage=5
  stage[0].tail.pos=830593145
  stage[0].tail.sync=0
  stage[0].head=830593145
  stage[1].tail.pos=830591493
  stage[1].tail.sync=0
  stage[1].head=830592406
  stage[2].tail.pos=830591483
  stage[2].tail.sync=0
  stage[2].head=830591483
  stage[3].tail.pos=830589511
  stage[3].tail.sync=0
  stage[3].head=830591193
  stage[4].tail.pos=830589415
  stage[4].tail.sync=0
  stage[4].head=830589415
TEST-CASE MT MT_DEQENQ-MT_STG5-1:1-PRCS OK
TEST-CASE MT MT_DEQENQ-MT_STG5-1:1-AVG START
lcore_stat_dump(AGGREGATE)={
	nb_cycle=30720040696(60000079.48 usec),
	DEQ+ENQ={
		nb_lcore=63,
		nb_call=67558484,
		nb_obj=878226749,
		nb_cycle=3840002743760,
		obj/call(avg): 13.00
		cycles/obj(avg): 4372.45
		cycles/call(avg): 56839.68
	},
	STAGE#0={
		nb_lcore=62,
		nb_call=29755675,
		nb_obj=878233006,
		nb_cycle=3840002743760,
		obj/call(avg): 29.51
		cycles/obj(avg): 4372.42
		cycles/call(avg): 129051.11
	},
	STAGE#1={
		nb_lcore=62,
		nb_call=29755675,
		nb_obj=878232563,
		nb_cycle=3840002743760,
		obj/call(avg): 29.51
		cycles/obj(avg): 4372.42
		cycles/call(avg): 129051.11
	},
	STAGE#2={
		nb_lcore=62,
		nb_call=29755675,
		nb_obj=878229963,
		nb_cycle=3840002743760,
		obj/call(avg): 29.51
		cycles/obj(avg): 4372.43
		cycles/call(avg): 129051.11
	},
	STAGE#3={
		nb_lcore=62,
		nb_call=29755675,
		nb_obj=878229573,
		nb_cycle=3840002743760,
		obj/call(avg): 29.51
		cycles/obj(avg): 4372.44
		cycles/call(avg): 129051.11
	},
	STAGE#4={
		nb_lcore=62,
		nb_call=29755675,
		nb_obj=878229175,
		nb_cycle=3840002743760,
		obj/call(avg): 29.51
		cycles/obj(avg): 4372.44
		cycles/call(avg): 129051.11
	},
};
soring <mt1_init>@0x103d87500
  size=16384
  capacity=8192
  esize=8
  msize=0
  used=8192
  avail=0
  cons.sync_type=multi thread
  cons.head=878226749
  cons.tail=878226749
  prod.sync_type=multi thread
  prod.head=878234941
  prod.tail=878234941
  nb_stage=5
  stage[0].tail.pos=878233006
  stage[0].tail.sync=0
  stage[0].head=878233006
  stage[1].tail.pos=878229980
  stage[1].tail.sync=0
  stage[1].head=878232563
  stage[2].tail.pos=878229963
  stage[2].tail.sync=0
  stage[2].head=878229963
  stage[3].tail.pos=878229573
  stage[3].tail.sync=0
  stage[3].head=878229573
  stage[4].tail.pos=878226791
  stage[4].tail.sync=0
  stage[4].head=878229175
TEST-CASE MT MT_DEQENQ-MT_STG5-1:1-AVG OK
TEST-CASE MT MT_DEQENQ-MT_STG3-1:3-PRCS START
lcore_stat_dump(AGGREGATE)={
	nb_cycle=30720017757(60000034.68 usec),
	DEQ+ENQ={
		nb_lcore=32,
		nb_call=31528155,
		nb_obj=998446438,
		nb_cycle=855915150579,
		obj/call(avg): 31.67
		cycles/obj(avg): 857.25
		cycles/call(avg): 27147.64
		max cycles/call=72687573(141967.92 usec),
		min cycles/call=60(0.12 usec),
	},
	STAGE#0={
		nb_lcore=31,
		nb_call=320722118,
		nb_obj=998453896,
		nb_cycle=682556209823,
		obj/call(avg): 3.11
		cycles/obj(avg): 683.61
		cycles/call(avg): 2128.19
		max cycles/call=1237928(2417.83 usec),
		min cycles/call=20(0.04 usec),
	},
	STAGE#1={
		nb_lcore=31,
		nb_call=194349733,
		nb_obj=998452839,
		nb_cycle=676488489398,
		obj/call(avg): 5.14
		cycles/obj(avg): 677.54
		cycles/call(avg): 3480.78
		max cycles/call=968055(1890.73 usec),
		min cycles/call=25(0.05 usec),
	},
	STAGE#2={
		nb_lcore=31,
		nb_call=411662927,
		nb_obj=998452583,
		nb_cycle=677820349719,
		obj/call(avg): 2.43
		cycles/obj(avg): 678.87
		cycles/call(avg): 1646.54
		max cycles/call=1315169(2568.69 usec),
		min cycles/call=25(0.05 usec),
	},
};
soring <mt1_init>@0x103d87700
  size=16384
  capacity=8192
  esize=8
  msize=0
  used=8192
  avail=0
  cons.sync_type=multi thread
  cons.head=998446438
  cons.tail=998446438
  prod.sync_type=multi thread
  prod.head=998454630
  prod.tail=998454630
  nb_stage=3
  stage[0].tail.pos=998453896
  stage[0].tail.sync=0
  stage[0].head=998453896
  stage[1].tail.pos=998452637
  stage[1].tail.sync=0
  stage[1].head=998452839
  stage[2].tail.pos=998446499
  stage[2].tail.sync=0
  stage[2].head=998452583
TEST-CASE MT MT_DEQENQ-MT_STG3-1:3-PRCS OK
TEST-CASE MT MT_DEQENQ_MT_STG3-1:3-AVG START
lcore_stat_dump(AGGREGATE)={
	nb_cycle=30720024728(60000048.30 usec),
	DEQ+ENQ={
		nb_lcore=32,
		nb_call=107802554,
		nb_obj=947693347,
		nb_cycle=3840000721156,
		obj/call(avg): 8.79
		cycles/obj(avg): 4051.94
		cycles/call(avg): 35620.68
	},
	STAGE#0={
		nb_lcore=31,
		nb_call=567711845,
		nb_obj=947700589,
		nb_cycle=3840000721156,
		obj/call(avg): 1.67
		cycles/obj(avg): 4051.91
		cycles/call(avg): 6764.00
	},
	STAGE#1={
		nb_lcore=31,
		nb_call=256412852,
		nb_obj=947700067,
		nb_cycle=3840000721156,
		obj/call(avg): 3.70
		cycles/obj(avg): 4051.92
		cycles/call(avg): 14975.85
	},
	STAGE#2={
		nb_lcore=31,
		nb_call=582085636,
		nb_obj=947699643,
		nb_cycle=3840000721156,
		obj/call(avg): 1.63
		cycles/obj(avg): 4051.92
		cycles/call(avg): 6596.97
	},
};
soring <mt1_init>@0x103d87700
  size=16384
  capacity=8192
  esize=8
  msize=0
  used=8192
  avail=0
  cons.sync_type=multi thread
  cons.head=947693347
  cons.tail=947693347
  prod.sync_type=multi thread
  prod.head=947701539
  prod.tail=947701539
  nb_stage=3
  stage[0].tail.pos=947700124
  stage[0].tail.sync=0
  stage[0].head=947700589
  stage[1].tail.pos=947699721
  stage[1].tail.sync=0
  stage[1].head=947700067
  stage[2].tail.pos=947693392
  stage[2].tail.sync=0
  stage[2].head=947699643
TEST-CASE MT MT_DEQENQ_MT_STG3-1:3-AVG OK
TEST-CASE MT ST_DEQENQ-MT_STG4-PRCS START
lcore_stat_dump(AGGREGATE)={
	nb_cycle=30720013384(60000026.14 usec),
	DEQ+ENQ={
		nb_lcore=1,
		nb_call=12619106,
		nb_obj=447944710,
		nb_cycle=8624496083,
		obj/call(avg): 35.50
		cycles/obj(avg): 19.25
		cycles/call(avg): 683.45
		max cycles/call=14091(27.52 usec),
		min cycles/call=87(0.17 usec),
	},
	STAGE#0={
		nb_lcore=124,
		nb_call=441581732,
		nb_obj=447952874,
		nb_cycle=390660949632,
		obj/call(avg): 1.01
		cycles/obj(avg): 872.10
		cycles/call(avg): 884.69
		max cycles/call=380056(742.30 usec),
		min cycles/call=22(0.04 usec),
	},
	STAGE#1={
		nb_lcore=124,
		nb_call=441581732,
		nb_obj=447952874,
		nb_cycle=1262220406919,
		obj/call(avg): 1.01
		cycles/obj(avg): 2817.75
		cycles/call(avg): 2858.41
		max cycles/call=2355156(4599.91 usec),
		min cycles/call=26(0.05 usec),
	},
	STAGE#2={
		nb_lcore=124,
		nb_call=441581732,
		nb_obj=447952874,
		nb_cycle=1377046741852,
		obj/call(avg): 1.01
		cycles/obj(avg): 3074.09
		cycles/call(avg): 3118.44
		max cycles/call=276530217(540098.08 usec),
		min cycles/call=26(0.05 usec),
	},
	STAGE#3={
		nb_lcore=124,
		nb_call=441581732,
		nb_obj=447952870,
		nb_cycle=490812305789,
		obj/call(avg): 1.01
		cycles/obj(avg): 1095.68
		cycles/call(avg): 1111.49
		max cycles/call=500174(976.90 usec),
		min cycles/call=26(0.05 usec),
	},
};
soring <mt1_init>@0x103d87600
  size=16384
  capacity=8192
  esize=8
  msize=0
  used=8192
  avail=0
  cons.sync_type=single thread
  cons.head=447944710
  cons.tail=447944710
  prod.sync_type=single thread
  prod.head=447952902
  prod.tail=447952902
  nb_stage=4
  stage[0].tail.pos=447952874
  stage[0].tail.sync=0
  stage[0].head=447952874
  stage[1].tail.pos=447952874
  stage[1].tail.sync=0
  stage[1].head=447952874
  stage[2].tail.pos=447952874
  stage[2].tail.sync=0
  stage[2].head=447952874
  stage[3].tail.pos=447944776
  stage[3].tail.sync=0
  stage[3].head=447952870
TEST-CASE MT ST_DEQENQ-MT_STG4-PRCS OK
TEST-CASE MT ST_DEQENQ-MT_STG4-AVG START
lcore_stat_dump(AGGREGATE)={
	nb_cycle=30720014501(60000028.32 usec),
	DEQ+ENQ={
		nb_lcore=1,
		nb_call=12786318,
		nb_obj=453861172,
		nb_cycle=3840000700136,
		obj/call(avg): 35.50
		cycles/obj(avg): 8460.74
		cycles/call(avg): 300321.07
	},
	STAGE#0={
		nb_lcore=124,
		nb_call=473456135,
		nb_obj=453869322,
		nb_cycle=3840000700136,
		obj/call(avg): 0.96
		cycles/obj(avg): 8460.59
		cycles/call(avg): 8110.57
	},
	STAGE#1={
		nb_lcore=124,
		nb_call=473456135,
		nb_obj=453869322,
		nb_cycle=3840000700136,
		obj/call(avg): 0.96
		cycles/obj(avg): 8460.59
		cycles/call(avg): 8110.57
	},
	STAGE#2={
		nb_lcore=124,
		nb_call=473456135,
		nb_obj=453869322,
		nb_cycle=3840000700136,
		obj/call(avg): 0.96
		cycles/obj(avg): 8460.59
		cycles/call(avg): 8110.57
	},
	STAGE#3={
		nb_lcore=124,
		nb_call=473456135,
		nb_obj=453869274,
		nb_cycle=3840000700136,
		obj/call(avg): 0.96
		cycles/obj(avg): 8460.59
		cycles/call(avg): 8110.57
	},
};
soring <mt1_init>@0x103d87600
  size=16384
  capacity=8192
  esize=8
  msize=0
  used=8192
  avail=0
  cons.sync_type=single thread
  cons.head=453861172
  cons.tail=453861172
  prod.sync_type=single thread
  prod.head=453869364
  prod.tail=453869364
  nb_stage=4
  stage[0].tail.pos=453869322
  stage[0].tail.sync=0
  stage[0].head=453869322
  stage[1].tail.pos=453869322
  stage[1].tail.sync=0
  stage[1].head=453869322
  stage[2].tail.pos=453869322
  stage[2].tail.sync=0
  stage[2].head=453869322
  stage[3].tail.pos=453861268
  stage[3].tail.sync=0
  stage[3].head=453869274
TEST-CASE MT ST_DEQENQ-MT_STG4-AVG OK
Number of tests:	14
Success:	14
Failed:	0
Test OK


More information about the dev mailing list