Author Topic: I/O priority not being restored to normal after restraint  (Read 1935 times)

Offline egon64

  • New
  • *
  • Posts: 7
I/O priority not being restored to normal after restraint
« 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

Offline edkiefer

  • Volunteer User Moderator
  • Member#
  • *****
  • Posts: 1789
  • Gender: Male
Re: I/O priority not being restored to normal after restraint
« Reply #1 on: February 01, 2020, 11:25:16 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

Offline egon64

  • New
  • *
  • Posts: 7
Re: I/O priority not being restored to normal after restraint
« Reply #2 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

Offline edkiefer

  • Volunteer User Moderator
  • Member#
  • *****
  • Posts: 1789
  • Gender: Male
Re: I/O priority not being restored to normal after restraint
« Reply #3 on: February 02, 2020, 07:56: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

Offline egon64

  • New
  • *
  • Posts: 7
Re: I/O priority not being restored to normal after restraint
« Reply #4 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

Offline edkiefer

  • Volunteer User Moderator
  • Member#
  • *****
  • Posts: 1789
  • Gender: Male
Re: I/O priority not being restored to normal after restraint
« Reply #5 on: February 02, 2020, 08:14:22 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

Offline egon64

  • New
  • *
  • Posts: 7
Re: I/O priority not being restored to normal after restraint
« Reply #6 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

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5411
  • Gender: Male
  • The Lasso
    • Bitsum
Re: I/O priority not being restored to normal after restraint
« Reply #7 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.
Software Engineer. Bitsum LLC.

Offline egon64

  • New
  • *
  • Posts: 7
Re: I/O priority not being restored to normal after restraint
« Reply #8 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

Offline edkiefer

  • Volunteer User Moderator
  • Member#
  • *****
  • Posts: 1789
  • Gender: Male
Re: I/O priority not being restored to normal after restraint
« Reply #9 on: February 02, 2020, 07:58:29 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

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5411
  • Gender: Male
  • The Lasso
    • Bitsum
Re: I/O priority not being restored to normal after restraint
« Reply #10 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.
Software Engineer. Bitsum LLC.

Offline egon64

  • New
  • *
  • Posts: 7
Re: I/O priority not being restored to normal after restraint
« Reply #11 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
« Last Edit: February 03, 2020, 02:31:10 PM by egon64 »

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5411
  • Gender: Male
  • The Lasso
    • Bitsum
Re: I/O priority not being restored to normal after restraint
« Reply #12 on: February 04, 2020, 07:48:05 AM »
Is that poetry? ;)
Software Engineer. Bitsum LLC.

Offline egon64

  • New
  • *
  • Posts: 7
Re: I/O priority not being restored to normal after restraint
« Reply #13 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