473,396 Members | 1,898 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

DB2 not using all processors

Hi all,

I have DB28.2 running on win2003 system which has 8 Processors with HT
its 16

How do i make DB2 more use of all the processors?

Right now i am doing an import and task manager shows almost 100%
usage of just one CPU and everything else is idle. (Overall CPU usages
is less than 10%)

This is how my CFG looks like (Changed Specifically for import)

intra_parallel system
dft_degree -1

NUM_IOCLEANERS 30
CHNGPGS_THRESH 5
DBHEAP 3000
LOCKLIST 300
LOGRETAIN OFF
USEREXIT OFF

Tablespaces are DMS

Is there anything else i should do achieve this.

Thanks
Nov 12 '05 #1
9 7714
Are you sure you have the right number of processor licenses for DB2?
You would need 8 processor license I think.
Yasaswi

db******@gmail.com (db2inst2) wrote in message news:<10**************************@posting.google. com>...
Hi all,

I have DB28.2 running on win2003 system which has 8 Processors with HT
its 16

How do i make DB2 more use of all the processors?

Right now i am doing an import and task manager shows almost 100%
usage of just one CPU and everything else is idle. (Overall CPU usages
is less than 10%)

This is how my CFG looks like (Changed Specifically for import)

intra_parallel system
dft_degree -1

NUM_IOCLEANERS 30
CHNGPGS_THRESH 5
DBHEAP 3000
LOCKLIST 300
LOGRETAIN OFF
USEREXIT OFF

Tablespaces are DMS

Is there anything else i should do achieve this.

Thanks

Nov 12 '05 #2
DB2 8.2 express supports 2 CPUs
Workgroup supports 4 CPUs
Enterprise.....well a lot more.

Make sure you have the right version to support the number of CPUs you have.

That being said, make sure you have parallelism turned on.

Christos Kalantzis


db2inst2 wrote:
Hi all,

I have DB28.2 running on win2003 system which has 8 Processors with HT
its 16

How do i make DB2 more use of all the processors?

Right now i am doing an import and task manager shows almost 100%
usage of just one CPU and everything else is idle. (Overall CPU usages
is less than 10%)

This is how my CFG looks like (Changed Specifically for import)

intra_parallel system
dft_degree -1

NUM_IOCLEANERS 30
CHNGPGS_THRESH 5
DBHEAP 3000
LOCKLIST 300
LOGRETAIN OFF
USEREXIT OFF

Tablespaces are DMS

Is there anything else i should do achieve this.

Thanks

Nov 12 '05 #3
I don't believe that this will affect the number of processors that DB2
uses.

Larry Edelstein

Yasaswi Pulavarti wrote:
Are you sure you have the right number of processor licenses for DB2?
You would need 8 processor license I think.
Yasaswi

db******@gmail.com (db2inst2) wrote in message news:<10**************************@posting.google. com>...
Hi all,

I have DB28.2 running on win2003 system which has 8 Processors with HT
its 16

How do i make DB2 more use of all the processors?

Right now i am doing an import and task manager shows almost 100%
usage of just one CPU and everything else is idle. (Overall CPU usages
is less than 10%)

This is how my CFG looks like (Changed Specifically for import)

intra_parallel system
dft_degree -1

NUM_IOCLEANERS 30
CHNGPGS_THRESH 5
DBHEAP 3000
LOCKLIST 300
LOGRETAIN OFF
USEREXIT OFF

Tablespaces are DMS

Is there anything else i should do achieve this.

Thanks


Nov 12 '05 #4
db******@gmail.com (db2inst2) wrote in message news:<10**************************@posting.google. com>...
Hi all,

I have DB28.2 running on win2003 system which has 8 Processors with HT
its 16

How do i make DB2 more use of all the processors?

Right now i am doing an import and task manager shows almost 100%
usage of just one CPU and everything else is idle. (Overall CPU usages
is less than 10%)

This is how my CFG looks like (Changed Specifically for import)

intra_parallel system
dft_degree -1

NUM_IOCLEANERS 30
CHNGPGS_THRESH 5
DBHEAP 3000
LOCKLIST 300
LOGRETAIN OFF
USEREXIT OFF

Tablespaces are DMS

Is there anything else i should do achieve this.

Thanks


Not directly related to your CPU issue, but you should probably change
your parms as follows:

NUM_IOCLEANERS 8
CHNGPGS_THRESH 40
LOCKLIST 4096
LOGBUFSZ 128 (or higher)

It will help if you use multiple containers per tablespace, but only
if each container is on a different RAID array or physical drive (if
you are using JBOD). Then make your prefetch size n times the extent
size (where n is the number of containers in each tablespace).

I don't think you can use WSE for 8 processor machines, but there may
also be a license issue also.
Nov 12 '05 #5
I do have the license. And updated it with db2licm.

And the version of db2 is ESE 8.2

Thanks

ya*****@encfor.com (Yasaswi Pulavarti) wrote in message news:<aa*************************@posting.google.c om>...
Are you sure you have the right number of processor licenses for DB2?
You would need 8 processor license I think.
Yasaswi

db******@gmail.com (db2inst2) wrote in message news:<10**************************@posting.google. com>...
Hi all,

I have DB28.2 running on win2003 system which has 8 Processors with HT
its 16

How do i make DB2 more use of all the processors?

Right now i am doing an import and task manager shows almost 100%
usage of just one CPU and everything else is idle. (Overall CPU usages
is less than 10%)

This is how my CFG looks like (Changed Specifically for import)

intra_parallel system
dft_degree -1

NUM_IOCLEANERS 30
CHNGPGS_THRESH 5
DBHEAP 3000
LOCKLIST 300
LOGRETAIN OFF
USEREXIT OFF

Tablespaces are DMS

Is there anything else i should do achieve this.

Thanks

Nov 12 '05 #6
You could check if every CPU is used in its own window. Try some big
and complicated query...

db******@gmail.com (db2inst2) wrote in message news:<10**************************@posting.google. com>...
Hi all,

I have DB28.2 running on win2003 system which has 8 Processors with HT
its 16

How do i make DB2 more use of all the processors?

Right now i am doing an import and task manager shows almost 100%
usage of just one CPU and everything else is idle. (Overall CPU usages
is less than 10%)

This is how my CFG looks like (Changed Specifically for import)

intra_parallel system
dft_degree -1

NUM_IOCLEANERS 30
CHNGPGS_THRESH 5
DBHEAP 3000
LOCKLIST 300
LOGRETAIN OFF
USEREXIT OFF

Tablespaces are DMS

Is there anything else i should do achieve this.

Thanks

Nov 12 '05 #7
Check the following
dbm cfg
INTRA_PARALLEL ON
MAX_QUERYDEGREE -1 or ANY 0r 8
db cfg
DFT_DEGREE -1 or ANY or 8

Those parms. affect whether or not multiple cpus will be used and how many.
All the other parms. affect capacity management issues WHEN you are
using multiple cpus not how many.

Given that you have ESE installed, and you are licensed for, that
version can use as many processors as you will make available.

db2inst2 wrote:
Hi all,

I have DB28.2 running on win2003 system which has 8 Processors with HT
its 16

How do i make DB2 more use of all the processors?

Right now i am doing an import and task manager shows almost 100%
usage of just one CPU and everything else is idle. (Overall CPU usages
is less than 10%)

This is how my CFG looks like (Changed Specifically for import)

intra_parallel system
dft_degree -1

NUM_IOCLEANERS 30
CHNGPGS_THRESH 5
DBHEAP 3000
LOCKLIST 300
LOGRETAIN OFF
USEREXIT OFF

Tablespaces are DMS

Is there anything else i should do achieve this.

Thanks


--
Pierre Saint-Jacques - Reply to: sescons at attglobal dot net
IBM DB2 Cerified Solutions Expert - Administration
SES Consultants Inc.
Nov 12 '05 #8

"db2inst2" <db******@gmail.com> wrote in message
news:10**************************@posting.google.c om...
Hi all,

I have DB28.2 running on win2003 system which has 8 Processors with HT
its 16

How do i make DB2 more use of all the processors?

Right now i am doing an import and task manager shows almost 100%
usage of just one CPU and everything else is idle. (Overall CPU usages
is less than 10%)

This is how my CFG looks like (Changed Specifically for import)

intra_parallel system
dft_degree -1

NUM_IOCLEANERS 30
CHNGPGS_THRESH 5
DBHEAP 3000
LOCKLIST 300
LOGRETAIN OFF
USEREXIT OFF

Tablespaces are DMS

Is there anything else i should do achieve this.


I don't believe IMPORT pays heed to INTRA_PARALLEL, and thus will only end
up one CPU.

You have two options:
1) split your input file into multiple smaller files and run multiple IMPORT
sessions in parallel by hand
2) use LOAD, which will parallelize internally and make batter use of your
CPUs

--
Matt Emmerton
Nov 12 '05 #9
I changed all these parameters.

But still no luck for imports.

When i do some exports all cpu's are used and its faster than doing
exports on a single cpu machine.

when i tried dividing the imports into 4 and ran them simultaneously
it was better. But still only 4 cpu's are used.

Is there something with imports, that it can't make use of multiple
cpus

Thanks for your responses.
Pierre Saint-Jacques <se*****@attglobal.net> wrote in message news:<41**************@attglobal.net>...
Check the following
dbm cfg
INTRA_PARALLEL ON
MAX_QUERYDEGREE -1 or ANY 0r 8
db cfg
DFT_DEGREE -1 or ANY or 8

Those parms. affect whether or not multiple cpus will be used and how many.
All the other parms. affect capacity management issues WHEN you are
using multiple cpus not how many.

Given that you have ESE installed, and you are licensed for, that
version can use as many processors as you will make available.

db2inst2 wrote:
Hi all,

I have DB28.2 running on win2003 system which has 8 Processors with HT
its 16

How do i make DB2 more use of all the processors?

Right now i am doing an import and task manager shows almost 100%
usage of just one CPU and everything else is idle. (Overall CPU usages
is less than 10%)

This is how my CFG looks like (Changed Specifically for import)

intra_parallel system
dft_degree -1

NUM_IOCLEANERS 30
CHNGPGS_THRESH 5
DBHEAP 3000
LOCKLIST 300
LOGRETAIN OFF
USEREXIT OFF

Tablespaces are DMS

Is there anything else i should do achieve this.

Thanks

Nov 12 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: JohnFol | last post by:
I know Windows / SQL etc can utilise multiple processors. In the good old days of coding, you simply wrote the .EXE and Windows would run it on a single processor (or a given processor for...
2
by: nagaraj_hayyal | last post by:
Hi All, thanks for reading this post. just wanted to know about the ratio of threads and processors. i am working on c++ on AIX5.2 platform. my c++ program are multithreaded programs. ...
3
by: nrhayyal | last post by:
Hi All, thanks for reading this post. just wanted to know about the ratio of threads and processors. i am working on c++ on AIX5.2 platform. my c++ program are multithreaded programs. In a...
2
by: mairhtin o'feannag | last post by:
Hello, I am a bit confused as to how this all works with respect to number of processors on a Linux machine. The situation I am encountering is this : because of Hyperthreading technology, the...
17
by: RayAll | last post by:
I'm having a webserver with 2 processors .I read an article somewhere that state mamangement on 2 processors in an ASP.NET application is different with one processor.Is that right? Thanks
2
by: webwarrior | last post by:
Hi, Is there a reason why we have to pay more for licensing for a different kind of processor? Why are we not charged for the Hyperthreading on some processors also. If Oracle is really...
5
by: shumaker | last post by:
I just read an overview of C# 3.0, and it occured to me that some of these features could make it much easier to write programs that automatically make use of multi core processors. After reading...
12
by: not_a_commie | last post by:
Is using System.Management in general a faux pas? It seems, after some web searching, that there is a fair amount of resistance to it because of speed and portability. I need to know how many...
11
by: John | last post by:
Is there a way to find the number of processors on a machine (on linux/ windows/macos/cygwin) using python code (using the same code/cross platform code)?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.