Skip to content

Conversation

@github-actions
Copy link
Contributor

Cherry-picked from #47203

…#47203)

ReentrantLock may consume lots of CPU in some cases.
Remove some redundant rlock to prevent the potential CPU issue.
@github-actions github-actions bot requested a review from dataroaring as a code owner January 19, 2025 17:48
@hello-stephen
Copy link
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@dataroaring dataroaring reopened this Jan 19, 2025
@hello-stephen
Copy link
Contributor

run buildall

@doris-robot
Copy link

TPC-H: Total hot run time: 40851 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 663fb7c9ce6b96324e0a7337a70cea886d5c113a, data reload: false

------ Round 1 ----------------------------------
q1	17562	7357	7236	7236
q2	2061	186	167	167
q3	10742	1071	1194	1071
q4	10537	755	689	689
q5	7738	2836	2763	2763
q6	234	148	146	146
q7	939	603	605	603
q8	9360	1956	1978	1956
q9	6596	6398	6410	6398
q10	7232	2327	2358	2327
q11	468	272	280	272
q12	399	219	222	219
q13	17874	3137	3144	3137
q14	256	212	208	208
q15	568	520	546	520
q16	693	626	614	614
q17	979	564	614	564
q18	7283	6575	6608	6575
q19	1431	1113	1019	1019
q20	456	231	201	201
q21	4025	3286	3187	3187
q22	1114	979	1020	979
Total cold run time: 108547 ms
Total hot run time: 40851 ms

----- Round 2, with runtime_filter_mode=off -----
q1	7515	7209	7186	7186
q2	329	233	239	233
q3	2906	2936	2911	2911
q4	2069	1816	1845	1816
q5	5713	5762	5726	5726
q6	231	147	143	143
q7	2271	1831	1818	1818
q8	3298	3531	3515	3515
q9	8722	8865	8813	8813
q10	3565	3558	3545	3545
q11	621	515	511	511
q12	822	625	590	590
q13	10166	3216	3201	3201
q14	305	280	277	277
q15	592	537	528	528
q16	713	680	661	661
q17	1858	1630	1592	1592
q18	8129	7675	7693	7675
q19	1654	1505	1478	1478
q20	2087	1878	1874	1874
q21	5668	5396	5327	5327
q22	1167	1044	1047	1044
Total cold run time: 70401 ms
Total hot run time: 60464 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 199184 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 663fb7c9ce6b96324e0a7337a70cea886d5c113a, data reload: false

query1	1325	923	933	923
query2	6247	2052	2072	2052
query3	11229	4464	4304	4304
query4	66354	28848	23572	23572
query5	5010	473	470	470
query6	427	187	194	187
query7	5523	323	316	316
query8	358	255	259	255
query9	8686	2700	2706	2700
query10	464	296	274	274
query11	17329	15228	16108	15228
query12	163	113	110	110
query13	1492	475	432	432
query14	10140	7811	7657	7657
query15	228	184	193	184
query16	7126	541	499	499
query17	1120	609	611	609
query18	1844	342	334	334
query19	215	190	166	166
query20	126	111	114	111
query21	219	108	111	108
query22	4890	4561	4415	4415
query23	35277	34096	34351	34096
query24	6118	2947	2964	2947
query25	582	443	447	443
query26	677	173	176	173
query27	1922	359	370	359
query28	4174	2470	2479	2470
query29	743	516	507	507
query30	267	168	164	164
query31	1027	812	823	812
query32	83	62	62	62
query33	479	296	284	284
query34	909	527	513	513
query35	865	756	741	741
query36	1101	933	959	933
query37	127	80	77	77
query38	4065	3986	3948	3948
query39	1537	1466	1471	1466
query40	205	104	104	104
query41	54	52	55	52
query42	126	107	109	107
query43	537	487	516	487
query44	1240	826	842	826
query45	188	179	173	173
query46	1142	728	746	728
query47	2052	1942	1941	1941
query48	477	380	389	380
query49	769	446	432	432
query50	880	423	436	423
query51	7421	7238	7320	7238
query52	107	90	90	90
query53	265	187	184	184
query54	592	460	470	460
query55	80	80	79	79
query56	283	254	255	254
query57	1237	1125	1101	1101
query58	236	223	226	223
query59	3196	2975	2844	2844
query60	294	277	272	272
query61	139	137	131	131
query62	790	666	678	666
query63	220	190	186	186
query64	1546	799	771	771
query65	3325	3158	3205	3158
query66	652	327	336	327
query67	15919	15724	15735	15724
query68	4064	587	557	557
query69	430	272	273	272
query70	1211	1124	1115	1115
query71	344	275	260	260
query72	6542	4152	4303	4152
query73	741	350	350	350
query74	10089	8956	9088	8956
query75	3423	2617	2652	2617
query76	1817	1169	1117	1117
query77	520	303	287	287
query78	10568	9586	9553	9553
query79	2079	602	610	602
query80	1274	450	464	450
query81	540	254	255	254
query82	462	116	123	116
query83	179	153	169	153
query84	282	86	82	82
query85	1042	362	358	358
query86	396	294	287	287
query87	4536	4284	4299	4284
query88	3841	2409	2382	2382
query89	424	304	297	297
query90	1868	187	188	187
query91	194	160	180	160
query92	71	54	56	54
query93	2648	540	541	540
query94	770	310	283	283
query95	370	269	263	263
query96	623	286	286	286
query97	3317	3178	3165	3165
query98	216	205	202	202
query99	1602	1299	1281	1281
Total cold run time: 320923 ms
Total hot run time: 199184 ms

@gavinchou gavinchou merged commit d7f3801 into branch-3.0 Jan 20, 2025
21 of 22 checks passed
@github-actions github-actions bot deleted the auto-pick-47203-branch-3.0 branch January 20, 2025 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants