Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OSX][1.8.0] High CPU Usage #3007

Closed
mcnesium opened this issue Mar 23, 2015 · 11 comments
Closed

[OSX][1.8.0] High CPU Usage #3007

mcnesium opened this issue Mar 23, 2015 · 11 comments
Assignees
Labels
bug Needs info ReadyToTest QA, please validate the fix/enhancement

Comments

@mcnesium
Copy link

As a follow-up of #2479 this is a chart for my v1.8 CPU usage:

oc8

During that one hour the system was almost completely idle. No sync action has been necessary. The divergence between 3:14 and 3:20 is due to me waking the client up from idling by tapping the touchpad and entering the password. No further actions have been made.

This is still on the C2D 2,2Ghz MBP running OSX Lion and I think the ~60% CPU usage peaks are way too high for this background type of application. The system fan never turns off completely and that should not be the case.

Edit: I have 15 sync folders containing 2482 subfolders and 14313 files total. Will run oc with logfile parameter later today…

@guruz
Copy link
Contributor

guruz commented Mar 23, 2015

Could you edit your bug report to also state again how many sync folders with how many files you have configured?
Did you check the log (start client with /Applications/owncloud.app/Contents/MacOS/owncloud --logfile -) if it does actual sync runs or if the CPU load is caused by something else?

Please feel free to send me part of the log (best the parts that don't do a sync but still cause CPU) to my nickname here on github @ owncloud.com

@guruz guruz self-assigned this Mar 23, 2015
@guruz guruz added the bug label Mar 23, 2015
@guruz guruz added this to the 1.8.1 - Bugfix milestone Mar 23, 2015
@guruz
Copy link
Contributor

guruz commented Mar 25, 2015

@mcnesium
Copy link
Author

And heres the new CPU Usage:

oc-1 8 0 2204

I don't se much of a difference there. The link to the log is in your mailbox @guruz

@ckamm
Copy link
Contributor

ckamm commented Mar 25, 2015

Maybe a9a24c9 is related.

guruz added a commit that referenced this issue Mar 25, 2015
Saves ~200msec on my not-so-old MBP on OS X.
For #3007 #2990
@guruz
Copy link
Contributor

guruz commented Mar 25, 2015

http://download.owncloud.com/desktop/daily/ownCloud-1.8.0.2220-nightly20150325.pkg
Contains the commit above and the comment @ckamm has commented.
Feel free to try, for me it frees up 200msec per sync folder per ETag job.

@ckamm
Copy link
Contributor

ckamm commented Mar 26, 2015

@mcnesium The patches helped for the similar bug #2990 :)

@ckamm ckamm added the ReadyToTest QA, please validate the fix/enhancement label Mar 26, 2015
@mcnesium
Copy link
Author

that one looks much better! Check out the Y-axis:

oc-1 8 0 2220

I am not sure if I actually did syncable stuff on the system at x=36:30 but at least it is calm when I do not do anything. Thank you very much for that fix 👍

@guruz
Copy link
Contributor

guruz commented Mar 26, 2015

Terrific :)
Thanks for the bug reports.

@qnxor
Copy link

qnxor commented Mar 27, 2015

I'm still experiencing high CPU usage at idle with spikes every 60 seconds as I posted here: owncloud/core#14873 (comment)

I could give this nightly a try.

@qnxor
Copy link

qnxor commented Mar 27, 2015

Build 2220 seems much better (note the lower Y axis values, previously 70%, now 2-3%):

CPU usage

Log file: https://dl.dropbox.com/s/i9qrtz7a0bnrrzp/oc7.log

EDIT: Sorry, I meant to post this in the other issue.

@derkostka
Copy link

I still see nearly 80% CPU on my C2D Macbook with the App 1.8.4 and OSX 10.7.

-> I´m having thousands of small files synced and see that the client is scanning nearl the wohle time. Is this related ? What can i do ?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Needs info ReadyToTest QA, please validate the fix/enhancement
Projects
None yet
Development

No branches or pull requests

5 participants