[SOLVED] 100% disk usage in Win10 VM


Recommended Posts

Hello all,

 

I have managed to get my Win10 VM up and running and playing nice with my 3090. Whilst I'm getting to grips with a VM, one thing that has immediately struck me is the extreme slow down the VM has when actioning any task.

 

The below is whilst I install Flight Simulator 2020;

588327304_Taskmanager.jpg.791f5280b85494b3d48228399309fe5a.jpg

 

It's worth noting that I have few active dockers running in the background, certainly none that are causing any slow downs.

 

My machine has an i9-10900k CPU with 64gb RAM (32gb allocated to this VM). My HDD's could do with an upgrade and so with the issue above, what would be the best step (I'm assuming the HDD's are at fault)?

 

I currently have two 10TB HDD's (mechanical) and one 500GB M.2.

Array.JPG.089cc8feed6adfc64628950aefcb7cb6.JPG

 

My shares are setup as follows;

Shares.thumb.JPG.23198a0e372c1d1795dc8aedda020776.JPG

 

Any advise would be greatly appreciated.

Edited by LoneTraveler
Link to comment
5 minutes ago, JorgeB said:

Is the vdisk on cache or array?

 

Hi, 

 

I have the Domains folder set to Yes for "Use cache pool (for new files/directories)", however the actual vdisk image is currently showing as on the array;

 

20210120_152459.jpg

 

Do you think it is worth me reducing the vdisk size from 500GB and having bit solely on the cache? 

Edited by LoneTraveler
Link to comment
58 minutes ago, JorgeB said:

If it can fit on cache it should definitely be there, vdisks on the array will have very bad performance due to parity.

 

Many thanks. 

 

I have tried to reduce my vdisk1.img size from 500GB to 250GB however I'm not having much luck. 

 

I've stopped the VM and tried in the GUI, however it will only allow me to increase the size, not reduce;

20210120_162053.thumb.jpg.74333fe3fd1917d5ef76646677682c78.jpg

 

I have also tried several commands directly in the terminal however that didn't work either;

20210120_161903.thumb.jpg.eb8e583413e0a83cf57870a73df601ae.jpg

 

I have ensured that within the VM, the partition has been reduced to 250GB and the remaining unused space is unallocated. 

 

***EDIT***

This command worked for me to shrink the vdisk;

qemu-img resize -f raw --shrink "/mnt/user/domains/Windows 10/vdisk1.img" 250G

 

Edited by LoneTraveler
Link to comment

I've moved over the vdisk to the M.2, I'm sure things will speed up once everything settles down. I've ordered a 2TB Sabrent M.2 solely for my VM. 

 

Do you think if I change the VM option from SCSI to something else, would that make any difference?

1423942552_Taskmanager.jpg.9bcd453c67589c445bddb04f2aafa844.jpg

Edited by LoneTraveler
Link to comment
  • ytddewqf changed the title to 100% disk usage in Win10 VM
On 1/20/2021 at 3:38 PM, JorgeB said:

If it can fit on cache it should definitely be there, vdisks on the array will have very bad performance due to parity.

 

My Sabrent 2TB M.2 is installed and passed through to the VM as a dedicated drive, things are so much faster! 

 

Many thanks. 

 

20210123_154519.thumb.jpg.5617698744750e84e998acbd8b9cb5d9.jpg

Edited by LoneTraveler
  • Like 1
Link to comment
  • ytddewqf changed the title to [SOLVED] 100% disk usage in Win10 VM

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.