repeat
repeat

Reputation: 18726

Advising Prolog processor to utilize huge-pages

Are there any Prolog implementations which support utilizing huge-pages (2MB/4MB per memory page) instead of the vanilla 4Kb memory pages.

Ideally, I would like to declare to the interpreter/compiler/run-time that it's okay to use X huge-pages for various heaps/stacks/scratchpad-memory for some particular application.

Of course, not all applications could benefit from this, but I am sure that there are more than a few that would. Megabytes are the new kilobytes, after all:)

Upvotes: 16

Views: 199

Answers (1)

user502187
user502187

Reputation:

Since some Prologs runs on the Java JVM, and since some Java JVMs have a flag for that, I guess the answer is yes. See also:

Java Support for Large Memory Pages
http://www.oracle.com/technetwork/java/javase/tech/largememory-jsp-137182.html

There are a couple of Prologs running on the Java JVM:

Comparison of Prolog implementations
https://en.wikipedia.org/wiki/Comparison_of_Prolog_implementations

Bye

Upvotes: 6

Related Questions