egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

.status informations

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Fri Jun 22, 2007 4:18 am    Post subject: .status informations Reply with quote

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
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Fri Jun 22, 2007 8:51 am    Post subject: Reply with quote

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
View user's profile Send private message
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Fri Jun 22, 2007 6:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber