RFR: 8271195: Use largest available large page size smaller than LargePageSizeInBytes when available [v4]
Swati Sharma
duke at openjdk.java.net
Mon Feb 14 12:21:06 UTC 2022
> Hi Team,
>
> In this patch I have fixed two issues related to large pages, following is the summary of changes :-
>
> 1. Patch fixes existing large page allocation functionality where if a commit over 1GB pages fails allocation should happen over next small page size i.e. 2M where as currently its happening over 4kb pages resulting into significant TLB miss penalty.
> Patch includes new JTREG Test case covering various scenarios for checking the correct explicit page allocation according to the 1G, 2M, 4K priority.
> 2. While attempting commit over larger pages we first try to reserve requested bytes over the virtual address space, in case commit to large page fails we should be un reserving entire reservation to avoid leaving any leaks in virtual address space.
>
>
> Please find below the performance data with and without patch for the JMH benchmark included with the patch.
>
> 
>
>
> Please review and provide your valuable comments.
>
>
>
> Thanks,
> Swati Sharma
> Runtime Software Development Engineer
> Intel
Swati Sharma has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
- Merge branch 'openjdk:master' into JDK-8271195
- 8271195: Review comments resolved.
- 8271195: Review comments resolved.
- 8271195: Resolving jcheck failure.
- 8271195: Use largest available large page size smaller than LargePageSizeInBytes when available
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/7326/files
- new: https://git.openjdk.java.net/jdk/pull/7326/files/fadcb5b9..813ce0e3
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7326&range=03
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7326&range=02-03
Stats: 16078 lines in 454 files changed: 11917 ins; 2152 del; 2009 mod
Patch: https://git.openjdk.java.net/jdk/pull/7326.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/7326/head:pull/7326
PR: https://git.openjdk.java.net/jdk/pull/7326
More information about the hotspot-gc-dev
mailing list