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

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

 



On 28 May 2020 at 11:40, Samuel Sieb wrote:

Subject:        	Re: Question on difference between dnf 
upgrade versus clean install?
To:             	users@xxxxxxxxxxxxxxxxxxxxxxx
From:           	Samuel Sieb <samuel@xxxxxxxx>
Date sent:      	Thu, 28 May 2020 11:40:39 -0700
Send reply to:  	Community support for Fedora 
users <users@xxxxxxxxxxxxxxxxxxxxxxx>

> On 5/28/20 10:58 AM, Michael D. Setzer II via users wrote:
> > 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.
> 
> If it was an install from a live boot, then the "install" process is 
> just copying the files directly to the hard drive which is very fast. 
> If it is a net install, then after the download, it's just installing 
> rpms into a clean partition.
> 
Both where from the same usb device with the live boot. 
Both hard drives are 7200 rpm.

> > 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.
> 
> Upgrading for some reason does take a lot longer, maybe because it's 
> being extra safe in how it writes the files?  A lot more scripts to run?
> 
Yes, would expect 2 or 3 times as long, but 15 seems 
way to much. It is interesting that each of the updates 
for packages both on upgrade and cleaning seems to be 
from 1 second to 6 seconds. The process shows 10140 
with 1/2 being the installs, and 1/2 being the cleanup 
and then 10140 verifies. Seems it is doing something 
every single time?

> > 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.
> 
> How are you able to see CPU usage during the upgrade?  Weren't you doing 
> the offline upgrade?  The process should be very IO bound, not CPU. 
> Unless you happened to catch it running a script like the selinux one.
After doing the dnf system-upgrade reboot It comes up 
with a graphic screen that just shows it is doing upgrade 
and to not shut down. Very little info.
Ctrl-ESC does show it doing the process, and shows 
each package and the count as it goes with time of each 
step.
Was able to do Ctrl-Alt-F? Think it was F6 that finally 
gave a command line login. Was able to login as root, 
and just ran top command. Noticed that CPU was 
showing 100% other numbers all seemed low. Never 
saw CPU change from 100%, and it only showed dnf 
process as high activity. 

> _____________
__________________________________
> 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


+------------------------------------------------------------+
 Michael D. Setzer II - Computer Science Instructor 
(Retired)     
 mailto:mikes@xxxxxxxx                            
 mailto:msetzerii@xxxxxxxxx
 Guam - Where America's Day Begins                        
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 
minutes
(Total Hours: 287,489)

BOINC@HOME CREDITS

ROSETTA      68715567.359982 | ABC          
16613838.513356
SETI        110890891.666494 | EINSTEIN    
147926043.499240
_______________________________________________
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