Skip to content

Restic updates screen way too often causing huge GPU and energy usage for no reason #5383

@Symbiatch

Description

@Symbiatch

Output of restic version

restic 0.18.0 compiled with go1.24.1 on windows/amd64

What backend/service did you use to store the repository?

SFTP

Problem description / Steps to reproduce

When running a backup the screen refresh is happening at an unreasonable speed. The files being backed up are multiple gigabytes so there's no need to update filenames, but the ETA and the same filenames are refreshed multiple times per second. This causes the GPU of my laptop to be used 50%! This is completely unnecessary. The refresh rate should be much less, or an option added to disable the ETA, or something. This causes unnecessary power usage.

I am using Windows Terminal and Powershell.

I cannot use quiet mode since the backup may take a couple of hours and I want to see the progress at some level at least.

Reproduce: run a backup of large files and see the screen be updated way too often and Windows Terminal using a lot of (integrated) GPU.

Expected behavior

Screen is not updated unless filenames change. ETA might be updated every couple of seconds if the same files are being backed up. Even when files change there might not be a need to update screen at every file if it happens multiple times in a second. User cannot see the filenames anyway at that speed.

Actual behavior

Screen is updated way too many times per second with unnecessary ETA calculations causing unnecessary GPU usage and the same filenames that are already on screen are rewritten over and over again.

Do you have any idea what may have caused this?

This was probably not considered when building the UI routines.

Did restic help you today? Did it make you happy in any way?

Yes, I am very happy about Restic otherwise. It works wonders on my systems and keeps files safe. I highly appreciate your work!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions