Usage of all processors by LibreOffice

Does anybody know why LibreOffice does not use all available processors in a computer? GIMP does. I couldn’t find an answer on their web site (the web site has tablet mentality).

Should I consider compiling from source with a hope that there will be an option to enable usage of several processors? Until now, I have installed OpenOffice and LibreOffice from rpm-s.

What about Microsoft Office? Can it use several processors?

Hopefully you got the rpms from openSUSE repos. If not then un-install and install from repos.
You can use one-clicks from here software.opensuse.org:
Remember to use correct 1 -Click relevant to your openSUSE version

On 03/29/2013 10:26 AM, ZStefan wrote:
> why LibreOffice does not use all available processors

what part of LibreOffice does such complex things that using more
than one process would speed anything up any?

i mean, like if you are typing into Writer, Calc or whatever i’d
guess it is using maybe 10 CPU cycles out of 1000 and the other 990
it spends waiting for your next keystroke!

and throwing another 1 or 10 CPU cores at waiting won’t do anything
but wait more inefficiently.


dd

Is that the problem you run into
https://bbs.archlinux.org/viewtopic.php?id=148492
it seems to be LO 3.6 specific


PC: oS 12.3 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.10.0 | GTX 650 Ti
ThinkPad E320: oS 12.3 x86_64 | i3@2.30GHz | 8GB | KDE 4.10.0 | HD 3000
HannsBook: oS 12.3 x86_64 | SU4100@1.3GHz | 2GB | KDE 4.10.0 | GMA4500

Am 29.03.2013 14:24, schrieb Martin Helm:
> Is that the problem you run into
> https://bbs.archlinux.org/viewtopic.php?id=148492
> it seems to be LO 3.6 specific
>
Before I forget, give the calligra office suite a go (it matured a lot).


PC: oS 12.3 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.10.0 | GTX 650 Ti
ThinkPad E320: oS 12.3 x86_64 | i3@2.30GHz | 8GB | KDE 4.10.0 | HD 3000
HannsBook: oS 12.3 x86_64 | SU4100@1.3GHz | 2GB | KDE 4.10.0 | GMA4500

On 2013-03-29 14:02, dd wrote:
> On 03/29/2013 10:26 AM, ZStefan wrote:
>> why LibreOffice does not use all available processors
>
> what part of LibreOffice does such complex things that using more than
> one process would speed anything up any?

Calc sheets recalc.

Indexing a large document.

To mention two. I have had to wait for OO to redraw after some
operations. :slight_smile:


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

On 03/29/2013 03:38 PM, Carlos E. R. wrote:
> To mention two. I have had to wait for OO to redraw after some
> operations.

i do not disagree, but i think the problem is more because of it
being written single threaded, rather than single processor…

as far as i know LibreOffice’s roots go back to last century’s
(1980s) StarOffice which was purpose built to run on single user,
single threaded, single processor, 8 bit DOS of the day…and, though
lots have been done to try to make it better use multi-user,
multi-threading, multi-processor 64 bit systems–it remains
constrained by its roots…

waiting for a process to end, before the redraw occurs will continue
to be a problem until the various process calculations can be done in
various separate threads spawned off and not needing to be performed
one-process-at-a-time…

that programming has not yet be done–as far as i know…so, throwing
1 or 22 additional processors at it won’t help much…because the
logic needed to ‘know’ how to do different things in different
threads on different processors isn’t there…yet.

of course i could be wrong…maybe it is ready to spawn independent
threads off to . . .

so, ymmv


dd

On 2013-03-29 16:07, dd wrote:
> On 03/29/2013 03:38 PM, Carlos E. R. wrote:
>> To mention two. I have had to wait for OO to redraw after some
>> operations.
>
> i do not disagree, but i think the problem is more because of it being
> written single threaded, rather than single processor…

I hope that at least parts of it have been rewriten to make use of
threads in these years :slight_smile:

AFAIK threading is still a subject that is not fully developed, though.
We do not have languages that make full use of parallellization (is
spelling right?), even less automatically. AFAIK, again, things can
change pretty fast. What one knows one year can be rubbish on the next. :-}


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

No, I work with large text documents, not spreadsheets, and I also see only one processor used.

Once you begin working with 100-page documents with large pictures - either vector or pixel - LibreOffice shows all its weaknesses. Scrolling from bottom to top may take 5 minutes, even in do-not-display-graphics mode. Saving may take 10 minutes. Exporting and printing may take 15 minutes. And during all these operations only one processor is used, to 100%.

Long live GIMP developers! I appreciate their work every time I work with a large photograph. In GIMP, you an configure how to use available processors.

But what are they thinking at the Document Foundation?

  • Essentially, there is no compatibility with Microsoft Word beyond simple text.
  • Formulas don’t stick to line.
  • Export to pdf does not maintain the vector nature of embedded graphics.
  • Large documents are extremely slow to work with.
  • It is impossible to assign more than 256 MB of RAM to graphics cache, meanwhile my PC has 16 GB, most of which is free.
  • Rendering is in terrible state.
  • Only one processor is used.
  • Menus are difficult to comprehend because of lack of understandable words and sentences.

Maybe they need programmers who would dare to dig into ancient code base and not just call old functions? The code seems to be full of unnecessary steps and loops. Or they don’t understand how much do they fall behind? “Fancy 3D star” is a newly introduced feature…

There are 15 members in Engineering Steering Committee (ESC). One wonders what are they thinking about (Fancy Stars maybe?). Have they ever written a large document with LibreOffice, and waited 30 minutes to scroll to top, then bottom, then save? Same is the story with OpenOffice.

“Lack of leadership, insufficient innovation, no focus, no daring, no perspective vision, disorganization” - this is what a sent business analyst-auditor would find out. If he could even start to work…