I've got 2 machine both have PBS running as VM, both allocated 10 cores, 8gb RAM.
Machine A has AMD pro 5750G, NFS on the same physical machine mapped(Synology VM) as datastore, garbage collection takes under 1 minute.
Machine B is a Dell R740 with Xeon 6138, HDD passed through as datastore, garbage collection takes about 1 hour without much new data.
I've heard NFS datastore are typically slower, but not in my case. Any idea why it's taking so long considering the amount of data for both jobs are quite similar?
One difference I noticed is RAM usage while verifying and garbage collecting. The AMD(faster) machine used 95% RAM while the R740(slower) machine only uses about 6%-8%.
Machine A has AMD pro 5750G, NFS on the same physical machine mapped(Synology VM) as datastore, garbage collection takes under 1 minute.
Machine B is a Dell R740 with Xeon 6138, HDD passed through as datastore, garbage collection takes about 1 hour without much new data.
I've heard NFS datastore are typically slower, but not in my case. Any idea why it's taking so long considering the amount of data for both jobs are quite similar?
One difference I noticed is RAM usage while verifying and garbage collecting. The AMD(faster) machine used 95% RAM while the R740(slower) machine only uses about 6%-8%.
Code:
# R740 garbage collection, 59 minutes. Local HDD datastore.
2025-06-10T11:40:00+10:00: starting garbage collection on store backups
2025-06-10T11:40:00+10:00: task triggered by schedule 'tue 11:40'
2025-06-10T11:40:01+10:00: Access time update check successful, proceeding with GC.
2025-06-10T11:40:01+10:00: Using access time cutoff 1d 5m, minimum access time is 2025-06-09T01:35:00Z
2025-06-10T11:40:01+10:00: Start GC phase1 (mark used chunks)
2025-06-10T11:42:06+10:00: marked 2% (1 of 37 index files)
2025-06-10T11:42:06+10:00: marked 5% (2 of 37 index files)
2025-06-10T11:42:12+10:00: marked 8% (3 of 37 index files)
...
2025-06-10T12:09:33+10:00: marked 94% (35 of 37 index files)
2025-06-10T12:09:37+10:00: marked 97% (36 of 37 index files)
2025-06-10T12:09:37+10:00: marked 100% (37 of 37 index files)
2025-06-10T12:09:37+10:00: Start GC phase2 (sweep unused chunks)
2025-06-10T12:09:56+10:00: processed 1% (522 chunks)
2025-06-10T12:10:14+10:00: processed 2% (1046 chunks)
2025-06-10T12:10:33+10:00: processed 3% (1599 chunks)
2025-06-10T12:10:52+10:00: processed 4% (2118 chunks)
2025-06-10T12:11:10+10:00: processed 5% (2614 chunks)
2025-06-10T12:11:28+10:00: processed 6% (3107 chunks)
...
2025-06-10T12:39:38+10:00: processed 99% (50406 chunks)
2025-06-10T12:39:56+10:00: Removed garbage: 0 B
2025-06-10T12:39:56+10:00: Removed chunks: 0
2025-06-10T12:39:56+10:00: Original data usage: 757.442 GiB
2025-06-10T12:39:56+10:00: On-Disk usage: 127.482 GiB (16.83%)
2025-06-10T12:39:56+10:00: On-Disk chunks: 50897
2025-06-10T12:39:56+10:00: Deduplication factor: 5.94
2025-06-10T12:39:56+10:00: Average chunk size: 2.565 MiB
2025-06-10T12:39:56+10:00: TASK OK
Code:
#AMD Pro 5750G garbage collection, 50 seconds. NFS datastore.
2025-06-10T11:51:00+10:00: starting garbage collection on store backups-dsm
2025-06-10T11:51:00+10:00: task triggered by schedule '11:51'
2025-06-10T11:51:01+10:00: Access time update check successful, proceeding with GC.
2025-06-10T11:51:01+10:00: Using access time cutoff 1d 5m, minimum access time is 2025-06-09T01:46:00Z
2025-06-10T11:51:01+10:00: Start GC phase1 (mark used chunks)
2025-06-10T11:51:01+10:00: marked 3% (1 of 32 index files)
2025-06-10T11:51:13+10:00: marked 6% (2 of 32 index files)
2025-06-10T11:51:13+10:00: marked 9% (3 of 32 index files)
2025-06-10T11:51:13+10:00: marked 12% (4 of 32 index files)
...
2025-06-10T11:51:24+10:00: marked 96% (31 of 32 index files)
2025-06-10T11:51:24+10:00: marked 100% (32 of 32 index files)
2025-06-10T11:51:24+10:00: Start GC phase2 (sweep unused chunks)
2025-06-10T11:51:24+10:00: processed 1% (383 chunks)
2025-06-10T11:51:24+10:00: processed 2% (772 chunks)
2025-06-10T11:51:25+10:00: processed 3% (1167 chunks)
2025-06-10T11:51:25+10:00: processed 4% (1541 chunks)
...
2025-06-10T11:51:49+10:00: processed 97% (35361 chunks)
2025-06-10T11:51:49+10:00: processed 98% (35739 chunks)
2025-06-10T11:51:49+10:00: processed 99% (36150 chunks)
2025-06-10T11:51:50+10:00: Removed garbage: 881.239 KiB
2025-06-10T11:51:50+10:00: Removed chunks: 1
2025-06-10T11:51:50+10:00: Pending removals: 157.063 MiB (in 533 chunks)
2025-06-10T11:51:50+10:00: Original data usage: 645.442 GiB
2025-06-10T11:51:50+10:00: On-Disk usage: 85.091 GiB (13.18%)
2025-06-10T11:51:50+10:00: On-Disk chunks: 35979
2025-06-10T11:51:50+10:00: Deduplication factor: 7.59
2025-06-10T11:51:50+10:00: Average chunk size: 2.422 MiB
2025-06-10T11:51:50+10:00: queued notification (id=2e2bde95-ae8e-48e6-864d-b5349c8323a7)
2025-06-10T11:51:50+10:00: TASK OK
Last edited: