Keeping Caches Enabled with 800Mhz |
October, 04, 2002 1:17 AM |
macman |
Anyone else having problems keeping the caches enabled on the 800Mhz card? I'm running 10.1.5, using Power Logix Cache Control 2.1b4. Every time I reboot, the caches aren't enabled, Cache Control claims that the PLKEXT is not loaded. I've confirmed that the install script is loading files where they need to be located, but on boot, the verbose message says that it can't find the localizable scripts, then it probes the cache and moves on with the boot sequence. These messages aren't appearing in the system log. Stephen |
. |
RE: Keeping Caches Enabled with 800Mhz |
October, 08, 2002 8:58 AM |
OSXGuru |
. |
The "Apple System Profiler: Hardware Overview: L2 Cache Size" does not appear to be accurate on older machines. One method that does seem to be accurate is to install Apple's CHUD tools, which includes a CPU preferences pane. http://developer.apple.com/tools/debuggers.html |
. |
RE: Keeping Caches Enabled with 800Mhz |
October, 06, 2002 1:03 AM |
mjohnson1 |
. |
hmm... I wonder if it is a 10.1.5 thing. No problems here using the same software (Power Logix Cache Control 2.1b4) with an 800 card running 10.2.1. I was using an earlier version of the Power Logix cache enabler when I was running 10.1.5. I don't know if this has anything to do with it or not but thought I'd at least mention it... |
. |
RE: Keeping Caches Enabled with 800Mhz |
October, 05, 2002 7:40 PM |
michael587 |
. |
Asking as a non-unix-geek: How do I tell if the caches are enabled. Does "Apple System Profiler: Hardware Overview: L2 Cache Size" accurately report this? |
. |
RE: Keeping Caches Enabled with 800Mhz |
October, 04, 2002 8:10 PM |
macman |
. |
Finally Solved! Here's what I did: I created a directory in /Library/StartupItems called CacheStartup I placed this script in there called CacheStartup: #!/bin/sh ## # Load the PLKEXT.kex. ## . /etc/rc.common ConsoleMessage "Loading PLKEXT" kextload /System/Library/Extensions/PLKEXT.kext plxcache -r 4.0 -s 1024 Then made another file called StartupParameters.plist: { Description = "CacheStartup"; Provides = ("CacheStartup"); OrderPreference = none; Messages = { start = "Starting Cache"; stop = "Stopping Cache"; }; } Both were set as executable, and on boot, the caches are enabled. Interestingly whenever I had a typo or other failure in the script, my Logitech mouse would stop working until I did a cold boot. Wierd. I think that the whole thing that broke the cache loading was that when I installed the M-Audio/Delta card, it created the /Library/ StartupItems folder, which wreaked havoc with the /System/ Library/StartupItems/PowerLogix Startup folder preferences. Hopefully this will help other people in time. Stephen |
. |
RE: Keeping Caches Enabled with 800Mhz |
October, 04, 2002 12:58 PM |
krevnik |
. |
Well, the system uses the StartupItems folder to do stuff like that instead of an init.d script. So if you can look around in one of the StartupItems packages and see how they layout the thing, you could probably get that thing started up. PowerLogix is supposed to install one of those things to enable the cache, so if it does have one in there, you can go ahead and just tweak that to make sure the kext gets loaded. |
. |
RE: Keeping Caches Enabled with 800Mhz |
October, 04, 2002 2:23 AM |
macman |
. |
sorry, /etc/rc2.d stephen |
. |
RE: Keeping Caches Enabled with 800Mhz |
October, 04, 2002 2:21 AM |
macman |
. |
OK, here's what I've found: the extensions aren't loading. If I run this command after booting, the extension loads. sudo kextload /System/Library/Extensions/PLKEXT.kext Then I could turn on the cache with the control software. Anybody know where I'm supposed to put this kind of startup script so that it's run as root? On Solaris, I could make a script and put it in /etc/init.d where's it supposed to go in X? Stephen |