Uploaded image for project: 'VecGeom'
  1. VecGeom
  2. VECGEOM-599

Slow performance from tessellated solid and crashing in Scalar mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • High
    • 2023/12
    • 2021/12
    • navigation, volumes
    • None
    •  MacBook Pro (Retina, 15-inch, Mid 2015)
       Processor: 2.8 GHz Quad-Core Intel Core i7
       Memory: 16 GB 1600 MHz DDR3
       macOS Monterey 12.3, Apple clang 13.1.6

    Description

      The attached Geant4 application imports a medium sized tessellated model of about 300K facets. These are the results obtained on the following system:
         MacBook Pro (Retina, 15-inch, Mid 2015)
         Processor: 2.8 GHz Quad-Core Intel Core i7
         Memory: 16 GB 1600 MHz DDR3
         macOS Monterey 12.3, Apple clang 13.1.6
       
       (1) VecGeom, Vector backend (Native/avx2) - MT build:
       - Initialisation time: 29.3525 sec
       - Total time (exampleB1.in): 2200.512u 2.652s
       
       (2) VecGeom, Scalar backend - MT build:
       - Initialisation: 568.231 sec
       - Total time: crash with bus error at beamOn
       
       (3) Geant4 native - MT build:
       - Initialisation: 8.77866 sec
       - Total time (exampleB1.in): 19.255u 0.196s

      To build/run the attached application:
      cd B1/build
      ln -s ../male.stl geometry.stl
      ./exampleB1 exampleB1.in

      Attachments

        1. B1.tgz
          6.63 MB
        2. vg_vec.jpeg
          vg_vec.jpeg
          50 kB

        Activity

          People

            agheata Andrei Gheata
            gcosmo Gabriele Cosmo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: