Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 10:28:19 +0000



[User Discussion] - sierra cpu load on linux/wine

View Count: 2964

[2013-08-19 08:56:32]
User59879 - Posts: 66
I have noticed that Sierra uses a lot of CPU time on my Linux/Wine setup. My brand new PC has 32GB and an 8-core AMD 8350 with 2 DVI-monitors at 2560x1440 resolution each. ; "top" output looks like this:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1976 jan 20 0 2043320 1.699g 21924 R 71.7 5.4 103:27.32 SierraChart.exe
1948 jan 20 0 20000 8712 768 R 47.2 0.0 70:07.09 wineserver
and the fans start blowing off steam as soon as I start Sierra/Wine.

I should add that currently I am keeping about 35 chart books open, with some 10 charts each, where each chart book tracks a different symbol using IB.

Is this normal? If not: any suggestions on how to get the cpu load under control?

[2013-08-19 09:00:46]
Sierra Chart Engineering - Posts: 104368
This is outside the scope of our support. We have no control over this. It should be understood that the use of Wine is not efficient.


We are marking this as a user discussion. We expect by the end of 2014 we will have a version of Sierra Chart that will directly run on GNU/Linux.
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, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2013-08-19 09:05:03]
User59879 - Posts: 66
Thank you; understood.

However is there anyone else using Sierra under Wine with similar or different experiences?

Date Time Of Last Edit: 2013-08-19 09:05:15
[2013-08-19 09:31:00]
ganz - Posts: 1048
User59879

hi

The X Window System is outdated. It has less efficient GUI subsystem comparing to MS GUI subsystem.
Wine translates MS API into the inefficient X.
We are waiting for Wayland. It should solve this - I hope it will work fast and stable using video hardware acceleration.

In order to distribute/optimize the load you could use:
- proprietary drivers for video cards
- crossover with the separate "bottles" system for SC instances
- ssd

imho

gd lck
[2013-08-19 09:34:58]
User59879 - Posts: 66
Thanks User59879,

I am using the open source nouveau graphics driver, that might indeed be the problem. Will look into that this weekend and report back.
[2013-08-19 09:40:13]
ganz - Posts: 1048
User59879

yes. you should use a proprietary driver to decrease the cpu load.
this is the most important step in order to use charts

gd lck
[2013-08-19 14:41:48]
ganz - Posts: 1048
User59879

are you using 32bit or 64bit distro?

32bit distro w pae-kernel will able to use 32G RAM

Wine will work a bit faster using native 32bit environment

gd lck
[2013-08-19 16:38:43]
User59879 - Posts: 66
I'm using 64 bit Arch Linux distro. Speed is not really an issue here though, but cpu usage and fan noise is ;-)
[2013-08-19 16:45:32]
ganz - Posts: 1048
User59879

ok. let me rephrase it

in order to prevent a lot of transitions from one environment to another one need to use 32bit distro for Wine

it definetely will decrease the cpu usage

gd lck
[2013-08-19 16:58:24]
User59879 - Posts: 66
Thanks a lot; I will build a new linux distro on a separate partition (probably this weekend), including proprietary nvidia drivers as well as 32bit distro for Wine and let you know the results :-)
Date Time Of Last Edit: 2013-08-19 16:58:36
[2013-08-20 07:16:27]
Kiwi - Posts: 374
I'll be interested to hear how it goes too.

I'm using Nvidia 313 proprietary drivers on a 3.8.0-27 kernel on Mint 15 x64.

I don't see those sort of issues but I'm only opening two chartbooks of about 5 charts each. My 4 cpus run at 1600MHz (half speed) with Sierra around 12% and wineserver around 5% (of one cpu). I just opened another 8 and that took the (single) cpu up to 36% so I can see 70% being reached easily enough with your number of chartbooks.

Note that unless I'm reading top incorrectly the other 3 cpus are doing other things. No, I just discovered what happens when you press 1 on top ... its nicely spread amongs the cpus which explains why they're all still running slow.

http://i.imgur.com/NJmW1rR.png
[2013-08-20 08:13:06]
ganz - Posts: 1048
hi all

i've done the test using old laptop

Intel(R) Core(TM)2 Duo CPU T5900 @ 2.20GHz
4G RAM
128G SSD
GF GT220M

openSuSe 12.3 32bit
xfce
nvidia v319
wine1.6

SC v1013 non-CLR
CTS FIX
35 chart books open, with some 12 (tick-based and 1-minute-based) bar charts each; using some custom DLL and VbP

the cpu usage is

http://s24.postimg.org/p07xi00gl/sys1.png

gd lck

Date Time Of Last Edit: 2013-08-20 08:14:09
[2013-08-20 08:22:04]
User59879 - Posts: 66
thank you ganz, my top looks similar indeed

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

Login

Login Page - Create Account