Login Page - Create Account

Support Board


Date/Time: Wed, 15 May 2024 00:43:53 +0000



Slow data with v2524

View Count: 1553

[2023-07-29 10:59:17]
User902930 - Posts: 8
I do not believe the issue is Wine related. Running Wine 8.13 and SC 2448 shows no problems with the data delay. Update to 2526 or 2527 both have the same issue. Even running a single chart. Hardware is not the problem. Will try SC 2523 this weekend and post an update. The only reason I am updating is because of the loss of data running the older version of SC.

Making the adjustment specified in thread "[Sticky] [Locked] - Resolution of Poor Network IO Performance under Linux/Wine" did not make a difference.

top - 12:55:54 up 2:34, 1 user, load average: 2,01, 1,16, 0,53
Tasks: 576 total, 1 running, 575 sleeping, 0 stopped, 0 zombie
%Cpu(s): 1,7 us, 0,2 sy, 0,0 ni, 98,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
MiB Mem : 63433,6 total, 7895,3 free, 5036,2 used, 50502,1 buff/cache
MiB Swap: 2048,0 total, 2048,0 free, 0,0 used. 57588,6 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6835 rob 20 0 4241140 938092 109024 S 49,2 1,4 3:18.73 SierraC+
6785 rob 20 0 16688 15196 1636 S 5,3 0,0 0:07.03 wineser+
2711 rob 20 0 1525816 226372 151408 S 3,0 0,3 3:43.03 Xorg
Date Time Of Last Edit: 2023-07-29 11:05:11
[2023-07-29 11:06:23]
VLiviu - Posts: 162
Hmmm, an official explanation would be great.
Many of us are using linux so we wanna run SC normally as the windows users do. I hope at least :)
[2023-07-29 13:28:44]
Sierra_Chart Engineering - Posts: 14353
The issue is always with Wine. Wine has very very very inefficient handling of socket receive buffers and probably send buffers as well.

The simple fact is even with a single buffer, Wines network I/O performance is below 50%, or even lower, of what Windows provides, at least with the network I/O model that Sierra Chart is using which utilizes overlapped I/O and I/O completion notifications. Wines performance is absolutely terrible in this area.



If you perform a data download following this method and then post the log messages related to that we can see if a single buffer is being used and can confirm if the buffers are functioning as they should be:

Follow the instructions here to clear the Message Log:
Message Log: Clearing the Message Log

Fully re-download the data in the chart by going to the chart and selecting "Edit >>Delete All Data and Download".

Or, in the case of a Continuous Futures Contract chart, follow these instructions:
Continuous Futures Contract Charts: Re-Downloading Continuous Futures Contract Data

After about a minute provide a copy of the Message Log following these instructions:
Support Board Posting Information: How to Post Your Message Log (Required In Some Cases)

We will then determine what the problem is.
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-07-29 13:29:50
[2023-07-29 21:20:58]
Tony - Posts: 461
@Engineering Team

Thanks for verifying, wonder how this Wine issue would affect streaming data feed (after historical downloading is completed) ?

Thanks!
Date Time Of Last Edit: 2023-07-29 21:22:08
[2023-07-29 23:50:36]
Sierra_Chart Engineering - Posts: 14353
The poor network I/O performance would affect real-time data as well. Although it may not be as noticeable.
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-07-30 07:51:41]
VLiviu - Posts: 162
The issue is always with Wine. Wine has very very very inefficient handling of socket receive buffers and probably send buffers as well.

The simple fact is even with a single buffer, Wines network I/O performance is below 50%, or even lower, of what Windows provides, at least with the network I/O model that Sierra Chart is using which utilizes overlapped I/O and I/O completion notifications. Wines performance is absolutely terrible in this area.

I believe you and i've done a simple test (dont know if counts): I installed chrome in wine and downloaded some big ISO, the speed was great.
[2023-07-30 10:55:41]
VLiviu - Posts: 162
No, I've finally decided to stick with one distribution: Debian 12
Installed wine 8.13
Installed SC ver 2528

All runs just fine, no issues (activated use single network buffer for linux)
Screenshoot attached.

Now i'm ok :)
imageScreenshot from 2023-07-30 06-50-26.png / V - Attached On 2023-07-30 10:55:35 UTC - Size: 617.87 KB - 100 views
[2023-07-30 12:11:00]
Tony - Posts: 461
Another option would be LMDE 5, short for "Linux Mint Debian Edition", way better than Mint's official version, same as stable and reliable as Debian plus more handy/fancy features.
[2023-07-30 12:13:57]
VLiviu - Posts: 162
Yes, but wanted to feel the grandfather :)
[2023-07-30 14:05:15]
User902930 - Posts: 8
Fresh install of SC 2523 with Wine 8.13 and using my original charts from SC version 2448. No delays in reply for multiple charts with the replay speed at 1-2. A small delay on some of the chart with 5 and a big delay for 60.

Honestly never payed attention to delays on earlier version but even running at speed 1 on SC version 2526 and 2527 was creating large delays between charts.

Will provide an update on Monday during the live Market. I hope this works since I do not want to loose data but with the newer upgrades, SC is not usable for trading.

@Sierra_Chart Engineering: No argument that Wine has terrible network IO, I cannot verify but, it makes no sense that the problem lies with Wine when earlier version of SC with the current Wine version 8.13 has no problems with delays but the newer ones do.

top - 15:57:27 up 4:53, 1 user, load average: 2,51, 2,52, 2,71
Tasks: 557 total, 3 running, 554 sleeping, 0 stopped, 0 zombie
%Cpu(s): 2,8 us, 0,2 sy, 0,0 ni, 96,9 id, 0,0 wa, 0,0 hi, 0,1 si, 0,0 st
MiB Mem : 63433,6 total, 408,3 free, 15590,5 used, 47434,9 buff/cache
MiB Swap: 2048,0 total, 2046,2 free, 1,8 used. 47061,7 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6276 rob 20 0 15,8g 11,8g 142208 R 79,0 19,0 104:06.18 SierraC+
2882 rob 20 0 5176192 299884 130232 S 7,3 0,5 14:58.05 gnome-s+
6226 rob 20 0 16948 15388 1636 R 4,7 0,0 20:55.28 wineser+
2724 rob 20 0 1450900 204668 126748 S 2,3 0,3 5:49.97 Xorg
[2023-07-30 14:40:40]
allons_trading - Posts: 15
If you've followed the instructions here, Resolution of Poor Network IO Performance under Linux/Wine then versions 2527 and later should be no different under Linux/Wine than versions 2523 and earlier. Versions 2524, 2525, and 2526 have the same known issue under Linux/Wine.
[2023-07-30 16:08:42]
Sierra_Chart Engineering - Posts: 14353
Regarding post #34, you are describing performance issues involving chart replays.

This is fully unrelated to the network I/O issue.

For your problem, refer to:
High CPU Usage | Inactive User Interface | Poor Performance | Long Time to Load Chart Data | Charts Reloading Often
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-07-30 16:09:00
[2023-07-31 01:18:37]
User509533 - Posts: 45
Mint 21.x
Installed wine 8.13
Installed SC ver 2528
(activated use single network buffer for linux)

Charts are not opening. Message: "DF:39 ST:4,4 DL:1 is not responding"
[2023-07-31 01:33:35]
Sierra_Chart Engineering - Posts: 14353
If you are running into a not responding condition, when opening a Chartbook, refer to:
High CPU Usage | Inactive User Interface | Poor Performance | Long Time to Load Chart Data | Charts Reloading Often: 30.16 - What to do if Sierra Chart is in a frozen state for an extended time due to extended high CPU usage caused by an automatically or m
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-07-31 20:26:08]
User509533 - Posts: 45
Update:

Mint 21.x
Installed wine 8.13
Installed SC ver 2528
(activated use single network buffer for linux)
Deleted all files under Data/MarketDepthData and .scid files under Data

It is working very well now. Thanks everyone!
I have decided to clean Data folder every Friday after market close running a cron job.
[2023-07-31 20:34:29]
User902930 - Posts: 8
Update to post #34.
The Fresh installation of SC 2523 with Wine 8.13 had no problems with data delays today during the live market (38 Charts). I will try a another fresh installation of SC 2528 in the next few days.

Thank you for everyone participating on this thread including SC support.
[2023-08-04 17:18:15]
VLiviu - Posts: 162
#2528 here
I cant believe how smooth SC works! Not slow, no delay.
Debian 12 rocks! :)
[2023-11-23 21:03:58]
User963483 - Posts: 22
Just thought I add to this. I have updated to the current version 2564. The performance on download was horrendous. On previous version it was fine. Anyways I did the "Use single network" option and it is MUCH better, but, still around 6-10x slower than it used to be on older versions. I use bottles so the version of wine has not changed at all - only change was SC version. While there is a "fix" it's still not on par with what it used to be or close to Windows perf.

My max download speed with the "fix" is around 0.9-1mbs. Windows gets around 8mbs - line speed is 100. Should be ok for realtime provided I don't have many symbols I guess. Are there any logs I can provide to hopefully get better performance?
[2023-11-23 23:08:39]
Sierra_Chart Engineering - Posts: 14353
The option to use a single network buffer, changes the behavior like it always was. This is definite.

If you are having poor performance this is strictly a Wine issue. We would not know why this is happening other than we know that the network I/O performance in Wine is not good when Overlapped I/O is being used.

There is nothing we can do to help with this at all. This is strictly a Wine issue.
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-11-23 23:09:13
[2023-11-24 02:19:31]
User509533 - Posts: 45
I use the latest Wine (which is different from the Wine version comes with latest Mint/Ubuntu) from https://wiki.winehq.org/Download

My SC on Ubuntu/Mint Linux is super fast. Also make sure you are not using any NVIDIA graphics card whose Linux driver is not supported by NVIDIA, and it is not defaulting to an opensource driver (poor performing). For SC, motherboard graphics is more than enough, no need for an external graphics card, IMO.

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

Login

Login Page - Create Account