[GH-ISSUE #6805] Slow setup download from Pakistan #50806

Open
opened 2026-04-28 17:09:15 -05:00 by GiteaMirror · 6 comments
Owner

Originally created by @hashirnouman on GitHub (Sep 14, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6805

What is the issue?

The ollama exe and curl both are downloading super slow. My internet is find becuase I download 2gb file in parallel and it downloaded very fast.

OS

Windows

GPU

Nvidia

CPU

Intel

Ollama version

No response

Originally created by @hashirnouman on GitHub (Sep 14, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6805 ### What is the issue? The ollama exe and curl both are downloading super slow. My internet is find becuase I download 2gb file in parallel and it downloaded very fast. ### OS Windows ### GPU Nvidia ### CPU Intel ### Ollama version _No response_
GiteaMirror added the networkingollama.com labels 2026-04-28 17:09:16 -05:00
Author
Owner

@dhiltgen commented on GitHub (Sep 25, 2024):

Are you perhaps running under WSL? If so, https://github.com/ollama/ollama/blob/main/docs/faq.md#why-is-networking-slow-in-wsl2-on-windows-10 might help

If you're running on windows under powershell, "curl" is a wrapper on invoke-webrequest, which unfortunately by default logs every byte transferred which can really slow things down. Setting $ProgressPreference="SilentlyContinue" can speed that up.

We also recently fixed a defect on Windows around threading performance which might be related, so upgrading to 0.3.12 might help.

If none of those apply, can you clarify your setup?

<!-- gh-comment-id:2375270220 --> @dhiltgen commented on GitHub (Sep 25, 2024): Are you perhaps running under WSL? If so, https://github.com/ollama/ollama/blob/main/docs/faq.md#why-is-networking-slow-in-wsl2-on-windows-10 might help If you're running on windows under powershell, "curl" is a wrapper on invoke-webrequest, which unfortunately by default logs every byte transferred which can really slow things down. Setting `$ProgressPreference="SilentlyContinue"` can speed that up. We also recently fixed a defect on Windows around threading performance which might be related, so upgrading to 0.3.12 might help. If none of those apply, can you clarify your setup?
Author
Owner

@hashirnouman commented on GitHub (Sep 28, 2024):

Even on ubuntu the ollama is slow

<!-- gh-comment-id:2380616774 --> @hashirnouman commented on GitHub (Sep 28, 2024): Even on ubuntu the ollama is slow
Author
Owner

@dhiltgen commented on GitHub (Sep 30, 2024):

It sounds like you're using WSL and everything inside Ubuntu in WSL is seeing slow network performance. Did you try adjusting the network settings I suggested above?
If that didn't fix it, it's possible an AV product may be slowing things down. You can check Task Manager on the host to see if there's some process that's using a lot of CPU when you're trying to download.

<!-- gh-comment-id:2383642420 --> @dhiltgen commented on GitHub (Sep 30, 2024): It sounds like you're using WSL and everything inside Ubuntu in WSL is seeing slow network performance. Did you try adjusting the network settings I suggested above? If that didn't fix it, it's possible an AV product may be slowing things down. You can check Task Manager on the host to see if there's some process that's using a lot of CPU when you're trying to download.
Author
Owner

@hashirnouman commented on GitHub (Sep 30, 2024):

I am on ubuntu operating system currently no Virtual Machine. the ollama is downloading slow here as well. It takes hours to download it via curl. On windows 11 exe or WSL same issues. I will try looking into fixes you've shared.

<!-- gh-comment-id:2383680055 --> @hashirnouman commented on GitHub (Sep 30, 2024): I am on ubuntu operating system currently no Virtual Machine. the ollama is downloading slow here as well. It takes hours to download it via curl. On windows 11 exe or WSL same issues. I will try looking into fixes you've shared.
Author
Owner

@dhiltgen commented on GitHub (Sep 30, 2024):

I guess I'm still confused about your setup. You say "no Virtual machine" so is this a different system or dual-boot running Linux on the bare metal hardware? My suggestions above were assuming a Windows system with WSL in the mix.

My internet is find becuase I download 2gb file in parallel and it downloaded very fast.

Can you clarify if these downloads are from the US to Pakistan, or local?

The Ollama artifacts largely originate from US systems, so this may be slow bandwidth pulling from them.

<!-- gh-comment-id:2384025130 --> @dhiltgen commented on GitHub (Sep 30, 2024): I guess I'm still confused about your setup. You say "no Virtual machine" so is this a different system or dual-boot running Linux on the bare metal hardware? My suggestions above were assuming a Windows system with WSL in the mix. > My internet is find becuase I download 2gb file in parallel and it downloaded very fast. Can you clarify if these downloads are from the US to Pakistan, or local? The Ollama artifacts largely originate from US systems, so this may be slow bandwidth pulling from them.
Author
Owner

@hashirnouman commented on GitHub (Oct 1, 2024):

sorry for confusions. I tried 3 ways. Windows EXE. curl on WSL and curl on Ubuntu os which is dual boot. On all these platforms the download takes hours to complete and sometimes fail. On windows I started download of ISO which has size of 2 gb along with ollama setup that has size of not more than 700mb the 2gb iso downloaded first but ollama took hours. I am located in Pakistan. It was working find weeks back even with the firewall issue. But now I am experience slow download issue. I tried to change the internet but rest of the downloads are pretty normal the ollama setup is downloading slow

<!-- gh-comment-id:2385554292 --> @hashirnouman commented on GitHub (Oct 1, 2024): sorry for confusions. I tried 3 ways. Windows EXE. curl on WSL and curl on Ubuntu os which is dual boot. On all these platforms the download takes hours to complete and sometimes fail. On windows I started download of ISO which has size of 2 gb along with ollama setup that has size of not more than 700mb the 2gb iso downloaded first but ollama took hours. I am located in Pakistan. It was working find weeks back even with the firewall issue. But now I am experience slow download issue. I tried to change the internet but rest of the downloads are pretty normal the ollama setup is downloading slow
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#50806