ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Is this normal to see in a VM with multiple CPUs?

    IT Discussion
    3
    40
    5.1k
    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.
    • IRJI
      IRJ
      last edited by

      I increased the threads from 2 to 6

      scottalanmillerS 1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @IRJ
        last edited by

        @IRJ said:

        I increased the threads from 2 to 6

        Yup, that's what it looks like. Those are the threads that are doing so much work per thread. Not sure what this application is doing but it is CPU bound. It's possible that the amount of work that it needs to do as a limit and that if you give it enough threading engines that it will be able to keep up and you will see the CPU usage drop. But there is a real possibility that it is not working that way and each "worker" needs 100% of the CPU and no matter how many thread engines you add each one carrying an IIS worker process will be kept at 100% regardless.

        Ask the application company what the individual threads are doing here.

        IRJI 1 Reply Last reply Reply Quote 0
        • IRJI
          IRJ @scottalanmiller
          last edited by

          @scottalanmiller said:

          @IRJ said:

          I increased the threads from 2 to 6

          Yup, that's what it looks like. Those are the threads that are doing so much work per thread. Not sure what this application is doing but it is CPU bound. It's possible that the amount of work that it needs to do as a limit and that if you give it enough threading engines that it will be able to keep up and you will see the CPU usage drop. But there is a real possibility that it is not working that way and each "worker" needs 100% of the CPU and no matter how many thread engines you add each one carrying an IIS worker process will be kept at 100% regardless.

          Ask the application company what the individual threads are doing here.

          I've have them on the phone and remoted into the server. I will update this thread once I get more info from them

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            My guess is that there is something going on where the code setting up the worker process is caught in a loop or doing something really intense and it does this for every thread. That's a tough one, fixes are either in the code or just require faster cores.... which can be pretty tough to do.

            1 Reply Last reply Reply Quote 0
            • IRJI
              IRJ
              last edited by

              This server is the lifeline of our business. This processes electronic loan documents for borrowers. Prospective borrowers are having to deal with much longer waits when applying for loans is bad for business

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • IRJI
                IRJ
                last edited by

                We can still do paper loans, but it takes much longer to do.

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @IRJ
                  last edited by

                  @IRJ said:

                  This server is the lifeline of our business. This processes electronic loan documents for borrowers. Prospective borrowers are having to deal with much longer waits when applying for loans is bad for business

                  That's the kind of software that could easily have very big "setup" processing going on.

                  1 Reply Last reply Reply Quote 0
                  • IRJI
                    IRJ
                    last edited by

                    the CPU usage has been down since the last spike

                    upload-b1a51747-0845-47c0-b946-675f9a067cce

                    1 Reply Last reply Reply Quote 0
                    • IRJI
                      IRJ
                      last edited by

                      The tech I worked with said he has an idea what is going on, but he needs to talk the developers to confirm.

                      1 Reply Last reply Reply Quote 2
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

                        Did they come up with any information for you?

                        IRJI 1 Reply Last reply Reply Quote 0
                        • IRJI
                          IRJ @scottalanmiller
                          last edited by

                          @scottalanmiller said:

                          Did they come up with any information for you?

                          We are still waiting to hear back.

                          scottalanmillerS 1 Reply Last reply Reply Quote 1
                          • scottalanmillerS
                            scottalanmiller @IRJ
                            last edited by

                            @IRJ that seems like a really long time for their support to figure out something like that.

                            IRJI 1 Reply Last reply Reply Quote 0
                            • IRJI
                              IRJ @scottalanmiller
                              last edited by

                              @scottalanmiller said:

                              @IRJ that seems like a really long time for their support to figure out something like that.

                              I agree. No spikes over the weekend or any today, though. Its been happening for at least the last 4 weeks. I sent them an email and they said they haven't changed anything yet. I have an after hours call scheduled for tomorrow evening so they can do some DB cleanup

                              1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller
                                last edited by

                                Could be a scheduled process to do something like "defrag the database" or "compress something" that runs periodically.

                                IRJI 1 Reply Last reply Reply Quote 0
                                • IRJI
                                  IRJ @scottalanmiller
                                  last edited by

                                  @scottalanmiller said:

                                  Could be a scheduled process to do something like "defrag the database" or "compress something" that runs periodically.

                                  Yeah that is what I am thinking because I am noticing a pattern of spikes near 11am, 3pm, and 3 am

                                  coliverC 1 Reply Last reply Reply Quote 0
                                  • coliverC
                                    coliver @IRJ
                                    last edited by

                                    @IRJ said:

                                    @scottalanmiller said:

                                    Could be a scheduled process to do something like "defrag the database" or "compress something" that runs periodically.

                                    Yeah that is what I am thinking because I am noticing a pattern of spikes near 11am, 3pm, and 3 am

                                    Do you have an incremental backups running at that point? We had some running on an SQL server at points during the day and it would crush the vCPUs of that virtual machine.

                                    IRJI 1 Reply Last reply Reply Quote 1
                                    • scottalanmillerS
                                      scottalanmiller
                                      last edited by

                                      Good thinking. Backups or snapshots could cause this.

                                      1 Reply Last reply Reply Quote 0
                                      • IRJI
                                        IRJ @coliver
                                        last edited by

                                        @coliver said:

                                        @IRJ said:

                                        @scottalanmiller said:

                                        Could be a scheduled process to do something like "defrag the database" or "compress something" that runs periodically.

                                        Yeah that is what I am thinking because I am noticing a pattern of spikes near 11am, 3pm, and 3 am

                                        Do you have an incremental backups running at that point? We had some running on an SQL server at points during the day and it would crush the vCPUs of that virtual machine.

                                        Unfortunately our Veeam backup runs at 10PM and WSUS updates are done at midnight. So i don't think either of those are causing it.

                                        1 Reply Last reply Reply Quote 0
                                        • IRJI
                                          IRJ
                                          last edited by

                                          We almost went an entire business day without a spike, but old habits die hard
                                          2.png

                                          1 Reply Last reply Reply Quote 0
                                          • IRJI
                                            IRJ
                                            last edited by

                                            I also managed to grab a quick screenshot of the taskmanager before the peak stopped seconds later

                                            3.png

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