> Am 17.10.2019 um 02:00 schrieb Julián Maestri <serp...@gmail.com>:
> 
> As a side note, the final image size is not what really matters, if you have 
> 20 different images all starting from the same base image (eg ubuntu:18.04) 
> the base layer is shared among all images so the network / disk usage is less 
> than the total size of the image.

The overlayfs does only help here with the disk storage that is not multiplied. 
As the image is a memory dump of an individual image nothing can be shared 
there. So if you have 20 images you have 20 times the heap. So a small image is 
actually important. The vm is different. It is the same static file which will 
be paged into shared memory and the vm binary should be shared for all 20 
runtimes. But the interpreter memory will not be shared so a small vm pays out 
as well.

Norbert

Reply via email to