tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

Download speed is still limited to 10MBps for premium accounts

Open aliforever opened this issue 2 years ago • 27 comments

Steps to reproduce

  1. Buy Premium Account
  2. Download a file from Telegram using a VPS.
  3. Download the file from the VPS using direct link and measure the time.
  4. Download the file from Telegram and measure the time.

Expected behaviour

My internet download speed being 1Gbps~125MBps should be able to download from Telegram with 125MBps rate.

Actual behaviour

The download speed from Telegram is 10MBps

Operating system

Windows 10

Version of Telegram Desktop

4.0

Installation source

Static binary from official website

Logs

https://streamable.com/4xq2fb A video recording of the process

aliforever avatar Jun 24 '22 15:06 aliforever

I can confirm the premium account on a Linux version has 10 mbs as well.

meklonets avatar Jun 24 '22 17:06 meklonets

Same issue. Here is my report.

Steps to reproduce

  1. Try to download video https://t.me/dvachannel/82385 or https://t.me/dvachannel/74593 and look at the download speed
  2. Try to download file https://t.me/dsd_music/9442 (link is dead, try it https://t.me/rand2ch/13759) and look at the download speed
  3. Files is downloading faster. Files is ~80mbps and videos is ~25-35mbps.

Telegram for iOS is downloading files at the maximum speed even without Premium. Maybe because basic speed limit is 100mbps and I have that speed from my provider. And Premium removes that limit.

1 video - Tdesktop premium.

https://user-images.githubusercontent.com/39812401/175697463-8a8c9274-1415-43f9-aad8-b42b9ae59964.mp4

2 video - Tdesktop without premium.

https://user-images.githubusercontent.com/39812401/175697534-d2c3246f-4c76-4511-8302-ca0351dfc7aa.mp4

3-4 video - ios premium.

https://user-images.githubusercontent.com/39812401/175697620-45e3ae5d-a2ee-4361-83db-1e1830d4be2a.mp4

https://user-images.githubusercontent.com/39812401/175697628-ce6ea4e3-9b2c-4cd1-a266-3fa5c31fc5f9.mp4

5-6 video - ios without premium.

https://user-images.githubusercontent.com/39812401/175697659-2e40629c-2650-462a-b71b-0055e9fac092.mp4

https://user-images.githubusercontent.com/39812401/175697662-9f2845f8-cd66-4aca-9094-10a74ca8bdd2.mp4

1 picture - speedtest PC.

7

2 picture - speedtest ios.

8

9 video - tdesktop file download with premium.

https://user-images.githubusercontent.com/39812401/175697726-3701f09e-500e-48f1-80d2-e20299a3b1ac.mp4

Preston (TDesktop developer) says it's because of streaming system: https://t.me/kepka_support/107450

With video, there is a very complicated logic there due to streaming :( Non-streaming ones should be downloaded identically to files.

But when I disable streaming by typing videoplayer in settings - nothing changed:

Streaming off

https://user-images.githubusercontent.com/39812401/175697936-50692ee6-2ad8-493c-b028-b70f7076b076.mp4

I really think this must be №1 issue on the developer's to-do list. If only because the promised function from the premium does not work.

Premium description

40c5cb9be605e0d0672aa-40c6b5523eff4b532d

Telegram Desktop 4.0.1, Windows 10

Neurotoxin001 avatar Jun 24 '22 21:06 Neurotoxin001

@aliforever Can you please confirm that the speed when downloading a file (like https://t.me/dsd_music/9442) is better than when downloading a video file? Your original report (video confirmation where you've recorded the slow download speed) is used for a video from a bot. Can you try a file and report if there is a difference?

john-preston avatar Jun 25 '22 06:06 john-preston

@Neurotoxin001 I think that even with "videoplayer" cheat code it still uses a StreamedFileDownloader for the video file. This is the only difference between a video file download and a file download.

john-preston avatar Jun 25 '22 06:06 john-preston

I also asked 2 my friends to download file and video and compare speed and they confirm that file is downloading faster. They using latest Telegram Desktop and Windows 10 too but don't have github accounts to confirm it here.

Neurotoxin001 avatar Jun 25 '22 06:06 Neurotoxin001

@aliforever Can you please confirm that the speed when downloading a file (like https://t.me/dsd_music/9442) is better than when downloading a video file? Your original report (video confirmation where you've recorded the slow download speed) is used for a video from a bot. Can you try a file and report if there is a difference?

It took me 64 seconds to download the file (https://t.me/dsd_music/9442 961MB). It would be 15MBps. So I'd say it's 5MBps more than downloading a video.

aliforever avatar Jun 25 '22 16:06 aliforever

Windows 10 TDesktop 4.0.2 x64 speedtest result: image

  1. Premium account. download video link: https://t.me/dvachannel/82385 image

  2. Premium account. download video link: https://t.me/dvachannel/74593 image

  3. Premium account. download media link: https://t.me/dsd_music/9442 image

AkciumKicum avatar Jun 26 '22 22:06 AkciumKicum

Are you going to fix it? With upload speed also.

Are you using your client? It's ridiculous. Tdesktop using only 10% of my upload speed.

It's already 2 months after Premium released and this is still not fixed.

Neurotoxin001 avatar Aug 23 '22 20:08 Neurotoxin001

https://github.com/telegramdesktop/tdesktop/issues/17272

Neurotoxin001 avatar Aug 23 '22 20:08 Neurotoxin001

Any success with Premium users download speed? Still have 10 Mb/s while getting 1Gb/s from ISP (torrents and all other speed tests show 1Gb/s).

meklonets avatar Sep 12 '22 10:09 meklonets

Any success with Premium users download speed?

Unfortunately no. Developers have more important things to do. e.g. animated emoji

Neurotoxin001 avatar Sep 12 '22 18:09 Neurotoxin001

Try to download file https://t.me/dsd_music/9442 and look at the download speed

Seems like channel is dead. You can test it here: https://t.me/rand2ch/13759

Neurotoxin001 avatar Sep 15 '22 08:09 Neurotoxin001

This issue is still relevant and it's sad that premium feature is not working after 6 months

Neurotoxin001 avatar Nov 07 '22 12:11 Neurotoxin001

Still have this problem

DenisBabarykin avatar Mar 31 '23 15:03 DenisBabarykin

Based on my findings the promise of better download speed only applies if you're connecting close to the dc of the file.

If the uploaded file is on Amsterdam DC for example, you'd achieve maximum speed by connecting from an Amsterdam VPS.

I'm not sure what is decreasing the speed between datacenters and locations, but it seems like Telegram doesn't want to share that information

aliforever avatar Mar 31 '23 15:03 aliforever

same issue

PystoyPlayer avatar Jul 21 '23 19:07 PystoyPlayer

https://i.imgur.com/0pAbLQH.png telegram desktop 4.8.5

Aokromes avatar Jul 21 '23 19:07 Aokromes

https://i.imgur.com/0pAbLQH.png telegram desktop 4.8.5

Is that your maximum speed from internet provider? There is no changes for me. Preston admitted that the problem is in the loader code, and he won't touch it, because he is preparing a version on tdlib (and there is no such problem there, there the speed is maximal, according to the tariff from the provider).

Neurotoxin001 avatar Jul 21 '23 19:07 Neurotoxin001

not maximum from internet provider but quite good speed.

Aokromes avatar Jul 21 '23 19:07 Aokromes

Try this alpha on tdlib and you will see difference: https://t.me/kotatochat_ru/195866

Neurotoxin001 avatar Jul 21 '23 19:07 Neurotoxin001

Try this alpha on tdlib and you will see difference: https://t.me/kotatochat_ru/195866

btw that works, thanks. But is there same for Macogram ? (from App Store) Its design is much better!

PystoyPlayer avatar Jul 21 '23 23:07 PystoyPlayer

But is there same for Macogram ?

ask at its repository? https://github.com/overtake/TelegramSwift

ilya-fedin avatar Jul 22 '23 01:07 ilya-fedin

btw, i reached 650 mbps with standard telegram desktop, idk where the problem can be.

Aokromes avatar Dec 09 '23 10:12 Aokromes

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

github-actions[bot] avatar Jun 17 '24 01:06 github-actions[bot]

upload speed is fixed, but not download

Neurotoxin001 avatar Jun 17 '24 15:06 Neurotoxin001

I have telegram premium. Upload speed is 4 mbps for me on PC, downloads are fast. My connection is 1 Gbps

timea-techgirl avatar Jun 29 '24 19:06 timea-techgirl

Telegram premium maxing download speed was a false promise unfortunately.

I have a 10GBps server located at NFOrce datacenter, my upload speed to Oracle Cloud buckets are always a lot higher than download speed from Telegram.

Here is the log: image

aliforever avatar Jun 30 '24 17:06 aliforever