I recently P2Ved a windows 2000 advanced server running SQL 2000 to ESXi 4.1 U1. After P2V the database server is not performing as it should. Query which was executing in 20 - 25 seconds on source server takes more than 60 secods to execute and the application times out. KAVG and DAVG values are not very high around 3-5. Device queue is showing 100% utilization and it has another 80-100 requests queued. When I check from inside guest OS it also shows high disk read queue length.
When we check the performance on source server, it has high disk queue length values as well but application does not timeout. On source server the database files are located on SAN LUN and on VM we are using copy of original LUN as RDM. The disk has 42% file fragmentation. The database file in question has size of about 35 GB and has 168k fragments. Can someone suggest a way to resolve this?
P.S: We already tried defragmentation but OS cannot complete defragmentation of DB file even when SQL server services are stopped.