cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

2 vs 4 Physical CPUs

RiclWash
Participant
0 Kudos
838

We have been running SQL Anywhere on Windows servers with 2 CPUs for years. We are upgrading to new hardware and have decided to go to our maximum licensing allowance of 4 CPUs. We just did some testing and see no difference in SQL Query/Update/Edit completion from the old hardware.

What am I missing?

View Entire Topic
Officegroup
Discoverer
0 Kudos

First of all look at server properties:

NumLogicalProcessors, NumLogicalProcessorsUsed, NumPhisicalProcessors, NumPhisicalProcessorsUsed

So you are sure how many phisical cpu SQL Anywhere use

Then it depends on query complexity; if you use database parameter maxquerytask = 0 you can benefit of intraquery parallelism 

 

RiclWash
Participant
0 Kudos
The log shows: I. 03/27 07:21:44. This server is licensed to use: all logical processors on all cores on up to 4 physical processors I. 03/27 07:21:44. Processors in use by server: 192 logical processor(s) on 96 core(s) on 4 physical processor(s)
RiclWash
Participant
0 Kudos
I will look into the maxquerytask parameter
RiclWash
Participant
0 Kudos
So we have maxquerytask set to 1:
RiclWash
Participant
0 Kudos
SET OPTION PUBLIC.ansi_update_constraints = 'off'; -- different from default 'Cursors' SET OPTION PUBLIC.auditing_options = '2'; -- different from default '4294967295' SET OPTION PUBLIC.continue_after_raiserror = 'OFF'; -- different from default 'On' SET OPTION PUBLIC.login_procedure = 'NFR.login_check'; -- different from default 'sp_login_environment' SET OPTION PUBLIC.max_query_tasks = '1'; -- different from default '0' SET OPTION PUBLIC.max_temp_space = '32G'; -- different from default '0' SET OPTION PUBLIC.min_password_length = '0'; -- different from default '3' SET OPTION PUBLIC.sr_timestamp_format = 'hh:nn:ss.Ssssss yyyy/mm/dd'; -- different from default 'yyyy/mm/dd hh:nn:ss.Ssssss' SET OPTION PUBLIC.string_rtruncation = 'OFF'; -- different from default 'On'
chris_keating
Product and Topic Expert
Product and Topic Expert
0 Kudos

Setting the max_query_tasks option to 1 disables intra-query parallelism. That may degrade performance if queries could be parallelized but prevented from doing so. It is generally best to run with this options default.

Please see my comment to your original question related to MaxMultiprogrammingLevel.

RiclWash
Participant
0 Kudos
Version: 17.0.11.7908, -gna=1, -gn=48, -gnl=48, -gnh=80, current=48
chris_keating
Product and Topic Expert
Product and Topic Expert
0 Kudos
You should considering experimenting with a larger -gnh as I suspect that maybe 80 too limiting.