poor performance when deleteing many files

Posted by choppy on Server Fault See other posts from Server Fault or by choppy
Published on 2012-11-27T08:15:50Z Indexed on 2012/11/27 11:07 UTC
Read the original article Hit count: 270

I've got two machines:

The first is IBM Blade with 24 cores 96GB RAM and single local hard drive with 278GB divided to 4 partitions: 1. c: - 40GB; 3GB free 2. d: - 40GB; 37GB free 3. e: - 198322GB; 198.1 free
4. 100MB (EFI system Partition)

Formatted with GPT

The other is pizza server with 4 cores 8GB RAM and single local hard drive with 273GB divided to 3 partitions: 1. c: - 136.81; 20GB free 2. d: - 88.74GB; 87.91 free 3. e: - 47.85GB; 46.91 free

Formatted with MBR

I have two scripts, the first creates 20,000 files in one directory, each file size is 192KB, the second delete the folder (recursive) and prints how much time it toke to delete all files.

The problem is on the first server (blade) it takes about 2 minutes to delete all 20,000 files while on the second (pizza) it takes about 4 seconds!?

Both servers have clean windows server 2008R2 with no special application running on background.

Any ideas what is going on?

© Server Fault or respective owner

Related posts about windows-server-2008-r2

Related posts about Performance