MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: [MUD-Dev] Processor Usage
Christopher Kohnert wrote:
>
> Am I simply missing something, or do all these engines that report low
> processor usage (5-10% peak) not have a pseudo-real-time event
> scheduling mechanism? I can sleep, waiting for both events and input
> from sockets, and not get it to drop below an average of 80%. Does
> anyone have any ideas as to how other systems can claim these low
> usages? No, I don't have any specific examples, (I can't remember them)
> I've just seen them float by on messages here and there, reporting this
> wonderful feat.
>
> Chris
Scry (though lightly populated) rarely gets above 5% CPU. I would suspect
you have a busy-wait somewhere..or that you have an enormous amount of events
happening close together. Scry isn't threaded (uses a while loop, waits for
max .25 secs on IO before looping again to do AI and other timer based
activities.)
Did you try running some kind of performance monitoring tool (gproff?)
to see where the program spends all of it's time?
Ben
>
> _______________________________________________
> MUD-Dev maillist - MUD-Dev#kanga,nu
> http://www.kanga.nu/lists/listinfo/mud-dev
--
Ben Greear (greearb#candelatech,com) http://scry.wanfear.com/~greear
Author of ScryMUD: scry.wanfear.com 4444 (Released under GPL)
http://scry.wanfear.com
_______________________________________________
MUD-Dev maillist - MUD-Dev#kanga,nu
http://www.kanga.nu/lists/listinfo/mud-dev
- Thread context:
- RE: [MUD-Dev] MUD timeline, (continued)
- [MUD-Dev] Processor Usage,
Christopher Kohnert cjkohner#brain,uccs.edu, Fri 03 Mar 2000, 16:52 GMT
- Re: [MUD-Dev] Processor Usage,
J C Lawrence claw#kanga,nu, Sat 04 Mar 2000, 00:12 GMT
- Re: [MUD-Dev] Processor Usage,
Ben Greear greearb#candelatech,com, Sat 04 Mar 2000, 01:10 GMT
- Re: [MUD-Dev] Processor Usage,
Dominic J. Eidson sauron#the-infinite,org, Sat 04 Mar 2000, 01:10 GMT
- [MUD-Dev] Re: MUD-Dev digest, Vol 1 #298 - 11 msgs,
Dr. Cat cat#realtime,net, Fri 03 Mar 2000, 16:52 GMT
- [MUD-Dev] (fwd) MU* hiasb#cc,gatech.edstory?,
claw claw#kanga,nu, Fri 03 Mar 2000, 06:07 GMT
[ Other Periods
| Other mailing lists
| Search
]