]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Increase queue size for WorkStream::run operation as a result of some timing
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 23 Nov 2013 17:05:53 +0000 (17:05 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 23 Nov 2013 17:05:53 +0000 (17:05 +0000)
efforts.

git-svn-id: https://svn.dealii.org/trunk@31773 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/numerics/data_out.cc

index 29a5a97bc14668f30377fe3026d8c79a0760451a..8ac46cd8e57068ef6a9d8b706504cf0b92deba5b 100644 (file)
@@ -454,7 +454,13 @@ void DataOut<dim,DH>::build_patches (const Mapping<DH::dimension,DH::space_dimen
                     // no copy-local-to-global function needed here
                     std_cxx1x::function<void (const ::dealii::DataOutBase::Patch<DH::dimension, DH::space_dimension> &)>(),
                      thread_data,
-                     sample_patch);
+                     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)
+                    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.