climateprediction.net (CPDN) home page
Thread 'Hyper Threading (HT): Pause of one processor half during working hours'

Thread 'Hyper Threading (HT): Pause of one processor half during working hours'

Questions and Answers : Wish list : Hyper Threading (HT): Pause of one processor half during working hours
Message board moderation

To post messages, you must log in.

AuthorMessage
klepel

Send message
Joined: 9 Oct 04
Posts: 82
Credit: 70,014,670
RAC: 4,755
Message 5449 - Posted: 17 Oct 2004, 15:18:37 UTC
Last modified: 17 Oct 2004, 15:19:15 UTC

Hi there,
Would it be posible to ad a feature to pause one part of the Pentium 4 HT (WU) during working hours? It is only posible to limit the numbers of procesors for the project or the working hours in general at the moment. Whereas I would like to limit the working hours only for one half of the procesor and the other half might crunching 24 hours.
ID: 5449 · Report as offensive     Reply Quote
old_user169

Send message
Joined: 5 Aug 04
Posts: 39
Credit: 87,633
RAC: 0
Message 5714 - Posted: 28 Oct 2004, 4:41:16 UTC

A (not perfect) solution that _should_ work if you run boinc_cli.exe as a service or work on a unix :

- keep 2 copies of global_prefs.xml on your HD, one with {max_cpus}2{/max_cpus} and one with {max_cpus}1{/max_cpus}


Everytime you want to switch the number of CPUs :

- shutdown BOINC using "net stop BOINC" or kill it with the PID from the process list

- copy global_prefs.xml.1 or global_prefs.xml.2 to global_prefs.xml

- restart BOINC


This will only work until BOINC updates the preferences from the project server, so it might work acceptable with CPDN most of the time. If you have projects that contact the server more often, it will not help so much though.
________

If it does not work so well, this might be worth a try :

For @work set "On multiprocessors, use at most 1 processors"
For @home set "On multiprocessors, use at most 2 processors"

Everytime you want to switch the number of CPUs :

- shutdown BOINC (same as above)

- in client_state.xml set the entry {host_venue} to work or home

- restart BOINC

The modification of the venue can be done with sed or awk on Unix, on Windows you can use findstr in a batch file.

In this case using just 2 copies with different venues will not work as the file is updated frequently - it would do damage to your models if you tried that.
ID: 5714 · Report as offensive     Reply Quote

Questions and Answers : Wish list : Hyper Threading (HT): Pause of one processor half during working hours

©2024 cpdn.org