Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-31104

lsstsw envconfig takes >5 seconds

    XMLWordPrintable

    Details

    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Urgent?:
      No

      Description

      I run the lsstsw envconfig command in my .bashrc on my local machine to always have the environment configured when I start a shell. Recently this has resulted in new terminal startup times of more than 5 seconds (Ubuntu 20.04, local SSD). Kian-Tat Lim suggested running envconfig with set -x which showed that conda list is taking a large part of the time.

      Any ways that we can speed up the configuration of the Rubin environment?

      See slack discussion here: https://lsstc.slack.com/archives/C2JPMCF5X/p1626291556067900

        Attachments

          Activity

          Hide
          ktl Kian-Tat Lim added a comment -

          While I'm not sure there's much that can be done in the current envconfig, I do have a new version of the newinstall/deploy/loadLSST/envconfig scripts in work that seems to make this faster. Among other things, it should avoid the conda list command.

          Show
          ktl Kian-Tat Lim added a comment - While I'm not sure there's much that can be done in the current envconfig, I do have a new version of the newinstall/deploy/loadLSST/envconfig scripts in work that seems to make this faster. Among other things, it should avoid the conda list command.
          Hide
          Parejkoj John Parejko added a comment -

          I'm curious if there is an update on this? My shell startup times are still quite slow with 0.7.0.

          Show
          Parejkoj John Parejko added a comment - I'm curious if there is an update on this? My shell startup times are still quite slow with 0.7.0.

            People

            Assignee:
            ktl Kian-Tat Lim
            Reporter:
            Parejkoj John Parejko
            Watchers:
            Eli Rykoff, John Parejko, Kian-Tat Lim, Simon Krughoff
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                CI Builds

                No builds found.