You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "yiguolei (via GitHub)" <gi...@apache.org> on 2024/07/17 12:56:56 UTC

[PR] [enhancement](memtable) use shared ptr for flush token since it is shared between memtable write thread and flush thread [doris]

yiguolei opened a new pull request, #38023:
URL: https://github.com/apache/doris/pull/38023

   ## Proposed changes
   
   Issue Number: close #xxx
   
   <!--Describe your changes.-->
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [enhancement](memtable) use shared ptr for flush token since it is shared between memtable write thread and flush thread [doris]

Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei commented on PR #38023:
URL: https://github.com/apache/doris/pull/38023#issuecomment-2233263752

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [enhancement](memtable) use shared ptr for flush token since it is shared between memtable write thread and flush thread [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #38023:
URL: https://github.com/apache/doris/pull/38023#issuecomment-2233610548

   PR approved by at least one committer and no changes requested.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [enhancement](memtable) use shared ptr for flush token since it is shared between memtable write thread and flush thread [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #38023:
URL: https://github.com/apache/doris/pull/38023#issuecomment-2233330390

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 173082 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
   TPC-DS sf100 test result on commit 818d7187a679f99506d58c9bab8daf8087352cef, data reload: false
   
   query1	920	372	364	364
   query2	6457	1909	1825	1825
   query3	6651	213	219	213
   query4	27446	17476	17353	17353
   query5	4201	492	497	492
   query6	271	187	160	160
   query7	4600	286	287	286
   query8	238	199	190	190
   query9	8415	2381	2355	2355
   query10	433	292	265	265
   query11	11869	9953	10076	9953
   query12	135	90	82	82
   query13	1690	383	373	373
   query14	10286	7888	7747	7747
   query15	228	170	171	170
   query16	7772	329	324	324
   query17	1396	594	552	552
   query18	1788	291	283	283
   query19	195	157	153	153
   query20	92	81	85	81
   query21	209	135	128	128
   query22	4309	3964	4068	3964
   query23	33822	33169	33342	33169
   query24	11424	2898	2889	2889
   query25	643	391	395	391
   query26	1386	151	153	151
   query27	2935	276	277	276
   query28	7511	1996	2005	1996
   query29	971	650	643	643
   query30	291	154	149	149
   query31	956	749	775	749
   query32	99	56	58	56
   query33	773	311	325	311
   query34	894	489	495	489
   query35	700	603	578	578
   query36	1102	936	939	936
   query37	146	85	79	79
   query38	2909	2765	2785	2765
   query39	912	899	814	814
   query40	276	120	119	119
   query41	45	39	46	39
   query42	119	101	102	101
   query43	518	473	453	453
   query44	1257	726	721	721
   query45	190	160	159	159
   query46	1098	717	734	717
   query47	1838	1770	1780	1770
   query48	367	290	298	290
   query49	1083	427	402	402
   query50	800	394	389	389
   query51	6925	6794	6673	6673
   query52	101	95	93	93
   query53	359	292	288	288
   query54	888	459	445	445
   query55	77	75	75	75
   query56	293	278	273	273
   query57	1112	1061	1061	1061
   query58	251	258	244	244
   query59	2863	2691	2734	2691
   query60	304	295	285	285
   query61	111	90	97	90
   query62	819	662	665	662
   query63	333	287	294	287
   query64	9646	2300	1670	1670
   query65	3171	3142	3152	3142
   query66	960	346	332	332
   query67	15420	15001	14999	14999
   query68	4890	548	544	544
   query69	727	430	350	350
   query70	1229	1115	1158	1115
   query71	463	277	296	277
   query72	8651	5676	5676	5676
   query73	766	326	328	326
   query74	6252	5724	5631	5631
   query75	4481	2680	2768	2680
   query76	3763	944	928	928
   query77	733	310	308	308
   query78	9737	8882	8985	8882
   query79	5400	522	534	522
   query80	1328	486	485	485
   query81	588	222	222	222
   query82	939	141	139	139
   query83	358	167	174	167
   query84	274	90	87	87
   query85	2048	312	297	297
   query86	470	323	329	323
   query87	3367	3073	3106	3073
   query88	4852	2382	2395	2382
   query89	496	381	379	379
   query90	1884	202	199	199
   query91	135	101	102	101
   query92	69	51	50	50
   query93	5418	501	566	501
   query94	1305	214	211	211
   query95	405	320	313	313
   query96	612	271	270	270
   query97	3210	3022	2984	2984
   query98	230	203	192	192
   query99	1563	1244	1263	1244
   Total cold run time: 294942 ms
   Total hot run time: 173082 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [enhancement](memtable) use shared ptr for flush token since it is shared between memtable write thread and flush thread [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #38023:
URL: https://github.com/apache/doris/pull/38023#issuecomment-2233354080

   PR approved by anyone and no changes requested.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [enhancement](memtable) use shared ptr for flush token since it is shared between memtable write thread and flush thread [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #38023:
URL: https://github.com/apache/doris/pull/38023#issuecomment-2233304840

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 40393 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
   Tpch sf100 test result on commit 818d7187a679f99506d58c9bab8daf8087352cef, data reload: false
   
   ------ Round 1 ----------------------------------
   q1	18030	4451	4421	4421
   q2	2664	199	191	191
   q3	11576	1236	1091	1091
   q4	10784	873	754	754
   q5	8882	2736	2803	2736
   q6	226	142	142	142
   q7	956	616	615	615
   q8	9225	2088	2070	2070
   q9	8719	6560	6580	6560
   q10	8816	3844	3796	3796
   q11	474	244	249	244
   q12	402	235	231	231
   q13	17774	3036	3016	3016
   q14	271	239	246	239
   q15	522	496	497	496
   q16	502	393	384	384
   q17	985	637	671	637
   q18	8178	7590	7436	7436
   q19	8152	1431	1333	1333
   q20	691	322	331	322
   q21	4931	3397	3392	3392
   q22	344	293	287	287
   Total cold run time: 123104 ms
   Total hot run time: 40393 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   q1	4477	4292	4287	4287
   q2	372	276	264	264
   q3	3015	2849	2770	2770
   q4	1890	1603	1594	1594
   q5	5345	5345	5321	5321
   q6	229	132	131	131
   q7	2113	1785	1707	1707
   q8	3239	3640	3329	3329
   q9	8465	8421	8442	8421
   q10	3948	3748	3761	3748
   q11	598	514	495	495
   q12	792	600	632	600
   q13	16355	3021	3002	3002
   q14	303	275	274	274
   q15	526	476	483	476
   q16	481	420	420	420
   q17	1780	1486	1471	1471
   q18	7778	7524	7488	7488
   q19	1717	1636	1579	1579
   q20	2020	1816	1780	1780
   q21	4911	4855	4798	4798
   q22	583	498	496	496
   Total cold run time: 70937 ms
   Total hot run time: 54451 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [enhancement](memtable) use shared ptr for flush token since it is shared between memtable write thread and flush thread [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #38023:
URL: https://github.com/apache/doris/pull/38023#issuecomment-2233260338

   Thank you for your contribution to Apache Doris.
   Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR)
   
   Since 2024-03-18, the Document has been moved to [doris-website](https://github.com/apache/doris-website).
   See [Doris Document](https://cwiki.apache.org/confluence/display/DORIS/Doris+Document).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [enhancement](memtable) use shared ptr for flush token since it is shared between memtable write thread and flush thread [doris]

Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei merged PR #38023:
URL: https://github.com/apache/doris/pull/38023


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [enhancement](memtable) use shared ptr for flush token since it is shared between memtable write thread and flush thread [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #38023:
URL: https://github.com/apache/doris/pull/38023#issuecomment-2233342969

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 30.27 s</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
   ClickBench test result on commit 818d7187a679f99506d58c9bab8daf8087352cef, data reload: false
   
   query1	0.04	0.04	0.04
   query2	0.08	0.04	0.04
   query3	0.22	0.04	0.05
   query4	1.69	0.08	0.08
   query5	0.49	0.49	0.49
   query6	1.14	0.72	0.74
   query7	0.02	0.01	0.01
   query8	0.05	0.04	0.05
   query9	0.54	0.48	0.50
   query10	0.53	0.55	0.55
   query11	0.14	0.12	0.11
   query12	0.15	0.13	0.12
   query13	0.59	0.60	0.58
   query14	0.76	0.79	0.77
   query15	0.87	0.83	0.81
   query16	0.37	0.37	0.36
   query17	0.96	0.96	0.97
   query18	0.22	0.22	0.21
   query19	1.76	1.70	1.73
   query20	0.01	0.01	0.01
   query21	15.42	0.73	0.66
   query22	4.33	7.81	1.56
   query23	18.27	1.42	1.35
   query24	2.09	0.24	0.23
   query25	0.16	0.09	0.08
   query26	0.31	0.21	0.21
   query27	0.46	0.23	0.24
   query28	13.32	1.04	1.01
   query29	12.71	3.35	3.31
   query30	0.25	0.06	0.07
   query31	2.86	0.39	0.40
   query32	3.27	0.47	0.47
   query33	2.95	2.92	2.86
   query34	16.97	4.33	4.37
   query35	4.39	4.35	4.41
   query36	0.65	0.47	0.48
   query37	0.18	0.16	0.15
   query38	0.16	0.16	0.15
   query39	0.05	0.04	0.04
   query40	0.15	0.13	0.12
   query41	0.09	0.04	0.04
   query42	0.05	0.04	0.04
   query43	0.04	0.04	0.04
   Total cold run time: 109.76 s
   Total hot run time: 30.27 s
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [enhancement](memtable) use shared ptr for flush token since it is shared between memtable write thread and flush thread [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #38023:
URL: https://github.com/apache/doris/pull/38023#issuecomment-2233273058

   clang-tidy review says "All clean, LGTM! :+1:"


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org