fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    High cpu usage on server but not on Laptop

    Questions & Answers
    3
    8
    1151
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DGRL last edited by DGRL

      Dear forum members and fxdreema

      My EA runs perfect on my I7 laptop (24gb) vpro cpu with almost no cpu usage
      If i run this very same EA on my server (linux using playonlinux) intel xeon with 8GB ram the cpu usage is pretty high
      Is this normal or does the server needs more ram?
      its kinda weird that my laptop performs better than the server

      1 Reply Last reply Reply Quote 0
      • M
        miro1360 last edited by miro1360

        Whats your server? Is that dedicated or shared? Shared, right?
        There are tricky hosting services which offers you fast xeon but in the reality they are hosting too many users on one machine via some virtualization technology - so everything is slow even if you think that you got fast server 😄
        They are using other tricky techniques. They offers for you a fast server for a low price. Everything goes so far good, until they decide to decrease the power of your hosted server 😄
        What happens after that? Your metatrader is than slower, using too much CPU. If you decide to run even more metatraders with EAs, the CPU time will be exceeded by your activity and after some time they contact you back with the message: "Hey, your CPU time was exceeded and the CPU power of your server will be limited. Therefore consider buying the "PLUS SuperFast Overpriced" plan where you get more power for your apps." - They will limit you even more, into an almost unusable state, to put a pressure on you for buying faster plan and pay them more money 😄
        Of course, if you contact them, they will beat you with standard deceptive phrases.

        Between trading and gambling is a very small gap, be careful.

        D 1 Reply Last reply Reply Quote 0
        • D
          DGRL @miro1360 last edited by

          @miro1360
          Thanks for the answer
          I have vps server
          It might be shared indeed but i dont know that for sure
          Can you recommend a good VPS rental?
          Or is it cheaper to put up my own?
          Coz dedicated cost to much compared with current electricity prices

          1 Reply Last reply Reply Quote 0
          • M
            miro1360 last edited by

            It still be better cheaper to find a good VPS for you.
            I am out of today's VPS offers. What was good in the past, may not be good today 😄 I think you have to do your own research or a new thread and as a group of people do it. Although it is difficult to say if someone is willing to to collaborate on.
            I just said you, how it is working with some providers 😄

            Between trading and gambling is a very small gap, be careful.

            1 Reply Last reply Reply Quote 0
            • fxDreema
              fxDreema last edited by

              Is the CPU usage because of the EA or even because of MetaTrader?

              1 Reply Last reply Reply Quote 0
              • D
                DGRL last edited by DGRL

                @fxDreema
                It is ony because of the EA
                When EA is removed CPU usage goes down

                1 Reply Last reply Reply Quote 0
                • fxDreema
                  fxDreema last edited by

                  When some program causes 100% CPU load, then the reason could be some infinite loop in the code. That is a code that runs forever in an infinite loop. This would happen if you connect a block with itself. I'm not aware of such problem currently in the generated code, but who knows. Or it can be something else, but I really don't know. I would not expect high CPU only because multiple blocks exist. Yes, many blocks are heavy for the Tester, but the Tester runs them as often as possible.

                  Some custom indicators are also heavy.

                  1 Reply Last reply Reply Quote 0
                  • D
                    DGRL last edited by

                    I am willing to send you screenshot private to see
                    But yeah i use on tick chart to check every tick so it might be that reason

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post

                    Online Users

                    A
                    R
                    K
                    K
                    T
                    A

                    14
                    Online

                    146.8k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors