How to run 1 task with 100% CPU?

PLISSKEN
PLISSKEN
Joined: 7 Jan 23
Posts: 4
Credit: 189492
RAC: 0
Topic 229756

Hi yall,

I am trying to max out 1 task only at 100% CPU when I am not using my PC.

 

Use at most: is set to 100% of the processors and 100% % of the CPU time.

 

I committed all "resource share" to einstein.

 

The CPU usage is still 23-33%.

How to run 1 task with 100% CPU?

 

//Carl

PLISSKEN
PLISSKEN
Joined: 7 Jan 23
Posts: 4
Credit: 189492
RAC: 0

Also, How do I set it to only

Also, How do I set it to only download 1 task at a time?

Scrooge McDuck
Scrooge McDuck
Joined: 2 May 07
Posts: 1032
Credit: 17686943
RAC: 13096

CPU usage is defined as

CPU usage is defined as proportion of CPU ressources in use. Your computer has four, eight, sixteen, ....don't know ... virtual CPU cores (typically one physical core represents two virtual cores to the OS (hyper threading)). All the different einstein tasks utilize a single (virtual) CPU core only (single-thread processes, not multi threading). Using a single core means e.g. 25%, or 12% CPU usage dependent on the number of available cores. To fully utilize your CPU you have to run many tasks in parallel which you already configured: ("use 100% of the processors"). If you want to run only one task you have to limit the percentage of processors (means CPU cores) to use (100% / number_of_CPU_cores), e.g. 100% / 8 = ~13%. Then you get max. 12..13% cpu usage.

I don't fully understand your question.

P.S.: Please, if possible, post such type of questions into "Getting started". If you assume there's a problem with the einstein project, its servers, ... whatever, then "Problems and Bug reports" forum fits.

Scrooge McDuck
Scrooge McDuck
Joined: 2 May 07
Posts: 1032
Credit: 17686943
RAC: 13096

PLISSKEN schrieb:Also, How

PLISSKEN wrote:

Also, How do I set it to only download 1 task at a time?

  • configure to use only one CPU core (use x % of processors) where x = 100% / #CPU_cores, e.g. 12% for a QUAD-core CPU which features hyper treading an presents EIGHT virtual cores to the operating system.
  • configure minimal task cache ("store at least y days of work") to maybe y=0.1
  • configure additional task cache ("store up to an additional z days of work") to z=0.

These configurations are done in your account settings on einstein's website (link or: Account-->preferences-->computation). Don't forget to click: 'save changes'. If you then force your client (BOINC manager app) to update the einstein project (project tab: select "einstein@home", then click "update"). This will refresh your client configuration from the einstein server.

Harri Liljeroos
Harri Liljeroos
Joined: 10 Dec 05
Posts: 4281
Credit: 3170552035
RAC: 1937691

Setting the project resource

Setting the project resource share to 0% on project preferences should result that only single task is downloaded at a time. Only when that task has finished a new task is downloaded.

mikey
mikey
Joined: 22 Jan 05
Posts: 12638
Credit: 1839022599
RAC: 5679

Harri Liljeroos

Harri Liljeroos wrote:

Setting the project resource share to 0% on project preferences should result that only single task is downloaded at a time. Only when that task has finished a new task is downloaded.

I have seen in the past where this does not work if you only have one project active, but if you reduce the cache sizes it should work no matter how many project you have active.

Gary Charpentier
Gary Charpentier
Joined: 13 Jun 06
Posts: 2054
Credit: 105331813
RAC: 66568

Generally

Generally https://boinc.berkeley.edu/wiki/Client_configuration#Command-line_options lists all the tricks.

You are likely looking for:

<fetch_minimal_work>0|1</fetch_minimal_work>

Fetch one job per device (see --fetch_minimal_work).

and

max_concurrent

The maximum number of tasks of this application to run at a given time.

.clair.
.clair.
Joined: 20 Nov 06
Posts: 62
Credit: 1051176770
RAC: 0

Depending on which boinc

Depending on which boinc version being used "max_concurrent" may overfetch hundreds of tasks ,

It seems to depend on project / boinc manager version combination ,

its a bug in boinc manager that should be now fixed in the most recent version .

Falconet
Falconet
Joined: 9 Mar 09
Posts: 49
Credit: 15414119
RAC: 858

Einstein@home does not offer

Einstein@home does not offer multithreaded applications. As such, you cannot commit all threads to running the same task.

Gary Charpentier
Gary Charpentier
Joined: 13 Jun 06
Posts: 2054
Credit: 105331813
RAC: 66568

FYI for a must better view of

FYI for a must better view of things than taskmanager, open taskmanager, click on the Performance tab, then at the bottom click the link to Open Resource Monitor.  Once there click on the CPU tab and you will see each core listed separately.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.