Knut Stolze wrote:
Larry wrote:
I believe this is only controllable via the underlying OS, and possibly
some DB2 environment variables. Don't think db2licm will alter this
behavior. What os/hw are you using?
The way I understood recent discussions on the very same topic is that there
is no way to force DB2 to use only one or two processors. DB2 will use all
processors that are available from the operating system. So you will have
to control/partition the processor usage already on a lower level. If your
OS does not yet supply such a feature, then you can't do what the OP wanted
to do.
In Linux, can you not use affinity to bind a process to a particular
processor? I have never tried it, but it should work. Of course, DB2 runs
a lot of processes and that would open up the question of what the O.P.
means by limiting DB2 to one CPU.
For example, on my main database, I have 7 page fetchers and 7 page
cleaners. I suppose I could limit them all to the same one CPU (though in
that case, perhaps I should set it up to have only one of each).
I.e., what does the O.P. really want to accomplish?
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 241939.
/( )\ Shrewsbury, New Jersey
http://counter.li.org
^^-^^ 13:25:00 up 2 days, 20:54, 4 users, load average: 1.60, 0.93, 0.78