Page 1 of 1

How to increase priority of the program on Alaska?

Posted: Mon Jul 30, 2012 12:28 am
by Eugene Lutsenko
I faced that the computer from 28 Gb of random access memory and the powerful i7 processor at the solution of the tasks connected with creation of new databases, mathematical calculations containing results, loading of the processor makes some percent, generally the 1st kernel, and use of memory doesn't surpass 2 Gb. Thus the task is solved 60 hours. I have such question: how in the program on Alaska it is possible to increase its priority at distribution of computing resources to lift it for example, to 80 %? I hope it will allow to reduce time of calculations from 60 to several o'clock minutes. And that turns out that having huge computing resources I in fact I can not effectively use them when it is necessary for me.

Re: How to increase priority of the program on Alaska?

Posted: Mon Jul 30, 2012 10:33 am
by Auge_Ohr
hi,

Answer : you simple can not "speed" up Xbase++ Application this Way.
Xbase++ can only use 1 CPU so on a i7 other 7 Task are not working under Xbase++ :(

there i only one exception : activeX / DLL
when call Mappoint OCX or PostgreSQL libpq.dll you can "see" that all CPU are in use
on other side when run pgDBE you can see that Alaska still "limit" it to 1 CPU

>Thus the task is solved 60 hours

so you should over-think what you try to do and optimize your Code

Re: How to increase priority of the program on Alaska?

Posted: Mon Jul 30, 2012 10:41 am
by rdonnay
I agree with Jimmy about this.
There must be a way that you can optimize your code.

Re: How to increase priority of the program on Alaska?

Posted: Wed Aug 01, 2012 12:57 pm
by Eugene Lutsenko
I thank you for a definite and definite answer. Certainly I optimize a code but when one kernel from 4 physical and 4 more virtual is used only, it somehow wrong and is a pity, similarly as when there is a mistake that there is no memory (out of memory ) on the computer, on which its 32 Gb.

Re: How to increase priority of the program on Alaska?

Posted: Thu Aug 02, 2012 8:54 am
by Auge_Ohr
hi

if you have 4 Core +HT but Xbase++ Application just take 1 CPU
so why not start Xbase++ Application for "each" CPU ?
see C:\ALASKA\XPPW32\Source\samples\solution\smp\

while Xbase++ is 32bit Limit is 2GB ... for "each" Application.
so you can use 8 x 2GB for your Problem.

so you have to divide you work into 8 Parts and each
Application can work on a Part ...

Re: How to increase priority of the program on Alaska?

Posted: Thu Aug 02, 2012 7:42 pm
by Eugene Lutsenko
hi

Idea good, but I thought that it the operating system (распреелять should do computing resources, including processor kernels, at program execution). And whether there are in Alaska means to focus the appendix or its part on this or that kernel of the processor? Generally it, seemingly, from fantasy area.