Re: Question on difference between dnf upgrade versus clean install?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On 2020-05-29 01:58, Michael D. Setzer II via users wrote:
>> I've got 5 Fedora machines at my house. Recently
>> upgraded a couple since FC30 was becoming EOL.
>>
>> Some I did a clean install. New Hard disk, and install
>> from iso. Usually, that takes about 1/2 hour for whole
>> process. Including install of OS, and then install of a
>> number of other packages I use that are not installed by
>> default.
>>
>> Did update on my notebook machine as well using dnf
>> system update. This system has some more packages
>> installed. Showed 5070 versus about 2000+ for the
>> clean install. Download process took about 30 minutes,
>> but then the reboot and upgrade process took just over
>> 14 hours. Total was 14 hours 50 minutes.
>>
>> Not clear why it would take 15 times as long? Checked
>> while running, and dnf was running at 100%, but just
>> using 1 cpu. Notebook has dual cpus. Don't know if
>> others just run it, and check when done, but seems to
>> be a bigger difference in time than it should be.
>
> I do not know why your upgrade would have taken so long.  I just upgraded
> an
> F30 VM to F32.  It is a pretty vanilla Workstation install.  The VM's
> disks are actually
> hosted on a NAS over nfs and are traditional spinning HW.
>
> I upgraded via "dnf system-upgrade".  The number of packages upgraded was
> 1656.
> The download phase took 9 minutes 10 seconds.  The upgrade phase took a
> few ticks
> over 25 minutes.
>
> I would think that checking
>
> dnf system-upgrade log
>
> and seeing if one area in particular was responsible for the excessive
> time may be
> helpful.
>
> Another recent upgrade of an old notebook from F31->F32, Core2 Duo CPU,
> with 2626
> packages upgraded took 58 minutes.  That notebook does have an SSD.
>
> --
> The key to getting good answers is to ask good questions.

Pulled the data from the boot.log
31814 lines
Total Time 14:59.59.05
Longest single change was 1156.203674 seconds
[ 1740.207952] dnf[807]:   Running scriptlet:
filesystem-3.12-2.fc31.x86_64                          1/1
Average of transactions 1.6918392547953
Only 11 transactions took 60 seconds or longer

Had to clean out lines that where mixed in with the upgrade of starting
and stopping things during process.
Extracted the time data, and then compared the times of each process to
calculate the difference.

CPU is Intel(R) Pentium(R) CPU 2020M @ 2.40GHz with just 2 cores.
Has 12G of Ram.

If you want, I could send you the libreoffice calc file. Perhaps you would
see something that I've missed.

> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
>

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux