https://bugs.kde.org/show_bug.cgi?id=398612

            Bug ID: 398612
           Summary: freefilesystem polling rate too high for !file URI?
           Product: dolphin
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-n...@kde.org
          Reporter: sit...@kde.org
                CC: elvis.angelac...@kde.org
  Target Milestone: ---

I've been working on the sftp kio slave a bit and noticed that dolphin
apparently polls free space info about every 10 seconds, which seems super
expensive. Also, as each poll basically results in talk on the network device
dolphin may ultimately cause the network device to come out of sleep and
because ssh is somewhat expensive the CPU to go into a more active state.
All to update information that changes not nearly often enough.

Ideally:
- polling should maybe be reduced to 60 seconds?
- refresh would always poll (i.e. bypass the poll timer)
- maybe even increase the poll time more if the watched URI is not a file://,
i.e. for all probably non-local URIs only poll ever 5 minutes?
- polling should possibly not occur at all if the window/tab is not actually
visible to the user at all (currently the sftp slave is getting woken up
regardless of the user being able to see the poll results)
- addditionally we could perhaps figure out what kind of mount a file://FOO is
actually on and only do regular polling if it is a well known local file system
type (i.e. polling of an nfs or sshfs mount should still be using a lower rate
really). seems a bit much work for little gain though.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to