Project

Profile

Help

Issue #3770

closed

Pulp 3 is about 2x slower than pulp 2 in syncing a large file repo

Added by jsherril@redhat.com over 6 years ago. Updated over 4 years ago.

Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
Start date:
Due date:
Estimated time:
(Total: 0:00 h)
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Quarter:

Description

Syncing a large file repo is slower in pulp 3 than pulp 2, with 70,000 files:

pulp 3: 25 minutes
pulp 2: 15 minutes

I've attached the repo i used to sync, and then simply ran:

http --auth admin:admin http://127.0.0.1:8000/pulp/api/v3/repositories/ name=foo

http --auth admin:admin http://127.0.0.1:8000/pulp/api/v3/remotes/file/  name=foo url="http://localhost/pub/repos/large_file/"

http --auth admin:admin http://127.0.0.1:8000/pulp/api/v3/remotes/file/d8db8df9-8ac9-4e61-9070-fa8e0a57e1a4/sync/ repository=http://127.0.0.1:8000/pulp/api/v3/repositories/cc907a15-5313-447a-9d92-ec9213d81e05/

Files

large_file.tar.gz (1.08 MB) large_file.tar.gz jsherril@redhat.com, 06/18/2018 08:22 PM
large_file2.tar.tz (3.09 MB) large_file2.tar.tz jsherril@redhat.com, 06/22/2018 05:32 PM
pulp-code-hotspots-only-cprofile.png (44.8 KB) pulp-code-hotspots-only-cprofile.png A cprofile graph using gprof2dot and filtered for only Pulp code bmbouter, 12/05/2018 09:37 PM

Sub-issues 3 (0 open3 closed)

Pulp - Issue #3812: Pulp3 Content models are not compatible with bulk_saveCLOSED - WONTFIXdalleyActions
Pulp - Issue #3813: Pulp3 Artifacts are not compatible with bulk_saveCLOSED - CURRENTRELEASEbmbouterActions
Pulp - Issue #3814: RemositoryVersion's add_content and remove_content does not perform bulk operationsCLOSED - CURRENTRELEASEdaviddavisActions

Also available in: Atom PDF