[Sound-open-firmware] [PATCH] topology: speed up topology build

Ranjani Sridharan ranjani.sridharan at linux.intel.com
Mon Apr 30 19:23:36 CEST 2018


On Mon, 2018-04-30 at 16:40 +0100, Liam Girdwood wrote:
> On Mon, 2018-04-30 at 16:33 +0100, Liam Girdwood wrote:
> > I was thinking xargs too :) Just one minor comment.
> > 
> > Btw, what's the speed up ?
> 
> Forgot to add, we should also check if xargs is available in
> configure.ac too
> (it will be on mostly everything but you never know).
> 
> Oh I think the xargs -P should be number of CPU cores. There are some
> ways to
> read this back via bash (just Google).

The speed was almost 2X. On my host, the build time dropped from 18s to
 ~9s.

I'll make the check in configure and fix the number of cores too.
Thanks!
> 
> Thanks
> 
> Liam
> 
> _______________________________________________
> Sound-open-firmware mailing list
> Sound-open-firmware at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware


More information about the Sound-open-firmware mailing list