Hi all,

Thanks to Uladzimir who pointed me out about the weirdness of ln -P in sbuild
and other changes that I made, nvpriv7 is clearly faster than npriv6. Here
below the benchmarks compared with the original based on robang74:next.

Thanks to Uladzimir who pointed me out about the weirdness of ln -P in sbuild
and other changes that I made, nvpriv7 is clearly faster than npriv6. Here
below the benchmarks compared with the original based on robang74:next.

        devel2 (public) + npriv7 (private)
       ------------------------------------
            fresh              cache
       ------------ basic-os --------------
        3745 Mb (max)   |  3182 Mb (max)
        2849 Mb (rest)  |  2289 Mb (rest)
        3596 Mb (deb)   |  3596 Mb (deb)
         806 Mb (wic)   |   806 Mb (wic)
         551 Mb (cache) |   551 Mb (cache)
       time:  2m39s     | time:    30s       5.30x
       ------------ original ---------------------
       time:  7m58s     | time:  2m17s       3.48x
              3.00x     |        4.57x
                        |
       ------------ complete --------------
       33197 Mb (max)   | 28209 Mb (max)
       23964 Mb (rest)  | 18982 Mb (rest)
        3596 Mb (deb)   |  3596 Mb (deb)
        9143 Mb (wic)   |  9139 Mb (wic)
        4916 Mb (cache) |  4916 Mb (cache)
       time: 12m45s     | time:  4m11s       3.05x
       ------------ original ---------------------
       time: 21m17s     | time:  8m28s       2.51x
              1.67x     |        2.02x
             
About the complete image, we need to consider some fixed times like these:
             
* time to produce complete wic image: 2m23s
* time to compile nvidia drivers: 2m8s

Because these times cannot be shrink as part of the building process then we can
subtract that times (for the cache just producing the image because the drivers
are cached) and revise the benchmarks as following:

            fresh              cache
       ------------ complete --------------
       time:  8m14s     | time:  1m48s       4.57x
       ------------ original ---------------------
       time: 16m46s     | time:  6m05s       2.76x            
              2.03x     |        3.38x

Even in the worst case, the building performances has been increased by 2x    
   

Best regards, R-