How to bind DB2 database manager to cores?

January 25, 2010 – 2:52 pm
Step 1. Set DB2 registry variable as follows:
        DB2_RESOURCE_POLICY=/db2home/inst1/mydir/bindproc.txt

Step 2: make sure the bindproc.txt has the following entry:
        (the following example binds two cores to the process)

<RESOURCE_POLICY>
                <GLOBAL_RESOURCE_POLICY>
                       
<METHOD>CPU</METHOD>
                        <RESOURCE_BINDING>
                                <RESOURCE>1</RESOURCE>
                        </RESOURCE_BINDING>
                        <RESOURCE_BINDING>
                               
<RESOURCE>2</RESOURCE>
                        </RESOURCE_BINDING>
                </GLOBAL_RESOURCE_POLICY>
</RESOURCE_POLICY>

.pw.

You must be logged in to post a comment.