Smart slow with rpms on Amazon S3

Bug #316442 reported by Rohit
2
Affects Status Importance Assigned to Milestone
Smart Package Manager
Incomplete
Undecided
Unassigned

Bug Description

I have the OS rpms on Amazon S3, using s3fs to expose them to the smart. Smart takes a long time to update the cache. Any ideas?

Revision history for this message
netmask (netmask) wrote :

If s3fs is some kind of remote directory, probably Smart is taking a while to copy the files.

Copy the repodata directory and time it (time cp /from/repodata .), them (time smart update) and paste results here.

Revision history for this message
Rohit (wicked-willy) wrote :

Actually, it is setup as an rpm-dir, so no repodata. Hmm, maybe I should create a repo, and that might be faster.

smart channel --add local-EL-rpms name="Oracle Enterprise Linux RPMs" priority=1 manual=true type=rpm-dir path=/mnt/installs/OEL/Server/ -y;

[local-EL-rpms]
type = rpm-dir
name = Oracle Enterprise Linux RPMs
manual = yes
priority = 1
path = /mnt/installs/OEL/Server/

Revision history for this message
netmask (netmask) wrote :

Yes, please, try creating a metadata with createrepo. Using as rpm-dir will make it slow because Smart needs to read every package's headers, and if it's a remotely mounted directory, it should take a long while.

Changed in smart:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.