Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm erasing tens of thousands of small files in a VMWare Workstation 7, and it's taking HOURS.

I can't figure why this is so, as the computer is very high speced, and the VM runs on an SSD.

Any ideas?

Details:

Host has two SSDs - one for the OS (Windows 7) and one for the SSD.

Erasing the files is done using Total Commander: selecting, feeding into a list box and then deleting.

Windows XP as guest operating system. The guest shows 100% CPU Usage and a 341M out of 2.5G commit charge.

The virtual machine is located on the Host's SSD D:, separate from the C: SSD containing the host's Windows 7 Ultimate. The host is barely sweating, with 12% CPU Usage and 37% of its 24GB memory (it's running two more virtual machines, but they are on the third (hard) disk, not on either of the SSDs).

The Resource Monitor running on the host shows the guest has 916,000 B/Sec disk writes.

Clearing the guest's Recycle Bin appears to momentarily speed up the deletion tremendeoulsy.

The SSDs have a 100 MB/s write throughput.

Why is it so slow?

share|improve this question

migrated from serverfault.com Mar 29 '11 at 17:59

This question came from our site for system and network administrators.

    
Does your host have 8 cores, making 12% one fully used, the others idle? –  Daniel Beck Mar 29 '11 at 18:17
    
@Daniel - It thas 8 cores, and 4 of them are parked. –  Avi Mar 29 '11 at 18:19

1 Answer 1

up vote 3 down vote accepted

If you're deleting more than the recycle bin can hold the first items are added to the bin until it's full, then for each additional item the bin is scanned and the oldest item is removed. This scan, remove, add, scan, remove, add, ect... process takes forever.

Hold down SHIFT when selecting delete (in windows explorer) to avoid the recycle bin entirely.

share|improve this answer
    
Now the question is how I can bypass the recycle bin using my beloved Total Commander. –  Avi Mar 29 '11 at 18:20
    
One pebble, One question! ;-) –  Chris Nava Mar 29 '11 at 18:24
    
I haven't used it. However, I would look for a "delete permanently" or "secure delete" (may be even slower?) option. –  Chris Nava Mar 29 '11 at 18:26
1  
@Avi: Hold down Shift. (Also see Configuration - Copy/Delete.) –  grawity Mar 29 '11 at 19:11
1  
Hope you have good backups ;-) –  Chris Nava Mar 30 '11 at 15:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.