ZTree.com  | ZEN  | About...  

 Index   Back

[OT] Many deletes slows and stops   [OT]

By: Marcel       
Date: Mar 19,2018 at 14:58
In Response to: [OT] Many deletes slows and stops (Donald_SBC)

> This video shows the speed. It appears to take what seems a second
> for each file. In this example I am using JP Software's TCC to do this
> command DEL /SXYZ MYDATA_DAY2
> Params mean process Sub dirs, remove empty dirs, Yes to all prompts,
> del hidden and read only
>
> It is almost like it is doing a wipe on the space the file occupied.
>
> Video to give feel of speed. https://youtu.be/SvynxtG727U
>
>
> > > It seems to run faster if I allow the Recycle Bin to be used.
> > >
> > > Using ZTreeW64 v2.4.182
> > >
> >
> > Which I would have thought was normal, because it then becomes a move
> > rather than a delete. You will incur the delete overhead when the
> file
> > is deleted from the recycle bin; which may not be noticeable because
> it
> > could be over a period of time. Of course, if you empty the recycle
> bin,
> > you will get an idea whether that is any different from the time
> being
> > taken by ZTree.

Sometimes prune (Alt-P) works a bit faster, but I suspect you are running up against the OS itself.
There are some suggestions to use robocopy /mir (Google it) because it is running multiple threads. Most likely all the overhead of removing the file and directory entries (long and 8.3), removing indexing data and ACLs is slowing this to a crawl. Initially the file cache will eat some of this overhead but once it is saturated, you're looking at real time synchronous disk operations (you didn't say if this is an SSD or platters).
Some things you can try to shave off some time is to disable 8.3 filename generation, and to turn off indexing for that volume.

Good luck.

979 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 65 users online (0 registered, 65 guests)
Index | Admin contact |   Forum Time: Mar 28, 2024 - 9:48 pm UTC  |  Hits:62,381,397  (33,794 Today )
RSS Feed