Author Topic: Watchdog CPU affinity problems with >30 cores  (Read 733 times)

Offline NicholasJS

  • New
  • *
  • Posts: 2
Watchdog CPU affinity problems with >30 cores
« on: September 29, 2018, 06:49:19 PM »
I was using process lasso and user names to keep some processes keyed to specific cores (e.g. process.exe:user_proc1 would limit to cores 1-3).  I've gotten a 2990wx recently and I decided to do the same thing, however I am running into a problem with watchdog if I use an affinity greater than 30.  I hope the screenshots I've included help.  If I add affinities with the lower logical core of >30 (e.g. 31-41) it will be blank.  If I have a lower affinity starting below 31 but go above 30 with the higher numbered logical core, the column will correctly fill out.  The problem that occurs in both cases is processes matching the aforementioned rules the process is then limited to 0-30.  Closing and reopening the window for watchdog then shows 0-30 as the affinity set.  It seems that an affinity set past 30 will break watchdog.  Here's a copy of my ini Advanced Rules if I set up for handbrake.  The first rule is for cores 0-15, the second is for 16-31 (if I remember correctly):

Code: [Select]
[AdvancedRules]
DivideCPUPercentThresholdsBySystemCPUCount=false
WatchdogRules2=handbrake.exe:user_proc1;2;1;1;1000;255;3;1;-;-;-;-,handbrake.exe:user_proc2;2;1;1;1000;4294901760;3;1;-;-;-;-

Hopefully the information I've provided helps.  If you need anything else please let me know.

Nick

Edit: It was 0-30 that everything gets reset to.  Not 1 to 30. 
« Last Edit: September 29, 2018, 06:51:31 PM by NicholasJS »



Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5206
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Watchdog CPU affinity problems with >30 cores
« Reply #1 on: September 30, 2018, 05:57:23 PM »
I found an old 32-bit bitmask buried in some dialog code. A tentative fix is in v9.0.0.487 beta.
« Last Edit: September 30, 2018, 06:59:12 PM by Jeremy Collake »
Software Engineer. Bitsum LLC.

Offline NicholasJS

  • New
  • *
  • Posts: 2
Re: Watchdog CPU affinity problems with >30 cores
« Reply #2 on: October 02, 2018, 09:38:01 PM »
okay, sounds good. Ty.

Offline edkiefer

  • Volunteer User Moderator
  • Member#
  • *****
  • Posts: 1639
  • Gender: Male
Re: Watchdog CPU affinity problems with >30 cores
« Reply #3 on: October 22, 2018, 09:35:58 AM »
If I am not mistaken this should be fixed in release now (9.0.0.502).
Bitsum QA Engineer

Offline Jeremy Collake

  • Administrator
  • Member#
  • *****
  • Posts: 5206
  • Gender: Male
  • The Lasso
    • Bitsum
Re: Watchdog CPU affinity problems with >30 cores
« Reply #4 on: November 02, 2018, 11:29:53 AM »
Yes, it is/was! Thanks Ed.
Software Engineer. Bitsum LLC.