Re: [RFC PATCH v1 2/2] proc: add /proc/<pid>/thread_state

From: Arjan van de Ven
Date: Mon Nov 12 2018 - 09:21:21 EST



I'd prefer the kernel to do such clustering...

I think that is a next step.

Also, while the kernel can do this at a best effort basis, it cannot
take into account things the kernel doesn't know about, like high
priority job peak load etc.., things a job scheduler would know.

Then again, a job scheduler would likely already know about the AVX
state anyway.

the job scheduler can guess.
unless it can also *measure* it won't know for sure...

so even in that scenario having a decent way to report actuals is useful