CPU Usage

robcolburn
Posts: 2
Joined: Thu May 08, 2008 4:57 pm

CPU Usage

Post by robcolburn » Thu May 08, 2008 5:20 pm

I've noticed this in most of the 3.x branch. SmartFTP currently drains a steady 30% of my cpu, and sometimes 40%. This is while the application is minimized, and idling (no current transfers, nothing for it to to process).

I tend to have 3 remote browsers, and 1 local browser open at a time. If I close 1 remote-browser, I can free up about 10% cpu. Closing 2 remote browsers, regains most of my cpu - it idles around 5%.

This week, I'll attempt to revert to revert to the 2.x, and 2.5x branches, and try to pinpoint the usage pattern to a specific version release.


My normal usage of an ftp client, is to let the application idle in the background until it is needed. But, the cpu usage prohibits this workflow, because my active tasks (browsers, sql client, etc.) are fighting over cpu control.

Tasks and window focus naturally demand cpu usage. An a small amount of overhead to retain connections is understandable. But, while minimized and idling, the application should use very little cpu.

+- System -----------------------------
Microsoft Windows XP Professional
Service Pack 2 (Build 2600)

CPU Speed : 2128 MHz
Total Memory : 1023 MB
Free Memory : 414 MB

+- SmartFTP ---------------------------
Version : 3.0.1016.0
Time Stamp : 2008-05-06 17:49:53
Platform : x86
Unlicensed
Days in use : 480

+- Application DLL --------------------
sfFTPLib.dll : 1.5.13.21
sfFavorites.dll : 1.0.12.0
sfFavoritesShellExtension.dll : 1.0.1.9
sfTransferQueue.dll : 1.0.9.0
sfFTPShellExtension.dll : 1.0.7.0

+- Language ---------------------------
SmartFTP.exe : 3.0.1016.0

+- Internet Explorer ------------------
Version : 7.0.5730.13

+- Winsock ----------------------------
Winsock : 2.2
Last edited by robcolburn on Thu May 08, 2008 5:22 pm, edited 1 time in total.

mb
Posts: 12026
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: CPU Usage

Post by mb » Fri May 09, 2008 12:02 am

Hm I'm unable to reproduce this. SmartFTP uses 0% here when its minimized regardless of the amount of remote browsers open.

Does it only happen with a particular server or any server connection you open? e.g. try to the following:

1. Open 3 Remote Browser to ftp://ftp.smartftp.com
2. Open 1 Local Browser

Regards,
Mat
Last edited by mb on Fri May 09, 2008 12:03 am, edited 1 time in total.

mb
Posts: 12026
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: CPU Usage

Post by mb » Fri May 09, 2008 11:40 am

Do you have any files/folders selected in the Remote Browser or Local browser?

Regards,
Mat

sonicdivx
Posts: 2
Joined: Thu May 15, 2008 5:51 pm

Re: CPU Usage

Post by sonicdivx » Thu May 15, 2008 6:31 pm

[I am seeing this behavior too when the app is not minimized to tray.

So when its open or minimized to taskbar cpu usage 30-40% constantly regardless of connections open.

Minimize to tray and drop to 0% not seeing any memory leaks and amount of memory used seems normal ~10MB when Idle. just a few when minimized to tray.

version 3.0.1014.7

mb
Posts: 12026
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: CPU Usage

Post by mb » Thu May 15, 2008 6:51 pm

sonic: Please install the latest version: https://www.smartftp.com/download

sonicdivx
Posts: 2
Joined: Thu May 15, 2008 5:51 pm

Re: CPU Usage

Post by sonicdivx » Fri May 16, 2008 2:47 am


mb
Posts: 12026
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: CPU Usage

Post by mb » Sun Jun 15, 2008 10:52 am

Please create a movie showing the problem.
http://camstudio.org/

Thank you
Regards,
Mat
Last edited by mb on Sun Jun 15, 2008 10:52 am, edited 1 time in total.

Maleko
Posts: 2
Joined: Tue Jun 24, 2008 8:25 am

Re: CPU Usage

Post by Maleko » Tue Jun 24, 2008 11:15 am

moving around cursor on the smartftp window also will also cause the high cpu usage..here's the recorded vid

http://img372.imageshack.us/img372/1218/smartftpnt6.swf

smartftp 3.0.1017.1
windows xp pro sp3
Last edited by Maleko on Tue Jun 24, 2008 11:17 am, edited 1 time in total.

mb
Posts: 12026
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: CPU Usage

Post by mb » Tue Jun 24, 2008 12:07 pm

Thank you for the video. It uses about 20% of cpu here (on Windows Vista) when moving the mouse like crazy in the SmartFTP window when a local browser and a remote browser window is open. We will look into it.

Try to install the latest version from https://www.smartftp.com/download
We did some changes recently.

Regards,
Mat

Maleko
Posts: 2
Joined: Tue Jun 24, 2008 8:25 am

Re: CPU Usage

Post by Maleko » Tue Jun 24, 2008 9:17 pm

i still have the same problem with this build.

Locked