RHEL7 kickstart performance

Latest response

I've been trying to get my Satellite 5.6 Kickstarts adjusted for RHEL7. In the process, I've noticed that the kickstart process seems to take about twice as long. Granted, my package count has increased from 1200-ish to 1400-ish. On RHEL6.5 a complete install took about 20 minutes. Now it seems that "Starting package installation process" alone takes around 15 minutes and then pack installation itself takes another 20 minutes.

Has anyone else noticed this? Is it to be expected?

Responses

Hi Tim,

The behavior you are describing is not expected and known to happen.
It might be related to a general performance problem or maybe something else within your satellite or kickstart.

Thus, may I suggest to file a support case with Red Hat Technical support to have them take a look at your problem in more depth and help you resolve the problem?

Cheers,
Si

Thanks!

Just in case this is relevant:

I noticed a big time discrepancy in our kickstart performance when I installed one of the rare phyiscal hosts on our estate. This kickstarted in around half the time.

After a good deal of digging around, I found the cause for the delay was the installation of VMwareTools on our virtual guests.

I only mention in case you're looking at virtual deployments and there's some significant difference in the virtual tools/kernel combination that you're using.

I've been kickstarting RHEL7 boxes in KVM guests on my laptop and they seem to zip by in similar time to the RHEL6 guests. I've not timed a RHEL7 vs RHEL6 install, on my laptop however.

I finally got some time to make a movie of both a RHEL6.5 and a RHEL7.0 install. Granted, they are not identical, but the RHEL7.0 Kickstart was cloned from the RHEL6.5 and modified to allow for some of the discrepancies. Here is a chart comparing the two. The times are roughly the start of each event. Note the Starting Installation Process increased from 2m51s to 15m14s and the Package Installation went from 16m40s to 23m35s. In addition the Running Post-Install went from 1m37s to 3m53s.


Step RHEL6.5 RHEL7.0
Cobbler start 0m 5s 0m 5s
Config eth0 0m 42s 0m 33s
Retrieve Kickstart 0m 44s 0m 38s
Start Anaconda 1m 14s 1m 6s
Create Filesystems 1m 21s 1m 31s
Starting Installation Process 2m 42s 1m 39s
Package Installation 5m 33s 16m 53s
Running Post-Install 22m 13s 39m 28s
System Restart 23m 50s 43m 21s
Login Screen 24m 49s 44m 1s

I've not yet tried to remove the VMware Tools portion of the RHEL7 install.

[edit]mflitter, table formatting for readability

So much for formatting....

I'll look into getting the formatting help section updated to demonstrate tables.

http://www.tablesgenerator.com/markdown_tables is a great time saver for getting the basic format and filling it in.

Hi Tim,

The few installation I have done on KVM guest I do not notice a slower installation (longer installation time) then a RHEL 6.5 installation.

Kind regards,

Jan Gerrit Kootstra

We install a lot of virtual machines for students, and I noticed that our installation script (which uses ftp to install a new VM from a repo on an existing VM) indeed takes about twice as long to install a 7 VM as it does for a 6.5 VM. I noticed, however, that when I installed on metal (whose installation uses nfs instead), the difference was not nearly as noticeable. When I switched to NFS for our VM installations the difference in installation time (between 6.5 and 7) dropped dramatically. (A 7 VM installation across a virtual network on the local machine (which is indeed slow) dropped from 75 min to 22.)

I noticed the same thing (slowness) - my next step is to mess with the SElinux settings to see if that speeds things up. I may also pass in speed/duplex settings to anaconda (which I hadn't thought to check while I was kickstarting before).

Actually, I've noticed that my kickstarts on RHEL7 seem to be faster. I haven't done any timings yet, but things just seem faster. I haven't done anything deliberately to fix the issue. Notice the timings. Almost all the time expansions happen in the pre-install and install phases. I'm not sure SElinux would cause any problems there, but it is possible. An instructor mentioned a parameter to me that caused this behavior. It's a parameter on the disk specification. I sounded reasonable, but I haven't been able to detect any difference. I can't remember the parameter off hand.

We're still on 6.6 I wish we could see even the worst times people have posted here! Our kickstarts take 2-3 hours to get to the initial logon screen. Every once in a while we see one complete in around an hour, but that is very rare and we have yet to understand why.

Seeing this same issue on VMs. The package install process is very slow compared to a RHEL6 installation.

Hi,

still the same behavior - kick-starting RHEL7 takes 2-3 times longer than RHEL6 using the same KS template - the template has been slightly changed to be compatible with RHEL7.

It seems the initial steps take similar amount of time, the first step which takes significantly longer is the Performing post-installation setup tasks.

The tested versions are 6.7 and 7.2.

Double-checked by deploying identical versions of CentOS, but there is no difference, so it must be something in the Anaconda...

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.