Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xrootd: improve read performances 10-fold #923

Merged
merged 1 commit into from
Mar 8, 2022

Commits on Mar 8, 2022

  1. xrootd: improve read performances 10-fold

    This CL reduces the lock contention on xrootd.File operations.
    
    ```
      $> benchstat ./ref.txt ./new.txt
      name    old time/op    new time/op    delta
      Read-8     67.2s ± 1%      5.4s ± 7%  -91.93%  (p=0.000 n=9+28)
    
      name    old alloc/op   new alloc/op   delta
      Read-8     343MB ± 0%     341MB ± 0%   -0.78%  (p=0.000 n=8+30)
    
      name    old allocs/op  new allocs/op  delta
      Read-8      277k ± 0%      288k ± 0%   +3.84%  (p=0.000 n=7+29)
    ```
    
    and now:
    ```
      $> time root-dump root://ccxrootdgotest.in2p3.fr:9001/tmp/rootio/testdata/SMHiggsToZZTo4L.root > /dev/null
    
      real	0m7.279s
      user	0m8.221s
      sys	0m1.256s
    ```
    
    compared to:
    
    ```
      $> time root-dump https://cern.ch/binet/big-file.root > /dev/null
    
      real	0m5.454s
      user	0m6.156s
      sys	0m0.228s
    ```
    
    Updates go-hep#920.
    sbinet committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    6f88941 View commit details
    Browse the repository at this point in the history