all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Roland <devzero@web.de>
To: Christian Ebner <c.ebner@proxmox.com>,
	Proxmox Backup Server development discussion
	<pbs-devel@lists.proxmox.com>
Subject: Re: [pbs-devel] [PATCH proxmox-backup 0/5] GC: avoid multiple atime updates
Date: Sat, 22 Feb 2025 18:50:05 +0100	[thread overview]
Message-ID: <c3ce981e-72bd-4da1-8534-45f48b7a54b0@web.de> (raw)
In-Reply-To: <61d2c6aa-7143-4415-82b3-ee2b4220fa5d@proxmox.com>

 > 34742 proxmox-backup-(1428): R
 > /backup/pve-t620_backup/.chunks/bb9f/
bb9f8df61474d25e71fa00722318cd387396ca1736605e1248821cc0de3d3af8
 > any clue what's this one,  which is being touched an order of magnitude
 > more often then the zeroes chunk ?
 > I do not have that particular chunk digest in my datastores, but if
the chunk is not encrypted, you could just decompress it and inspect the
contents via a hex editor.

apparently, this is also an "all zero" chunk, but from a different
backup datastore where encryption is active.
after thinking twice, this looks logical to me....

Am 21.02.25 um 16:49 schrieb Christian Ebner:
> On 2/21/25 16:35, Roland wrote:
>> hello,
>>
>> this looks like this relates to or adresses what's being mentioned
>> here ?
>>
>> https://forum.proxmox.com/threads/better-understand-proxmox-garbage-
>> collection-lots-of-avoidable-utimensat-calls.101417/
>> ?
>>
>> it came to my mind when reading this.  not sure if i did an RFE for
>> this, guess i forgot...
>
> Yes, this has been requested also by others, see the discussion in
> https://bugzilla.proxmox.com/show_bug.cgi?id=5331
>
> The (still initial) title of the issue is a bit misleading, as the
> implementation in the patch series works for all chunks, not just the
> zero chunks. ;)
>
>>
>>  >for my curiosity, i see there is one chunk in both of my homeserver
>> repos which is accessed orders of magnitudes more often then all
>>  >the other chunks (for one repo roundabout 1000x more often) during gc
>> run. anyhow, many chunks are being acessed repeatedly, but at a much
>> lower rate.
>>
>> ah, now i understand why that file is touched 34742 times - it's that
>> "all zeroes" chunk, which does occur in the vm image much more often.
>
> Haven't check that yet, but most likely yes, I do have the same chunk
> in my datastore.
>
>>
>> 34742 proxmox-backup-(1428): R
>> /backup/pve-t620_backup/.chunks/bb9f/
>> bb9f8df61474d25e71fa00722318cd387396ca1736605e1248821cc0de3d3af8
>>
>> any clue what's this one,  which is being touched an order of magnitude
>> more often then the zeroes chunk ?
>
> I do not have that particular chunk digest in my datastores, but if
> the chunk is not encrypted, you could just decompress it and inspect
> the contents via a hex editor.
>
>>
>> 940079 proxmox-backup-(1428): R
>> /backup/pve-maker-
>> bonn_backup/.chunks/7b27/7b27b1eb4febae3273321255d8304e9b3e7938d9e254564bef859a4307a88638
>>
>> regards
>> roland
>
> Cheers,
> Chris
>
>

_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel

  reply	other threads:[~2025-02-22 18:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-21 14:01 Christian Ebner
2025-02-21 14:01 ` [pbs-devel] [PATCH proxmox-backup 1/5] datastore: restrict datastores list_images method scope to module Christian Ebner
2025-02-21 14:01 ` [pbs-devel] [PATCH proxmox-backup 2/5] garbage collection: refactor archive type based chunk marking logic Christian Ebner
2025-02-21 14:01 ` [pbs-devel] [PATCH proxmox-backup 3/5] garbage collection: add structure for optimized image iteration Christian Ebner
2025-03-05 13:47   ` Fabian Grünbichler
2025-03-07  8:24     ` Christian Ebner
2025-03-07  8:53       ` Fabian Grünbichler
2025-03-07  8:59         ` Christian Ebner
2025-02-21 14:01 ` [pbs-devel] [PATCH proxmox-backup 4/5] garbage collection: allow to keep track of already touched chunks Christian Ebner
2025-02-21 14:01 ` [pbs-devel] [PATCH proxmox-backup 5/5] fix #5331: garbage collection: avoid multiple chunk atime updates Christian Ebner
2025-02-21 15:35 ` [pbs-devel] [PATCH proxmox-backup 0/5] GC: avoid multiple " Roland
2025-02-21 15:49   ` Christian Ebner
2025-02-22 17:50     ` Roland [this message]
2025-03-10 11:18 ` Christian Ebner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c3ce981e-72bd-4da1-8534-45f48b7a54b0@web.de \
    --to=devzero@web.de \
    --cc=c.ebner@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal