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

    CPU Spikes in a Hyper-V VM

    IT Discussion
    5
    47
    5.8k
    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.
    • garak0410G
      garak0410
      last edited by garak0410

      My new file server in a Hyper-V VM was migrated last weekend. It has been running quite well until today. We are now having CPU Spikes. It looked like it was our Symantec SEP but I killed it and while the CPU settled down, it is still averaging about 40% CPU usage with spikes back up in the 90's. Mostly from Service Host or SYSTEM.

      The VM has 8GB of RAM and 2 CPU. With Anti-Virus management killed, it is then just a file server with shadow copies on (only runs twice a day.)

      DO I need to tweak my VM settings some? And yes, I know, Symantec is bloated but it is all we have for now and has worked well for us.

      Any other suggestions? Management is looking at this closely and wanting to point at virtualization.

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

        Are you seeing spikes inside the VM or from outside of the VM? Are you seeing performance problems?

        garak0410G 1 Reply Last reply Reply Quote 0
        • garak0410G
          garak0410 @scottalanmiller
          last edited by

          @scottalanmiller said:

          Are you seeing spikes inside the VM or from outside of the VM? Are you seeing performance problems?

          Within. The Host is pretty normal. This is the task manager before I killed Symantec:

          cpu01.jpg

          Then Symantec was still running, it was constant 99%. Right now, it just spiked (with no Symantec running)

          cpu02.jpg

          Not sure if this is just normal spikes with our usage. Didn't have this problem on the physical and under powered SBS 2003 with only 4GB and 32bit.

          1 Reply Last reply Reply Quote 0
          • garak0410G
            garak0410
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • garak0410G
              garak0410
              last edited by

              And yes...horrid performance problems, especially when it was at 99%. Taking forever for end users to access files on the shared drives.

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

                Is that a Sybase DB running? That is a lot of CPU there.

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

                  How many vCPU do you have assigned?

                  1 Reply Last reply Reply Quote 0
                  • Bill KindleB
                    Bill Kindle
                    last edited by

                    Are you doing full scans or targeted scans? Do you have any files/folders in the exclusion list?

                    garak0410G 1 Reply Last reply Reply Quote 0
                    • garak0410G
                      garak0410 @scottalanmiller
                      last edited by

                      @scottalanmiller said:

                      Is that a Sybase DB running? That is a lot of CPU there.

                      That is the DB for Symantec SEP...again, currently not running...

                      It just happened again now:

                      cpu03.jpg

                      We are running 2 virtual processors.

                      1 Reply Last reply Reply Quote 0
                      • garak0410G
                        garak0410 @Bill Kindle
                        last edited by

                        @Bill-Kindle said:

                        Are you doing full scans or targeted scans? Do you have any files/folders in the exclusion list?

                        Currently, Anti-Virus services are off. Going to check the settings again tonight when I turn it back on after hours...

                        1 Reply Last reply Reply Quote 0
                        • garak0410G
                          garak0410
                          last edited by

                          Should I give it 4 CPU's? Is that not excessive for just a file server, albeit heavily used one?

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • PSX_DefectorP
                            PSX_Defector
                            last edited by

                            You should be giving less vCPUs, not more.

                            garak0410G 1 Reply Last reply Reply Quote 0
                            • garak0410G
                              garak0410 @PSX_Defector
                              last edited by

                              @PSX_Defector said:

                              You should be giving less vCPUs, not more.

                              So perhaps try one tonight?

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

                                @garak0410 said:

                                Should I give it 4 CPU's? Is that not excessive for just a file server, albeit heavily used one?

                                Not likely. But it depends on many factors.

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

                                  @garak0410 said:

                                  @PSX_Defector said:

                                  You should be giving less vCPUs, not more.

                                  So perhaps try one tonight?

                                  Very un

                                  @garak0410 said:

                                  @PSX_Defector said:

                                  You should be giving less vCPUs, not more.

                                  So perhaps try one tonight?

                                  very unlikely to be the culprit but doesn't hurt to try.

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

                                    Weird posting thing there.

                                    1 Reply Last reply Reply Quote 0
                                    • garak0410G
                                      garak0410 @scottalanmiller
                                      last edited by

                                      @scottalanmiller said:

                                      @garak0410 said:

                                      @PSX_Defector said:

                                      You should be giving less vCPUs, not more.

                                      So perhaps try one tonight?

                                      @garak0410 said:

                                      @PSX_Defector said:

                                      You should be giving less vCPUs, not more.

                                      So perhaps try one tonight?

                                      very unlikely to be the culprit but doesn't hurt to try.

                                      Got to try something...because I am taking 1/2 day off tomorrow...LOL. Will try tonight...

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

                                        Important to consider that malware is a possibility. Do a scan with some third party scanners to improve confidence. Such a new system, unlikely to be infected but you never know.

                                        1 Reply Last reply Reply Quote 0
                                        • NaraN
                                          Nara
                                          last edited by

                                          If you bring up performance monitor, what files are being written/read? Even if the disk activity is relatively low, it gives you an idea of what the process is doing by the files it's interacting with.

                                          garak0410G 1 Reply Last reply Reply Quote 1
                                          • garak0410G
                                            garak0410
                                            last edited by

                                            It had no malware.

                                            So, powered it off and took away a virtual CPU.

                                            It took forever and a day to boot up and even when I finally got a login screen, it takes forever to get its services started (Welcome, Policy Registration, Local Session Manager takes forever to come up). Then a black screen for a good while and finally the desktop. And waiting and waitng for it to let me input. Server Manager creeps to a start. The right click I did on the task bar so I could get the task manager took over a minute to give me the context menu...finally got task manger up and for sure, back to 99% CPU with Symantec and Service Host taking most of it.

                                            This is terrible It has to be some kind of VM setting wrong. But it wasn't this bad yesterday.

                                            I am about to bring up resource monitor but it is taking forever as well...

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