Very high CPU usage when deleting multiple local files

Advertisement

Guest

Very high CPU usage when deleting multiple local files

When deleting multiple (about 300-400) local files, WinSCP consumes a huge amount of CPU (according to the chart by Process Explorer, attached, most is System/Kernel time) for essentially a trivial operation. The delete is initiated by selecting all files in a folder with Ctrl-A and then pressing Delete. The same operation in a remote folder does not exhibit such phenomenon. The files are mostly < 1MB in size and are all without a file extension.

Using version 5.5.0 (build 3839) on Windows 7 Pro, GUI with the commander interface style. I remember that an earlier 5.something beta version (maybe 5.2, don't remember :( ) also had this behaviour but did not back down on its CPU usage even when finished with the deletings. After upgrading to 5.5, the CPU usage drops after the deletes finish. The hard drive is an SSD, if that makes any difference.

winscp-kernel-time.png

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,271
Location:
Prague, Czechia

Re: Very high CPU usage when deleting multiple local files

Thanks for your report.
Is the for deleting or recycling?
Isn't lower CPU usage for remote files simply caused by a fact the remote deleting performance is network-bound?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,271
Location:
Prague, Czechia

It's recycling. Deleting with Shift-Delete works much faster and uses less CPU.
Ok, thanks. Will test it.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum