Re: [PATCH] Add kallsyms_lookup() result cache

From: Brent Casavant
Date: Tue Jun 22 2004 - 14:57:25 EST


On Sat, 19 Jun 2004, Albert Cahalan wrote:

> I'm not so sure anything needs to be fixed, save for SGI upgrading
> to a more modern procps. There are many more important things:

OK, I looked into this more closely, and gave procps 3.2.1 a spin.
This gives us a similar speedup (top now only consumes 60% of a CPU)
to that which I obtained by cacheing symbol lookups and using an old
procps. This difference is certainly explainable by top now only
obtaining wchan information for displayed processes.

60% is far better than 800%, so this is certainly progress. However
60% is also still quite a bit of CPU time. I'll spend some cycles
trying to whittle it down some more, but I'm not all that hopeful.

Thanks for the discussion, it was certainly enlightening.

Brent

--
Brent Casavant bcasavan@xxxxxxx Forget bright-eyed and
Operating System Engineer http://www.sgi.com/ bushy-tailed; I'm red-
Silicon Graphics, Inc. 44.8562N 93.1355W 860F eyed and bushy-haired.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/