-
- Downloads
From Gerri:
Patch introducing parallel startup of the slave servers. This new feature will considerably reduce the startup time in PROOF setups with many 10's to 100's of slaves. By default this feature is off, turn it on in the [system].rootrc file by uncommenting the line: Proof.ParallelStartup: yes Summary of changes: Index: Makefile - Add the thread lib to PROOFLIBS Index: base/inc/TVirtualMutex.h, base/src/TVirtualMutex.cxx - Add global mutexes to protect printing and authentication Index: base/src/TError.cxx - Protect static buffer in DebugPrint with specific global mutex Index: config/Makefile.depend - Add dependence on thread lib for PROOF Index: config/rootrc.in - Add description of new envs Proof.ParallelStartup, Auth.Timeout, ProofServ.UseSSH Index: net/inc/TAuthenticate.h - Add new member fTimeout to indicate timeout situations and new method HasTimedOut() to retrieve it. - Add new static member with the timeout value in sec and method SetTimeOut() to set it - Add new method CatchTimeOut() called at timeout expiration Index: net/inc/THostAuth.h , net/src/THostAuth.cxx - Add new method SetLast() to lower pririty of an attempted protocol that has timed-out Index: net/src/TAuthenticate.cxx - Implementation of the new timeout setup using TTimer - Add protection using specific global mutex - change to start with lower case some local variables in Authenticate - re-introduce call to THostAuth::CountFailure() (which got lost in a previous patch) - Disable by default SSH for PROOF servers - fix a couple of small memory leaks Index: net/src/TPSocket.cxx - Fix logic in Close() (if called too early (e.g. timeout) the underlying socket can still be open and needs to be closed). Index: net/src/TSocket.cxx - initialize member fTcpWindowSize in all constructors - modify error logging after an unsuccessful authentication attempt, checking for timeouts. - disable SSH for PROOF servers Index: proof/inc/TProof.h - patch for parallel startup using threads: - new methods SlaveStartupThread(void *) and SubmasterStartupThread(void *) executed in threads - add Bool_t argument to all implementations of StartSlaves Index: proof/src/TProof.cxx - patch for parallel startup using threads: - add internal classes ProofThread and ProofThreadArg to keep track of started threads and to pass arguments to threads - cleanup fPlayer and fFeedBack in destructor Index: rpdutils/src/rpdutils.cxx - fix small memory leak Index: thread/src/TThread.cxx - initialize new global mutexes git-svn-id: http://root.cern.ch/svn/root/trunk@11687 27541ba8-7e3a-0410-8455-c3a389f83636
Showing
- Makefile 3 additions, 2 deletionsMakefile
- base/inc/TVirtualMutex.h 3 additions, 1 deletionbase/inc/TVirtualMutex.h
- base/src/TError.cxx 4 additions, 1 deletionbase/src/TError.cxx
- base/src/TVirtualMutex.cxx 3 additions, 1 deletionbase/src/TVirtualMutex.cxx
- config/Makefile.depend 4 additions, 4 deletionsconfig/Makefile.depend
- config/rootrc.in 31 additions, 8 deletionsconfig/rootrc.in
- net/inc/TAuthenticate.h 6 additions, 1 deletionnet/inc/TAuthenticate.h
- net/inc/THostAuth.h 4 additions, 3 deletionsnet/inc/THostAuth.h
- net/src/TAuthenticate.cxx 158 additions, 47 deletionsnet/src/TAuthenticate.cxx
- net/src/THostAuth.cxx 77 additions, 44 deletionsnet/src/THostAuth.cxx
- net/src/TPSocket.cxx 7 additions, 2 deletionsnet/src/TPSocket.cxx
- net/src/TSocket.cxx 19 additions, 3 deletionsnet/src/TSocket.cxx
- proof/inc/TProof.h 9 additions, 6 deletionsproof/inc/TProof.h
- proof/src/TProof.cxx 598 additions, 106 deletionsproof/src/TProof.cxx
- rpdutils/src/rpdutils.cxx 2 additions, 1 deletionrpdutils/src/rpdutils.cxx
- thread/src/TThread.cxx 5 additions, 1 deletionthread/src/TThread.cxx
Loading
Please register or sign in to comment