OperaUser

Nested Job Object

Wed Mar 15, 2017 2:01 am

Opera and other browsers have a parent process, and child processes that run in a job object. Starting with Windows 8, job objects can be nested. I run the parent/broker process in a job object, whereupon Process Hacker doesn't see the nested job object in the child processes.
 
User avatar
viksoftru
Posts: 429
OS: Win7 (Live! DVD), BSD

Re: Nested Job Object

Thu Mar 16, 2017 10:03 am

OperaUser

Kernel-mode driver loaded? If unloaded users says about some problem in Chrome/FireFox that's used package task for tabs and plugin-s isolation.
 
OperaUser

Re: Nested Job Object

Sun Mar 19, 2017 1:11 am

OS: Win 8.1 x64. Process Hacker is 2.39.124
Windows 8 and beyond allows for nested job objects, a 2nd job object within a first. So, I put the parent/broker Opera process in my own job object. The child/renderer processes are put in a 2nd job object by opera. Process Explorer sees the 2nd job object, but doesn't combine it with the 1st. But Process Hacker sees no job object at all. In my own job object, among other things, I make the priority Above_Normal. Once it is in a job object, the priority is kernel enforced, and can't be switched by, say task manager.

I'm probably the only person in the world that does this. For most people, the first, parent process isn't in a job object. Opera puts security on the child processes. I like to put a little security on the parent process.

I compiled my browser starter program using many sources as inspiration.
One source for the job object work was Ulimitnt2.7 https://bitbucket.org/akruis/ulimitnt/src
 
User avatar
viksoftru
Posts: 429
OS: Win7 (Live! DVD), BSD

Re: Nested Job Object

Sun Mar 19, 2017 7:28 pm

The concept of "batch job" was introduced by IBM back in OS / 360 MFT in the early 60's as "Batch job is the minimum OS planning unit consisting of a group of manageable tasks as a whole for the task of the user.".

I do not see the bug in the current implementation, but I think that you can ask for the addition in Process Hacker of the mechanism for displaying the hierarchical structure of the batch job, taking into account the child subtasks as a new useful property.
 
OperaUser

Re: Nested Job Object

Mon Mar 20, 2017 6:03 am

The bug is, in fact, the child processes is in 2 job objects, whereas Process Hacker shows 0. It's not a big deal for me but, it is a bug.
My workaround is to use process explorer if I'm wondering what Opera's job object parameters are.
The overview of nested job objects:
https://msdn.microsoft.com/en-us/librar ... 85%29.aspx
 
User avatar
viksoftru
Posts: 429
OS: Win7 (Live! DVD), BSD

Re: Nested Job Object

Mon Mar 20, 2017 9:13 am

And you do not have an error in the Process Hacker settings or verification method? The KProcessHacker3 driver is running and being used? You have not yet answered this question, so it is likely that you simply do not have this driver running or its parameters are not correct.

Without confirmation that the applied verification technique is correct and does not create an additional error in the results, it is inadmissible to assert "The result obtained is reliable" since any error in the procedure with non-zero probability distorts the result, and thus calls into question the assertion of its reliability.

In the meantime, we only have a measuring tool - your workaround with an unknown set of properties, an auxiliary tool - ulimitnt, a test stand - Win 8.1 OS with an unknown set of settings and in an unknown state and unverified result.

Too many unverified, random effects and assumptions for saying "The result is reliable, confirmed". Moreover, with such a statement of the experiment, the probability of obtaining an erroneous result tends to unity, and therefore the obtained result can not be trusted.

This is the basics of metrology, which are always taken into account when carrying out any tests or measurements and which are taught in the first year of any technical university.

Who is online

Users browsing this forum: Yahoo and 3 guests