If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > db2syscs.exe process CPU utilization is 100%

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-26-04, 06:27
dr_suresh20 dr_suresh20 is offline
Registered User
 
Join Date: Sep 2003
Posts: 218
db2syscs.exe process CPU utilization is 100%

Hi,

I am running db2 v8.1.4a on win2k.

db2syscs.exe is at 95 to 100% CPU utilization frequently. Then it goes down very low. Goes up high again within an hour. There aren't much application work going on our system today.

What could be the reason for this spike in CPU utilization?

Any ideas?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 07-26-04, 07:10
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,

Do you have enough memory? Is there some windows pageing?

Grofaty
Reply With Quote
  #3 (permalink)  
Old 07-26-04, 09:59
dr_suresh20 dr_suresh20 is offline
Registered User
 
Join Date: Sep 2003
Posts: 218
thanks for your response..

yes, its a 4GB RAM, P4 machine.. and I am running two instances (OLTP and Data warehouse)

I don't understand your second question on the paging front.

Thanks.
Reply With Quote
  #4 (permalink)  
Old 07-26-04, 11:00
bmujeeb bmujeeb is offline
Registered User
 
Join Date: Mar 2004
Posts: 448
when you have more processes then the real memory can accomodate.
the processes are swapped out to paging space a type of physcial storage.
page in and page out is common, but swapping is a problem.
CPU is utilized heavily during that swapping.

regards,

mujeeb
Reply With Quote
  #5 (permalink)  
Old 07-27-04, 01:32
dr_suresh20 dr_suresh20 is offline
Registered User
 
Join Date: Sep 2003
Posts: 218
....There are two physical drives designated by C: D: and E: and they have around 4092 MB set as the max paging size. Is this ok?
Reply With Quote
  #6 (permalink)  
Old 07-27-04, 01:37
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,

Bmujeeb, that is correct!
Dr_suresh20, the easyes way to find out if windows page-ing is present do the following:
1. Start Task Manager
2. Click on Performance tab
3. In Physical Memory frame there is "Available" - that is the available real memory
4. In Commit Charge frame there is "Total" - this is used memory
5. If the "Available" > "Total" then you have a windows page-ing problem.

If you have the windows pageing problem, then try to stop all the applications that are not needed. Also stop services that are not needed.

On database there is the most common mistake to overlocate the bufferpools. So if the total amount of bufferpools are bigger then the real memory try to lower the bufferpools.

Execute the db2 command:
Code:
select * from sysibm.sysbufferpools
to see the amount of usage bufferpools.
Then manualy calculate the BufferpoolUsageInBytes = NPAGES * PAGESIZE. If more then one bufferpool is defined then calculate the BufferpoolUsageInBytes and sum the results from each row.

Hope this helps,
Grofaty

Last edited by grofaty; 07-27-04 at 01:46.
Reply With Quote
  #7 (permalink)  
Old 07-27-04, 01:53
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,

Dr_suresh20, windows pageing in teory:
Code:
TotalPageSizeOnAllDrivesTogether = RealMemory * 1.5
Sample:
Real memory = 4 GB
TotalPageSizeOnAllDrivesTogether = 4 GB * 1.5 = 6 GB.

So the optimal page size is 6 GB. My favorite setting is to create a windows partition e.g. F: which is in your case 10 GB in size and then define windows page file 6 GB on this partition. You have 4 GB on "page partition" just in case if you would like to increase the size (e.g. if new real memory is bought)

If page file is defined in seperate partition then no fragment of page file is present. So you do not need to defragment this partition on regular basis.

Hope this helps,
Grofaty

Last edited by grofaty; 07-27-04 at 01:58.
Reply With Quote
  #8 (permalink)  
Old 07-27-04, 11:03
bmujeeb bmujeeb is offline
Registered User
 
Join Date: Mar 2004
Posts: 448
In window enviroment, my first step should be to stop the processes
which I don't need.window has this problem of starting too many processes
without needing them and most of these proceeses have multiple threads
inside them.

regards,

mujeeb
Reply With Quote
  #9 (permalink)  
Old 07-28-04, 01:37
dr_suresh20 dr_suresh20 is offline
Registered User
 
Join Date: Sep 2003
Posts: 218
many thanks for your responses..

Let me try this out and see if it reduces CPU utilization. I will share my findings shortly.

Thanks once again.
Reply With Quote
  #10 (permalink)  
Old 08-03-04, 05:12
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi dr_suresh20,

Have you solved your problem?
Please share with us your results!

Thanks,
Grofaty
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On