Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Miniwindows
➜ reports of miniwindow slowness?
|
reports of miniwindow slowness?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1
2 3
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #15 on Tue 16 Nov 2010 09:26 PM (UTC) |
| Message
| | And personally I would throw in the Omit_Blank_Lines plugin - gets rid of the rather useless blank lines. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #16 on Tue 16 Nov 2010 09:47 PM (UTC) Amended on Mon 25 Nov 2013 08:35 PM (UTC) by Nick Gammon
|
| Message
| You can see it here:
This was running under Ubuntu 10.10, MUSHclient 4.70, Wine 1.2.1.
2.8 Ghz CPU (Intel) - one processor allocated to the Ubuntu virtual machine.
1 Gb RAM allocated to virtual machine.
The video is "real time" - not sped up at all. I omitted a couple of boring bits while I worked out what to do next, or typed "recall" into the command window.
I initally speedwalk around Aylor by clicking on room names, then "recall" and "runto verume" to do a lengthy run from the city to another zone.
As you can see, the mapper window is quite large, it updates quickly, along with the smaller map, and everything seems quite smooth. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Fiendish
USA (2,547 posts) Bio
Global Moderator |
| Date
| Reply #17 on Wed 17 Nov 2010 01:02 AM (UTC) Amended on Wed 17 Nov 2010 01:05 AM (UTC) by Fiendish
|
| Message
| Errr. A couple of things with the video...
1) That's about what I see too with all the plugins running, and for a speedwalk on Aardwolf that's incredibly slow. Disable the gmcp mapper and compare how long it takes to run from room to room doing something like "run 10w10e10w10e" on the continent.
2) Can you do another video with the gmcp mapper removed but other plugins still running?
3) And one with the other plugins removed but the gmcp mapper still running?
My experience is that for case 3 the screen will not update during a speedwalk, and only case 2 will be fast. |
https://github.com/fiendish/aardwolfclientpackage | | Top |
|
| Posted by
| Fiendish
USA (2,547 posts) Bio
Global Moderator |
| Date
| Reply #18 on Wed 17 Nov 2010 01:16 AM (UTC) |
| Message
|
Nick Gammon said:
Filename: MUSHclient.zip
File description: aardwolf mushclient package
File size: 14.92 MB
How does my 2.98 Mb download, with a couple of plugins added, become 14.92 Mb? Surely the mapper database isn't that big?
I think my archiver is broken. It's clearly not doing any compression. |
https://github.com/fiendish/aardwolfclientpackage | | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #19 on Wed 17 Nov 2010 01:18 AM (UTC) |
| Message
|
Fiendish said:
Extreme slowdown can probably be pinned on the GMCP mapper.
I can tell you that with no other plugins loaded on a fresh launch of MUSHclient, doing a speedwalk causes so much processing inside the mapper that the screen doesn't refresh until the whole thing is over.
But it was hardly that was it? It refreshed as you changed rooms. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Fiendish
USA (2,547 posts) Bio
Global Moderator |
| Date
| Reply #20 on Wed 17 Nov 2010 01:25 AM (UTC) Amended on Wed 17 Nov 2010 01:31 AM (UTC) by Fiendish
|
| Message
| | See my comment above. It only refreshes when the other plugins call Repaint() once per room. If you disable those other plugins (or change repaint to redraw probably), then it won't. |
https://github.com/fiendish/aardwolfclientpackage | | Top |
|
| Posted by
| Crowe
(21 posts) Bio
|
| Date
| Reply #21 on Wed 17 Nov 2010 01:37 AM (UTC) |
| Message
| I watched the video. I thought it was rather slow. Here is why I think that:
I used enter and rt weather in the same command line.
1. Main window and ascii map plugin with a 11 seconds speedwalk time.
2. Main Window, ascii map plugin, and stats, with a 13 seconds speedwalk time.
3. Main Window, ascii map plugin, stats, and health bar with a 17 seconds speedwalk time.
4. Main Window, ascii map plugin, stats, and chat window with a 13 seconds speedwalk time.
5. Main Window, Ascii Map Plugin, Stats, Health Bar, Chats Window with a 16 seconds speedwalk time.
6. All Stock Plugins 24 seconds.
| | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #22 on Wed 17 Nov 2010 01:49 AM (UTC) |
| Message
| There is a bug in aard_ASCII_map.xml
Disabling and re-enabling it gives this:
Run-time error
Plugin: Aardwolf_Ascii_Mapper (called from world: Aardwolf)
Function/Sub: OnPluginEnable called by Plugin Aardwolf_Ascii_Mapper
Reason: Executing plugin Aardwolf_Ascii_Mapper sub OnPluginEnable
[string "Plugin"]:451: attempt to call global 'OnPluginConnect' (a nil value)
stack traceback:
[string "Plugin"]:451: in function <[string "Plugin"]:447>
Error context in script:
447 : function OnPluginEnable ()
448 : WindowShow (win, true)
449 : -- if we are connected when the plugin loads, it must have been reloaded whilst playing
450 : if IsConnected () then
451*: OnPluginConnect ()
452 : end -- if already connected
453 : end -- OnPluginEnable
454 :
455 : --=================================================================================
In fact there is no OnPluginConnect function. Perhaps comment out that line? |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Fiendish
USA (2,547 posts) Bio
Global Moderator |
| Date
| Reply #23 on Wed 17 Nov 2010 02:01 AM (UTC) |
| Message
|
Nick Gammon said:
There is a bug in aard_ASCII_map.xml
Disabling and re-enabling it gives this:
Thanks. I'll fix it in the next upload. |
https://github.com/fiendish/aardwolfclientpackage | | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #24 on Wed 17 Nov 2010 02:11 AM (UTC) |
| Message
| My timing with XP (not Ubuntu, but it shouldn't matter a heap) is as follows for running from recall to Verume (64 rooms):
- All plugins disabled: 9 secs
- Mapper only: 14 secs
- Mapper with Repaint () added: 16 secs
- All plugins: 18 secs
Adding in Repaint () to the mapper after the call to:
... eliminates the problem of the map updating in a jerky fashion. After all, the idea of Redraw is to have something drawn when there is nothing else to do. Doing Repaint slows things down a bit, but gives you smoother updating.
I'm sorry, but you can't make an omelette without breaking some eggs. In the outdoor zones the screen is filled with rooms (18 x 18 = 324 rooms). Some slowdown to draw them in a scripting language is going to be inevitable.
According to my figures, the slowdown from using the mapper is only an increase from 9 seconds to 18 seconds, and that is traversing 64 rooms. So you are saying that to map 7 rooms a second (64 / 9) is "incredibly slow". Can't agree with that.
You have the search depth cranked up to 40. That's a long way out for the mapper to search. I changed it to 10, which still largely fills the map (albeit in a bit of a diamond shape). This reduces the time for my run to Verume to around 12 seconds, only 3 seconds more than without the mapper.
I suggest you put in the Repaint line, to get the immediate drawing, so the map doesn't seem to jump from one batch of rooms to another. I also suggest you do what I suggested earlier, either make the mapper size just smaller, or drop back the depth amount to around the 10 - 12 room mark.
If you are just walking around exploring, I think the ability to draw 7 rooms a second is more than adequate. If the slowdown during speedwalks bothers you, you could disable the mapper temporarily, or drop down the mapper depth temporarily.
Personally I find the idea that you can "walk" across about 3 continents in 9 seconds a tiny bit ridiculous, and makes the MUD feel a bit small. Having to wait 20 seconds while you traverse a large amount of ground actually "feels right" to me (in fact, longer could be better).
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #25 on Wed 17 Nov 2010 02:20 AM (UTC) |
| Message
|
Crowe said:
I watched the video. I thought it was rather slow. Here is why I think that:
I used enter and rt weather in the same command line.
1. Main window and ascii map plugin with a 11 seconds speedwalk time.
6. All Stock Plugins 24 seconds.
I found that with all plugins disabled it took 11 seconds to runto weather. With all plugins enabled, but the depth set to 10, it took 14 seconds. With the depth at 40 it took 18 seconds (and that was with Repaint () added).
I think dropping the depth back doesn't really hurt. It only really visibly affects the outside zones which are cluttered with a wall of "rooms" anyway. Once inside a zone the 10 room depth is probably plenty. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Fiendish
USA (2,547 posts) Bio
Global Moderator |
| Date
| Reply #26 on Wed 17 Nov 2010 02:47 AM (UTC) |
| Message
|
Nick Gammon said:
Personally I find the idea that you can "walk" across about 3 continents in 9 seconds a tiny bit ridiculous, and makes the MUD feel a bit small. Having to wait 20 seconds while you traverse a large amount of ground actually "feels right" to me (in fact, longer could be better).
While I agree that speedwalks should be slower on the MUD side in certain situations to more closely simulate a real world (I'd like to see mountains take longer than roads, for example), the players who participate in Global Quests where every second counts would scoff at the suggestion that that makes a halving of client performance ok. Aardwolf is a very competitive MUD where the most competitive players use mappers extensively and the players do care when their clients slow them down by what could amount to essentially ten seconds of lag every time the player changes areas (which can happen a dozen times during a global quest). Which means that in order to stay competitive you have to use another client.
This isn't meant to be a diatribe against you or anything, just a description of why I care. I will try out your various suggestions for optimization, though, and a few more of my own. I think this is salvagable in a way that makes a lot of sense. As you say, the depth during speedwalks doesn't need to be high at all.
In any case, I do appreciate you taking a look. Though if anything you've convinced me that there IS a speed problem, not that there isn't one. :D
But I think it can be overcome without too much trouble. |
https://github.com/fiendish/aardwolfclientpackage | | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #27 on Wed 17 Nov 2010 03:06 AM (UTC) |
| Message
| Glad I can help!
BTW, with the depth dropped down to 7 I found that I ran to Verume in about 10 seconds, only about 1 more second than without the mapper, and you still get a sense of where you are.
I think if you can detect when a speedwalk is active (maybe you know how, maybe talk to Lasher) and drop the depth down to around 7 during a speedwalk, and put it back up to 20 outside one, you should get the best of both worlds.
Quote:
Which means that in order to stay competitive you have to use another client.
Well I trust that this other client will be faster when the same features are enabled, otherwise you may as well just turn off the features in this one. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #28 on Wed 17 Nov 2010 03:15 AM (UTC) Amended on Wed 17 Nov 2010 03:16 AM (UTC) by Nick Gammon
|
| Message
| To change the scan depth, do this:
config.SCAN.depth = 7 -- or whatever
mapper.draw (room_number) -- draw from this room
Repaint () -- force screen repaint
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Fiendish
USA (2,547 posts) Bio
Global Moderator |
| Date
| Reply #29 on Wed 17 Nov 2010 03:44 AM (UTC) Amended on Wed 17 Nov 2010 03:45 AM (UTC) by Fiendish
|
| Message
|
Nick Gammon said:
To change the scan depth, do this:
config.SCAN.depth = 7 -- or whatever
mapper.draw (room_number) -- draw from this room
Repaint () -- force screen repaint
Cool, thanks. :)
Quote: Well I trust that this other client will be faster when the same features are enabled, otherwise you may as well just turn off the features in this one.
I hope (and think) we can make that not be the case. |
https://github.com/fiendish/aardwolfclientpackage | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
109,001 views.
This is page 2, subject is 3 pages long:
1
2 3
It is now over 60 days since the last post. This thread is closed.
Refresh page
top