Skip to content

Conversation

@xinyiZzz
Copy link
Contributor

@xinyiZzz xinyiZzz commented Jul 29, 2024

when construct workload group, mem_limit is equal to (process_memory_limit * group_limit_percent),
here, it is assumed that the available memory of workload groups is equal to process_memory_limit.

but process_memory_usage is actually bigger than all_workload_groups_mem_usage,
because public_memory of page cache, allocator cache, segment cache etc. are included in process_memory_usage.
so actual available memory of the workload groups is equal to (process_memory_limit - public_memory)

we will exclude this public_memory when calculate workload group mem_limit.
so a ratio is calculated to multiply the workload group mem_limit from the previous construction.

if all_workload_groups_mem_usage is greater than process_memory_usage, it means that the memory statistics of the workload group are inaccurate.
the reason is that query/load/etc. tracked is virtual memory, and virtual memory is not used in time.

At this time, weighted_memory_limit_ratio is equal to 1, and workload group mem_limit is still equal to (process_memory_limit * group_limit_percent), this may cause query spill to occur earlier,
However, there is no good solution at present, but we cannot predict when these virtual memory will be used.

Process Memory Summary: process memory used 10.14 GB(= 10.35 GB[vm/rss] - 217.76 MB[tc/jemalloc_cache] + 0[reserved] + 0B[waiting_refresh]), sys available memory 101.36 GB(= 101.36 GB[proc/available] - 0[reserved] - 0B[waiting_refresh]), all workload groups memory usage: 2.38 KB, weighted_memory_limit_ratio: 0.9700175477872811
I20240729 20:18:47.099756 2520164 workload_group_manager.cpp:253]
Workload Group normal: mem limit: 169.12 GB, mem used: 2.38 KB, weighted mem limit: 164.05 GB, used ratio: 1.3807033383519938e-08, query count: 1, query spill threshold: 164.05 GB
  Query Memory Summary:
    MemTracker Label=Query#Id=67f945a17fb44483-ab4c0b1ff52acb3e, Parent Label=-, Used=2.38 KB, SpillThreshold=164.05 GB, Peak=2.38 KB

@doris-robot
Copy link

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

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@xinyiZzz
Copy link
Contributor Author

run buildall

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17589	4148	4111	4111
q2	2024	210	221	210
q3	10434	1258	1344	1258
q4	10174	856	983	856
q5	7654	2994	2999	2994
q6	222	135	136	135
q7	1043	606	614	606
q8	9447	1864	1962	1864
q9	8571	6655	6642	6642
q10	8765	3885	3843	3843
q11	433	242	251	242
q12	409	237	229	229
q13	17779	2940	2951	2940
q14	276	247	243	243
q15	521	491	474	474
q16	516	394	382	382
q17	990	921	911	911
q18	8064	7238	7294	7238
q19	1392	1220	1214	1214
q20	563	336	340	336
q21	5358	4702	4725	4702
q22	355	283	287	283
Total cold run time: 112579 ms
Total hot run time: 41713 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4074	4042	4047	4042
q2	327	225	220	220
q3	3008	3040	3147	3040
q4	2000	2021	1957	1957
q5	5699	5481	5433	5433
q6	221	128	129	128
q7	2159	1832	1831	1831
q8	3366	3387	3398	3387
q9	8708	8702	8854	8702
q10	3965	4058	3911	3911
q11	565	470	455	455
q12	795	583	592	583
q13	14209	3189	3097	3097
q14	315	283	274	274
q15	542	482	485	482
q16	457	414	423	414
q17	1759	1719	1716	1716
q18	8376	7791	7726	7726
q19	1749	1739	1735	1735
q20	2049	1860	1844	1844
q21	5758	5428	5289	5289
q22	519	457	458	457
Total cold run time: 70620 ms
Total hot run time: 56723 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 170306 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 a88dac47ee666ff61cec4e1839772cd4ce2f3d7f, data reload: false

query1	914	383	370	370
query2	6459	1671	1646	1646
query3	6648	213	220	213
query4	20118	17391	17220	17220
query5	3640	529	522	522
query6	303	188	165	165
query7	4593	309	294	294
query8	255	210	195	195
query9	8532	2429	2415	2415
query10	465	278	275	275
query11	10466	10057	10086	10057
query12	121	90	87	87
query13	1650	384	380	380
query14	9796	7076	8443	7076
query15	203	163	166	163
query16	6954	480	471	471
query17	958	575	565	565
query18	1916	297	300	297
query19	204	149	151	149
query20	94	86	86	86
query21	208	102	103	102
query22	4185	4083	3900	3900
query23	33873	33801	33553	33553
query24	9555	3136	3092	3092
query25	658	459	441	441
query26	744	159	157	157
query27	2258	281	297	281
query28	5951	2054	2039	2039
query29	947	467	471	467
query30	238	162	160	160
query31	952	796	775	775
query32	99	59	57	57
query33	703	339	347	339
query34	943	508	511	508
query35	888	796	763	763
query36	1037	881	882	881
query37	144	82	83	82
query38	2896	2807	2767	2767
query39	880	801	847	801
query40	205	115	115	115
query41	47	48	46	46
query42	118	97	103	97
query43	451	411	404	404
query44	1198	825	717	717
query45	200	180	173	173
query46	1092	802	805	802
query47	1814	1715	1743	1715
query48	371	297	291	291
query49	845	423	407	407
query50	931	439	434	434
query51	6819	6772	6654	6654
query52	105	91	93	91
query53	250	184	186	184
query54	641	454	452	452
query55	75	76	76	76
query56	266	253	256	253
query57	1122	1045	1064	1045
query58	274	278	281	278
query59	2673	2526	2400	2400
query60	288	270	265	265
query61	117	93	100	93
query62	880	669	657	657
query63	209	179	187	179
query64	4716	1907	1879	1879
query65	3146	3108	3085	3085
query66	938	329	329	329
query67	15561	14940	14891	14891
query68	7738	593	595	593
query69	768	375	365	365
query70	1109	1080	1078	1078
query71	542	276	266	266
query72	8031	2720	2479	2479
query73	945	332	341	332
query74	6035	5659	5634	5634
query75	4524	2715	2721	2715
query76	5452	1403	1406	1403
query77	928	304	299	299
query78	9604	9034	8939	8939
query79	3610	539	521	521
query80	1012	552	510	510
query81	546	218	226	218
query82	740	135	128	128
query83	327	164	169	164
query84	253	87	84	84
query85	1310	336	302	302
query86	410	298	277	277
query87	3232	3106	3109	3106
query88	3838	2497	2467	2467
query89	446	296	285	285
query90	2056	191	190	190
query91	174	100	99	99
query92	59	49	48	48
query93	4630	619	627	619
query94	910	308	293	293
query95	383	271	277	271
query96	619	280	282	280
query97	3185	3009	3025	3009
query98	228	209	193	193
query99	1621	1316	1321	1316
Total cold run time: 272065 ms
Total hot run time: 170306 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 29.76 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit a88dac47ee666ff61cec4e1839772cd4ce2f3d7f, data reload: false

query1	0.04	0.04	0.03
query2	0.08	0.04	0.05
query3	0.23	0.05	0.04
query4	1.69	0.07	0.06
query5	0.50	0.48	0.48
query6	1.13	0.72	0.72
query7	0.02	0.01	0.01
query8	0.06	0.05	0.05
query9	0.57	0.50	0.50
query10	0.57	0.56	0.56
query11	0.15	0.12	0.12
query12	0.14	0.12	0.13
query13	0.61	0.60	0.60
query14	0.77	0.80	0.77
query15	0.89	0.86	0.86
query16	0.34	0.35	0.36
query17	1.02	1.04	0.99
query18	0.22	0.21	0.21
query19	1.84	1.74	1.76
query20	0.01	0.01	0.01
query21	15.40	0.78	0.66
query22	4.49	8.03	1.19
query23	18.30	1.24	1.20
query24	2.25	0.23	0.22
query25	0.18	0.08	0.09
query26	0.32	0.22	0.22
query27	0.46	0.24	0.24
query28	13.17	0.98	0.97
query29	12.52	3.28	3.27
query30	0.25	0.06	0.05
query31	2.87	0.41	0.40
query32	3.25	0.49	0.47
query33	2.96	2.91	2.95
query34	15.42	4.27	4.26
query35	4.32	4.28	4.29
query36	0.68	0.48	0.48
query37	0.20	0.17	0.17
query38	0.17	0.15	0.14
query39	0.05	0.03	0.03
query40	0.15	0.13	0.14
query41	0.10	0.05	0.04
query42	0.06	0.05	0.05
query43	0.04	0.05	0.04
Total cold run time: 108.49 s
Total hot run time: 29.76 s

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Jul 30, 2024
@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@xinyiZzz
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17614	4156	4115	4115
q2	2015	206	220	206
q3	10435	1393	1395	1393
q4	10163	872	947	872
q5	7661	2988	2970	2970
q6	223	139	141	139
q7	1034	622	615	615
q8	9458	1750	1933	1750
q9	8511	6630	6648	6630
q10	8794	3869	3806	3806
q11	430	247	258	247
q12	415	230	226	226
q13	17758	2971	2951	2951
q14	269	236	248	236
q15	520	480	477	477
q16	526	378	384	378
q17	976	944	912	912
q18	8050	7303	7331	7303
q19	1915	1179	1226	1179
q20	556	323	335	323
q21	5199	4758	4755	4755
q22	354	283	284	283
Total cold run time: 112876 ms
Total hot run time: 41766 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4104	4031	4037	4031
q2	342	223	214	214
q3	2981	2999	3188	2999
q4	2004	2022	1969	1969
q5	5636	5473	5430	5430
q6	219	134	131	131
q7	2143	1809	1835	1809
q8	3335	3389	3353	3353
q9	8648	8652	8789	8652
q10	3960	4090	3886	3886
q11	560	467	456	456
q12	748	625	589	589
q13	16489	3134	3140	3134
q14	306	262	273	262
q15	520	486	482	482
q16	462	432	425	425
q17	1753	1759	1729	1729
q18	8214	7636	7661	7636
q19	1732	1727	1738	1727
q20	2108	1839	1839	1839
q21	5734	5479	5242	5242
q22	528	461	474	461
Total cold run time: 72526 ms
Total hot run time: 56456 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 170811 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 166d6f17b4bca00af0903ff7d278707739b1c0fd, data reload: false

query1	918	383	368	368
query2	6465	1700	1687	1687
query3	6656	211	230	211
query4	19858	17607	17343	17343
query5	3645	525	516	516
query6	284	167	189	167
query7	4606	292	296	292
query8	257	188	186	186
query9	8515	2375	2355	2355
query10	417	298	276	276
query11	10574	9915	10064	9915
query12	122	96	87	87
query13	1645	374	378	374
query14	8974	8611	7955	7955
query15	218	168	171	168
query16	6869	429	431	429
query17	971	592	560	560
query18	1873	295	292	292
query19	202	159	151	151
query20	94	87	91	87
query21	206	104	102	102
query22	4426	4080	3990	3990
query23	34343	33590	33767	33590
query24	9354	3132	3058	3058
query25	676	436	424	424
query26	1434	161	155	155
query27	2832	277	290	277
query28	7364	2012	1991	1991
query29	1033	430	428	428
query30	233	153	160	153
query31	981	773	789	773
query32	107	56	58	56
query33	701	356	356	356
query34	916	496	522	496
query35	908	773	758	758
query36	1046	896	917	896
query37	168	76	77	76
query38	2879	2758	2793	2758
query39	895	823	824	823
query40	248	114	110	110
query41	46	43	43	43
query42	117	104	107	104
query43	458	415	410	410
query44	1185	736	745	736
query45	216	178	182	178
query46	1085	799	784	784
query47	1782	1694	1681	1681
query48	366	286	285	285
query49	863	423	416	416
query50	926	445	443	443
query51	6775	6715	6663	6663
query52	109	87	92	87
query53	256	197	186	186
query54	636	453	461	453
query55	77	76	76	76
query56	281	265	253	253
query57	1146	1012	1050	1012
query58	266	272	271	271
query59	2710	2406	2426	2406
query60	306	280	298	280
query61	101	95	98	95
query62	873	663	658	658
query63	214	194	191	191
query64	5753	1923	1929	1923
query65	3197	3112	3086	3086
query66	1022	337	334	334
query67	15188	14757	14751	14751
query68	4432	572	577	572
query69	694	402	302	302
query70	1156	1107	1082	1082
query71	461	290	282	282
query72	7654	2793	2515	2515
query73	783	328	338	328
query74	6023	5685	5698	5685
query75	3419	2711	2744	2711
query76	3061	1332	1408	1332
query77	584	306	305	305
query78	9400	9001	8815	8815
query79	2676	532	539	532
query80	986	573	526	526
query81	582	232	226	226
query82	928	134	135	134
query83	258	173	176	173
query84	271	80	82	80
query85	1487	333	315	315
query86	484	292	267	267
query87	3274	3141	3132	3132
query88	3825	2405	2425	2405
query89	387	294	293	293
query90	1785	200	194	194
query91	129	105	101	101
query92	61	55	51	51
query93	2030	613	623	613
query94	795	294	295	294
query95	385	331	275	275
query96	625	286	282	282
query97	3180	3028	3055	3028
query98	220	206	195	195
query99	1636	1272	1279	1272
Total cold run time: 263538 ms
Total hot run time: 170811 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 30.13 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 166d6f17b4bca00af0903ff7d278707739b1c0fd, data reload: false

query1	0.04	0.04	0.04
query2	0.07	0.04	0.04
query3	0.23	0.04	0.05
query4	1.70	0.06	0.07
query5	0.49	0.49	0.47
query6	1.16	0.71	0.72
query7	0.02	0.01	0.02
query8	0.05	0.05	0.04
query9	0.58	0.51	0.50
query10	0.58	0.56	0.57
query11	0.15	0.12	0.11
query12	0.15	0.12	0.12
query13	0.61	0.60	0.59
query14	0.78	0.80	0.78
query15	0.90	0.86	0.87
query16	0.35	0.35	0.35
query17	0.99	0.99	1.01
query18	0.23	0.21	0.21
query19	1.83	1.78	1.75
query20	0.01	0.01	0.01
query21	15.40	0.80	0.68
query22	4.82	7.20	1.35
query23	17.82	1.27	1.28
query24	2.30	0.22	0.22
query25	0.19	0.08	0.08
query26	0.32	0.22	0.21
query27	0.45	0.22	0.23
query28	13.55	1.00	0.98
query29	12.54	3.35	3.39
query30	0.25	0.06	0.05
query31	2.86	0.41	0.40
query32	3.24	0.49	0.50
query33	2.94	3.00	3.01
query34	15.45	4.24	4.25
query35	4.28	4.27	4.29
query36	0.68	0.48	0.48
query37	0.22	0.17	0.16
query38	0.16	0.15	0.15
query39	0.04	0.03	0.03
query40	0.17	0.14	0.14
query41	0.10	0.05	0.04
query42	0.06	0.04	0.05
query43	0.04	0.04	0.05
Total cold run time: 108.8 s
Total hot run time: 30.13 s

Copy link
Member

@mrhhsg mrhhsg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yiguolei yiguolei merged commit 0a1130e into apache:master Jul 31, 2024
feiniaofeiafei pushed a commit to feiniaofeiafei/doris that referenced this pull request Aug 9, 2024
…38494)

when construct workload group, mem_limit is equal to
(process_memory_limit * group_limit_percent),
here, it is assumed that the available memory of workload groups is
equal to process_memory_limit.

but process_memory_usage is actually bigger than
all_workload_groups_mem_usage,
because public_memory of page cache, allocator cache, segment cache etc.
are included in process_memory_usage.
so actual available memory of the workload groups is equal to
(process_memory_limit - public_memory)

we will exclude this public_memory when calculate workload group
mem_limit.
so a ratio is calculated to multiply the workload group mem_limit from
the previous construction.

if all_workload_groups_mem_usage is greater than process_memory_usage,
it means that the memory statistics of the workload group are
inaccurate.
the reason is that query/load/etc. tracked is virtual memory, and
virtual memory is not used in time.

At this time, weighted_memory_limit_ratio is equal to 1, and workload
group mem_limit is still equal to (process_memory_limit *
group_limit_percent), this may cause query spill to occur earlier,
However, there is no good solution at present, but we cannot predict
when these virtual memory will be used.

```
Process Memory Summary: process memory used 10.14 GB(= 10.35 GB[vm/rss] - 217.76 MB[tc/jemalloc_cache] + 0[reserved] + 0B[waiting_refresh]), sys available memory 101.36 GB(= 101.36 GB[proc/available] - 0[reserved] - 0B[waiting_refresh]), all workload groups memory usage: 2.38 KB, weighted_memory_limit_ratio: 0.9700175477872811
I20240729 20:18:47.099756 2520164 workload_group_manager.cpp:253]
Workload Group normal: mem limit: 169.12 GB, mem used: 2.38 KB, weighted mem limit: 164.05 GB, used ratio: 1.3807033383519938e-08, query count: 1, query spill threshold: 164.05 GB
  Query Memory Summary:
    MemTracker Label=Query#Id=67f945a17fb44483-ab4c0b1ff52acb3e, Parent Label=-, Used=2.38 KB, SpillThreshold=164.05 GB, Peak=2.38 KB
```
dataroaring pushed a commit that referenced this pull request Aug 11, 2024
when construct workload group, mem_limit is equal to
(process_memory_limit * group_limit_percent),
here, it is assumed that the available memory of workload groups is
equal to process_memory_limit.

but process_memory_usage is actually bigger than
all_workload_groups_mem_usage,
because public_memory of page cache, allocator cache, segment cache etc.
are included in process_memory_usage.
so actual available memory of the workload groups is equal to
(process_memory_limit - public_memory)

we will exclude this public_memory when calculate workload group
mem_limit.
so a ratio is calculated to multiply the workload group mem_limit from
the previous construction.

if all_workload_groups_mem_usage is greater than process_memory_usage,
it means that the memory statistics of the workload group are
inaccurate.
the reason is that query/load/etc. tracked is virtual memory, and
virtual memory is not used in time.

At this time, weighted_memory_limit_ratio is equal to 1, and workload
group mem_limit is still equal to (process_memory_limit *
group_limit_percent), this may cause query spill to occur earlier,
However, there is no good solution at present, but we cannot predict
when these virtual memory will be used.

```
Process Memory Summary: process memory used 10.14 GB(= 10.35 GB[vm/rss] - 217.76 MB[tc/jemalloc_cache] + 0[reserved] + 0B[waiting_refresh]), sys available memory 101.36 GB(= 101.36 GB[proc/available] - 0[reserved] - 0B[waiting_refresh]), all workload groups memory usage: 2.38 KB, weighted_memory_limit_ratio: 0.9700175477872811
I20240729 20:18:47.099756 2520164 workload_group_manager.cpp:253]
Workload Group normal: mem limit: 169.12 GB, mem used: 2.38 KB, weighted mem limit: 164.05 GB, used ratio: 1.3807033383519938e-08, query count: 1, query spill threshold: 164.05 GB
  Query Memory Summary:
    MemTracker Label=Query#Id=67f945a17fb44483-ab4c0b1ff52acb3e, Parent Label=-, Used=2.38 KB, SpillThreshold=164.05 GB, Peak=2.38 KB
```
dataroaring pushed a commit that referenced this pull request Aug 16, 2024
when construct workload group, mem_limit is equal to
(process_memory_limit * group_limit_percent),
here, it is assumed that the available memory of workload groups is
equal to process_memory_limit.

but process_memory_usage is actually bigger than
all_workload_groups_mem_usage,
because public_memory of page cache, allocator cache, segment cache etc.
are included in process_memory_usage.
so actual available memory of the workload groups is equal to
(process_memory_limit - public_memory)

we will exclude this public_memory when calculate workload group
mem_limit.
so a ratio is calculated to multiply the workload group mem_limit from
the previous construction.

if all_workload_groups_mem_usage is greater than process_memory_usage,
it means that the memory statistics of the workload group are
inaccurate.
the reason is that query/load/etc. tracked is virtual memory, and
virtual memory is not used in time.

At this time, weighted_memory_limit_ratio is equal to 1, and workload
group mem_limit is still equal to (process_memory_limit *
group_limit_percent), this may cause query spill to occur earlier,
However, there is no good solution at present, but we cannot predict
when these virtual memory will be used.

```
Process Memory Summary: process memory used 10.14 GB(= 10.35 GB[vm/rss] - 217.76 MB[tc/jemalloc_cache] + 0[reserved] + 0B[waiting_refresh]), sys available memory 101.36 GB(= 101.36 GB[proc/available] - 0[reserved] - 0B[waiting_refresh]), all workload groups memory usage: 2.38 KB, weighted_memory_limit_ratio: 0.9700175477872811
I20240729 20:18:47.099756 2520164 workload_group_manager.cpp:253]
Workload Group normal: mem limit: 169.12 GB, mem used: 2.38 KB, weighted mem limit: 164.05 GB, used ratio: 1.3807033383519938e-08, query count: 1, query spill threshold: 164.05 GB
  Query Memory Summary:
    MemTracker Label=Query#Id=67f945a17fb44483-ab4c0b1ff52acb3e, Parent Label=-, Used=2.38 KB, SpillThreshold=164.05 GB, Peak=2.38 KB
```
xinyiZzz added a commit to xinyiZzz/incubator-doris that referenced this pull request Sep 9, 2024
…38494)

when construct workload group, mem_limit is equal to
(process_memory_limit * group_limit_percent),
here, it is assumed that the available memory of workload groups is
equal to process_memory_limit.

but process_memory_usage is actually bigger than
all_workload_groups_mem_usage,
because public_memory of page cache, allocator cache, segment cache etc.
are included in process_memory_usage.
so actual available memory of the workload groups is equal to
(process_memory_limit - public_memory)

we will exclude this public_memory when calculate workload group
mem_limit.
so a ratio is calculated to multiply the workload group mem_limit from
the previous construction.

if all_workload_groups_mem_usage is greater than process_memory_usage,
it means that the memory statistics of the workload group are
inaccurate.
the reason is that query/load/etc. tracked is virtual memory, and
virtual memory is not used in time.

At this time, weighted_memory_limit_ratio is equal to 1, and workload
group mem_limit is still equal to (process_memory_limit *
group_limit_percent), this may cause query spill to occur earlier,
However, there is no good solution at present, but we cannot predict
when these virtual memory will be used.

```
Process Memory Summary: process memory used 10.14 GB(= 10.35 GB[vm/rss] - 217.76 MB[tc/jemalloc_cache] + 0[reserved] + 0B[waiting_refresh]), sys available memory 101.36 GB(= 101.36 GB[proc/available] - 0[reserved] - 0B[waiting_refresh]), all workload groups memory usage: 2.38 KB, weighted_memory_limit_ratio: 0.9700175477872811
I20240729 20:18:47.099756 2520164 workload_group_manager.cpp:253]
Workload Group normal: mem limit: 169.12 GB, mem used: 2.38 KB, weighted mem limit: 164.05 GB, used ratio: 1.3807033383519938e-08, query count: 1, query spill threshold: 164.05 GB
  Query Memory Summary:
    MemTracker Label=Query#Id=67f945a17fb44483-ab4c0b1ff52acb3e, Parent Label=-, Used=2.38 KB, SpillThreshold=164.05 GB, Peak=2.38 KB
```
hello-stephen pushed a commit that referenced this pull request Sep 9, 2024
1. pick #38494
2. pick #39862
3. remove vdata_stream_test, master has been removed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/2.1.7-merged dev/3.0.2-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants