<div dir="ltr">Hi Luboš,<br><br>Many thanks for your thoughts on the checkbox, which confirms what I expected.<br><br>As for the processing itself, I remain unclear about how Calc allocates tasks to threads. Can we give the user any general advice on how he could structure his spreadsheet to gain the maximum performance benefits from the availability of multiple cores? Or maybe there are ways to organise a spreadsheet that will frustrate Calc's attempts to multi-thread, which we ought to advise against?<br><br>Any further help would be greatly appreciated.<br><br>Regards,<br><br>Steve</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 23 Apr 2020 at 09:58, Luboš Luňák <<a href="mailto:l.lunak@collabora.com">l.lunak@collabora.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wednesday 22 of April 2020, Olivier Hallot wrote:<br>
> Hi Developers<br>
><br>
> Can charitable soul involved with threading in Calc spend a couple of<br>
> minutes to write an outline of what we should look to write a section on<br>
> the topic in our guide and Help? Just the outline and some pointers for<br>
> our investigation.<br>
><br>
> We think this feature is a plus, but it is not clear if and how an end<br>
> user will benefit.<br>
<br>
 The "Enable multi-threaded calculation" checkbox is one of those settings <br>
that aren't actually a preference, in an ideal world they should always be <br>
enabled, and in fact shouldn't even exist as the thing should Just Work(TM). <br>
We have others like that, 'Allow use of OpenCL', 'Use OpenGL/Skia for all <br>
rendering', etc. So AFAICT the purpose of those settings is to admit that we <br>
don't live in an ideal world and the setting allows people to disable the <br>
feature in case it turns out it's buggy (which incidentally is relatively <br>
more likely for all the settings I mentioned).<br>
<br>
 So the way I see it the best thing the docs can say about it is something <br>
along the lines of "this does roughly that, don't touch it unless you know <br>
you want to touch it".<br>
<br>
...<br>
> One of the issues we chose to ignore in the 6.2 Calc Guide was<br>
> multi-threading. The 6.2 Calc Guide contains the following mention of it,<br>
> when describing the Tools > Options > LibreOffice Calc > Calculate page:<br>
><br>
> CPU threading settings section<br>
> Enable multi-threaded calculation controls the use of multi-threading /<br>
> parallelism, which can be used to speed up LibreOffice Calc calculations on<br>
> computers with multiple processing cores.<br>
<br>
-- <br>
 Luboš Luňák<br>
 <a href="mailto:l.lunak@collabora.com" target="_blank">l.lunak@collabora.com</a><br>
</blockquote></div>