Topic "Very high CPU usage when deleting multiple local files"

Author Message
Guest




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 Sad ) 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 (66.12 KB) [Download]

Description: (none)

Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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?
Guest




It's recycling. Deleting with Shift-Delete works much faster and uses less CPU.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Quote:
It's recycling. Deleting with Shift-Delete works much faster and uses less CPU.

Ok, thanks. Will test it.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License