Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, 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.
Entire forum
➜ MUSHclient
➜ Bug reports
➜ CPU usage/lag
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| MikeyMudsIt
USA (2 posts) Bio
|
Date
| Thu 16 Jun 2011 02:46 AM (UTC) Amended on Thu 16 Jun 2011 02:52 AM (UTC) by MikeyMudsIt
|
Message
| Hi there. I've been using MUSH as a replacement for Zmud. Thanks to people on the mud I play, and the scripts I use, it's far more fun to play using it.
There is one problem though that's been bugging me:
Constant CPU usage while MUSHClient is running after a certain amount of time. I don't know if there is a debugging process going on behind the scenes, or if some other background component is constantly occupying half of my Intel Atom N270 CPU (sys info to follow at bottom). This only happens after a certain amount of time has passed after launch, and when it does my CPU is constantly reading 40-60%, as one of the CPU threads is always busy. It is most notable with an erratic mouse pointer.
The MUSHClient.exe process is never showing this CPU usage, which is why I'm confused why the system lags. It is especially draining of the battery, due to this high CPU usage. Can someone please help? Is there a command I can issue to kill any debugging?
Number of cores 1 (max 1)
Number of threads 2 (max 2)
Name Intel Atom N270
Codename Diamondville
Specification Intel(R) Atom(TM) CPU N270 @ 1.60GHz
Package (platform ID) Socket 437 FCBGA8 (0x2)
CPUID 6.C.2
Extended CPUID 6.1C
Core Stepping C0
Technology 45 nm
Core Speed 798.1 MHz
Multiplier x FSB 6.0 x 133.0 MHz
Rated Bus speed 532.1 MHz
Stock frequency 1600 MHz
Instructions sets MMX, SSE, SSE2, SSE3, SSSE3
L1 Data cache 24 KBytes, 6-way set associative, 64-byte line size
L1 Instruction cache 32 KBytes, 8-way set associative, 64-byte line size
L2 cache 512 KBytes, 8-way set associative, 64-byte line size
FID/VID Control yes
FID range 6.0x - 12.0x
Max VID 1.200 V
2GB of RAM
XP Home sp3 | Top |
|
Posted by
| Fiendish
USA (2,533 posts) Bio
Global Moderator |
Date
| Reply #1 on Thu 16 Jun 2011 03:08 AM (UTC) |
Message
|
Quote: The MUSHClient.exe process is never showing this CPU usage
So which process is? |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #2 on Thu 16 Jun 2011 04:43 AM (UTC) |
Message
| That's apparently what they're asking. They only notice it when MUSHclient's been left running.
Mikey, to the best of my knowledge, MUSHclient is a single process. Nick might know something I don't. |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | Top |
|
Posted by
| Fiendish
USA (2,533 posts) Bio
Global Moderator |
Date
| Reply #3 on Thu 16 Jun 2011 05:31 AM (UTC) Amended on Thu 16 Jun 2011 05:34 AM (UTC) by Fiendish
|
Message
|
Twisol said:
That's apparently what they're asking.
This doesn't make sense. Whatever mechanism is being used to determine that MUSHclient.exe is NOT using 60% of CPU time (taskmanager?) can surely determine which process IS doing it. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Nick Gammon
Australia (23,046 posts) Bio
Forum Administrator |
Date
| Reply #4 on Thu 16 Jun 2011 07:36 AM (UTC) |
Message
| There is no background debugging. If you bring up the Windows Task Manager (Ctrl+Shift+Esc) and then click on the CPU column it sorts it into CPU order (maybe click twice, until you get the highest figure at the top).
That should show what is using all this CPU. If you have a dual-core processor it conceivably is some process in a tight CPU loop, using one of the cores. However you are saying that process is not MUSHclient, right?
Well, which one is it?
Look at the memory usage. Is it abnormally high? If you have allocated a lot of lines to the output buffer, when it fills up it might be gobbling up your memory and causing it to constantly page, which might account for it.
|
Please provide a summary of your world configuration:
- Either use the scripting Immediate window (Ctrl+I) to execute: Debug ("summary")
or
- Install the Summary plugin (see
"Summary" feature) and type "summary"
Then copy the resulting information from the output window, and paste into a Forum message.
You need version 4.55 onwards of MUSHclient to do this.
|
There *is* one extra thread, that checks if the script file has changed. However that code has been there a long time, and no-one has complained before. And I don't see why, after a time period, it would suddenly use all the available CPU. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| MikeyMudsIt
USA (2 posts) Bio
|
Date
| Reply #5 on Sun 19 Jun 2011 06:28 AM (UTC) |
Message
| Ok I lowered my output scrollback buffer to 50,000 lines, and after a couple of days, it no longer seems to be keeping my CPU busy, and that's a good thing!
Thanks for the tip. | 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.
21,195 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top