Quantcast
Channel: SQL Server Spatial forum
Viewing all articles
Browse latest Browse all 364

How to make spatial computations use more/all CPU power?

$
0
0

Hi,

In an service I'm calculating spatial data (using Microsoft.SqlServer.Types) in memory. These calculations often take 4-5 minutes but they are never, ever, using more than 50% CPU. I have tried this on a single core too (Azure) and still, CPU won't go above 50%. I'd really like 100% CPU usage in these services. 

What to look for in the code? I've got a lot of loops and where possible I'm using AsParallell() to take advantage of instances with multiple cores. 

Why doesn't the service just claim full speed on the CPU and get the job done twice as fast?

-- 
Werner



Viewing all articles
Browse latest Browse all 364

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>