Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Tue Nov 28, 2006 2:40 am   

[1.17] 99% CPU on long room descriptions
 
This is a new cmud file made today in 1.16, now using 1.17
There are no triggers that would be firing on the lines that are causing CMUD to go to 99% CPU.

Best way to illustrate is with an avi probably.
Watch the CPU usage spike when visiting the two rooms with very long descriptions - the only reason it's not at 99% is because the vid capture prog is taking up half the cpu, otherwise CMUD would be higher.

http://www.megaupload.com/?d=QUYTSFVS

Rooms are after the short swim, and one north of that.

Sorry for the lame description, but the vid seemed the easiest way to show it.

It's on an Athlon 3200+ with 2GB RAM (also happens on my 1.9Ghz Pentium-M lappy with 512MB RAM), so there are no problems with having low resources etc.
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Nov 28, 2006 5:56 pm   
 
Not sure what to say...I can't reproduce this. All I can think of is that you do have some sort of trigger or script running. Have you tried doing a fresh install and creating a new, blank session for the MUD and then trying it?
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Tue Nov 28, 2006 6:07 pm   
 
Odd, I did a clean install with a blank session and everything was fine. I'll import the triggers one by one (it was a fairly new session I took that vid from, and only had a dozen or so triggers) to see which one causes the problem. Will see if I can find what's the issue.
Cheers
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Thu Nov 30, 2006 12:08 am   
 
Well bah, turns out I'm an idiot. Reason things went odd was that a trigger that I grabbed a regex trigger from zmud and removed the regex match characters and put it into cmud. Problem was that it was on the string
^\*\*\* PRESS RETURN OR Q TO QUIT: $

and I didn't escape the *'s when I moved it, so on a long room description it was matching 3 consecutive wildcards.

Changing to
^~*~*~* PRESS RETURN OR Q TO QUIT: $
Fixed things up nicely.

Shows that even after using zMUD for about 7 years I can still make trivial mistakes.
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
The Raven
Magician


Joined: 13 Oct 2000
Posts: 463

PostPosted: Fri Dec 01, 2006 10:12 pm   
 
Ouch... nice trigger. :-)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
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

© 2009 Zugg Software. Hosted by Wolfpaw.net