Re: [PATCH] precise time accounting using TSC for 2.2.14

From: Jan Astalos (astalos@tuke.sk)
Date: Fri Feb 04 2000 - 03:59:02 EST


Pavel Machek wrote:
>
> Hi!
>
> > This patch contains improved time accounting for uniprocessor machines
> > with TSC counter.
>
> I like this (and wanted to actually write this myselves).
>
> Unfortunately, it is (almost) impossible to get this into 2.2.14. You
> should make 2.3.X your target.
>

I hoped that some kernel guru will take my outline and open a discussion
about how it really should work. I made it from my point of view (HPC
clusters with load arround 1 and possibly high number of context
switches between communicating tasks). But it should be interesting also
for sysadmins with need for correct accounting.

Unfortunately, I don't have enough time to make an SMP version in the
near future. I think, that it should be solved before the patch will go
into kernel tree (another points for discussion: should it go ?, to
which thread ?). Also, it's possible (if I got it right) to use one of
MSRs to count cycles in privileged mode...

I'm contented about how it is working now and I really don't have time
to waste if no one else need it, sorry. If there really IS public need
for this, I would be happy if some guru could take care of it...

Jan

PS: If there is no public interest in this topic we can discuss it off
the list.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:10 EST