You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "deardeng (via GitHub)" <gi...@apache.org> on 2026/05/28 05:41:59 UTC

[PR] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   Problem Summary: FSFileCacheStorage used a single mutex and unordered map to track in-flight local file cache writers. Cache miss read paths write back remote or peer-read blocks into local file cache, and different block writers had to serialize on the same lock while creating cache directories and temporary files. This change shards the writer map into 1024 buckets, each with its own mutex, so unrelated cache blocks no longer contend on one global writer-map lock. The current master file cache storage interface only has append and finalize, so the cherry-pick was adapted to those two critical sections while preserving the v3 cache path and metadata-store logic. A BE unit test now keeps multiple writers in flight before finalizing them, verifies they are tracked across multiple writer shards, and checks the finalized block data can be read back.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test: Unit Test / Manual test
   
       - Added BE UT BlockFileCacheTest.sharded_writer_map_tracks_multiple_inflight_writers
   
       - Tried ./run-be-ut.sh --run --filter=BlockFileCacheTest.sharded_writer_map_tracks_multiple_inflight_writers -j 8, but CMake configuration failed before compiling tests because OpenMP_C was not found while configuring contrib/openblas
   
       - Ran git show --check on the amended commit
   
       - Ran git diff --check
   
       - Tried build-support/clang-format.sh, but the environment clang-format version is not 16
   
   - Behavior changed: No
   
   - Does this need documentation: No
   
   (cherry picked from commit e84ecd60ed5c3af23e260f7f2fc25431bda04e32)
   
   ### What problem does this PR solve?
   
   Issue Number: close #xxx
   
   Related PR: #xxx
   
   Problem Summary:
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test <!-- At least one of them must be included. -->
       - [ ] Regression test
       - [x] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [ ] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason <!-- Add your reason?  -->
   
   - Behavior changed:
       - [x] No.
       - [ ] Yes. <!-- Explain the behavior change -->
   
   - Does this need documentation?
       - [x] No.
       - [ ] Yes. <!-- Add document PR link here. eg: https://github.com/apache/doris-website/pull/1214 -->
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into -->
   
   


-- 
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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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


##########
be/src/io/cache/fs_file_cache_storage.h:
##########
@@ -130,9 +132,29 @@ class FSFileCacheStorage : public FileCacheStorage {
                 count_inodes_override;
     };
     static void set_inode_estimation_test_hooks(InodeEstimationTestHooks* hooks);
+
+    void set_file_writer_for_test(const FileCacheKey& key, FileWriterPtr writer) {
+        auto file_writer_map_key = std::make_pair(key.hash, key.offset);
+        auto& shard = shard_of(file_writer_map_key);
+        std::lock_guard lock(shard.mtx);
+        shard.map[file_writer_map_key] = std::move(writer);
+    }
 #endif
 
 private:
+    struct WriterShard {
+        std::mutex mtx;
+        std::unordered_map<FileWriterMapKey, FileWriterPtr, FileWriterMapKeyHash> map;
+    };
+
+    static constexpr size_t kWriterShardNum = 1024; // must be power-of-2
+    static constexpr size_t kWriterShardMask = kWriterShardNum - 1;
+    static_assert((kWriterShardNum & kWriterShardMask) == 0);

Review Comment:
   This does not match the BE clang-format style: clang-format keeps spaces around the binary `&`. Since BE formatting is enforced, this will fail once `build-support/check-format.sh` runs with clang-format-16.
   
   ```suggestion
           return *_writer_shards[FileWriterMapKeyHash {}(k) & kWriterShardMask];
   ```



-- 
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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   run external


-- 
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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   /review


-- 
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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 172087 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 70c0e3ffcc6e8bf639582717eec3723e7e79a71f, data reload: false
   
   query5	4318	658	519	519
   query6	336	222	207	207
   query7	4240	569	310	310
   query8	326	268	223	223
   query9	8816	4052	4030	4030
   query10	456	350	304	304
   query11	5752	2470	2245	2245
   query12	182	126	124	124
   query13	1325	613	440	440
   query14	6672	5505	5220	5220
   query14_1	4446	4453	4427	4427
   query15	214	207	181	181
   query16	1015	465	440	440
   query17	1135	752	598	598
   query18	2736	495	352	352
   query19	215	201	158	158
   query20	143	132	128	128
   query21	213	140	119	119
   query22	13737	13710	13381	13381
   query23	17343	16549	16253	16253
   query23_1	16319	16288	16393	16288
   query24	7620	1794	1342	1342
   query24_1	1309	1305	1366	1305
   query25	544	466	424	424
   query26	1049	324	174	174
   query27	2705	553	359	359
   query28	4484	2014	2015	2014
   query29	976	654	525	525
   query30	299	243	201	201
   query31	1146	1093	970	970
   query32	89	77	78	77
   query33	554	370	300	300
   query34	1165	1117	686	686
   query35	770	828	695	695
   query36	1445	1421	1244	1244
   query37	159	109	98	98
   query38	3227	3177	3079	3079
   query39	931	921	904	904
   query39_1	882	871	876	871
   query40	233	154	129	129
   query41	73	68	69	68
   query42	119	116	108	108
   query43	330	333	303	303
   query44	
   query45	223	210	202	202
   query46	1096	1215	750	750
   query47	2419	2335	2244	2244
   query48	413	417	321	321
   query49	645	511	433	433
   query50	1026	368	256	256
   query51	4337	4295	4270	4270
   query52	109	108	97	97
   query53	259	288	213	213
   query54	326	289	276	276
   query55	100	97	92	92
   query56	325	314	333	314
   query57	1478	1406	1348	1348
   query58	313	298	284	284
   query59	1577	1712	1514	1514
   query60	337	355	324	324
   query61	189	186	185	185
   query62	711	703	589	589
   query63	252	203	206	203
   query64	2027	796	638	638
   query65	
   query66	1661	495	368	368
   query67	29846	29807	29627	29627
   query68	
   query69	465	347	300	300
   query70	1038	1006	1034	1006
   query71	306	274	266	266
   query72	3014	2734	2458	2458
   query73	896	746	424	424
   query74	5147	4990	4810	4810
   query75	2729	2607	2272	2272
   query76	2344	1159	788	788
   query77	405	422	327	327
   query78	12307	12441	11973	11973
   query79	1492	1076	761	761
   query80	656	547	463	463
   query81	466	280	245	245
   query82	1383	156	121	121
   query83	388	288	252	252
   query84	270	143	111	111
   query85	906	534	461	461
   query86	404	376	299	299
   query87	3433	3390	3269	3269
   query88	3624	2743	2704	2704
   query89	445	396	344	344
   query90	1977	189	181	181
   query91	183	172	145	145
   query92	88	79	73	73
   query93	1546	1459	896	896
   query94	576	359	326	326
   query95	711	477	351	351
   query96	1003	778	359	359
   query97	2750	2728	2597	2597
   query98	243	235	231	231
   query99	1201	1168	1033	1033
   Total cold run time: 254847 ms
   Total hot run time: 172087 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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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


-- 
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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   /review


-- 
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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   # BE UT Coverage Report
   Increment line coverage `73.91% (17/23)` :tada:
   
   [Increment coverage report](http://coverage.selectdb-in.cc/coverage/084ca1cb695c7a6a67bd3f5b6fb2e07bb3876a86_084ca1cb695c7a6a67bd3f5b6fb2e07bb3876a86/increment_report/index.html)
   [Complete coverage report](http://coverage.selectdb-in.cc/coverage/084ca1cb695c7a6a67bd3f5b6fb2e07bb3876a86_084ca1cb695c7a6a67bd3f5b6fb2e07bb3876a86/report/index.html)
   | Category          | Coverage           |
   |-------------------|--------------------|
   | Function Coverage | 53.94% (20961/38857) |
   | Line Coverage     | 37.53% (198835/529789) |
   | Region Coverage   | 33.82% (155851/460818) |
   | Branch Coverage   | 34.79% (67806/194893) |


-- 
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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 28831 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 6b479228c1cabf74edd9309f1f66254227e4dc42, data reload: false
   
   ------ Round 1 ----------------------------------
   orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
   ============================================
   q1	17582	4064	4036	4036
   q2	q3	10746	1452	800	800
   q4	4684	471	344	344
   q5	7557	860	586	586
   q6	183	172	136	136
   q7	788	843	633	633
   q8	9332	1474	1519	1474
   q9	5755	4536	4452	4452
   q10	6801	1809	1533	1533
   q11	438	270	246	246
   q12	629	426	290	290
   q13	18110	3334	2818	2818
   q14	264	257	241	241
   q15	q16	815	771	706	706
   q17	1009	930	993	930
   q18	7056	5914	5552	5552
   q19	2017	1277	1107	1107
   q20	516	409	261	261
   q21	5936	2600	2382	2382
   q22	437	362	304	304
   Total cold run time: 100655 ms
   Total hot run time: 28831 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
   ============================================
   q1	4386	4264	4255	4255
   q2	q3	4510	4987	4336	4336
   q4	2089	2179	1402	1402
   q5	4409	4282	4272	4272
   q6	227	175	128	128
   q7	1721	1639	1688	1639
   q8	2835	2216	2168	2168
   q9	8258	8298	7883	7883
   q10	4827	4766	4291	4291
   q11	566	413	383	383
   q12	757	778	558	558
   q13	3263	3677	2988	2988
   q14	304	313	266	266
   q15	q16	697	739	640	640
   q17	1405	1328	1315	1315
   q18	8129	7419	7321	7321
   q19	1175	1132	1151	1132
   q20	2213	2204	1942	1942
   q21	5258	4558	4426	4426
   q22	499	477	410	410
   Total cold run time: 57528 ms
   Total hot run time: 51755 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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 172411 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 2e23776d4492b6776ab6a918dbb93ef1d41dcdd7, data reload: false
   
   query5	4302	649	526	526
   query6	328	226	206	206
   query7	4350	573	327	327
   query8	331	238	220	220
   query9	8821	4060	4047	4047
   query10	457	359	305	305
   query11	5792	2548	2315	2315
   query12	186	130	128	128
   query13	1276	629	434	434
   query14	6075	5454	5156	5156
   query14_1	4579	4454	4459	4454
   query15	221	207	191	191
   query16	1018	489	464	464
   query17	994	793	595	595
   query18	2461	476	353	353
   query19	213	193	161	161
   query20	136	132	128	128
   query21	213	138	118	118
   query22	13817	13633	13354	13354
   query23	17404	16594	16225	16225
   query23_1	16269	16448	16366	16366
   query24	7441	1767	1311	1311
   query24_1	1311	1334	1311	1311
   query25	561	476	414	414
   query26	1305	328	171	171
   query27	2695	583	348	348
   query28	4419	1997	1953	1953
   query29	979	617	483	483
   query30	302	231	202	202
   query31	1131	1080	952	952
   query32	89	73	73	73
   query33	537	384	293	293
   query34	1171	1146	658	658
   query35	793	796	676	676
   query36	1425	1392	1276	1276
   query37	159	104	92	92
   query38	3239	3178	3036	3036
   query39	932	924	914	914
   query39_1	879	874	891	874
   query40	238	148	125	125
   query41	65	63	61	61
   query42	110	109	109	109
   query43	330	328	287	287
   query44	
   query45	208	205	194	194
   query46	1088	1213	751	751
   query47	2363	2393	2257	2257
   query48	386	417	293	293
   query49	628	504	393	393
   query50	966	346	251	251
   query51	4386	4298	4209	4209
   query52	104	104	96	96
   query53	259	282	205	205
   query54	321	273	268	268
   query55	93	95	89	89
   query56	306	313	297	297
   query57	1458	1444	1322	1322
   query58	299	279	272	272
   query59	1575	1669	1480	1480
   query60	327	308	318	308
   query61	167	160	165	160
   query62	703	653	583	583
   query63	245	200	208	200
   query64	2445	842	674	674
   query65	
   query66	1752	490	350	350
   query67	29797	29707	29527	29527
   query68	
   query69	466	353	321	321
   query70	1055	1005	1038	1005
   query71	300	291	269	269
   query72	3042	2840	2506	2506
   query73	850	774	429	429
   query74	5134	4963	4771	4771
   query75	2702	2611	2279	2279
   query76	2285	1159	779	779
   query77	408	413	338	338
   query78	12660	12307	11845	11845
   query79	1296	1110	778	778
   query80	611	593	487	487
   query81	447	284	243	243
   query82	241	166	123	123
   query83	277	284	253	253
   query84	290	149	125	125
   query85	949	630	557	557
   query86	367	345	353	345
   query87	3422	3388	3253	3253
   query88	3608	2764	2744	2744
   query89	437	403	350	350
   query90	2212	186	187	186
   query91	233	170	143	143
   query92	82	83	75	75
   query93	1548	1399	848	848
   query94	553	337	316	316
   query95	691	411	450	411
   query96	1108	760	365	365
   query97	2712	2740	2609	2609
   query98	241	227	230	227
   query99	1162	1140	1046	1046
   Total cold run time: 253425 ms
   Total hot run time: 172411 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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 32117 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 70c0e3ffcc6e8bf639582717eec3723e7e79a71f, data reload: false
   
   ------ Round 1 ----------------------------------
   orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
   ============================================
   q1	17897	4078	4103	4078
   q2	q3	10784	1478	836	836
   q4	4687	494	347	347
   q5	7637	2328	2146	2146
   q6	247	178	137	137
   q7	974	790	661	661
   q8	9344	1702	1664	1664
   q9	5426	4971	4998	4971
   q10	6397	2304	1889	1889
   q11	467	284	250	250
   q12	642	431	297	297
   q13	18087	3511	2816	2816
   q14	274	264	246	246
   q15	q16	828	776	711	711
   q17	1010	1012	922	922
   q18	7237	5830	5508	5508
   q19	1303	1405	1180	1180
   q20	585	417	274	274
   q21	6209	2895	2869	2869
   q22	454	378	315	315
   Total cold run time: 100489 ms
   Total hot run time: 32117 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
   ============================================
   q1	4844	4962	4856	4856
   q2	q3	4921	5198	4795	4795
   q4	2123	2212	1399	1399
   q5	4818	4607	4992	4607
   q6	234	182	129	129
   q7	1922	1765	1529	1529
   q8	2473	2145	2134	2134
   q9	7477	7457	7409	7409
   q10	4769	4681	4251	4251
   q11	538	394	357	357
   q12	750	746	531	531
   q13	3038	3423	2840	2840
   q14	279	297	254	254
   q15	q16	689	696	607	607
   q17	1288	1268	1261	1261
   q18	7357	6887	6896	6887
   q19	1149	1088	1106	1088
   q20	2242	2213	1952	1952
   q21	5298	4618	4456	4456
   q22	523	455	391	391
   Total cold run time: 56732 ms
   Total hot run time: 51733 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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   skip check_coverage


-- 
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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 168391 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 6b479228c1cabf74edd9309f1f66254227e4dc42, data reload: false
   
   query5	4335	645	478	478
   query6	429	183	172	172
   query7	4833	569	300	300
   query8	357	206	194	194
   query9	8738	4051	4018	4018
   query10	433	316	250	250
   query11	5909	2365	2121	2121
   query12	157	97	97	97
   query13	1279	601	444	444
   query14	6337	5434	5056	5056
   query14_1	4391	4387	4366	4366
   query15	203	193	169	169
   query16	975	445	446	445
   query17	918	657	539	539
   query18	2436	457	323	323
   query19	188	173	136	136
   query20	107	104	105	104
   query21	213	139	112	112
   query22	13670	13565	13476	13476
   query23	17334	16494	16086	16086
   query23_1	16145	16340	16252	16252
   query24	7476	1751	1277	1277
   query24_1	1318	1271	1294	1271
   query25	530	422	357	357
   query26	1297	330	171	171
   query27	2693	529	330	330
   query28	4487	2028	2039	2028
   query29	1073	608	468	468
   query30	303	232	194	194
   query31	1145	1066	959	959
   query32	107	57	56	56
   query33	501	301	233	233
   query34	1184	1132	664	664
   query35	747	774	676	676
   query36	1414	1426	1225	1225
   query37	150	100	85	85
   query38	3195	3113	3054	3054
   query39	938	946	887	887
   query39_1	890	877	893	877
   query40	212	117	97	97
   query41	61	59	59	59
   query42	93	92	92	92
   query43	317	315	275	275
   query44	
   query45	195	183	175	175
   query46	1048	1241	739	739
   query47	2392	2364	2230	2230
   query48	407	389	295	295
   query49	615	456	340	340
   query50	1032	334	247	247
   query51	4398	4306	4241	4241
   query52	85	88	75	75
   query53	244	261	187	187
   query54	262	206	191	191
   query55	82	75	69	69
   query56	230	222	211	211
   query57	1445	1429	1314	1314
   query58	228	210	199	199
   query59	1531	1627	1403	1403
   query60	281	240	218	218
   query61	151	139	150	139
   query62	689	648	586	586
   query63	236	181	183	181
   query64	2543	801	576	576
   query65	
   query66	1795	460	332	332
   query67	29791	29698	29577	29577
   query68	
   query69	411	299	259	259
   query70	949	937	950	937
   query71	290	219	208	208
   query72	2862	2629	2432	2432
   query73	872	770	417	417
   query74	5129	4929	4749	4749
   query75	2656	2569	2241	2241
   query76	2354	1156	806	806
   query77	348	394	305	305
   query78	12329	12291	11977	11977
   query79	1267	1099	788	788
   query80	532	492	402	402
   query81	448	298	252	252
   query82	248	163	121	121
   query83	272	277	260	260
   query84	
   query85	885	552	407	407
   query86	316	302	276	276
   query87	3373	3344	3248	3248
   query88	3645	2757	2734	2734
   query89	401	385	325	325
   query90	2112	178	167	167
   query91	167	151	130	130
   query92	59	59	54	54
   query93	1390	1365	890	890
   query94	507	318	299	299
   query95	686	373	440	373
   query96	1056	774	355	355
   query97	2706	2696	2561	2561
   query98	212	224	199	199
   query99	1151	1179	1029	1029
   Total cold run time: 249164 ms
   Total hot run time: 168391 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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   
   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).
   
   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?
       


-- 
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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 32200 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 2e23776d4492b6776ab6a918dbb93ef1d41dcdd7, data reload: false
   
   ------ Round 1 ----------------------------------
   orders	Doris	NULL	NULL	0	0	0	NULL	0	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
   ============================================
   q1	17780	4137	4196	4137
   q2	q3	10757	1413	826	826
   q4	4692	484	354	354
   q5	7574	2311	2083	2083
   q6	248	179	137	137
   q7	948	813	645	645
   q8	9391	1802	1691	1691
   q9	5194	4983	4978	4978
   q10	6396	2247	1894	1894
   q11	438	269	246	246
   q12	668	426	307	307
   q13	18125	3473	2833	2833
   q14	266	256	242	242
   q15	q16	821	784	714	714
   q17	1003	883	1022	883
   q18	7077	5751	5585	5585
   q19	1207	1311	1257	1257
   q20	548	475	289	289
   q21	6374	2915	2777	2777
   q22	453	373	322	322
   Total cold run time: 99960 ms
   Total hot run time: 32200 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   orders	Doris	NULL	NULL	150000000	42	6422171781	NULL	22778155	NULL	NULL	2023-12-26 18:27:23	2023-12-26 18:42:55	NULL	utf-8	NULL	NULL	
   ============================================
   q1	4988	4974	5030	4974
   q2	q3	4987	5273	4621	4621
   q4	2115	2206	1423	1423
   q5	4965	4640	4703	4640
   q6	241	180	144	144
   q7	1860	1728	1598	1598
   q8	2433	2166	2228	2166
   q9	7933	7405	7497	7405
   q10	4730	4648	4240	4240
   q11	540	392	360	360
   q12	737	737	528	528
   q13	3056	3417	2792	2792
   q14	273	294	256	256
   q15	q16	705	701	615	615
   q17	1292	1283	1266	1266
   q18	7688	6899	7061	6899
   q19	1168	1092	1125	1092
   q20	2219	2228	1956	1956
   q21	5344	4771	4454	4454
   q22	521	463	393	393
   Total cold run time: 57795 ms
   Total hot run time: 51822 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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   run beut


-- 
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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   /review


-- 
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] [improvement](cloud) Shard FSFileCacheStorage writer map [doris]

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

   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