-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit refines our Hybrid backend. So far, we always were in a position where the JIT compiled code performs best. As a result, the hybrid backend wasn't very dynamic. As we now have a much faster interpreter, dynamic switching becomes much more important. We now collect exponentially decaying averages of the tuple throughput of the different backend to use as a decision on which backend to prefer. By default, we try 10% of morsels in the Interpreter, 10% of morsels in the JIT compiled code (once it's ready), and the remaining 80% are run in the backend with higher tuple throughput. If we notice that one backend perform much better however we dynamically increase the fraction of morsels we are running in the faster backend. In extreme cases, we only run 2.5% of morsels in the slower backend.
- Loading branch information
Showing
2 changed files
with
54 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters