Can we run ZGC without tmpfs/hugeltbfs

Sundara Mohan M m.sundar85 at gmail.com
Thu Jun 27 23:12:39 UTC 2019


Hi,
  Just started learning about ZGC and trying it out. My understanding was
it uses tmpfs so that it access use LargePages from OS automatically.

Since i have my tmpfs size is smaller than my heap size, it is giving
warning message when i start jvm with ZGC. To overcome this i have to
provide ZPath which requires mounting hugetlbfs.

Questions
1. Is there a way to start ZGC without tmpfs/hugetlbfs?
2. Is there any other tuning variables other than Concurrent or Parallel GC
threads or Memory?
3. is enabling LargePage support mandatory? what is the impact if we dont
enable it?

Please point me in the right direction to learn more about ZGC and
techniques used in this (memory mapping/huge pages specific to ZGC).

Thanks
Sundar


More information about the zgc-dev mailing list