Tips, tricks, programs, etc for MC resource Management

Read before posting.
bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Tips, tricks, programs, etc for MC resource Management

Postby bowlesj3 » 04 Jun 2010

I was wondering if we could create a central thread containing tips, tricks, programs of use, web sites of use, etc for the purpose of determining if MC (or other programs) are using too much memory, or swapfile space, or CP useage, etc such that things slow down too much (even repainting of the screen for example). Maybe this thread could contain URLS for prior threads/posts on this topic as well

I think the most important thing to be sure you understand before you program anything is the intrabarpersist key word and how it related to the underlying MaxBarsBack tables in MC. As of 2012/May/09 the Wiki does not give you much on the intrabarpersist. Here is a link that gives you more info and some test scripts to help understand it.
viewtopic.php?f=5&t=6871&hilit=intrabarpersist

To start here are some programs I know of and use.

TaskInfo (great program but I do not know its use that well).

PingPlotter (great program, again I do not know it that well).
http://www.pingplotter.com/

AVG (has some features for reducing spyware that can slow things),

SpyBot (same as AVG but maybe better).
http://www.safer-networking.org/index2.html

A website I have used a bit is http://www.theeldergeek.com for win XP. I am assuming it may have info on resource tools.

An area I need to bring myself up to speed on that should be part of this thread is to do a complete disk backup after doing a fresh install of all basic software so that on a regular basis a ghost return can be done to clear out all the junk that tends to collect to slow things down.


I am thinking this thread should be bumped when new users ask these types of questions too.




-------------------------------------------------------
Has this post been helpful to you?
Last edited by bowlesj3 on 09 May 2012, edited 3 times in total.

gregorio123456
Posts: 117
Joined: 08 Nov 2005
Been thanked: 3 times

Postby gregorio123456 » 04 Jun 2010

last version of comodo firewall antivirus don´t allows compilar easy language in powerlanguage....you get error

jo

bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Postby bowlesj3 » 05 Jun 2010

Again the purpose of this thread is to provide any info or location of info on how to optimize MC’s speed any way possible (software tools, reading, websites, whatever). And more specifically ways to optimize MC. It could include ways to not bog it down or create problems as well as gregorio123456 points out. It could include the Editor too.

Here is a bit if an effort to load this thread up with some goodies by searching the forum itself.
Unfortunately I do not have time to read them at the moment.
I am thinking it may be better to apply these too google actually and dump stuff in here since not much showed up really as you can see. When I get more time I will do that.

Cpu+usage
http://forum.tssupport.com/viewtopic.ph ... =cpu+usage

Monitor+cpu
http://forum.tssupport.com/viewtopic.ph ... onitor+cpu

Optimizing+computer
http://forum.tssupport.com/viewtopic.ph ... g+computer

defrag
http://forum.tssupport.com/viewtopic.ph ... ight=ghost

Ghost Backup/Return (clearing dead wood quickly)
http://forum.tssupport.com/viewtopic.ph ... ight=ghost

User avatar
geizer
Posts: 375
Joined: 16 Jun 2008
Has thanked: 40 times
Been thanked: 38 times

Postby geizer » 06 Jun 2010

Windows Performance Monitor
Microsoft Windows comes with 'Windows Performance Monitor' which helps to examine the performance of system processes, services, and programs running under Windows OS.

I suppose the tool can be used to monitor the performance of MultiCharts, but I don't know how... To launch the Windows Performance Monitor type in 'perfmon.msc' in the command line, and hit 'Enter'. Ironically performance counters, constantly running in the background, consume system resources themselves. Unless you know how to use this built-in Windows tool, you might consider disabling the performance counters.

The following link provides detailed 'how to' instructions:
http://windows-xp-tricks.com/disable-pe ... ows-xp.php

If you follow the instructions provided in the link above and installed the Resource kit from Microsoft mentioned there it can be found in C:\Program Files\Resource Kit\
Launch exctrlst.exe located in C:\Program Files\Resource Kit\
If you get the OS access warning message (if your account does not have administrator rights), run the above file as administrator. The tool is provided by Microsoft and is safe to use.

I tested the tweak and it works on Windows XP, and Windows 7.

Disclaimer: It's not confirmed by TS Support whether this OS tweak may or may not possibly affect the logging capabilities of MultiCharts, including beta versions of MultiCharts.

bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Postby bowlesj3 » 07 Jun 2010

Regarding graphic cards for running multiple monitors on MC and speed related issues/suggestions the following thread has some information.

http://forum.tssupport.com/viewtopic.php?t=7432

bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Postby bowlesj3 » 07 Jun 2010

removed.
Last edited by bowlesj3 on 29 Jun 2010, edited 1 time in total.

User avatar
geizer
Posts: 375
Joined: 16 Jun 2008
Has thanked: 40 times
Been thanked: 38 times

Postby geizer » 22 Jun 2010


User avatar
Dave Masalov
Posts: 1712
Joined: 16 Apr 2010
Has thanked: 51 times
Been thanked: 489 times

Postby Dave Masalov » 29 Jun 2010

Dear Sirs,

TS Diagnostic Symbols == BYT , == CPA and == CPU can be used in MultiCharts.

You should add these symbols manually in the Quote Manager with exactly the same settings as in TS and plot tick charts.

bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Postby bowlesj3 » 03 Jul 2010

From TJ's post "How to back up multicharts".

http://www.tssupport.com/support/base/? ... le&id=2028

bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Postby bowlesj3 » 03 Jul 2010

Regarding determining memory needed for running the latest MC version and all your other software (after making a few attempts) this google search string seems to pull up good results.

"how much computer memory do i need"

I have not read them all yet. However here are a few I looked at that seemed fairly good as of 2010/July/3rd.

http://www.ehow.com/way_5163479_much-co ... -need.html

http://www.ehow.com/how_5965304_calcula ... usage.html

http://www.ehow.com/how_5890924_determi ... ndows.html

Using task manager to track memory usage.
http://www.edbott.com/weblog/?p=687

http://www.ehow.com/how_5051122_decreas ... y-use.html

bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Postby bowlesj3 » 03 Jul 2010

Here are web pages for Monitoring CPU performance with task manager.

http://www.edbott.com/weblog/?p=686


If you want a supercharged program this is one to check out. You can make the screen shot full size.
http://www.iarsn.com/taskinfo.html
Last edited by bowlesj3 on 03 Jul 2010, edited 1 time in total.

bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Postby bowlesj3 » 03 Jul 2010

Someone may want to add to this list if it has changed. these are MC related processes I am aware of.

MultiCharts.exe
MCActiveX.exe
MessageCenter.exe
QuoteManager.exe
StudyServer.exe
tsServer.exe

User avatar
geizer
Posts: 375
Joined: 16 Jun 2008
Has thanked: 40 times
Been thanked: 38 times

Postby geizer » 04 Jul 2010

MCPortfolio.exe
...is another MC related process

bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Postby bowlesj3 » 04 Jul 2010

(not directly tied to MC run efficiency) there are some programs mentioned in this thread (with URLs) for setting your PC clock accurately or tracking time around the world.

http://forum.tssupport.com/viewtopic.ph ... ight=clock

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Postby TJ » 04 Jul 2010

Someone may want to add to this list if it has changed. these are MC related processes I am aware of.

MultiCharts.exe
MCActiveX.exe
MessageCenter.exe
QuoteManager.exe
StudyServer.exe
tsServer.exe
if you click on the Description tab in the Taskmanager,
you will line up all the processes that belong to MultiCharts.


Image
You do not have the required permissions to view the files attached to this post.

bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Postby bowlesj3 » 13 Jul 2010

It is confirmed in the thread below that there is little value in combining your studies within one chart to try and save processing speed or memory with MC (unless there is a problem specific to your code).

http://forum.tssupport.com/viewtopic.php?p=34378#34378

bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Re: Tips, tricks, programs, etc for MC resource Management

Postby bowlesj3 » 03 May 2011

Here is an article that has ideas on how to speed up your PC.
http://www.pcworld.com/article/18393-2/pc_workout.html

bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Re: Tips, tricks, programs, etc for MC resource Management

Postby bowlesj3 » 17 Jun 2011

Regarding how to determine if you need more RAM for your machine by using the Windows Task Manager I found this answer.

http://answers.yahoo.com/question/index ... 118AAnZaRC

Here is a cut and past of the best rated answer from that link.
Ok First See the Physical Memory(K) where Total means Ur Toral Memory(RAM), Available means which is available to work. And cache is Page memory system has created on ur hard disk.
Now see for Commit Charge(K) menu here Check for Total = xxxxx (numbers). The numbers u r seeing is the total memory is in use by ur system.

And following is the rule of memory updation.

"When Ur Commit charge total becomes higher than ur Physical memory Total's.... that's the time of upgrade ur system's memory."
When commit charge becomes higher than ur available memory, it wastes processor cycle due to unavailable of data in memory at the time, which is waiting for finish of current task. So it is better to upgrade memory as ur usage.

bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Re: Tips, tricks, programs, etc for MC resource Management

Postby bowlesj3 » 17 Jun 2011

Here is another link that adds a little more detail to reading the Windows Task Manager. Again I cut and paste the most important interpretation stuff from the link.

http://www.xtremesystems.org/forums/sho ... Long-Read)
Okay so what does all this tie into, here are some several points which relate to memory and are good to remember. Starting from the top.

* If the Commit Charge Total value regularly exceeds the Physical Memory Total value, your system has to rely more frequently on the much slower page file (virtual memory). Its time to add more physical memory.
* If the Commit Charge Total value is near the value of Commit Charge Limit value then WTF are you doing, not only did you use up all your physical memory but also you used up all your virtual memory. Your computer is at its knees begging for mercy.
* If your Commit Charge Peak value is near the Commit Charge Limit value then you are completely maxing out at one point or another during your computer being turned on. Your computer is at its knees begging for mercy once in a while for a few seconds.
* If your Commit Charge Peak value comes close to or exceeds the Physical Meory Total value, your computer had to access virtual memory once or twice. Performance might not be affected, but you are at the upper limit of using all your memory.
* More than 50% of the core operating system components and drivers can be swapped out from physical memory to the page file, moving such portions of the OS can significantly yield a performance hit. This again indicates the advantage of using more physical memory.

bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Re: Tips, tricks, programs, etc for MC resource Management

Postby bowlesj3 » 17 Jun 2011

This link gives a bit of info on what to do if the Windows Task Manager Performance tab CPU history graph is at 100% for a while. I extracted a quote of the interesting part.

http://www.techrepublic.com/article/tas ... ta/6162525
Under normal operating conditions, the CPU graphs will show sporadic fluctuation between high and low as applications and tasks require CPU resources. If an application or task is performing a particularly vigorous operation, you’ll see the CPU Usage bar graph at a high percentage for a sustained period of time. You’ll also notice big spikes in the CPU Usage History line graph. However, if the CPU Usage bar graph seems stuck at 100% and the CPU Usage bar graph is flat-lined at the top of the graph, then chances are good that the application or task is not responding. You can go to the Applications tab, and end the unresponsive task.
Having read that, I can get my system to run at 100% but the programs are not showing as "Not Responding". I suspect that it means I need a faster CPU.

arjfca
Posts: 1292
Joined: 23 Nov 2010
Has thanked: 725 times
Been thanked: 223 times

Re: Tips, tricks, programs, etc for MC resource Management

Postby arjfca » 08 Jul 2011

How to Improve MC effectiveness

Maybe not exactly the subject of this post.

The best way that i found was to open just one chart per session. If you want to look at more than one charts, then open a completely new session for each of them. My conclusion is that resources are allocated to MC for each session. Opening more charts on a same session will split these resources between them. Since each session as it own resources, all of them will be allocated for each charts session.

Also, try to load only the necessary bars. There is no need to have 1 full year of 1 minutes bars if you use only the last day as reference.

These little change as really increase MC performance for me

Martin

SP
Posts: 465
Joined: 06 Feb 2006
Has thanked: 36 times
Been thanked: 286 times

Re: Tips, tricks, programs, etc for MC resource Management

Postby SP » 20 Jul 2011

If you want to use the same indicator on charts and on the scanner and the indicator uses a lot of plots it is useful to compile the indicator with the marker checked for every plot. Only if the marker is checked the plot appears on the scanner automatic, else you need to set the check mark for every plot by using "Show Plots".

bowlesj3
Posts: 2180
Joined: 21 Jul 2007
Has thanked: 227 times
Been thanked: 429 times

Re: Tips, tricks, programs, etc for MC resource Management

Postby bowlesj3 » 15 Oct 2011

If viruses, root kits, etc are slowing you down or causing unwanted work away from developing your EL code this thread has some web sites to get more information.

viewtopic.php?f=1&t=9333


Return to “MultiCharts FAQ”