Finding out memory on slaves

Hi,

Which would be the preferred way to get the memory used by the slaves on a proof session (actually I would be interested in min, max and average like the plot you can get from the PROOF dialog).

Thanks,

Isidro

Hi Isidro,

In recent versions (>=5.28f and >= 5.30) summary info is recorded in the TStatus object returned in the output list:

root [2] gProof->GetOutputList()->FindObject("PROOF_Status")->Print()
OBJ: TStatus	PROOF_Status	OK
 Max worker virtual memory: 234.37 MB 	Max worker resident memory: 94.57 MB 
 Max master virtual memory: 297.53 MB 	Max master resident memory: 177.77 MB 

Records at regular interval are also present in the logs (this is where the information for the plots is taken); these records are filtered out for normal log viewing: you need to tick the ‘SvcMsg’ box to see them.

Gerri

Thanks Gerri,

I tried on my root 5.30/00 at the end of a PROOF processing. And I got something like:

root [1] gProof->GetOutputList()->FindObject("PROOF_Status")->Print()
OBJ: TStatus    PROOF_Status    OK
 Max virtual memory: 383.93 MB  Max resident memory: 178.16 MB 

It doesn’t tell me if those values are for the master or for the workers as in your example. How can I get those numbers? Am I doing something wrong?

Isidro

Hi Isidro,

Sorry, I checked again and in fact the values for workers were introduced mid July just after 5.30; they should be in starting from 5.30/01 .

Gerri

Thanks Gerri,

I upgraded my installation to 5.30.06 and I confirm it works great.

Cheers,

Isidro