Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10928

Just starting ROOT 6.20 and 6.22 costs 50MB more than 6.18

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Clarified
    • Affects Version/s: 6.22/00, 6.20/02, 6.20/04, 6.20/06
    • Fix Version/s: None
    • Component/s: Core Libraries
    • Labels:
      None
    • Environment:

      linux

    • Development:

      Description

      source /cvmfs/sft.cern.ch/lcg/views/LCG_97/x86_64-centos7-gcc8-opt/setup.sh
      root -b -q ~/cernbox/RootStartupBenchmark/memory.C
      ------------------------------------------------------------------

      Welcome to ROOT 6.20/02 https://root.cern
      (c) 1995-2020, The ROOT Team; conception: R. Brun, F. Rademakers
      Built for linuxx8664gcc on Mar 15 2020, 15:25:34
      From tags/v6-20-02@v6-20-02
      Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'

      ------------------------------------------------------------------

      Processing /afs/cern.ch/user/d/dpiparo/cernbox/RootStartupBenchmark/memory.C...
      usr time = 0.198147 seconds
      sys time = 0.206235 seconds
      res memory = 97.0938 Mbytes
      vir memory = 374.469 Mbytes

      source /cvmfs/sft.cern.ch/lcg/views/LCG_96/x86_64-centos7-gcc8-opt/setup.sh
      root -b -q ~/cernbox/RootStartupBenchmark/memory.C
      ------------------------------------------------------------

      Welcome to ROOT 6.18/00 https://root.cern
      (c) 1995-2019, The ROOT Team
      Built for linuxx8664gcc on Jun 25 2019, 09:22:23
      From tags/v6-18-00@v6-18-00
      Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'

      ------------------------------------------------------------

      Processing /afs/cern.ch/user/d/dpiparo/cernbox/RootStartupBenchmark/memory.C...
      usr time = 0.158697 seconds
      sys time = 0.148459 seconds
      res memory = 48.293 Mbytes
      vir memory = 245.496 Mbytes

      where the macro is

       
      void memory()
      {
         ProcInfo_t info;
         gSystem->GetProcInfo(&info);
         printf(" usr  time = %f seconds\n",info.fCpuUser);
         printf(" sys  time = %f seconds\n",info.fCpuSys);
         printf(" res  memory = %g Mbytes\n",info.fMemResident/1024.);
         printf(" vir  memory = %g Mbytes\n",info.fMemVirtual/1024.);
      }
      

      50MB is a lot when the budget of the memory per core on grid resources is 2GB.

        Attachments

          Activity

            People

            Assignee:
            vvasilev Vasil Georgiev Vasilev
            Reporter:
            dpiparo Danilo Piparo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: