Re: supermon multi-thread

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Tue Apr 22 2003 - 06:35:07 EDT

  • Next message: Flemming Videbaek: "Brat ver 2.9.0+1"
    Hi all,
    
    Hironori Ito <hito@rcf.rhic.bnl.gov> wrote concerning
      supermon multi-thread  [Tue, 22 Apr 2003 01:27:01 -0400] 
    ----------------------------------------------------------------------
    > Hello.  After taking a last shift, I forgot to say that the performance 
    > of supermon has been enormously enhanced (factor of 1000 or more during 
    > ploting, I am just guessing) by incorporating multi-threading. 
    
    The reason for that, is that the multi-operations are now done at a
    much lower-level where optimisation is better done.  In the `event'
    implementation, you have to go all the way through the event loop
    before you can do anything, and if you need to do a histogram for
    example, that has to be completed before you can do anytihng else. In
    the `thread' implementation, you simply delegate that responsibility
    immediately to somewhere else, and you hardly ever have to wait.
    Also, I guess that most of the pii's are SMP machines.  That means
    that the old implementation could only use half the machine, while the
    new can effectively use the full machine, burning CPU cycles on both
    the chips.   
     
    > As a shifter, I would like to say a big thanks to Kris for
    > eliminating a clicking pause and resume bottoms, which should reduce
    > strain of shifter's hand.
    
    Yeah, it's really nice work.  
    
    Perhaps it's time that BraHVO got multi-threaded too (as originally
    planned).   
    
    Yours, 
    
     ___  |  Christian Holm Christensen 
      |_| |	 -------------------------------------------------------------
        | |	 Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
         _|	          DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
        _|	          Denmark                    Office: (+45) 353  25 305
     ____|	 Email:   cholm@nbi.dk               Web:    www.nbi.dk/~cholm
     | |
    


    This archive was generated by hypermail 2.1.5 : Tue Apr 22 2003 - 06:35:40 EDT