• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

File deletes unusually slow

R

Rhino

Flightless Bird
A few weeks ago, I first noticed that it takes an unusually long time to
delete files on my computer. I'm talking about very small files for the most
part, often just 1 KB. I right click on the file, choose delete, and the
message about the file being deleted comes up, just like normal. But it can
take 10 seconds or more to delete even a tiny file. That doesn't seem right
to me. The delete proceeds and succeeds without any error messages.

Should I be concerned? If yes, what should I do to fix this?

I am running XP Pro with SP2. The computer is just over a year old and has a
quad-core processor. I have 2 GB of memory.

--
Rhino
 
P

Pegasus [MVP]

Flightless Bird
"Rhino" <no.offline.contact.please@example.com> wrote in message
news:umeB6rGvKHA.2436@TK2MSFTNGP04.phx.gbl...
> A few weeks ago, I first noticed that it takes an unusually long time to
> delete files on my computer. I'm talking about very small files for the
> most part, often just 1 KB. I right click on the file, choose delete, and
> the message about the file being deleted comes up, just like normal. But
> it can take 10 seconds or more to delete even a tiny file. That doesn't
> seem right to me. The delete proceeds and succeeds without any error
> messages.
>
> Should I be concerned? If yes, what should I do to fix this?
>
> I am running XP Pro with SP2. The computer is just over a year old and has
> a quad-core processor. I have 2 GB of memory.
>
> --
> Rhino


It's not the size of the file that matters but the number of files you have
in the current folder. How many? And does the problem persist while in Safe
Mode?
 
T

Tim Slattery

Flightless Bird
"Pegasus [MVP]" <news@microsoft.com> wrote:

>
>
>"Rhino" <no.offline.contact.please@example.com> wrote in message
>news:umeB6rGvKHA.2436@TK2MSFTNGP04.phx.gbl...
>> A few weeks ago, I first noticed that it takes an unusually long time to
>> delete files on my computer. I'm talking about very small files for the
>> most part, often just 1 KB. I right click on the file, choose delete, and
>> the message about the file being deleted comes up, just like normal. But
>> it can take 10 seconds or more to delete even a tiny file. That doesn't
>> seem right to me. The delete proceeds and succeeds without any error
>> messages.
>>
>> Should I be concerned? If yes, what should I do to fix this?
>>
>> I am running XP Pro with SP2. The computer is just over a year old and has
>> a quad-core processor. I have 2 GB of memory.
>>
>> --
>> Rhino

>
>It's not the size of the file that matters but the number of files you have
>in the current folder. How many? And does the problem persist while in Safe
>Mode?


I beg to differ. If you're deleting the file from Windows Explorer,
then the OS is going to copy it to the Recycle Bin. That process will
certainly take longer with a bigger file. I'm not at all sure why the
number of files in the current folder would make a difference. In
FAT32 the file system has to make a sequential search of the directory
entries to file the one it wants, so there's some reason there. But
NTFS uses a btree structure, which makes it very quick to find any
entry.

--
Tim Slattery
Slattery_T@bls.gov
http://members.cox.net/slatteryt
 
R

Rhino

Flightless Bird
"Tim Slattery" <Slattery_T@bls.gov> wrote in message
news:lif2p5dtb36iabksfsco12a0h47ta2m9c3@4ax.com...
> "Pegasus [MVP]" <news@microsoft.com> wrote:
>
>>
>>
>>"Rhino" <no.offline.contact.please@example.com> wrote in message
>>news:umeB6rGvKHA.2436@TK2MSFTNGP04.phx.gbl...
>>> A few weeks ago, I first noticed that it takes an unusually long time to
>>> delete files on my computer. I'm talking about very small files for the
>>> most part, often just 1 KB. I right click on the file, choose delete,
>>> and
>>> the message about the file being deleted comes up, just like normal. But
>>> it can take 10 seconds or more to delete even a tiny file. That doesn't
>>> seem right to me. The delete proceeds and succeeds without any error
>>> messages.
>>>
>>> Should I be concerned? If yes, what should I do to fix this?
>>>
>>> I am running XP Pro with SP2. The computer is just over a year old and
>>> has
>>> a quad-core processor. I have 2 GB of memory.
>>>
>>> --
>>> Rhino

>>
>>It's not the size of the file that matters but the number of files you
>>have
>>in the current folder. How many? And does the problem persist while in
>>Safe
>>Mode?

>
> I beg to differ. If you're deleting the file from Windows Explorer,
> then the OS is going to copy it to the Recycle Bin. That process will
> certainly take longer with a bigger file. I'm not at all sure why the
> number of files in the current folder would make a difference. In
> FAT32 the file system has to make a sequential search of the directory
> entries to file the one it wants, so there's some reason there. But
> NTFS uses a btree structure, which makes it very quick to find any
> entry.
>


For what it's worth, I am running NTFS on my hard drives. The folders from
which I was trying to delete files did not have thousands or even hundreds
of files in them, more like 10 or 20. Mind you, there were some sub-folders
containing layers of sub-folders within them: does that make a difference?
For instance if I am deleting in C:/mydir\myfile and mydir contains only a
dozen items but some of them are folders containing additional layers of
subfolders, is that going to make the delete of 'myfile' unusually slow?

I never used to find that it took long to delete files unless perhaps they
were very large. But now even tiny files take many seconds to delete.

--
Rhino
 
Top