Bug 2334 - [Hob2] BB_NUMBER_THREADS not getting set in Hob?
Summary: [Hob2] BB_NUMBER_THREADS not getting set in Hob?
Status: VERIFIED FIXED
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: 1.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.2.1
Assignee: Dexuan Cui
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-04-18 18:39 UTC by Dave Stewart
Modified: 2013-07-15 10:10 UTC (History)
8 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Stewart 2012-04-18 18:39:51 UTC
Running the near-final Hob for v1.2 in the Build Appliance. Although I set BB_NUMBER_THREADS and PARALLEL_MAKE in the Settings dialog, it's often the case where I go back into Settings and it's back to 4/4.  I'm setting it to 12/14, and I never see more than 4 recipes building at the same time. I suspect (but can't be sure) that this setting is getting ignored.
Comment 1 Dexuan Cui 2012-04-19 06:49:02 UTC
(In reply to comment #0)
> Running the near-final Hob for v1.2 in the Build Appliance. Although I set
> BB_NUMBER_THREADS and PARALLEL_MAKE in the Settings dialog, it's often the case
> where I go back into Settings and it's back to 4/4.  I'm setting it to 12/14,
> and I never see more than 4 recipes building at the same time. I suspect (but
> can't be sure) that this setting is getting ignored.

I can reproduce the same bug: I think here hob doesn't save a user's setting into conf/local.conf.
Comment 2 Shane Wang 2012-04-19 08:52:50 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > Running the near-final Hob for v1.2 in the Build Appliance. Although I set
> > BB_NUMBER_THREADS and PARALLEL_MAKE in the Settings dialog, it's often the case
> > where I go back into Settings and it's back to 4/4.  I'm setting it to 12/14,
> > and I never see more than 4 recipes building at the same time. I suspect (but
> > can't be sure) that this setting is getting ignored.
> I can reproduce the same bug: I think here hob doesn't save a user's setting
> into conf/local.conf.

Dexuan is using http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=276b86509ba29046828d283f15ae44ae0850d1d0, which is older than my fix http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=62c908c88b342370d2e179953c9e07094a6060b5.

Saul, can you tell your commit id of your poky tree in the self-hosted image?
Comment 3 Dexuan Cui 2012-05-09 09:09:05 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > (In reply to comment #0)
> > > Running the near-final Hob for v1.2 in the Build Appliance. Although I set
> > > BB_NUMBER_THREADS and PARALLEL_MAKE in the Settings dialog, it's often the case
> > > where I go back into Settings and it's back to 4/4.  I'm setting it to 12/14,
> > > and I never see more than 4 recipes building at the same time. I suspect (but
> > > can't be sure) that this setting is getting ignored.
> > I can reproduce the same bug: I think here hob doesn't save a user's setting
> > into conf/local.conf.
> 
> Dexuan is using
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/
> ?id=276b86509ba29046828d283f15ae44ae0850d1d0, which is older than my fix
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/
> ?id=62c908c88b342370d2e179953c9e07094a6060b5.
> 
> Saul, can you tell your commit id of your poky tree in the self-hosted image?

Hi Shane, I can verify the bug is fixed: 
The settings is persistent between Hob sessions now.
Comment 5 Andreea Brandusa Proca 2013-07-15 10:10:42 UTC
Verified in master:a63229917a5708de2d161aba0d67168ce0da6365.