image
image

Go Back   macosx.com > Content & Information > Apple News, Rumors & Discussion

Reply
 
Thread Tools
  #1  
Old September 28th, 2000, 01:00 AM
Registered User
 
Join Date: Sep 2000
Location: Chicago
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
murphs76 is on a distinguished road
Question

I've logged in OS X as "root" and OS X is executing faster. As a test to see how much faster it goes open the System Preferences control panel and click on the different options. After clicking on the same control panels several times they go even faster.

Does anyone know why? I'm thinking that when you login as "root" you are no longer in debug mode? Or maybe "root" is just closer to the kernel?

Murph
Reply With Quote
  #2  
Old September 29th, 2000, 11:02 AM
Registered User
 
Join Date: Sep 2000
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
wmoss is on a distinguished road
It's interesting that you see a speed up when logged in as root. Your two explanations don't seem to be very likely. The root user is ultimately a user like anuone else.

You won't be blocked from files that are secured from regular uses, but the system still must perform these security checks (your user name is not sufficient).

It's unlikely that root's processes are given a higher priority than other users on the system, but even if this is so there's only one user logged in so it's not like you're competeing for CPU time against others. You're only competing against the daemons and kernel processes/threads.

Perhaps Apple did make debug exceptions for root, but according to others root doesn't look very well debugged at all. Icons change unexpectedly. Applications start and stop showing their ".app" extension. Maybe these are just cosmetic things, but they would definitely make me nervous :-)

Besides the debugging problems though, being logged in as root is a dangerous thing to do. You don't want to do things like unlink the kernel or remove needed files in the various hidden directories (like /dev ). Being logged in as a normal user prevents you or the programs you run from accidentally trashing these files.

I won't say that it's insane to run as root, but you should have a very good idea of what you want to do to your system that you need this unprotected account.
Reply With Quote
  #3  
Old September 29th, 2000, 03:43 PM
Registered User
 
Join Date: Sep 2000
Location: Phx
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
catfish is on a distinguished road
Red face

on my Little iMac- (Rev.B) it takes a long time (relative) to sort through permissions [says it's checking permissions for like 30 sec.! very annoying] when I open any settings... I think it's because it loads the permissions list every time you go somewhere new. If you go back, they come up pretty quickly. Logging in as root might be a no brainer for the computer, since it knows that Root has complete control and doesn't need to check.
Reply With Quote
  #4  
Old September 29th, 2000, 04:02 PM
Member
 
Join Date: Sep 2000
Location: Paris
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
jeanmarie is on a distinguished road
Lightbulb

I read here that you can speed up aapache by moving your web documents to something like /web. Couldnt this be tried with a user home directory ? I'm not sure where OS X stores the location of users' directories, but I bet this had to be done manually…
Reply With Quote
  #5  
Old October 1st, 2000, 09:16 PM
Registered User
 
Join Date: Sep 2000
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
franky is on a distinguished road
Lightbulb

I can confirm that logging in as root indeed speeds OS X up. And it's pretty noticeable too.

Another thing I've discovered is this: In System/Library there's a folder called StartupItems that contains a few thing that load as the computer is booting. I tried making a folder which I called StartupItems.disabled and moved a few things I know I don't use, like Apache, AppleTalk and AppleShare there. Although I can't say I notice any speed diferrence, logically this procedure would at least speed up the startup time, as well as free up some memory and CPU.
Reply With Quote
  #6  
Old October 1st, 2000, 09:37 PM
Registered User
 
Join Date: Oct 2000
Location: Netherlands
Posts: 180
Thanks: 0
Thanked 0 Times in 0 Posts
The DJ is on a distinguished road
Exclamation

Quote:
Originally posted by franky
Another thing I've discovered is this: In System/Library there's a folder called StartupItems that contains a few thing that load as the computer is booting. I tried making a folder which I called StartupItems.disabled and moved a few things I know I don't use, like Apache, AppleTalk and AppleShare there
Wow there, that's not the way you're supposed to do that. If you want to turn off those services as they are called, simply open the /etc/hostconfig file and replace -YES- with -NO- on the service you don't want to use.
Then they will not be loaded on startup.
Only shutdown the services of which you know what they do, like the ones you named previously.

Under *nix like systems most things have a type of swith to turn stuff off.
You don't remove the TV from the room, just shut it down.
Reply With Quote
  #7  
Old October 1st, 2000, 09:51 PM
Registered User
 
Join Date: Oct 2000
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Der_Kommissar is on a distinguished road
More ideas for speed ups

Will additional ram above 128 MB speed up OSX Beta? It is the window resize updates that drive me crazy. And is OSX faster on a G4 than on a G3 of the same speed?
Reply With Quote
  #8  
Old October 2nd, 2000, 09:25 PM
MasonMcD's Avatar
Registered User
 
Join Date: Sep 2000
Location: Alpharetta, GA
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
MasonMcD is on a distinguished road
This *is* extremely odd. I've duplicated my user folder when I was in root, renamed root as OldRoot, and my user space folder as root, and logged back in as root. It's *much* snappier. Course I don't have *any* compromising services turned on, and I'm really the only one who uses this comp, so it's fairly safe. I'm not really a shareware whore, so the danger is reduced. Man, it's pretty snappy, I must say. Wonder why that is?
Reply With Quote
Reply

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Speeding up Jaguar Boot time Juxel Mac OS X System & Mac Software 9 November 18th, 2002 04:21 PM
Speeding up my sawtooth Carlo Mac OS X System & Mac Software 29 August 21st, 2002 07:44 PM
Font smoothing and speeding up processes terran74 Opinions, & Open Letters 0 February 1st, 2002 06:24 AM
speeding up "tool tips"? hazmat Apple News, Rumors & Discussion 2 December 9th, 2001 04:56 AM
The Need For Speed -- how to kill debugger? johnj1 Apple News, Rumors & Discussion 5 September 28th, 2000 03:27 PM


All times are GMT -5. The time now is 08:01 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.