Eggheads: Question about CPU & Cache hit
Derek Kuliński
takeda at takeda.tk
Sun Jan 27 11:07:04 CST 2008
Hello Rafa,
Saturday, January 26, 2008, 8:30:03 PM, you wrote:
> In short, it's irrelevant to your interests :P
> This is more for debugging I believe. The cache referred to here is
> for user lookups in memory. When the bot needs to find a user given a
> certain hostmask, it can either search through active channel records
> which may already have the user associated, or if that fails it must
> look through every user in the userfile to find a match. Finding the
> user in the channel records is much quicker, among other methods.
As for the CPU, I belive that it tells how much of CPU time the
eggdrop used. Basically if the computer would be without multitasking,
how much of the time would take the eggdrop to do the same amount of
work.
If that time grows fast, that means our eggdrop is heavy on the
server's CPU. Though it will grow with time anyway. Since it needs to
use CPU.
Also compute average CPU utilization, by dividing that time by bot's
uptime.
--
Best regards,
Derek mailto:takeda at takeda.tk
CCNA, SCSA, SCNA, LPIC, MCP certified
I couldn't repair your brakes, so I made your horn louder.
More information about the Eggheads
mailing list