Skip to content
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 sync performance #1558

Closed
wants to merge 1 commit into from
Closed

Conversation

hao-yu
Copy link
Contributor

@hao-yu hao-yu commented Dec 11, 2019

Prevent unneeded looping the metadata files to speed up the
syncing process.

re: #5865
https://pulp.plan.io/issues/5865

Prevent unneeded looping the metadata files to speed up the
syncing process.

re: #5865
https://pulp.plan.io/issues/5865
@pulpbot
Copy link
Member

pulpbot commented Dec 11, 2019

Can one of the admins verify this patch?

2 similar comments
@pulpbot
Copy link
Member

pulpbot commented Dec 11, 2019

Can one of the admins verify this patch?

@pulpbot
Copy link
Member

pulpbot commented Jan 16, 2020

Can one of the admins verify this patch?

@goosemania
Copy link
Member

ok test

@hao-yu
Copy link
Contributor Author

hao-yu commented Jan 27, 2020

Any chance this patch and be reviewed and tested? Thanks.

@hao-yu
Copy link
Contributor Author

hao-yu commented Feb 5, 2020

Any chance to review this please?

@daviddavis
Copy link
Contributor

@hao-yu thank you for this work. Apologies for not responding sooner.

Since the release of Pulp 3.0 GA, we're only merging critical bug fixes to 2-master. What sort of performance problems are you seeing? How much does this change speeds up things?

@hao-yu
Copy link
Contributor Author

hao-yu commented Feb 7, 2020

@daviddavis thanks for the reply. Yes. I know that Pulp-2 is already in the maintenance mode but I can still see this patch is likely to benefit the Satellite 6 at least for a couple of years more before it move to Pulp 3.

This patch is basically to reduce the number of times that Pulp need to loop from the yum metadata to fetch a list of packages. Please look at the below link. The test indicates that the patch can improve the performance of syncing a RHEL 7 server repository up to 10minutes. The "Removing missing units" usually took 5 minutes+ even there is no packages to delete now it will only take a couple seconds .

https://pulp.plan.io/issues/5865#note-2

@daviddavis
Copy link
Contributor

daviddavis commented Feb 7, 2020

@hao-yu I talked to others on the RPM team and they've confirmed that we're only accepting critical bug fixes right now for Pulp 2. I feel bad because this is a solid improvement and I know you worked hard on it. Also, apologies for not responding sooner. I hope you will continue to help us improve Pulp in the future though.

@daviddavis daviddavis closed this Feb 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants