[elrepo] nvidia plugin slow

Steve Cleveland Steve.Cleveland at oregonstate.edu
Thu May 30 19:18:19 EDT 2019


I've been seeing lately that yum has been running very slow on some 
machines.  I did some testing disabling repos and then plugins.  The 
combination of elrepo being enabled, nvidia plugin being enabled and an 
nvidia GPU being present seems to be causing the problem.  That makes 
sense as the plugin needs the repo and the hardware to function.

Example:

# time yum search kmod-nvidia --disableplugin=nvidia
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
=========================== N/S matched: kmod-nvidia 
===========================
kmod-nvidia.x86_64 : nvidia kernel module(s)
kmod-nvidia-340xx.x86_64 : nvidia-340xx kernel module(s)
kmod-nvidia-390xx.x86_64 : nvidia-390xx kernel module(s)

   Name and summary matches only, use "search all" for everything.

real    0m0.569s
user    0m0.396s
sys    0m0.172s

# time yum search kmod-nvidia
Loaded plugins: fastestmirror, nvidia
Loading mirror speeds from cached hostfile
=========================== N/S matched: kmod-nvidia 
===========================
kmod-nvidia.x86_64 : nvidia kernel module(s)
kmod-nvidia-340xx.x86_64 : nvidia-340xx kernel module(s)
kmod-nvidia-390xx.x86_64 : nvidia-390xx kernel module(s)

   Name and summary matches only, use "search all" for everything.

real    0m41.644s
user    0m40.973s
sys    0m0.564s

 From half a second to 40 seconds.  Is there a way to for me to debug 
what's happening?  I assume this is not expected behavior? I haven't 
noticed it in the past.

Thanks,

  - Steve



More information about the elrepo mailing list