Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-10807

ksocknal_reaper() jitter on b2_10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      On b2_10, ksocknal_reaper() needs the following fix which landed to master as part of LU-9019 lnd: remove remaining cfs_time wrappers:

      diff --git a/lnet/klnds/socklnd/socklnd_cb.c b/lnet/klnds/socklnd/socklnd_cb.c
      index ceb8254..078638f 100644
      --- a/lnet/klnds/socklnd/socklnd_cb.c
      +++ b/lnet/klnds/socklnd/socklnd_cb.c
      @@ -2627,7 +2627,7 @@ int ksocknal_reaper(void *arg)
                      if (!ksocknal_data.ksnd_shuttingdown &&
                          list_empty(&ksocknal_data.ksnd_deathrow_conns) &&
                          list_empty(&ksocknal_data.ksnd_zombie_conns))
      -                       schedule_timeout(cfs_duration_sec(timeout));
      +                       schedule_timeout(cfs_time_seconds(timeout));
       
                      set_current_state(TASK_RUNNING);
                      remove_wait_queue(&ksocknal_data.ksnd_reaper_waitq, &wait);
      

      Without it the ksocknal_reaper thread will be using 1% of a CPU at all times.

      Attachments

        Issue Links

          Activity

            People

              jhammond John Hammond
              jhammond John Hammond
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: