Slowdown after LibreOffice printing

New to SolydXK? This is the place to start.
Please check the other subforums to see if there's a more suitable place for your question.
sxphild
Posts: 27
Joined: 04 Jul 2016 10:30
Location: Iowa, USA

Slowdown after LibreOffice printing

Postby sxphild » 01 May 2017 02:18

I have LibreOffice 5.2.3.3 installed.
Machine is Dell Dimension 3000 Pent 4 2G ram.
Using SolydX 32-bit 201607.

I think I might have installed this from a DEB package ( using
GDebi ). I see from the forum posts this may be a no-no.

Anyway, It's been running fine, except for one issue:

Many times, after I print a document from LO, The whole O/S
seems to "slow down" a bit - There is a 1-2 second delay to close a
window after clicking. Same with opening any window - including
File Manager wins. And When I close a File Mgr window you can see
the window scroll up..

And of course everything else is delayed or slowed too.

I found a pretty easy instant sure, though..
I restart "X" ( Ctrl-Alt-Backspace).

Still this is inconvenient. Does anyone have a suggestion?
Should I go back to the LO version in Synaptic ( I think it's 4.x )?

THanks,

Phil

User avatar
xendistar
Posts: 361
Joined: 08 Jun 2014 08:17
Location: Bournemouth, UK

Re: Slowdown after LibreOffice printing

Postby xendistar » 01 May 2017 07:56

When you next get the slow down, open a terminal screen and type

top

And you should get a screen similar to attached image

Screenshot_2017-05-01_08-48-56.png


Look at the line below the slime green highlighted line (yours maybe white dependant on the coloured used in your terminal window), look for the program name at the far right and the figure under CPU (these figure will change every couple of seconds as it constantly updates). You will be able to see if there is a program hogging the processor, thus slowing the PC down.

sxphild
Posts: 27
Joined: 04 Jul 2016 10:30
Location: Iowa, USA

Re: Slowdown after LibreOffice printing

Postby sxphild » 02 May 2017 02:03

Hi xendistar,

OK. Done.
This afternoon I printed something, and the slowdown happened.
I opened a term and ran "top"

Xorg takes most of the CPU %, but that isn't much, and not
consistently. CPU% for Xorg varied from 2% to 30% - more for a moment
whenever I opened or closed a File Mgr window.

When I opened a LibreOffice Writer DOC, it shot up to 40-60% for a moment,
then down again.

I did Ctrl-Alt-Backspace to restart "X", then repeated "top" to compare.

To be honest, to my eye I couldn't see any significant differences...yet there was no
slowdown at that point - everything responded snappily.

I'll continue to watch "top" when it slows down. Anything else I should consider?

BTW, I had read a post somewhere that suggested reducing "swappiness" setting, so
disk wouldn't be used as virtual memory when RAM usage was above 60% ( the default
setting ). So I had already changed swappiness to 10.

Thanks for your help..

Phil

User avatar
xendistar
Posts: 361
Joined: 08 Jun 2014 08:17
Location: Bournemouth, UK

Re: Slowdown after LibreOffice printing

Postby xendistar » 02 May 2017 06:35

I won't even suggest that I know enough about swappiness to tell you what you should do, but the rule of thumb does suggest the smaller the amount of ram the larger the "swappiness" number should be.

Have a read of this

https://unix.stackexchange.com/questions/88693/why-is-swappiness-set-to-60-by-default

I would also suggest returning your swappiness back to 60 until you have found what is causing the slowdown on your PC. Once that is resolved then experiment with swappiness if you want.

kurotsugi
Posts: 1952
Joined: 09 Jan 2014 00:17

Re: Slowdown after LibreOffice printing

Postby kurotsugi » 03 May 2017 01:50

The default value has most likely been chosen as an approximate middleground between these two extremes. As with any performance parameter, adjusting vm.swappiness should be based on benchmark data comparable to real workloads, not just a gut feeling.
the value was determined long time ago and might not suitable for modern system. it's a known issue that using swap will slowdown your system. user commonly reduce swappiness to 10 when they feel their system is slowing down.


Return to “Newbie Questions”

Who is online

Users browsing this forum: No registered users and 1 guest