| View previous topic :: View next topic |
| Author |
Message |
Zircon Op
Joined: 21 Aug 2006 Posts: 191 Location: Montreal
|
Posted: Fri Jun 22, 2007 4:18 am Post subject: .status informations |
|
|
Hi all
I have a question about the informations the egg give when we type .status in the partyline. In my case it gives :
<VaLkyRie> I am VaLkyRie, running eggdrop v1.6.18: 24 users (mem: 144k).
<VaLkyRie> Online for 12:53 (background) - CPU: 00:32 - Cache hit: 99.7%
AS u see, Cache hit: 99.7%. What does Cache hit means ? is this high value of 99.7 % normal ? can it cause problem to the egg if it reach 100 % ? what to do to keep that value low ?
Also, what s the typical values for CPU ?
Thanks in advance |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri Jun 22, 2007 8:51 am Post subject: |
|
|
It is basically a measurement on how many user lookups (from either get_user_by_handle or get_user_by_host calls) that were able to use cached entries rather than having to search through the whole linked list of user entries. In most cases, the higher the value, the less work your bot has done in order to find a userrecord, and thus saving resources...
With such a small userlist, achieving such high cache hits is not unusual. As your userlist grows, you'll most likely find this dropping _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Zircon Op
Joined: 21 Aug 2006 Posts: 191 Location: Montreal
|
Posted: Fri Jun 22, 2007 6:29 pm Post subject: |
|
|
Hello nml375
Thanks for ur clear answer, i apreciate. In the other hand, i have another bot giving me this when i type .status :
<Zircona> Online for 193 days, 22:56 (background) - CPU: 254:50 - Cache hit: 86.0%
So CPU: 254:50, is it a high value ? Does it measure the Load of the bot ? what s good values for CPU ?
Thanks in advance |
|
| Back to top |
|
 |
|