[poky] [PATCH 0/4][Image Creator]Add mulitple extra cache fields request support
Ke, Liping
liping.ke at intel.com
Wed May 25 20:11:47 PDT 2011
Hi, All
I have test the memory usage with htop. It will show that when loading cache,
Bitbake will use 1.3~1.4%. There's no change compared with namedutple.
So I guess it should not impact memeory usage very much.
And the cahce file (core/base) part increased < 200k.
So this change should not impact performance greatly ( class vs namedtuple)
Thanks & Regards,
criping
> -----Original Message-----
> From: poky-bounces at yoctoproject.org
> [mailto:poky-bounces at yoctoproject.org] On Behalf Of Ke Liping
> Sent: Thursday, May 26, 2011 10:54 AM
> To: poky at yoctoproject.org
> Subject: [poky] [PATCH 0/4][Image Creator]Add mulitple extra cache fields
> request support
>
> From: Liping Ke <liping.ke at intel.com>
>
> The series of patch are for mplementing multiple extra cache fields
> request support.If user needs to request extra cache fields besides
> CoreRecipeInfo fields, just add a new XXXRecipeInfo class definition
> as Image Creator UI Hob Does.
> For implementing this new feature, we refactory current cache code,
> remove namedtuple and define corresponding class for dynamical cache
> fields support per different cache usage request.
>
> Liping Ke (4):
> Refactory Current Cache implementation
> Introduce extra cache class for image creator
> Introduce new param caches_array into Cache impl.
> Implement multiple extra cache fields request support
>
> bitbake/lib/bb/cache.py | 532
> ++++++++++++++++++++++-------------------
> bitbake/lib/bb/cache_extra.py | 54 ++++
> bitbake/lib/bb/cooker.py | 70 ++++--
> bitbake/lib/bb/shell.py | 2 +-
> bitbake/lib/bb/ui/hob.py | 2 +
> 5 files changed, 396 insertions(+), 264 deletions(-)
> create mode 100644 bitbake/lib/bb/cache_extra.py
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
More information about the poky
mailing list