Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

branch-3.0: [conf](fe) Print jvm ClassHistogram in fe gc log after full gc #44010 #44245

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

github-actions[bot]
Copy link
Contributor

Cherry-picked from #44010

)

* Add `-XX:+PrintClassHistogramAfterFullGC` for JAVA_OPTS
* Add `classhisto*=trace` for JAVA_OPTS_FOR_JDK_17

fe.gc.log will print like this:
```
2024-11-15T11:49:00.316+0800: 11.346: [Class Histogram (after full gc): 
 num     #instances         #bytes  class name
----------------------------------------------
   1:          7464        7053464  [B
   2:         37465        3656360  [C
   3:          7076        2909880  [Ljava.lang.Object;
   4:          4915        2306872  [I
   5:          9167        1719552  [S
   6:         16229        1168488  io.grpc.netty.shaded.io.netty.buffer.PoolSubpage
......
```
@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.

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 Nov 19, 2024
@doris-robot
Copy link

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17586	7373	7237	7237
q2	2060	160	159	159
q3	10724	1060	1133	1060
q4	10546	790	781	781
q5	7725	2798	2743	2743
q6	234	143	141	141
q7	959	598	599	598
q8	9570	1922	1968	1922
q9	7755	6407	6403	6403
q10	6987	2273	2291	2273
q11	447	249	257	249
q12	400	214	206	206
q13	17773	2976	2977	2976
q14	230	217	213	213
q15	561	528	532	528
q16	688	605	609	605
q17	958	532	549	532
q18	7282	6387	6624	6387
q19	1612	1056	993	993
q20	2837	2668	2655	2655
q21	3891	3078	3112	3078
q22	1130	997	974	974
Total cold run time: 111955 ms
Total hot run time: 42713 ms

----- Round 2, with runtime_filter_mode=off -----
q1	7289	7218	7279	7218
q2	346	242	239	239
q3	3036	2883	2983	2883
q4	2007	1754	1787	1754
q5	5588	5718	5763	5718
q6	220	141	138	138
q7	2131	1762	1778	1762
q8	3237	3433	3471	3433
q9	8863	8860	8830	8830
q10	3539	3507	3533	3507
q11	591	502	496	496
q12	771	576	608	576
q13	16619	3151	3138	3138
q14	296	282	288	282
q15	575	511	503	503
q16	719	668	672	668
q17	1848	1606	1601	1601
q18	7995	7649	7402	7402
q19	4302	1537	1472	1472
q20	2060	1821	1838	1821
q21	5326	5302	5324	5302
q22	1101	1046	1036	1036
Total cold run time: 78459 ms
Total hot run time: 59779 ms

@dataroaring dataroaring merged commit 5bf0c2a into branch-3.0 Dec 3, 2024
22 of 24 checks passed
@github-actions github-actions bot deleted the auto-pick-44010-branch-3.0 branch December 3, 2024 13:55
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.

3 participants