This section is no longer being used. Please join the discussion in the Developer Forums.
cpu usage
| Votes | Replies | Views | Asked by |
|---|---|---|---|
| 1 | 16 | 729 | 1GR3 about 9 months ago |
Hello!
My devkit arrived yesterday and I have downloaded latest SDK and examples. When I start Leap app it doesn't appears in the dock and in activity monitor I can see that it takes between 60% and 90% CPU usage. Examples work fine but it just does not seams to be right.
Can someone please help?
Thank you in advance!
| Votes | Answered by |
|---|---|
| 1 | David Holz LM about 8 months ago |
A Macbook Pro with a Core i7 can go up to 800% CPU since they measure CPU % in terms of number of hyperthreaded cores.
| Votes | Answered by |
|---|---|
| 1 | Alexander about 8 months ago |
Try to set "Low Resource" checkbox on tab "Tracking" in Leap settings - it should reduce CPU usage.
P.S: mine CPU usage is about 5-10%, with option above - 5-7% (AMD Phenom II X4 955 @ 3.2GHz)
| Votes | Answered by |
|---|---|
| 1 | Jonathan about 8 months ago |
I haven't had time to completely debug but from what I can tell there is a jump in network activity when the leap device initializes. This seems to be tied to the cpu usage as well. From the logs I'm guessing that the device is utilizing a websocket server to handle serializing device information to clients. I'm wondering if there is a performance bottleneck somewhere on that side. Right now it's speculative, I haven't had time to look into it further with any tooling yet.
I'm running a macbook pro as well. My only other concern was whether the server was being created utilizing the NAT address or localhost. I notice on my mac a slight difference on the roundtrip speed. For a couple of packets it wouldn't make a difference but given the amount of information being sent it might be an opportunity to speed things up slightly.
|
By Kevin Dude on 2013-02-26 |
Hi Jonathan, One thing you can try to rule out the websocket theory is to set "websockets_enabled": false in the config.json file and see how that changes your CPU usage. |
| Votes | Answered by |
|---|---|
| 0 | LateBoomer about 8 months ago |
Agree, I find the Leap Motion a little resource hungry.
The user experience will need to warrant this. (wow factor)
My PC is running a Core Duo 3.06GHz 4G RAM Win7.
| Votes | Answered by |
|---|---|
| 0 | catdevnull about 8 months ago |
I'm also on a MacBook Pro 2007 model running a Core 2 Duo 2.4GHz and with 0.7.4 SDK.
Seeing between 50 and 60% CPU load for me too which is rather high. Then again there's a lot of computation running I guess!
| Votes | Answered by |
|---|---|
| 0 | Guilherme D. Juraszek about 8 months ago |
Same problem here. I'm using an Macbook Pro i7 2.4Ghz and Leap uses ~60% even without any application opened (just the leap.app of course).
| Votes | Answered by |
|---|---|
| 0 | 9elements about 8 months ago |
I also have about 40% cpu usage on my MBP i7 with 2.6GHz, even though there is no app using the SDK.
Maybe it would be smart to only enable tracking only when there is an app / webapp using the device / sdk?
| Votes | Answered by |
|---|---|
| 0 | mattyo about 7 months ago |
On a macbook pro, core i7, 2011 model, 4 gig RAM, I'm getting between 50-70% showing in top. In low resource mode, this drops to about 30%. Fan immediately turns on the minute I plug in the Leap, regardless of resource mode, which is a little disconcerting. Most recent SDK, etc. Hardware version 06.5
| Votes | Answered by |
|---|---|
| 0 | mattyo about 7 months ago |
FWIW, I've got a MacBook Pro 2011 model, core i7, with 4 gig of RAM
| Votes | Answered by |
|---|---|
| 0 | Alex about 7 months ago |
Lol, my pc gets nowhere near that... But from seeing posts previously that sounds about right.
| Votes | Answered by |
|---|---|
| -1 | 1GR3 about 8 months ago |
@david 2.4GHz/4GB MacBook Pro
|
By 1GR3 on 2013-02-09 |
Mac OS X 10.7 Lion |
| Votes | Answered by |
|---|---|
| -1 | 1GR3 about 8 months ago |
@alexander I've tried "Low Resources" mode and it reduces usage on about 40% which is still very high.
I asume something is not optimized right in this version of SDK and device because It can't be recalibrated yet... let's hope SDK 0.7.4 will fix that.
| Votes | Answered by |
|---|---|
| -1 | wesbos about 8 months ago |
I'm running a macbook pro with a core i7 and its taking 90% of my CPU at all times
|
By d.code on 2013-02-25 |
I have an i5, 4GB RAM 2010 Lenovo Ideapad and it takes 30-50% max. My brother has a sony i5 with 8GB RAM that has a similar problem as you are facing, so my answer is there is something wrong with the drivers and there are performance issues with your laptop, its not necessarily tied to Leap. |