extremely slow Network/Disk IO on Windows agent compared to Ubuntu/Mac
Maintainers usually reply within 7 days
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- powershell
- Domain
- devops, performance
Research direction
Start with the linked reproduction and the install-dotnet.ps1 script, focusing on DownloadFile and Extract-Dotnet-Package. Compare their Windows performance with Ubuntu and macOS, then verify that downloads and extraction are faster on Windows without changing the expected setup behavior.
Written by the indexing model from the issue text.
Description
Description:
https://github.com/actions/virtual-environments/issues/3577
Ubuntu agents have slightly higher IOPS disk performance configuration. We use install-dotnet.ps1 script for installation provided by DotNet team . The DownloadFile and Extract-Dotnet-Package functions are being slow. We will investigate how to improve performance those functions if we replace DownloadFile -> WebClient and Extract-Dotnet-Package -> 7zip
DownloadFile and Extract-Dotnet-Package are awfully slow. Like 3x slower!

Task version:
v1.9.0
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Repro steps:
https://github.com/jetersen/dotnet.restore.slow.github.action
Expected behavior:
Faster downloads
Actual behavior:
SLOW downloads
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 579
- Avg merge
- 6d 4h
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from actions/setup-dotnet
-
rollForward: latestMajor installs the latest LTS SDK even when it is older than sdk.versionPossibly taken @kamronbatman claimed this 8 days ago. Openbug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
actions/setup-dotnet#802 · 1 comment · 6 reactions ·
Maintainers usually reply within 7 days
-
feature request
Difficulty 3/5 1-2 days Newbie friendliness 68/100
actions/setup-dotnet#801 · 1 comment · 1 reaction ·
Maintainers usually reply within 7 days
-
feature request
Difficulty 5/5 Over a week Newbie friendliness 45/100
actions/setup-dotnet#778 · 3 comments · 1 reaction ·
Maintainers usually reply within 7 days
-
feature request
Difficulty 5/5 Over a week Newbie friendliness 25/100
actions/setup-dotnet#701 · 3 comments ·
Maintainers usually reply within 7 days
-
feature request
Difficulty 1/5 Under an hour Newbie friendliness 55/100
actions/setup-dotnet#659 · 1 comment · 2 reactions ·
Maintainers usually reply within 7 days
All issues in actions/setup-dotnet
Similar issues
-
db-d1-sqlite: upsert is aliased to updateOne, so payload.kv.set never inserts new keysPossibly taken @pcbeingused333 claimed this today. OpenBug db: d1-sqlite Payload OSS
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
payloadcms/payload#19766 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
device-management-toolkit/sample-web-ui#3711 ·
Maintainers usually reply within 1 day
-
bug impact:low Team: SecuritySolution Team:Defend Workflows v9.6.0
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
elastic/kibana#306401 · 3 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
agentes-chat/agentes-chat#927 ·
Maintainers usually reply within 1 day
-
Closing a pinned tab jumps to the Tabs section instead of the next open pinned tabPossibly taken @seenimohamed claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ardia-browser/ardia#2769 ·
Maintainers usually reply within 1 day