eFMer - BoincTasks and TThrottle forum

TThrottle For Windows => Questions => Topic started by: Pepo on June 01, 2011, 08:43:51 AM

Title: TTh 4.10 questionnaire
Post by: Pepo on June 01, 2011, 08:43:51 AM
I'd have a few questions to new TTh 4.10:
Title: Re: TTh 4.10 questionnaire
Post by: fred on June 01, 2011, 11:51:50 AM
Quote from: Pepo on June 01, 2011, 08:43:51 AM
I'd have a few questions to new TTh 4.10:
A driver is always started at system boot. In runs in ring0 or 1 depending on the OS.
The driver is just like any other program, runnning on its own. But it's only comming to live when TThrottle sends it requests.
TThrottle communicates with the driver over a text communication buffer. So sending text packages to and from it.
The driver keeps on working when TThrottle isn't closed properly, that is untill the process that it's throttling is still there at the same throtlling level
It does not regulate as it's unable to communicate with the BOINC client.

But the TThrottle is only activate on Vista and up, because XP lacks sertain driver functions.
So XP uses the "old" throttling in the exe.

In the future I want to add an extra layer, a service that communicates with BOINC and the driver.
Leaves the TThrottle.exe as a GUI only, interacting with the service, that interacts with the driver.

In the new driver mode there is a function that can suspend the entire process. This will probably halt the threads more effeciently and almost at the same time.
The driver has 16 regulators (different system threads). The GPU uses up to 8 of them, the rest is used by the CPU as cores/2, with a max of 16 cores. So 8 cores = 4 regulators.
But the CPU regulators use the same throttling interval, but a bit shifted in time. As there is no way of telling what CPU the process is running on.

The TThrottle settings are stored in the registry as user, so different users, different settings.
When I switch to a server that will change as well, but one thing at a time.

When you activate the Administrator only mode, you are not to allowed to change anything or exit the program, only the graph can be seen.
And when setup properly, you shouldn't be able to kill it.. But this is a temp fix for the switch to a service.
BOINC connection mode is needed, otherwise you need BOINC folder access as well.

When communicating with BT it is on a new connection for every request, but it keeps the same socket.
This shouldn't be any problem.

BeemerBiker uses a Lunix interface.
Title: Re: TTh 4.10 questionnaire
Post by: Pepo on June 01, 2011, 12:39:27 PM
Thanks for extended clarification!
Quote from: fred on June 01, 2011, 11:51:50 AM
In the future I want to add an extra layer, a service that communicates with BOINC and the driver.
Leaves the TThrottle.exe as a GUI only, interacting with the service, that interacts with the driver.
[...]
The TThrottle settings are stored in the registry as user, so different users, different settings.
When you activate the Administrator only mode, you are not to allowed to change anything or exit the program, only the graph can be seen.
And when setup properly, you shouldn't be able to kill it.. But this is a temp fix for the switch to a service.
This means, that until the service will exist, it is necessary to prepare TThs with valid settings for each existing user. Understand.

Quote
BeemerBiker uses a Lunix interface.
Bingo, BeemerBiker! These were the threads I've remembered: "BoincTasks Beta Testing » 64 bit version (http://boinc.berkeley.edu/dev/forum_thread.php?id=5493&nowrap=true#32044)", "BoincTasks Beta Testing » 56: losing temps from tthrottle (http://www.efmer.eu/forum_tt/index.php?topic=397.msg1550#msg1550)", "BoincTasks Wish List » temp warning (too high and too cold) (http://www.efmer.eu/forum_tt/index.php?topic=398.msg1562#msg1562)".
If an external box can imitate TTh and report its temperature to BT, then an other app can surely query TTh for its temps... I believe at least.
(I've tried a bit with PuTTY, but without any success so far :()
Title: Re: TTh 4.10 questionnaire
Post by: fred on June 01, 2011, 12:41:37 PM
Quote from: Pepo on June 01, 2011, 12:39:27 PM
If an external box can imitate TTh and report its temperature to BT, then an other app can surely query TTh for its temps... I believe at least.
(I've tried a bit with PuTTY, but without any success so far :()
Only one connection with the driver is allowed. So when TThrottle uses the driver, no other access is possible.
Title: Re: TTh 4.10 questionnaire
Post by: Pepo on June 01, 2011, 12:43:43 PM
Quote from: fred on June 01, 2011, 12:41:37 PM
Quote from: Pepo on June 01, 2011, 12:39:27 PM
If an external box can imitate TTh and report its temperature to BT, then an other app can surely query TTh for its temps... I believe at least.
(I've tried a bit with PuTTY, but without any success so far :()
Only one connection with the driver is allowed. So when TThrottle uses the driver, no other access is possible.

Not the driver, I've meant obtaining data from TTh. I believe that BTs from any external machine would contact TTh on 1 800 31417 ;)
Title: Re: TTh 4.10 questionnaire
Post by: fred on June 01, 2011, 12:46:58 PM
Quote from: Pepo on June 01, 2011, 12:43:43 PM
Not the driver, I've meant obtaining data from TTh. I believe that BTs from any external machine would contact TTh on 1 800 31417 ;)
Right, From BT there can be more than one connection to TThrottle, should be no problem.
So computer 1 & computer 2 can access TThrottle on computer 3.