Jump to content
Sign in to follow this  

New platform CPU usage is very high

Recommended Posts

Hi there, I started to try out the new platform but comparing to 5% CPU usage in classic during any 'fairly' busy market hours, the new platform uses about 10-15% CPU. I run it on a server box with Xeon 1226v3 3.6g Quad core and 32GB DDR3 ram which would be sufficient for any browser based application. I tried both latest Chrome and Firefox and the CPU usage are similar on both.

 

Please could you let me know whether it is intended to use such an high amount of CPU or there is plan to reduce it.

(For reference, in the same box I ran a MySQL 5.7 server with 50+ concurrent connection with high thoughput I/O to a local SSD and it uses only 5-8% CPU)

Share this post


Link to post

Hi .  Just for reference, my system is not as high spec as yours but flicking through charts on the new platform the CPU use is much higher (up to 25% total use) but the RAM hardly flickers, it use to be the other way round. Presumably this is a function of the new HTML5 over the old Java?

Without a doubt though the charts load quicker than any other platform I have used and running a large number of charts and constantly flicking through them is no trouble at all.

Share this post


Link to post

Hi

 

The charts on the new platform definitely load faster compared to the classic platform charts, this is mainly due to the new charts not using Flashplayer. I did a test on my PC using Chrome 64-bit and found it to be using 8-12% CPU usage while having 9 pop out charts open.

 

If you are experiencing resource management issues on a high spec PC then it could be an issue with the browser. Please try to download chrome 64 bit this might solve your issue.

 

Let me know what your experience is like using the 64 bit browser.

 

Thanks

Anton

Share this post


Link to post

Thanks Antony. I was using all 64 bits browsers all the time so that's not the issue. I can see the CPU usage sometimes can be 8-12%. But that is still too high for a browser based application. I have multiple IG accounts so sometimes I open 3 different browsers and log in separately. Then my combined CPU usage shoots up to 25-45% percent just for IG platforms. That is without any chart opened.

 

In comparison, the classic platform uses maximum 1-2% CPU, and most of the time 0% during even busy market hours. That is whopping 1000-1200% jump in CPU usages. From a developer perspective (as being one with 15 years full-time dev experiences) I wouldn't even accept the new platform as a viable replacement for the old product given such an unbelievable jump in CPU consumption.

 

My servers are all heavy duty with all sorts of applications/databases/virtual machines running at the same time so such a jump becomes a headache for me please address appropriately and technically. I don't want to see the classic going away at any time just because it's low consumption on system resource.

Share this post


Link to post

Hi

 

That is quite a jump in usage. I will forward your test results to our developers to see if we can  make the platform less resource intensive. This would likely not be a quick fix but it is definitely worth looking into.

 

Thanks

Anton

Share this post


Link to post

I've got similar experience, there appears to be a huge memory hole somewhere.  The charts are fine to start with but after an hour or so the lag is unbearable and everything grinds to a halt.

 

This is with x64 Firefox browser on an exceptionally powerful PC, I've been trying to avoid it but will consider giving Chrome (spit) a try.

 

(the old chart is fine, no problems)

Share this post


Link to post

 Same issue on Chrome Version 59.0.3071.115 (Official Build) (64-bit) 1.5GB RAM and climbing after a couple of hours, 2 workspaces, about 15 charts in each of them. 

Share this post


Link to post

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Member Statistics

    • Total Topics
      7,620
    • Total Posts
      39,070
    • Total Members
      49,234
    Newest Member
    alexserfu
    Joined 17/10/19 17:13
  • Posts

    • Hi everyone,  so, those of you following my FTSE - Daily Trades thread may know, I'm looking for new strategies to tackle the market. Was starting to think about this today and made a few thoughts. First one I came up with in the process is the following and utilises 'Andrew's Pitchfork' a rather odd name for a simple principle.   Thought Process I was going back to the basics and starting to think about the fundamentals of trading: Buy low and sell high. Or go short high, and buy back low later. So the key of my new strategy has to somewhat depended on these fundamental trading principles. Next I was thinking, looking at a chart, in what region can the price considered to be "low" and in what region would I consider it to be "high". I was looking at a 5min chart and looking at the whole day. I was drawing one line at the low of day, one line at the high of day, those are obviously the extremes where everyone can agree prices are low / high. Then I draw a line right in the middle between the two, where the price is neither high nor low. Then I draw a line at 25% and one at 75% and said, if the price is between the low of day (0%) and 25%, I consider the price to be low. If the price is between 75% and high of day (100%) I consider the price to be high. In between (25%-75%), it's neither high nor low. If I'd somehow manage to always buy in the low range and sell in the high range (or go short vice versa), then this could be a decent strategy. The next problem I was facing is, I've done this analysis on the previous day, where we know high and low of day. How can this strategy work out for future price movements, where high and low of day are unknown. Andrew's Pitchfork This is where the Pitchfork comes in. The assumption I'm making is that if I extrapolate the 4 required levels (low of day, high of day, 25% and 75%) from the previous day to the following day, the strategy still works. This is because more often than not, prices move up and down around a certain level, without breaking away from it and moving onto the next level. (This obviously has to be proven with data - more to that later) The way the pitchfork works is exactly how the 4 required levels are drawn up. The pitchfork is defined over 3 points: High, Low and Mid-point. It then draws 5 levels on the chart: High (100%), 75%, Mid (50%), 25%, Low (0%) So how does it work The way I imagine it to work is the following: 1) Identify previous day's high and low 2) Draw the pitchfork in the chart with aligning its high and lows on the daily high and low. The mid point is exactly in the middle of daily high and low. This draws a horizontal pitchfork in the chart. 3) When the price of the asset falls below 25%, place a buy stop order at the 25% level. Once the price rises again and breaks through that level, the order gets executed. (vice versa with shorting above the 75% level) 4) Stop Loss is right below (size of the spread) the low of the pitchfork. Target is somewhere above 50%-75%. You have at least a 1:1 risk-to-reward ratio. Need to calculate target level by asset based on historic patterns. Does it work? Don't know yet. So far I've manually painted a few of those pitchforks in the chart for the past couple of days on FTSE100, NASDAQ, CL and NG and it seems it works more often than it doesn't. Cases where it clearly doesn't work is when there's a strong move to either direction, aka price breaks-out and moves to a different level than it was the day before. Interestingly when this happens, the strategy wouldn't necessarily always result in a loss, but sometimes the entry conditions would never be triggered in the first place. E.g. if we start the day already in the high region (above 75%) and then never fall below it - no order triggered on that day. On the negative side, huge breakout opportunities are missed with this strategy, so worth looking into a complementary strategy which works specifically for break-outs. Next steps Next, I'm trying to backtest the strategy. Will need to pull a whole lot of data and analyse. Hope to have that done over the weekend. Will update the thread accordingly. Data I'm trying to get: Win ratio, Where's the optimum take profit level, Time of day where this usually plays out (my idea is to hook this in with the ATR analysis I've done and trade this pattern at times of high ATR, aka FTSE, DAX in the morning, NASDAQ, NG, CL in the afternoon)  First success First successful example trade taken this afternoon on CL. You see nicely how the pitchfork is drawn on the chart and is derived by the high and low of the previous day. At 14.30 today the price dipped below the 25% level. I set the buy stop order at the 25% level, which got triggered at 14.35. The price afterwards makes a sweep move up to the 50% level, where my limit sell order gets triggered at 15.15. It would've been possible to play it up until the 75% level, but wanted to be safe, without having the data yet. Could've been luck - who knows.   What do you think of this approach?        
    • just to add to bigdeal's reply SBs can be either cash/daily funded bet or futures/forward which have a separate chart accessed from the dropdown box next to the chart title. for cash/dfb there is no expiry but you paid an overnight interest fee, this charge does not apply to futures/forwards which have a larger spread instead. see pic.
    • https://www.home.saxo/insights/content-hub/articles/2019/10/17/emerging-market-stocks-just-break-out-of-a-20-month-downtrend
×
×