How to increase priority of the program on Alaska?

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

How to increase priority of the program on Alaska?

#1 Post 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.

User avatar
Auge_Ohr
Posts: 1428
Joined: Wed Feb 24, 2010 3:44 pm

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

#2 Post 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
greetings by OHR
Jimmy

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

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

#3 Post by rdonnay »

I agree with Jimmy about this.
There must be a way that you can optimize your code.
The eXpress train is coming - and it has more cars.

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

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

#4 Post 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.

User avatar
Auge_Ohr
Posts: 1428
Joined: Wed Feb 24, 2010 3:44 pm

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

#5 Post 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 ...
greetings by OHR
Jimmy

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

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

#6 Post 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.

Post Reply