-
-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve Generating metadata files and linking package files...
step
#599
Comments
Sandro, aptly is generating data for You can disable it with But even if enabled, data for each package is generated only once (it's cached for subsequent publishes). So it's only slow for the first time. |
Closing on inactivity, please feel free to re-open |
Hello, We have aptly installed on EC2 instance wherein aptly root directory is mounted on ebs volume and aptly publishes to S3 endpoint. We have observed that while publishing the snapshots Any pointers towards what could be wrong with the configurations. Thanks |
@sunilbhogulkar hard to say what is going on there. Contents generation itself (you have it disabled, but still), was significantly improved in #707. What aptly does at this step:
I have two suggestions:
|
hello,
when doing the usual mirror -> snapshot -> publish process to mirror a big repo (in this case, i'm preparing the stretch point release 9.1 local repo), the
Generating metadata files and linking package files...
step during the publish phase is pretty slow:and this is on a machine with a fast 4xSSD raid5
looking at the processes on the host, it seems every package is unpacked to extract the metadata, and that's done sequentially
do you think there's a way to improve the performances, like using a tmpfs (/dev/shm?) or running the unpacking in parallel? that would cut down the time for this step by a lot (it could also be an option to enable only on machiens with fast I/O and several cores to spare)
thanks for considering!
The text was updated successfully, but these errors were encountered: