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

Tracker for fullfilelist-powered UMDL #206

Closed
puiterwijk opened this issue Mar 29, 2017 · 2 comments
Closed

Tracker for fullfilelist-powered UMDL #206

puiterwijk opened this issue Mar 29, 2017 · 2 comments

Comments

@puiterwijk
Copy link
Contributor

@adrianreber was working on an improved UMDL that uses fullfilelist.
This ticket is just to track that, so interested people can follow it.

@adrianreber
Copy link
Member

Running final tests for the fullfiletimelist-* support.

The goal of the fullfiletimelist-* based update-master-directory-listing (umdl) is to be able to 'scan' the master mirror without stat(). The main reason is that the filesystem trees umdl is working have become huge and to scan all those files produces lot's of IOPS just for detecting that nothing changed.

With the help of https://pagure.io/quick-fedora-mirror/ new files (fullfiletimelist-*) are created for each mirror category.

This new umdl approach relies on the correctness of those files. This means that if those files are wrong, MirrorManager will have the wrong state. But as it removes (almost) the necessity to do any stat() it it much faster. It is between 5 and 10 times faster.

The current implementation still needs to stat the directories to see if they are readable but there is a feature request (https://pagure.io/quick-fedora-mirror/issue/40) to include the readable information in the fullfiletimelist-* files.

To calculate the repomd.xml checksums and to read the -CHECKSUM files of the ISOs there is still disk access necessary (could be also via https or rsync) but only if the directory ctime actually changed (according to fullfiletimelist-*).

The fullfiletimelist-* files are detected automatically and if they do not exist umdl falls back to directory walking.

@adrianreber
Copy link
Member

This is now running on the Fedora production systems.

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

No branches or pull requests

2 participants