Re: Will UPC caches remote data?

From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Thu Mar 25 2010 - 15:39:08 PDT

  • Next message: Ravin Gunasekera: "Change the affinity of a shared variable"
    Junchao Zhang,
    
      There is nothing in the UPC language specification that either requires or prohibits caching by the runtime.  However, I know that we have not yet implemented such an optimization in the Berkeley UPC compiler.  I beleive I recall that HP did some caching in their implementation, but don't have a reference to support that.
    
    -Paul
    
    
    
    Junchao Zhang wrote:
    > Hello,
    >
    >  As a new UPC user, I have a question about the UPC remote data access.
    >  Suppose A is a shared array. One process reads A[i] and it is a
    > remote read. If it reads A[i] again, and suppose A[i] is not updated
    > by other processes, what will happen?
    >  Will UPC issues a remote access again or just uses the cached data?
    > If it is the latter, who did this optimization?
    >
    >  Thanks
    >
    > Junchao Zhang
    >   
    
    
    -- 
    Paul H. Hargrove                          PHHargrove_at_lbl_dot_gov
    Future Technologies Group                 Tel: +1-510-495-2352
    HPC Research Department                   Fax: +1-510-486-6900
    Lawrence Berkeley National Laboratory     
    

  • Next message: Ravin Gunasekera: "Change the affinity of a shared variable"