Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 09:54:02 +0000



Generalized OS latency when using multiple instances

View Count: 391

[2023-04-27 11:41:42]
Fanch - Posts: 18
Hi,

I use 1 main instance and 4 sub-instances.
I have only one chartbook open in each instance, with a very reasonable number of charts in each (5 on average).
My display update is set to 100 ms for the lower resolution charts, and the default 500 ms for higher res.
My system:
- a rather recent core i9 10900X with 10 cores and 20 logical processing units (3.7ghz base freq but usually 4.1 Ghz),
- backed by a RTX 2070 Super (22K+ passmark bench score).
- 128 GB RAM at 2133 Mhz
- Sierra on C:/ drive (1TB Nvme Samsung EVO)

My problem: generalized OS latency, every click in any app in the OS (win11) takes between 500 ms and 1s.

Other observation:
- as expected each instance is placed on its own core, but the main instance uses its own core to 100%.
- the other instances are not saturating their cores


Is is something other folks are experiencing? Any hints as to what I can do to fix?

Thank you,
F
Date Time Of Last Edit: 2023-05-16 10:31:07
[2023-04-27 15:09:59]
John - SC Support - Posts: 30444
Please go through the items here to see if any of these help:
High CPU Usage | Inactive User Interface | Poor Performance | Long Time to Load Chart Data | Charts Reloading Often
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-05-16 04:29:01]
User624595 - Posts: 162
@Fanch, were you able to resolve this/how?
[2023-05-16 08:31:58]
Sierra_Chart Engineering - Posts: 13625
This is a system and operating system issue. It is not the fault of Sierra Chart.

One thing that will definitely help though is to put Sierra Chart on its own separate solid-state drive. Maybe use 2 of them and install Sierra Chart among them.


Also disable the paging file on that system as well. You do not need it. Set the power settings to maximum performance. And set the processor settings for the best performance of Programs.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-05-16 08:33:48
[2023-05-16 10:23:54]
Fanch - Posts: 18
I went into the BIOS and switched my RAM to 3200Mhz (not using XMP though).
I also got rid of the paging file. CPU usage is low, and none of my cores are saturating. RAM usage also pretty low so far despite the removal of the paging file.
Cycling through virtual desktops from one sub-instance to another is snappy and interactions with Sierra Chart itself show no latency.
Interactions with Gmail in Chrome are ok but I think 10/20 % slower (not using hardware accel in Chrome and using OpenGL rendering in Sierra -- GPU is at 40% usage).
All in all, things seem in a good place, thank you for the help!
[2023-05-16 12:12:35]
Sierra_Chart Engineering - Posts: 13625
Also disable hyperthreading.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-05-16 16:19:53]
Dorian - Posts: 57
You can also copy the main Sierra Chart 3x folder. Then launch each .exe of each installation. This is much faster than running the software once with multiple instances, and it does use the full CPU core. It is therefore necessary to create 3 Chartbooks for each installation.
Each installation must also be pointed to a different processor core. You can do it via the task manager or simply modify the SierraChart shortcut which will point directly to the hearts at each launch.
So you have to disable hyper-threading in the BIOS too.

10x faster than 4 Instances !!!
[2023-05-16 20:30:40]
User624595 - Posts: 162
You can also copy the main Sierra Chart 3x folder. Then launch each .exe of each installation. This is much faster than running the software once with multiple instances, and it does use the full CPU core.

@Dorian we have read your threads with curiosity, as we also noticed a general slowing down of the OS running many sub instances. But did not make sense to us, since SC says sub instances function like separate installs anyway in terms of performance. And it is difficult enough to maintain data/settings/charts between subinstances trading many dozens of symbols , in separate installs it would be even more burdensome.

Since @Sierra_Chart Engineering is advising in this thread, could SC explain how this could be that separate installs perform better than subinstances?
[2023-05-24 16:34:03]
Sierra_Chart Engineering - Posts: 13625
Regarding this:


My problem: generalized OS latency, every click in any app in the OS (win11) takes between 500 ms and 1s.

Is Sierra Chart located on its own dedicated solid-state or NVME Drive? If you do that we think it has a good chance of resolving this.

Additionally check this setting:
Advanced Service Settings: Intraday File Flush Time in Milliseconds (Global Settings >> Advanced Service Settings >> Other)

Set it to 5000.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account