<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>5534</bug_id>
          
          <creation_ts>2013-11-14 12:24:10 +0000</creation_ts>
          <short_desc>Bitbake resident server autoloading/unloading</short_desc>
          <delta_ts>2016-07-29 15:29:07 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>1.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.2 M2</target_milestone>
          
          <blocked>5598</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Damian">alexandru.damian</reporter>
          <assigned_to name="Ed Bartosh">eduard.bartosh</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
          
          <qa_contact name="Libertad">libertad.gonzalez.de.la.cruz</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>38767</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2013-11-14 12:24:10 +0000</bug_when>
    <thetext>As a user, I would like the bitbake server to start automatically when I have BBSERVER set in memory but the server isn&apos;t started. This would allow me to use bitbake resident server without typing other commands.

After usage, the server should unload itself from memory in order to save memory usage.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38769</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2013-11-14 12:33:32 +0000</bug_when>
    <thetext>Unloading timeout interval must be configurable through local.conf.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39853</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2014-01-16 11:41:08 +0000</bug_when>
    <thetext>The patch is in review</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40755</commentid>
    <comment_count>3</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2014-02-27 16:00:00 +0000</bug_when>
    <thetext>Alex,

Where we are with this bug, can you check if it&apos;s pulled, please mark accordingly

THanks,
Jessica</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40866</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2014-03-04 17:27:42 +0000</bug_when>
    <thetext>This is partially working. 

Complete set of patches were reviewed by Richard, who had comments. I amended the patches according to comments and resubmitted. I am waiting for a new review round, will push for one in WW10.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44671</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandru Damian">alexandru.damian</who>
    <bug_when>2014-07-24 15:26:00 +0000</bug_when>
    <thetext>The unloading functionality is missing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63573</commentid>
    <comment_count>6</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-07-01 11:31:08 +0000</bug_when>
    <thetext>I don&apos;t think this is still relevant as Toaster way of running bitbake has changed a lot since this bug is created. Resolving as worksforme.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63578</commentid>
    <comment_count>7</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-07-01 13:45:08 +0000</bug_when>
    <thetext>This isn&apos;t about toaster any more. The plan is for bitbake to be able to operate in a memory resident mode. We already have basic functionality for this but we are missing some pieces. One is &quot;autostart&quot; where if the environment is setup in a particular way, bitbake would just automatically go into memory, no messing around with commandline options. The second is some kind of policy on unloading after say an inactivity timer for X minutes.

The biggest blocker on making memory resident bitbake the default is tinfoil2 which Paul is working on. This hasn&apos;t been dealt with before now mainly as that piece wasn&apos;t ready but it doesn&apos;t block this.

Memory resident bitbake should help with various performance and command interaction times, and for example would massively speed up oe-selftest on the autobuilder.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64102</commentid>
    <comment_count>8</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-07-18 16:33:35 +0000</bug_when>
    <thetext>Implementation of autoloading has been sent for review: http://lists.openembedded.org/pipermail/bitbake-devel/2016-July/007727.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64196</commentid>
    <comment_count>9</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-07-19 20:50:04 +0000</bug_when>
    <thetext>Implementation of auto-unloading has been sent for review: http://lists.openembedded.org/pipermail/bitbake-devel/2016-July/007748.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64222</commentid>
    <comment_count>10</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-07-20 13:41:19 +0000</bug_when>
    <thetext>Implemented in bitbake 89c6e625d47303b2aad8e6645762f17aee01b2d4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64237</commentid>
    <comment_count>11</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-07-20 14:02:08 +0000</bug_when>
    <thetext>It&apos;s still under review - my second patch is not merged yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64263</commentid>
    <comment_count>12</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-07-21 14:49:21 +0000</bug_when>
    <thetext>all changes have been merged into bitbake master</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>