|
Delgar Beginner
Joined: 22 Dec 2008 Posts: 21
|
Posted: Sat Mar 07, 2009 5:32 pm
[3.04a] Slow CMUD Responses with Searching and Spreadsheet View Open |
So far, I am finding 3.04a much better than 2.37 other than these issues.
I think these are related issues, but they could be two different things (if two I can split it into two topics if needed).
System and map info:
T7400 with Core2 Duo 2.16GHz
2 GB RAM (using 700 MB)
Map room count: 18,873
Converted map from CMUD v2.37
.dbm file size: 20.2 MB
CMUD process is taking about 140 MB
I do the following:
Edit->Find Room (the "Find Room" window pops up quickly).
Type a portion of a room name into the "Name:" field.
Change the "Zone:" field to "Search current zone".
Click find or hit the enter key.
CMUD stops responding for 10s or more before popping up the "Spreadsheet View" window (even if the Zone only has one room).
With the "Spreadsheet View" window open, the search takes about of 2s (which is what I would expect, but due to the issue
below, I cannot leave the "Spreadsheet View" open).
Leaving the "Spreadsheet View" window open or iconified causes CMUD to respond very slowly and even quit responding for
several seconds before updating the map and terminal windows (I've seen it take as much as 10s before it responds, some are
quick, but most take 1-4s before the map and terminal windows actually updates).
Let me know what other information you need (and how to get it from CMUD).
Thanks,
-- Delgar |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Mon Mar 09, 2009 8:00 am |
I think it's already been said that the spreadsheet view wasn't optimized. In general Zugg starts looking at optimizations closer to the stabilization of a version.
Question did you compact your original map (MDB) before converting it? I'm not sure if Zugg does an automagic compact in the conversion process.
Typically speaking though, leaving things like the spreadsheet view and the package editor will slow down CMUD because of the transactional nature of the underlying DBs and the sheer processing overhead in keeping the views updated.
I did a quick test my with my spread sheet view and noticed a slight pause, but nothing major. Then again my map isn't 20 meg either. |
|
_________________ Asati di tempari! |
|
|
|
Delgar Beginner
Joined: 22 Dec 2008 Posts: 21
|
Posted: Mon Mar 09, 2009 2:28 pm |
Yes, I compact my map DB on a regular basis since there are so many rooms on the mud and did so just before
moving to the beta version.
I understand that optimizations are left until late, but I wanted this noted in case it isn't an optimization issue.
I know this will be very low on the priority list (assuming it is an optimization issue) and so I don't expect a fix
any time soon, but the "find room" feature is only partially usable with the long delay opening and then very slow
response of the main window when the spreadsheet is left open.
Even with this issue, I am still finding v3.04a much better than 2.37 and will continue to use it.
If there is any additional information that is needed, please let me know.
-- Delgar |
|
_________________ Thanks,
-- Delgar |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Mar 09, 2009 5:15 pm |
Never leave the Spreadsheet view open.
The Spreadsheet view is a very low-level database view of your map. It uses plain SQL statements to query the raw database on disk and does not use any of the in-memory "cache" that the rest of the mapper uses. As you guessed, the optimization for this is waiting until later in the beta process.
But even after the optimization, it will never be a good idea to leave the spreadsheet view open while playing. That will cause SQL updates to happen all of the time and will greatly slow down your playing. |
|
|
|
Delgar Beginner
Joined: 22 Dec 2008 Posts: 21
|
Posted: Mon Mar 09, 2009 10:22 pm |
I usually don't (even though there isn't much impact on 2.37), but I was trying to work
around the 10s+ lag time in bringing up the spreadsheet view with the room search results.
Once the spreadsheet view is open, the searches go much faster (1-3s to display new results).
I figured if there was only the minor impact like on 2.37, I would just leave the spreadsheet
open when I was needing to do a bunch of quick searches back to back while moving around
the mud. |
|
_________________ Thanks,
-- Delgar |
|
|
|
Progonoi Magician
Joined: 28 Jan 2007 Posts: 430
|
Posted: Mon Mar 09, 2009 10:50 pm |
While Find Room feature is definitely handy, you could just as well script the search mechanism to do the same thing.
Consider the following:
Code: |
$RoomTargets=%mapquery("[Name] LIKE '%road%'");
#forall $RoomTargets {$ZoneName=%zonename( %roomzone( %i));
#show Zone name is: $ZoneName;Room name is: %roomname(%i)
}
|
For instance make an alias, make %mapquery up a bit (I just used one example off help file right now). Make it say,
Search %1 where %1 is the room you search and %1 inside the query and then it will loop through matching rooms it found and
give you the room name and the zone it's from. |
|
_________________ The Proud new owner of CMud.
--------------------------------
Intel Core i5-650 3,2GHz
4 DD3 RAM
GTX 460 768MB
Win 7 Home Premium 64x
-------------------------------- |
|
|
|
|
|