You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update MT planner to alternate query and construct and tree removal steps. This way only a subset of trees will be held in memory simultaneously allowing to set a max memory.
This will potentially reduce the parallel scaling efficiency due to the increased number of MT jobs.
The text was updated successfully, but these errors were encountered:
but at the lower bound for n_tries the build jobs are not parallelized because only one trie can be built at the same time. Hence, a good choice may be:
n_tries = n_threads*min_n_tries
and then schedule the jobs with the following order:
BUILD PHASE build(0), build(1), build(2) ... build(n_threads-1) SEQUENTIAL QUERY AND FREE all query(0) then free(trie(0)) and schedule build(n_threads) all query(1) then free(trie(1)) and schedule build(n_threads+1)
... all query(n_threads) then free(trie(n_threads)) and schedule build(2*n_threads)
Also, it'd be advantageous to make a priority scheduler, where build jobs have higher priority than query jobs, mainly because they are much longer and block the subsequent query jobs.
ezorita
changed the title
Tree memory limit
Trie memory limit
Jul 8, 2016
Update MT planner to alternate query and construct and tree removal steps. This way only a subset of trees will be held in memory simultaneously allowing to set a max memory.
This will potentially reduce the parallel scaling efficiency due to the increased number of MT jobs.
The text was updated successfully, but these errors were encountered: