Solved

Terminal server 2003 slow on hyper V

Posted on 2010-11-29
8
1,179 Views
Last Modified: 2012-05-10
I recently moved a terminal server to hyper V from physical server. CPU is hitting 100% and staying there consistantly through out the day. I moved it from a raid 5 to a raid 1 to improve performance, with just me logged in and trying to run a defragment the cpu is still high and has peaks of 100%. Is there anything else I can do to improve performance. I have 4 logical processors assigned and 4 gig of memory, the nic is reporting 10Gbps.
0
Comment
Question by:Sid_F
  • 7
8 Comments
 
LVL 11

Expert Comment

by:louisreeves
Comment Utility
If this is where 2008 r2 is at, I believe 2003 is going to be " problemmatic" I could be wrong but that my feeling. In other words, look at todays software is:
http://blogs.msdn.com/b/rds/archive/2009/06/24/running-ws08-terminal-server-as-a-virtualized-guest-under-windows-server-2008-r2-hyper-v.aspx

My fear is the 2003 was not optimised for virtual anything. Take a look at the blog

http://social.technet.microsoft.com/Forums/en/winserverhyperv/thread/0753f4dd-fd4e-45e4-be32-6e690cfe9110

you will certainly want to use procmon and perfmon to identify the processs or  perfmon issues... can you narrow it to a disk queue legnth or a process? Then the old troubleshooting is applicable. Please post that information after looking at the MS blog for 2003. try to narrow it down to a more specific question.
0
 
LVL 5

Author Comment

by:Sid_F
Comment Utility
Yes this is 2008 r2. Will check out the links thanks
0
 
LVL 5

Author Comment

by:Sid_F
Comment Utility
With a few users logged on it took over ten mins to open perfmon, cpu is running constantly at 100, its running so slow the perfmon window at times is unresponsive. avg disk queue length and page/sec are 50-100% peaks but never stay constant, cpu is %processor time is constantly at 100%
0
 
LVL 5

Author Comment

by:Sid_F
Comment Utility
Can can I identify what process is taking the cpu 100%, need to delve deeper but am not sure how
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 5

Author Comment

by:Sid_F
Comment Utility
I checked this setup against another site that is running 2008 ts (not r2) however that site is showing up 4 processors in device manager but this server is showing up as 1 processor even though 4 have been specified in the vm settings
0
 
LVL 5

Author Comment

by:Sid_F
Comment Utility
The issue relates to the HAL and the machine not picking up the processors properly. Once this was changed and the correct dll's installed, TS performance was massively improved and is now better performance that its original performance directly on hardware.

I will post the details as to the exact fix. Hopefully this will help others experiencing this problem
0
 
LVL 5

Accepted Solution

by:
Sid_F earned 0 total points
Comment Utility
Below is the fix

If you look in the C:\Windows\System32 folder, do you see the two files ntkrnlmp.exe and halmacpi.dll?
 If not, then you may need to copy the files into that folder. Sometimes the files are in a different folder, such as C:\WINDOWS\ServicePackFiles\i386, and you can simply copy them over.
If not you need to copy them from the Windows Install CD. You can do that from the command line (where K: is the DVD drive):
C:\>extract k:\i386\ntkrnlmp.ex_ c:\windows\system32\ntkrnlmp.exe
C:\>extract k:\i386\halmacpi.dl_ c:\windows\system32\halmacpi.dll
Once this has been done, then add the following to the boot.ini file
/KERNEL=ntkrnlmp.exe /HAL=halmacpi.dll
Reboot the server and you should see all of the processors successfully.
0
 
LVL 5

Author Closing Comment

by:Sid_F
Comment Utility
Fixed
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now