Bugzilla – Bug 106222
very slow instlattion when doing an "upgrade" install
Last modified: 2005-08-23 12:38:30 UTC
I was doing an "upgrade" install of 10.0b2 from 9.3. I was installing over the network from an install point on the same 100Mbps network as I am on. No significant other network trafic. The install took over 3 hours from starting to copy files until it was finished. yast2 logs attached.
Created attachment 46991 [details] yast2 install logs A tar.bz2 of the yast2 log files from the installation.
Seems as the backup option was turned on. Don't know if that's the default. Otherwise I guess it's simply that slow with more than 2000 packages installed.
Arvin, what did you mean with the "backup option"? The biggest time consumer (according to log) is RPM itself. Sorry, but there is nothing we could do about it. Therefore WONTFIX (#define WONTFIX CANTFIX)
With "backup option" I mean the check for modified files belonging to any RPM. In the proposal its the checkbox Create Backup of Modified Files" under the title "Backup". And it's on per default.
This is really RPMs fault. RPM is kind of stupid when it comes to database operations. It always reads the complete rpmdb into memory, changes it, and writes it back out. Instead of calling the rpm binary, one could also link to librpm and use its functions. We tried this already and lots of other bugs appeared :-(