]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improve further.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 23 Nov 2013 18:24:05 +0000 (18:24 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 23 Nov 2013 18:24:05 +0000 (18:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@31774 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/numerics/data_out.cc

index 8ac46cd8e57068ef6a9d8b706504cf0b92deba5b..d242eaa816d6fabc34da0dd66954936a5dab17fd 100644 (file)
@@ -455,11 +455,13 @@ void DataOut<dim,DH>::build_patches (const Mapping<DH::dimension,DH::space_dimen
                     std_cxx1x::function<void (const ::dealii::DataOutBase::Patch<DH::dimension, DH::space_dimension> &)>(),
                      thread_data,
                      sample_patch,
-                    2*multithread_info.n_threads(),
                     // experimenting shows that we can make things run a bit
-                    // faster if we increase the number of items in flight at
-                    // any given time (about 10% on the testcase discussed in
-                    // @ref workstream_paper, on 32 cores)
+                    // faster if we increase the number of cells we work on
+                    // per item (i.e., WorkStream's chunk_size argument,
+                    // about 10% improvement) and the items in flight at any
+                    // given time (another 5% on the testcase discussed in
+                    // @ref workstream_paper, on 32 cores) and if
+                    8*multithread_info.n_threads(),
                     64);
 }
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.