On 05/15/2016 09:11 AM, Alice Wonder wrote:> On 05/15/2016 04:48 AM, Steve Snyder wrote: >> How can I completely disable audio drivers and services in my CentOS7 >> system? >> >> This system is a server that will never run any audio applications. The >> problem is, I can't disable the audio device in my BIOS, so the system >> finds it in the PCI device list and configures it on each boot. >> >> Yes, I know I can blacklist specific device driver modules, but I've got >> a minimum of 11 audio-related kernel modules loaded on a default C7 >> configuration, and untold dbus baggage to go with them >> >> So.. what can I do to have CentOS7 completely ignore the audio hardware >> it finds? > > If I'm not mistaken, audio hardware is one source of entropy for the > kernel.How can it contribute to entropy without a microphone attached?> Is it causing a problem?Only to the extent that the resources used to support the audio subsystem could be allocated to services that are actually used.
On 05/15/2016 08:15 AM, Steve Snyder wrote:> Only to the extent that the resources used to support the audio > subsystem could be allocated to services that are actually used.On the nearest server to me right now, the snd* drivers are using about 500k of RAM and 0% of the CPU. That's probably about 2 cents worth of RAM, given current costs. How much time are you willing to spend solving a 2? problem?
On Sun, May 15, 2016 at 09:47:22AM -0700, Gordon Messmer wrote:> On 05/15/2016 08:15 AM, Steve Snyder wrote: > >Only to the extent that the resources used to support the audio > >subsystem could be allocated to services that are actually used. > > > On the nearest server to me right now, the snd* drivers are using > about 500k of RAM and 0% of the CPU. That's probably about 2 cents > worth of RAM, given current costs. > > How much time are you willing to spend solving a 2? problem?And,... Linux kernel isgood at moving things that use up RAM into swap space instead if that thing is never used. so while top may show it using RAM, in fact it is swapped to disk so it doesn't use RAM. -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------- "For the word of God is living and active. Sharper than any double-edged sword, it penetrates even to dividing soul and spirit, joints and marrow; it judges the thoughts and attitudes of the heart." ---------------------------- Hebrews 4:12 (niv) ------------------------------