WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Apps downloading is pretty slow  (Read 25494 times)

Offline ashfame

  • Full Member
  • ***
  • Posts: 112
Re: Apps downloading is pretty slow
« Reply #30 on: August 12, 2020, 08:55:29 AM »
Hi guys,

The repo has been acting slow for me as well. Using a linux box from Linode.

I ran the same command you suggested a few posts earlier:
Code: [Select]
wget --debug --output-file=icu.txt http://repo.tinycorelinux.net/11.x/x86_64/tcz/icu65-dev.tcz
I can't make out anything from it: https://pastebin.com/4nrKXum5

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11670
Re: Apps downloading is pretty slow
« Reply #31 on: August 12, 2020, 10:14:16 AM »
Hi ashfame
... I can't make out anything from it: https://pastebin.com/4nrKXum5

From your file:
Code: [Select]
     0K .......... .......... .......... .......... ..........  0% 42.5K 6m30s
    50K .......... .......... .......... .......... ..........  0% 31.5K 7m37s
   100K .......... .......... .......... .......... ..........  0% 40.5K 7m19s
   150K .......... .......... .......... .......... ..........  1% 18.9K 9m6s
   200K .......... .......... .......... .......... ..........  1% 14.6K 11m0s
   250K .......... .......... .......... .......... ..........  1% 9.73K 13m48s
   300K .......... .......... .......... .......... ..........  2% 12.5K 14m54s
Column 1 indicates how much of the download has completed in 50K byte increments.
Columns 2 through 6 are groups of 10 dots. Each dot represents 1K byte of data downloaded.
Column 7 indicates the percentage of the total file that has been downloaded.
column 8 gives the speed at which that 50K bytes of data was downloaded at in K bytes per second.
               Network speeds can fluctuate for a variety of reasons.
column 9 is an estimate of the time required to complete the download at the current speed.

Going to the end of the file:
Code: [Select]

 16500K .......... .......... .......... .......... .......... 99% 29.4K 5s
 16550K .......... .......... .......... .......... .......... 99% 52.4K 2s
 16600K .......... .......... .......... ..........           100% 43.9K=15m7s

2020-08-12 10:17:52 (18.3 KB/s) - 'icu65-dev.tcz' saved [17039360/17039360]
Looking at the line that says 100% we find:
Columns 2 through 5 contain 10 dots each and column 6 is blank indicating the last block of data was 40K bytes in size.
Column 9 has a new meaning on this line. It now displays how long it took to download the file, 15m7s.

The last line shows the average download speed of the file, 18.3 K bytes per second.
The "saved [17039360/17039360]" means  [# of bytes saved / file size in bytes].
« Last Edit: August 12, 2020, 11:03:12 PM by Rich »

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 401
Re: Apps downloading is pretty slow
« Reply #32 on: August 12, 2020, 10:56:25 AM »
After shutting eth0 down, I got this output attached.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11670
Re: Apps downloading is pretty slow
« Reply #33 on: August 12, 2020, 11:21:31 AM »
Hi Sashank999
I can only think of one other thing to try. Don't initialize wlan0. Bring up eth0 instead and connect a LAN cable between your machine
and one of the modems LAN ports. See if that gets you any speed.

Offline ashfame

  • Full Member
  • ***
  • Posts: 112
Re: Apps downloading is pretty slow
« Reply #34 on: August 12, 2020, 04:00:35 PM »
Hi Rich,

Thanks a lot for your explanation! :)
So it took 14m54s to download that single extension, why would it be this slow?

Maybe something at the server to throttle certain connections?

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 401
Re: Apps downloading is pretty slow
« Reply #35 on: August 12, 2020, 10:34:09 PM »
Hi Rich,

I am sorry but I can't do that. Mine is a Set-Top-Box(Sorry again if you don't know that) + Modem. It has only one LAN port which is actually used to supply internet to the STB+Modem itself.

So, I think we better go to dependency checking speed now.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11670
Re: Apps downloading is pretty slow
« Reply #36 on: August 12, 2020, 11:15:40 PM »
Hi ashfame
... So it took 14m54s to download that single extension, ...
No it took 15m7s. I updated this line in my answer to reflect that:
Quote
Column 9 has a new meaning on this line. It now displays how long it took to download the file, 15m7s.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11670
Re: Apps downloading is pretty slow
« Reply #37 on: August 12, 2020, 11:19:03 PM »
Hi Sashank999
... Mine is a Set-Top-Box(Sorry again if you don't know that) + Modem. ...
Do you have a make and model number for that?

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 401
Re: Apps downloading is pretty slow
« Reply #38 on: August 13, 2020, 01:17:22 AM »
Yes.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11048
Re: Apps downloading is pretty slow
« Reply #39 on: August 13, 2020, 02:37:22 AM »
No, shouldn't be anything at the server. I'm getting 1.5Mbps for example. Could be something in between, lots of folks Netflixing. ashfame, you should also pick your closest mirror if you haven't.
The only barriers that can stop you are the ones you create yourself.

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 401
Re: Apps downloading is pretty slow
« Reply #40 on: August 20, 2020, 11:46:10 AM »
I think I found the problem. My ISP is actually blocking some servers due to some problems. But those servers are in the routing tables to send the data to the server. Hence I can't access the repo or the forum properly(which I noticed with `traceroute` command). Hence I am now using a VPN. But it is unreliable. I have attached a report of 2 commands output.

Requesting Rich to review and say an alternative.

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 401
Re: Apps downloading is pretty slow
« Reply #41 on: August 22, 2020, 11:37:22 PM »
Please help me. The forum loads frustatingly slow. Each page refresh takes > 1 min and posting a new message in forums say that my PHP Session ID is invalid (as it got timed out).

Atleast the repo is with moderate speed.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11670
Re: Apps downloading is pretty slow
« Reply #42 on: August 23, 2020, 12:53:09 AM »
Hi Sashank999
I don't think there's anything we can do if your ISP is blocking some of your traffic.

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 401
Re: Apps downloading is pretty slow
« Reply #43 on: August 23, 2020, 06:00:51 AM »
But there might be some other way, routing traffic to forums through some other servers as this server blocks direct traffic. Do you know how to do it ?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11670
Re: Apps downloading is pretty slow
« Reply #44 on: August 23, 2020, 08:15:03 AM »
Hi Sashank999
I suppose we could try changing your DNS server. What does this return:
Code: [Select]
cat /etc/resolv.conf