Bug 63554 - Put every application in different CPU process
Summary: Put every application in different CPU process
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.1.0.0.alpha0+ Master
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-15 12:28 UTC by Cleber Santz
Modified: 2019-02-24 22:26 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cleber Santz 2013-04-15 12:28:25 UTC
Today if I open a Text, 2 spreadsheets and 1 presentation they all will be running at "soffice.bin" process. If I need work with a huge spreadsheet ( >10 hundred lines, several columns and many formulas) LibreOffice sometimes "freezes" waiting to finish the operation (Column resize, formula update, etc) and this kind of operations take sometimes up to 30min. I know that huge documents sometimes take too long to process and that's will not be a problem for the user if he still can work with others opened documents, but because all LibreOffice documents are all opened in the "soffice.bin" if one document stops/freeze all others documents that I have opened will freeze too. If we could have every document in a different CPU process we will still can work with others documents even if one document is freezed.
Comment 1 Jorendc 2013-04-15 13:50:46 UTC
Thanks for reporting.

Seems interesting to see some developers input here. I'm not aware if it is possible, and if so how hard it is to implement. (seems quite hard).

But, as far I can see this is a valid request. Therefore I mark it as an enhancement request and NEW.

Kind regards,
Joren
Comment 2 Eike Rathke 2013-04-15 14:21:59 UTC
This would need to make all code thread safe. Which may not be entirely impossible but would take more than huge effort. More promising probably would be to start thread safety where possible and have parts of the applications run in different threads. Specifically for Calc, work is continuously ongoing into that direction, but it will need much work and take much time.

Summing up, the general "one thread per document" is a nice wish, but IMHO not something we need to have to linger around in the bug tracker.

Just my 0.02
Comment 3 Markus Mohrhard 2013-04-15 17:57:13 UTC
And of course starting two instances with different user profiles will help you already with that.
Comment 4 Cleber Santz 2013-04-15 18:08:35 UTC
What do you mean with "different user profiles" ? 2 different users, one for each application ? Of course this works but is not usefull, especially on MS Windows.

I think that, starting each app (Calc, Writer, Impress, etc) in a different CPU process, like MS Office does, can be one initial step.