On 20 May 2011 17:12, James Westby james.westby@linaro.org wrote:
On Fri, 20 May 2011 16:03:16 +0100, Peter Maydell peter.maydell@linaro.org wrote:
We're only doing this once a month, we should just produce images for everything rather than trying to second guess which we can get away with not generating.
While that's a nice sentiment, we can't ignore the disk space usage that this implies.
If we take as an example 6 supported boards, and 6 images (3x2G, 1x1G, 1x.5G, 1x.1G), that's ~48G per month, so in one year ~0.5T of images. I haven't done the maths to factor in the bandwidth here.
We can only do this if we change our image retention policy. I think that the benefit of this change is worth doing that, but we can't naïvely start generating all of this without considering these questions.
If disk space is a problem then we can take the other approach that was suggested at UDS, which is that we autogenerate images on the fly as they are asked for and keep a cache of the most recently used ones. I thought the reason we opted to do the simple "just statically generate images for each monthly release" was exactly that for a monthly thing we thought the disk space usage was acceptable.
-- PMM