DLB can now turn off, when slower
commit147de64dbddc074f53acf360662cee0644b7b75b
authorBerk Hess <hess@kth.se>
Tue, 11 Oct 2016 20:08:02 +0000 (11 22:08 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Fri, 28 Oct 2016 18:21:56 +0000 (28 20:21 +0200)
treefb393107f0d3bdfeb655533cfccb8f4613b91bf6
parent998376988c619daf8dfa064d69fc726d6c058534
DLB can now turn off, when slower

Under certain conditions, especially with (shared) GPUs, DLB can
decrease the performance. We now measure the cycles per step before
turning on DLB. When the running average of cycles per step with DLB
gets above the average without DLB, we turn off DLB. We then measure
again without DLB. DLB can then turn on again. If we turn on DLB of
DLB multiple times in close succesion and we measure performance loss,
we keep DLB off for the remainder of the run. This procedure ensures
that the performance will never deteriorate due to DLB.
Updated and expanded the DLB section in the manual.

Change-Id: I6e0291c1a41adf6da94fae46d36e0fcb95585a02
docs/manual/algorithms.tex
src/gromacs/domdec/domdec.cpp
src/gromacs/domdec/domdec_internal.h