diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-11-25 12:05:39 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-11-25 17:34:17 +0100 |
commit | a0e27322bebf5443ef895cb4c43d9288bcf13f9f (patch) | |
tree | 1442d0f05b7f0706c356a62208a5973aea86ce79 /lotuswordpro | |
parent | 89f64b9f0dcdc27fdc6827b5aca42af1b38ede25 (diff) |
use even hyper-thread cores for Calc threading
I assume the threading was originally limited only to real cores
because that's how many FPUs there are in the CPU. But Calc
dynamically allocates many data structures (ScFormulaCell most
notably), which means they end up scattered all over the memory,
and processing them often stalls on memory reads, leaving time
for other HT core to run. For data-heavy documents (such as using
VLOOKUP) using HT cores saves 30%, but I can see 10+% gains
even for compute-heavy documents.
Change-Id: I302b17e55f27541606d922a1f0b27005ce0f0ba8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125801
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'lotuswordpro')
0 files changed, 0 insertions, 0 deletions