I/O priority not being restored to normal after restraint

Started by egon64, February 01, 2020, 10:43:08 PM

Previous topic - Next topic

egon64

i clicked the box: "lower I/O priority during restraint"
and now i'm seeing unexpected behaviour

I/O priority not being restored to normal after restraint.
and I/O priority lowerd for processes that have never been restrained

i think this feature warrants a closer look

edkiefer

Quote from: egon64 on February 01, 2020, 10:43:08 PM
i clicked the box: "lower I/O priority during restraint"
and now i'm seeing unexpected behaviour

I/O priority not being restored to normal after restraint.
and I/O priority lowerd for processes that have never been restrained

i think this feature warrants a closer look
Thanks for the report we will look into it.

Seems to be working ok here, but will check further.
Bitsum QA Engineer

egon64

here is how to recreate one of the instances

install a game and run it for the first time until it's being restrained.
alt tab to process lasso exclude the game from probalance
and now the game is always running with low I/O priority

edkiefer

Quote from: egon64 on February 02, 2020, 07:32:35 AM
here is how to recreate one of the instances

install a game and run it for the first time until it's being restrained.
alt tab to process lasso exclude the game from probalance
and now the game is always running with low I/O priority
You should set the game as "performance mode" then it won't get restrained.
Bitsum QA Engineer

egon64

yes i did that later
and i also manually change I/O priority  back to normal

but i expected to have the I/O priority automatically restored to normal

edkiefer

Quote from: egon64 on February 02, 2020, 08:11:27 AM
yes i did that later
and i also manually change I/O priority  back to normal

but i expected to have the I/O priority automatically restored to normal
I tried your steps and for me as soon as I used the "exclude from Probalance" option both CPU and I/O priorities went back to normal (load process running in the background).
It should of if you closed and reopened it, will look into it deeper.

Oh, please give info on OS and PL versions your using.
Bitsum QA Engineer

egon64

windows 7 64 bit all updates
using now PL 9.6.0.68
it started with previous version

Jeremy Collake

From your description, I am not confident that Process Lasso is the culprit of the persistently lowered I/O priorities.

Definitely it wouldn't affect any processes ProBalance never acted on, and the code surrounding the restoration of I/O priorities after a ProBalance action seems solid.

After enabling "Lower I/O priority during restraint", I tested your scenario of excluding a process while it is being acted on by ProBalance and didn't see the I/O priority change persist.

1. Are the I/O priorities you see 'Low' or 'Very Low'. ProBalance only ever sets 'Very Low'.
2. Are you seeing log entries indicating ProBalance did indeed act on this game? Or inferring it from priority changes? What game is it? It is not unreasonable for a game (or platform) to lower its own I/O priority when it is moved to the background.
Software Engineer. Bitsum LLC.

egon64

figured it out now
the game launcher is a separate process and it was also being restrained
so the game inherited the Very Low I/O priority from the launcher

inheritance is probably the reason why i'm seeing some other processes with very low I/O priority even though they were never restrained themselves

edkiefer

Quote from: egon64 on February 02, 2020, 06:39:40 PM
figured it out now
the game launcher is a separate process and it was also being restrained
so the game inherited the Very Low I/O priority from the launcher

inheritance is probably the reason why i'm seeing some other processes with very low I/O priority even though they were never restrained themselves
Yes, that can for sure happen, the launcher (parent) will transfer it's priority and affinity values to the child (game).
Bitsum QA Engineer

Jeremy Collake

That makes sense. I'm glad you tracked it down!

Best current advice is to exclude any launcher from ProBalance. However, I'll spend some time considering this scenario, and whether any adjustments should be made to mitigate it.
Software Engineer. Bitsum LLC.

egon64

on a lighter note

i have a bunch of parentless children running with very low priority  :o 

their parents got restrained and exited

who's gonna take care of the orphan children now

i guess no one because they have very low priority  ::)

i have heard that Mr. Unix often exterminate orphan children, but i don't know if i dare to call him for help

after all i'm just glad that they didn't turn out to be zombies

Jeremy Collake

Software Engineer. Bitsum LLC.

egon64

is it computer jargon mixed with english
i don't know im just pressing keys in random sequences
the reader then interpret the result to whatever they want