<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake/lib/bb/runqueue.py, branch bernard-5.0rc2</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=bernard-5.0rc2</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=bernard-5.0rc2'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2011-03-01T00:34:34+00:00</updated>
<entry>
<title>bitbake/cache/runqueue.py: Move workload for recipe parsing to the child process</title>
<updated>2011-03-01T00:34:34+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-28T15:31:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9837e78bfc6573cf5795dd611c44f28b31cdabec'/>
<id>urn:sha1:9837e78bfc6573cf5795dd611c44f28b31cdabec</id>
<content type='text'>
Parsing the recipe in the parent before forking off the child worker
can mean the parent doesn't hit the idle loop and becomes a bottleneck
when lauching many short lived processes.

The reason we need this in the parent is to figure out the fakeroot
environmental options. To address this, add the fakeroot variables
to the cache and move recipe loadData into the child task.

For a poky-image-sato build this results in about a 2 minute speedup
(1.8%).

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/runqueue: Drop PATH override. This was needed for the exec() change but not now we use fork()</title>
<updated>2011-02-21T17:26:18+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-21T17:26:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4b6de47e731357ee31ac0f2af79bff7ed93c3736'/>
<id>urn:sha1:4b6de47e731357ee31ac0f2af79bff7ed93c3736</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>runqueue: simplify RunQueueStats.copy</title>
<updated>2011-02-21T13:48:52+00:00</updated>
<author>
<name>Chris Larson</name>
<email>chris_larson@mentor.com</email>
</author>
<published>2011-02-16T22:24:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5f73918d99e1aff5447830971eb993f4a7e1e4e1'/>
<id>urn:sha1:5f73918d99e1aff5447830971eb993f4a7e1e4e1</id>
<content type='text'>
(Bitbake rev: 778571f155139fcf43d0e30e875c39d6592ae03f)

Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>runqueue: pass a copy of the RunQueueStats to events</title>
<updated>2011-02-21T13:48:39+00:00</updated>
<author>
<name>Chris Larson</name>
<email>chris_larson@mentor.com</email>
</author>
<published>2011-02-16T22:18:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0f42f6b640813ca4d5a9d7b4292dafea563d2d7d'/>
<id>urn:sha1:0f42f6b640813ca4d5a9d7b4292dafea563d2d7d</id>
<content type='text'>
This avoids cases where the stats are modified after the event is fired but
before it's dispatched to the UI.

(Bitbake rev: 1954f182687a0bd429175dda87f05d8a94bb403a)

Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/runqueue.py: Move SIGCHLD handler to wrap none server sleep call</title>
<updated>2011-02-18T11:54:28+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-18T11:43:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=359a4d8bf72867b4d5f3daaf8c4f14a82a810107'/>
<id>urn:sha1:359a4d8bf72867b4d5f3daaf8c4f14a82a810107</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/runqueue.py: Ensure child has the default SIGCHLD handler restored</title>
<updated>2011-02-16T12:33:40+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-16T12:33:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7e4c694c9f53ce9458e052adb918c45db88254dd'/>
<id>urn:sha1:7e4c694c9f53ce9458e052adb918c45db88254dd</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/runqueue: When we successfully fork off a task and there are more processes we can start do so immediately</title>
<updated>2011-02-15T23:20:54+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-15T23:20:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=974ea1a190167dcfd831ba1fc5f733e0dc9a6fda'/>
<id>urn:sha1:974ea1a190167dcfd831ba1fc5f733e0dc9a6fda</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/runqueue: When we have successfully collected a pid value return True to ensure we don't sleep in the main loop</title>
<updated>2011-02-15T23:20:20+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-15T23:20:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5a178b547bbf6d99c42cba6821b3f559e585a079'/>
<id>urn:sha1:5a178b547bbf6d99c42cba6821b3f559e585a079</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/runqueue: Add a SIGCHLD handler to ensure we wake from sleeps for SIGCHLD events</title>
<updated>2011-02-15T23:19:43+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-15T23:19:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=03d40a4a7bd60dcbc21f5a06c0f4f53cb47de0f3'/>
<id>urn:sha1:03d40a4a7bd60dcbc21f5a06c0f4f53cb47de0f3</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake/runqueue.py: Avoid starvation of events to the server</title>
<updated>2011-01-28T10:21:41+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-01-28T10:21:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=06c6db7929c75f576a395fb442abe447b833fc3b'/>
<id>urn:sha1:06c6db7929c75f576a395fb442abe447b833fc3b</id>
<content type='text'>
The server UI was reading 1024 bytes, then sleeping for 0.25 seconds. Since
most new LogRecord events are larger than this it leads to a build up of data
which is only processed slowly, leading to a bottleneck and a slow down of
all bitbake processes.

Thanks to Dongxiao Xu &lt;dongxiao.xu@intel.com&gt; for the great work in debugging
this. A large value has been left in for the read() command just to ensure some
fairness amongst process handling if a task tries to log truly huge amounts of
data to the server, or goes crazy and ensures the main loop doesn't stall.

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
