Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Licu Garcia asked how to limit Informix to 2 of 4 cores. Art Kagel pointed to the VPCLASS cpu entry in onconfig. Nestor Gomez Munoz showed VPCLASS cpu,num=3,noage,aff=2-18 on a Sparc to bind CPUs. Khaled Bentebal added NUMCPUVPS for versions before 9, VPCLASS from IDS 9, and that CPU VPs can be added online with onmode. Solved.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
how to configure CPU with informix. For example, if i have 1 CPU with 4 cores
and i want to assign only 2 cores.
What is the correct parameter on onconfig file for this?
Thank you for your answers.
↪ replying to LICU GARCIA
Art S. Kagel — — source: IIUG Forums & Mailing Lists
See the vpclass entry for class cpu in the onconfig file.
Art
Sent from my Galaxy S®IIILICU GARCIA <licu99@gmail.com> wrote:how to configure
CPU with informix. For example, if i have 1 CPU with 4 cores
and i want to assign only 2 cores.
What is the correct parameter on onconfig file for this?
Thank you for your answers.
*******************************************************************************
Forum Note: Use "Reply" to post a response in the discussion forum.
Case: Sparc 4 processor.
mpstat
CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt
idl
0 45 0 59 1367 316 623 7 40 15 0 748 3 2 0
95
2 14 0 28 333 54 603 50 26 22 0 1674 17 4 0
79
16 39 0 56 219 84 628 8 37 16 0 733 5 2 0
94
18 39 0 47 251 162 571 7 40 23 0 691 4 2 0
95
CPU are numbered 0,2,16,18
onconfig file:
VPCLASS cpu,num=3,noage,aff=2-18
Dedicates three processors (2,16,18) to Informix.
Best regards.
El lun, 27-08-2012 a las 15:58 -0400, LICU GARCIA escribió:
> how to configure CPU with informix. For example, if i have 1 CPU with 4 cores
> and i want to assign only 2 cores.
> What is the correct parameter on onconfig file for this?
>
> Thank you for your answers.
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
Depending on the version of IDS that you are using, you can use
NUMCPUVPS x for the previous versions (prior to version 9)
or
VPCLASS cpu,num=x,noage for the latest versions starting IDS 9 (x is
the number of CPU VPS that you want to configure)
Note: you also have other optional parameters for the VPCLASS parameters
You can also add CPU VPS online if you want using the onmode command.
Cordialement, Regards,
Khaled Bentebal
Directeur Général - ConsultiX
Président UGIF - User Group Informix France
IIUG - Board of Directors
Tél: 33 (0) 1 39 12 18 00
Fax: 33 (0) 1 39 12 18 18
Mobile: 33 (0) 6 07 78 41 97
Email: khaled.bentebal@consult-ix.fr
Site Web: www.consult-ix.fr
Le 27/08/12 21:58, LICU GARCIA a écrit :
> how to configure CPU with informix. For example, if i have 1 CPU with 4 cores
> and i want to assign only 2 cores.
> What is the correct parameter on onconfig file for this?
>
> Thank you for your answers.
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.