On Sun, 21 Jun 1998, Jeremy Domingue wrote:
> Hey all,
>
> I have a heavily used machine with about 200 accounts on it, and was
> wondering if there is a way to bind processes to a specific processor on a
> SMP machine? Specifically, I wanted to bind crontab to the second processor,
> because the usage on the machine spikes like crazy because of crontab....
> also, can something similar be done with the memory (I have 512mb... a
> hundred or so dedicated to crontab would be nice...)
Why would you want to? In my experience, the kernel does a really good job
of load balancing across the two processors. At any rate, cron doesn't
really do much besides decide when to spawn processes. The processes that
cron spawns are what's using up your resources. They are already executing
in parallel, so "binding" them to a single processor would make things
worse. The same comments apply to memory allocation. The vast majority of
the time, the kernel does a far better job of allocating memory than
manual flubbing could do. These are moot points, though, since you can't
do either of the things you describe.
>
> Other than that, is there a way to mimize the spikes that crontab causes
> without modifying the amount/types of programs that it runs?
>
Not that I'm aware of, other than getting a faster machine... What kind of
"spikes" are you getting? CPU usage? Disk? If you don't mind telling us,
what kind of programs is cron running?
> TIA,
>
> Jeremy Domingue
> [EMAIL PROTECTED]
>
Ryan
----------------------------------------------------------------------------
Ryan McCowan Cookeville Regional Medical Center
[EMAIL PROTECTED] Webmaster-Internet/Intranet Admin
[EMAIL PROTECTED] http://www.cghospital.org/
----------------------------------------------------------------------------
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.