|
|
Disable unneeded Directory Access Services for speed bump
It would be nice if there was a way to shut off some unused startup items and extensions such as Apache, Samba, Internet Firewall and others that aren't used.
To turn off Samba, go to the Sharing prefs pane, the "Services" tab, and uncheck the "Windows File Sharing" service. To turn off Apache, uncheck the "Personal Web Sharing" serivce. (Actually, I'm almost certain that these services are off by default, so there's no reason to turn them off unless you or another administrator has turned them on at some point in the past.) It's important to note, though, that these services don't really use any memory to speak of or any CPU time unless they're actually used. If you're on a home machine with no network connection, you can run Apache all you like and never notice, because it won't do anything unless it receives a request. Same with Samba. The internet firewall isn't actually a service; it's a part of the operating system kernel. It doesn't "run" in any meaningful sense. It just defines rules for the kernel about what connections the system will and will not accept.
tinkering
I agree with what foobar104 said.
tinkering
I don't think there are kernel extensions for things like Apache or Samba. They're services, not a part of the kernel. Now, I don't know what kind of voodoo they've done to get samba to mount as an icon on your desktop, but I doubt it's directly to Samba -- does Samba's license require Apple to contribute changes back to the source?
smbfs.kext
There is a kernel extension "smbfs.kext" which is used for Samba.
smbfs.kext
No, it is not used for Samba, although it is part of Samba. It is used to mount SMB filesystems; so don't disable it if you have need to access Windows fileshares. Even if you don't need it, it shouldn't use any memory, as it is loaded dynamically by the autodiskmounter.
Disable unneeded Directory Access Services for speed bump
Hello,
Disable unneeded Directory Access Services for speed bump
The startup items don't do anything if the service is disabled - they are simple shell scripts which check to see if the service is enabled, and if so, start it. Once the StartupItem script for a service has run, memory is only consumed if the service was enabled, and has started. StartupItems have no connection to the kernel. They are the OS X equivilant of Linux init scripts.
Disable unneeded Directory Access Services for speed bump
Right - StartupItems are just shell scripts that will start a service if the file /etc/hostconfig says they should be started. If you really want a StartupItem disabled, and don't see an obvious way to do it, editing that file will allow you to.
Disable unneeded Directory Access Services for speed bump
According to John Timmer at OSXFAQ.com, all kexts marked as needed for booting are loaded from Extensions.mkext at boot time by BootX and then unused ones are unloaded from memory by kextd:
I Thought Mac OS X Was Supposed To Be The End Of Extensions Hell ?? So removing kexts is only going to be of benefit at bootup, which isn't often on my MacOS X systems. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.06 seconds |
|