LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-31-2009, 06:32 AM   #1
csvan
LQ Newbie
 
Registered: Jun 2009
Posts: 16

Rep: Reputation: 0
Disabling daemons and hardware


Hey everyone,

I had two questions that maybe someone could help with.

1. What daemons/services can be safely turned off, in order to improve performance? By "safely" I mean that shutting a given daemon down does not open a security hole or pose a threat to the OS or hardware.

2. Is there a way to turn off individual hardware devices from within Linux? I am asking this in particular as I have noticed (I think) a certain component of my laptop getting VERY hot when I run Linux...if I turned it off, would this mean it would not be used at all, or would it simply mean that the OS will not register it?

thanks in advance for all replies
 
Old 08-31-2009, 07:20 AM   #2
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 91
Quote:
Originally Posted by csvan View Post
Hey everyone,

I had two questions that maybe someone could help with.

1. What daemons/services can be safely turned off, in order to improve performance? By "safely" I mean that shutting a given daemon down does not open a security hole or pose a threat to the OS or hardware.

2. Is there a way to turn off individual hardware devices from within Linux? I am asking this in particular as I have noticed (I think) a certain component of my laptop getting VERY hot when I run Linux...if I turned it off, would this mean it would not be used at all, or would it simply mean that the OS will not register it?

thanks in advance for all replies
Exactly which component is getting hot? Is it the CPU? The wireless card? You can blacklist drivers so they don't load, disabling the device, if it's the sound, network, wireless, etc. More on this if you want. "cpuspeed" should be running to throttle the CPU during low demand, this helps keep things cool. Is the OS working okay? Does it seem slow? Are all devices working? Sound, etc?
 
Old 08-31-2009, 07:30 AM   #3
csvan
LQ Newbie
 
Registered: Jun 2009
Posts: 16

Original Poster
Rep: Reputation: 0
Hey Warpy, thanks for the reply.

To be specific, the wifi card seems to be the culprit. Running sensors from the terminal gives ok readings for cpu temp. Possibly, it could also be the speakers and related hardware acting up for some reason. I am not sure, and it would be good for me to experiment with it.

So if I blacklist a driver or device, does this mean that the device in question will not be used at all?

Last edited by csvan; 08-31-2009 at 07:32 AM.
 
Old 08-31-2009, 08:03 AM   #4
karamarisan
Member
 
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
1. You can and should figure that out yourself. Run
Code:
chkconfig --list | grep 5:on
This will give you a list of every daemon that starts with runlevel 5 (multiuser with X). You will have no trouble getting enough info to decide which you need and which you don't with man, `yum info foo`, and if you get really desperate, Google. Err on the side of caution; if you can't say you don't need it, just leave it alone. This is a great opportunity to learn a lot about what your system does in the background and why, and about how functionality is split and managed.

As for 'does not open a security hole or pose a threat to the OS or hardware', I have no idea what you think you're going to run into. If it was absolutely required to make the system go, like the virtual memory manager or something, it'd be in the kernel. I can't imagine how closing a port could create a security hole. And do you really think these systems of ours are so fragile that stopping your mailserver could physically break something?

2. While you can blacklist things like that, preventing them from being 'used', that won't prevent them from being powered. The hardware is separate from the software in that respect and will do what it wants. Tackle your heat issue from the hardware side first - if you're willing, go in there, make sure fans are turning smoothly, air is flowing, etc. After that, Wifi seems way more likely than speakers. Have you tried googling '<name_of_your_chipset> hot linux' or some such?
 
Old 08-31-2009, 10:24 AM   #5
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 91
You should be fine security-wise as long as you don't change anything to do with iptables.
As for the heat issue, referring to your statement "when I run Linux" you mean it doesn't/didn't get hot with Windows? If that is the case it is a driver issue -- you can either remove the wifi card or disable the driver (kernel module). Run this command:
lspci
and this one:
lsmod
and post the output.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Daemons palisetty_suman Linux - Newbie 4 04-19-2009 02:24 PM
daemons cnm Linux - Newbie 4 11-08-2006 07:12 AM
Disabling hardware detection of "reboot" and "power" buttons Sabinou Linux - General 3 08-21-2006 07:03 PM
Disabling unnecessarry daemons at startup Deelk Fedora 1 04-04-2006 08:56 PM
Disabling Hardware Check at startup Psykoral Mandriva 4 11-18-2003 06:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration