Bitsum Community Forum

General Category => Process Lasso => Topic started by: egon64 on February 01, 2020, 10:43:08 PM

Title: I/O priority not being restored to normal after restraint
Post by: 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
Title: Re: I/O priority not being restored to normal after restraint
Post by: edkiefer on February 01, 2020, 11:25:16 PM
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.
Title: Re: I/O priority not being restored to normal after restraint
Post by: 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
Title: Re: I/O priority not being restored to normal after restraint
Post by: edkiefer on February 02, 2020, 07:56:35 AM
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.
Title: Re: I/O priority not being restored to normal after restraint
Post by: 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
Title: Re: I/O priority not being restored to normal after restraint
Post by: edkiefer on February 02, 2020, 08:14:22 AM
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.
Title: Re: I/O priority not being restored to normal after restraint
Post by: egon64 on February 02, 2020, 08:33:24 AM
windows 7 64 bit all updates
using now PL 9.6.0.68
it started with previous version
Title: Re: I/O priority not being restored to normal after restraint
Post by: Jeremy Collake on February 02, 2020, 02:34:41 PM
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.
Title: Re: I/O priority not being restored to normal after restraint
Post by: 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
Title: Re: I/O priority not being restored to normal after restraint
Post by: edkiefer on February 02, 2020, 07:58:29 PM
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).
Title: Re: I/O priority not being restored to normal after restraint
Post by: Jeremy Collake on February 03, 2020, 02:57:53 AM
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.
Title: Re: I/O priority not being restored to normal after restraint
Post by: egon64 on February 03, 2020, 06:39:43 AM
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
Title: Re: I/O priority not being restored to normal after restraint
Post by: Jeremy Collake on February 04, 2020, 07:48:05 AM
Is that poetry? ;)
Title: Re: I/O priority not being restored to normal after restraint
Post by: egon64 on February 04, 2020, 10:56:37 AM
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