Heavy CPU Usage in L4Mac

Page 1 of 1 (10 items)
This post has 9 Replies | 0 Followers

Posts 709
Russ Quinn | Forum Activity | Posted: Thu, Apr 22 2010 3:03 PM

The CPU usage on my Macbook Pro with 2.2 Ghz Intel Core 2 Duo processors consistently ranges between 98-180%.

Is this expected behavior at this point or something that should be investigated?

For reference, Parallels running L4 in Windows 7 averages around 5%.

Posts 456
Roger Feenstra | Forum Activity | Replied: Sun, Apr 25 2010 4:26 PM

Russ Quinn:

The CPU usage on my Macbook Pro with 2.2 Ghz Intel Core 2 Duo processors consistently ranges between 98-180%.

Is this expected behavior at this point or something that should be investigated?

 

This was addressed in the forums several weeks (months) ago.  I believe the answer is "yes", it is expected and is "not a bad thing".

Here is Cameron's post:

http://community.logos.com/forums/p/10488/82607.aspx#82607

Elder/Pastor, Hope Now Bible Church, Fresno CA

Posts 709
Russ Quinn | Forum Activity | Replied: Mon, Apr 26 2010 5:49 AM

Thanks for the link, Roger.

The difference between my issue and the issues on that post is that my CPU usage ranges between 98-180% when the program is by all appearances in an idle state with no indexing, running passage guides, or doing anything else.

When the indexer runs, it maxes out both cores but the app itself stays under 15% or so.

When the indexer finishes and closes, the app ramps up to a much higher range and stays there alternating between non-responsive and responsive states even without any user interaction.

I can leave my computer for an hour or so and the app will continue to utilize the same percentages of CPU.

Currently, keeping L4Win open in Parallels requires less system resources than L4Mac.

Posts 10832
Forum MVP
Jack Caviness | Forum Activity | Replied: Mon, Apr 26 2010 6:48 AM

Russ Quinn:
I can leave my computer for an hour or so and the app will continue to utilize the same percentages of CPU.

Perhaps you should post your log files. Something seems out of the ordinary.

Posts 709
Russ Quinn | Forum Activity | Replied: Mon, Apr 26 2010 7:34 AM

Jack,

Thanks for confirming that you are not having this problem.

Here are my logs.

2818.rquinn logs.zip

Posts 709
Russ Quinn | Forum Activity | Replied: Mon, Apr 26 2010 8:06 AM

Also, here is a crash report that the OS generated upon exiting L4.

7444.L4Mac crash report.txt

Posts 1861
LogosEmployee
Tom Philpot (Faithlife) | Forum Activity | Replied: Mon, Apr 26 2010 10:48 AM

Russ Quinn:
Here are my logs.

Russ,

It looks like your SyncManager is overly-active due to a bug. Try this:

1) Close Logos 4

2) Delete /Users/<your_user_id>/Library/Application Support/Logos4/Documents/<random>/LocalUserPreferences and UserPreferences folders.

3) Restart Logos 4

4) "Sync Now" in the command bar.

This should reset your preferences and fix the issue.

 

Mobile Development Team Lead

Posts 709
Russ Quinn | Forum Activity | Replied: Mon, Apr 26 2010 4:20 PM

Tom,

Thanks, that fixed the CPU issue.

It still takes around 480 MB of memory.

Will that be addressed with future optimization?

Also, I need to merge indexes. Is it ok to do that in the current alpha?

Posts 709
Russ Quinn | Forum Activity | Replied: Mon, Apr 26 2010 7:44 PM

That fix has really made a difference in overall performance!

Everything is much more responsive.

Posts 1861
LogosEmployee
Tom Philpot (Faithlife) | Forum Activity | Replied: Mon, Apr 26 2010 8:34 PM

Russ Quinn:
Also, I need to merge indexes. Is it ok to do that in the current alpha?

Yes.  I did it with A18 just the other day. I will warn you though that due to some changes in the indexing code for some upcoming features which were checked in today, A19 will require a full reindex anyway.

Mobile Development Team Lead

Page 1 of 1 (10 items) | RSS