[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[be] [task #8914] bibledit uses a lot of cpu time
From: |
Teus Benschop |
Subject: |
[be] [task #8914] bibledit uses a lot of cpu time |
Date: |
Thu, 11 Dec 2008 08:24:42 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008101315 Ubuntu/8.10 (intrepid) Firefox/3.0.3 |
URL:
<http://savannah.nongnu.org/task/?8914>
Summary: bibledit uses a lot of cpu time
Project: Bibledit
Submitted by: teus
Submitted on: Thu 11 Dec 2008 10:24:41 AM CAT
Should Start On: Thu 11 Dec 2008 12:00:00 AM CAT
Should be Finished on: Thu 11 Dec 2008 12:00:00 AM CAT
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
The CPU time on a moderately powered computer is about 12% for bibledit-bin,
and about 20% or so for bibledit-git. This is far too much. It should be about
0% for each of them. It would be helpful if the bit of code that such so much
power could be identified and modified to behave better. It could be
considered, if the interprocess communication between bibledit-bin and
bibledit-git takes so much resources, if that could not be made to work better
and leaner using the Linux signalling system. Bibledit-bin would signal
bibledit-git that a task is available to be executed. Then bibledit-git would
signal bibledit-bin that the task has been completed. At the moment there is a
lot of polling going on, and that might be the cause of the cpu hunger. To
avoid a hang-up if a signal gets missed out, there should be polling once in a
while to see the status of the tasks.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?8914>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [be] [task #8914] bibledit uses a lot of cpu time,
Teus Benschop <=