winterhazel commented on PR #9270:
URL: https://github.com/apache/cloudstack/pull/9270#issuecomment-2718528337

   > Noticed incremental snapshots taking more physical size as earlier (you 
mentioned here, these are the extra bytes to store the metadata, but it varies 
- please check/confirm).
   
   > A file added with 300MB for each snapshot taken
   
   @sureshanaparti I'm not @JoaoJandre, but: your 4 first full snapshots (taken 
with `kvm.incremental.snapshot` set to `false`) are all using 1.6 GB, even 
though you are adding 300 MB every time you take a new snapshot. This means 
that the files you created are still cached; they were not written to disk yet. 
Therefore, the snapshots you took do not contain these files. You need to 
execute `sync` before taking a snapshot so that the cached data is written to 
disk.
   
   If you consider how many times you added 300 MB before taking the first full 
snapshot with `kvm.incremental.snapshot` set to `true` (4 times), you'll see 
that you created a total of 1.2 GB. This matches the size of the first full 
snapshot with incremental snapshots enabled (1.6 GB originally + 1.2 GB created 
= 2.8 GB of the first full snapshot with incremental snapshots enabled).
   
   Could you repeat your tests executing a `sync` before taking the snapshots?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to