dbTalk Databases Forums  

ASA6 and multiple CPU

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss ASA6 and multiple CPU in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jan van Veldhuizen
 
Posts: n/a

Default ASA6 and multiple CPU - 12-05-2003 , 10:12 AM






I have a machine with 2 CPU's, and it looks like dbsrv6.exe takes only one
cpu per user session.

If I do a heavy SQL query which takes a lot of resources I see the CPU in
the taskmanager at 50%, the maximum of one CPU.
Then, if I do a second ISQL connection, at the same machine, I see the
processor usage increasing to 60 or 70%.

The online help says the db engine takes all cpu's by default. Or is -gt 2
necessary?



Reply With Quote
  #2  
Old   
David Kerber
 
Posts: n/a

Default Re: ASA6 and multiple CPU - 12-05-2003 , 10:30 AM






In article <3fd0ae5c$1@forums-1-dub>, jan (AT) van-veldhuizen (DOT) nl says...
Quote:
I have a machine with 2 CPU's, and it looks like dbsrv6.exe takes only one
cpu per user session.
IME, It uses 1 cpu per query.


Quote:
If I do a heavy SQL query which takes a lot of resources I see the CPU in
the taskmanager at 50%, the maximum of one CPU.
Then, if I do a second ISQL connection, at the same machine, I see the
processor usage increasing to 60 or 70%.

The online help says the db engine takes all cpu's by default. Or is -gt 2
necessary?

--
Dave Kerber
Fight spam: remove the ns_ from the return address before replying!

REAL programmers write self-modifying code.


Reply With Quote
  #3  
Old   
Greg Fenton
 
Posts: n/a

Default Re: ASA6 and multiple CPU - 12-06-2003 , 12:33 AM



Jan van Veldhuizen wrote:

Quote:
I have a machine with 2 CPU's, and it looks like dbsrv6.exe takes only one
cpu per user session.

A single active query uses a single database task. A task will only use
a single CPU.

Quote:
The online help says the db engine takes all cpu's by default. Or is -gt 2
necessary?

The database engine runs with multiple tasks. Each active task can run
on its own CPU subject to the availability of CPUs.

In the ASA 9.0.0 docs (I don't have 6.0 docs handy, sorry), see:

ASA Database Administration Guide
Running the Database Server
Some common options
Controlling threading from the command line
- Threading in Adaptive Server Anywhere

(Look up "tasks/about" in the 6.0 docs. Hopefully relevant info is there).

Hope this helps,
greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/



Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.