John Reiser wrote:
re: https://bugzilla.redhat.com/show_bug.cgi?id=71184
Summary: RFE: 2X to 6X faster install
As per the above RequestForEnhancement (RFE), I believe that installation
of .rpm packages could go much faster. I'm sending this message
to the yum and anaconda-devel mailing lists in order to try to find
the right people, and to get comments and suggestions on how
to accomplish such work now. (If I found the wrong groups,
then please tell me so I won't bother you further.)
It seems to me that there is significant technical opportunity
for pipelining, parallelism, and caching. See the RFE above, and:
https://bugzilla.redhat.com/show_bug.cgi?id=431757
Summary: caching needed when "Starting install process."
I have some time to work in this area now, and I've also detected
renewed interest by other people. How can we work effectively
to achieve the goal of much faster package installation?
I have long thought the files on the optical media should be ordered.
Ordering could be obtained by doing an http install and using the access
log to find the order files are required, then this could be munged into
a list for mkisofs to use for sorting.
For network installs, I envisage a process like this:
[list generator] ==> [file fetcher] ==> [package installer]
list generator determines what packages are required and writes them to
a pipe.
file fetcher reads the list, not to completion but as it needs to, and
fetches packages. As the packages are fetched, their names are piped to
package installer
package installer reads the list, not to completion but as it needs to,
and installs packages.
The three steps can proceed in parallel.
There might be a choice of several file fetchers, depending on install
source, and while network versions must download across the network,
CD/DVD versions might just write the location of the package on the
install media.
At present, the install time is pretty much the sum of the three
procedures. This implementation should yield an install time determined
mostly by the slowest part - download time if installing from the
Internet, CD/DVD read time if using optical media and maybe target disk
speed of installing off a LAN.
Probably some cases might need tuning, installing from hard disk to
another partition on the same disk might cause disk thrashing (but then
a user might find an 8 Gb USB stick disk acceptable).
--
Cheers
John
-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx Z1aaaaaaa@xxxxxxxxxxxxxxxx
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375
You cannot reply off-list:-)
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list