Skip to content

wsl --export excessive screen updates #14204

@perlinside

Description

@perlinside

Windows Version

Microsoft Windows [Version 10.0.26100.7840]

WSL Version

2.6.3.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

6.6.87.2-1

Distro Version

Doesn't matter

Other Software

Microsoft terminal

Repro Steps

wsl --export .tar.xz --format tar.xz from a microsoft terminal session.

Example: wsl --export Ubuntu Ubuntu.tar.xz --format tar.xz
You should see some flickering of the end of the status line.
Also see an increase on GPU usage.

Expected Behavior

The progress indicator
Export in progress, this may take a few minutes. (#### MB)
The number should redraw when the number changes.

Actual Behavior

The number is being constantly redrawn. Many times per second. leading to unnecessary CPU/GPU overhead. If the number hasn't changed there is no reason to redraw it.

Diagnostic Logs

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions