WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: Apps downloading is pretty slow
« Reply #15 on: August 07, 2020, 10:24:47 PM »
Hi Sashank999
That says :
Code: [Select]
sysctl: error: 'net.ipv6/conf/all/disable_ipv6' is an unknown key.
Those should have been periods, not slashes.

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 390
Re: Apps downloading is pretty slow
« Reply #16 on: August 08, 2020, 09:43:20 AM »
I can't execute that command. The result is the same even when I copy paste your command.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: Apps downloading is pretty slow
« Reply #17 on: August 08, 2020, 09:43:00 PM »
Hi Sashank999
Please run this:
Code: [Select]
sudo sysctl -a > sysctl.txt 2>&1Then attach  sysctl.txt  to your next post.

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 390
Re: Apps downloading is pretty slow
« Reply #18 on: August 10, 2020, 01:45:17 AM »
Attached.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: Apps downloading is pretty slow
« Reply #19 on: August 10, 2020, 10:54:17 AM »
Hi Sashank999
That's odd, I see no instances of  ipv6  mentioned in the  sysctl.txt  file.

Lets see what the busybox version of  wget  is doing:
Code: [Select]
rm bash.tcz
time busybox wget -S http://repo.tinycorelinux.net/11.x/x86_64/tcz/bash.tcz > icu.txt 2>&1

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 390
Re: Apps downloading is pretty slow
« Reply #20 on: August 10, 2020, 11:59:08 AM »
Attached.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: Apps downloading is pretty slow
« Reply #21 on: August 10, 2020, 01:24:24 PM »
Hi Sashank999
I don't know what is going on, but I do not think it is a misconfiguration issue with Tinycore. I want to do a brief recap of observations
and follow up with a couple of questions/causes.


This command:
Code: [Select]
wget --debug --output-file=icu.txt http://repo.tinycorelinux.net/11.x/x86_64/tcz/icu65-dev.tczAppears to show wget trying to use IPv6 addressing, possibly because it's being offered an IPv6 address to use:
Reading HSTS entries from /home/tc/.wget-hsts
--2020-08-04 13:43:51--  http://repo.tinycorelinux.net/11.x/x86_64/tcz/bash.tcz
Resolving repo.tinycorelinux.net... 89.22.99.37, 64:ff9b::5916:6325
Caching repo.tinycorelinux.net => 89.22.99.37 64:ff9b::5916:6325
Connecting to repo.tinycorelinux.net|89.22.99.37|:80... connected.

The download used only 6% of your connections bandwidth which is unacceptable.


This command:
Code: [Select]
wget --debug --output-file=icu.txt --inet4-only http://repo.tinycorelinux.net/11.x/x86_64/tcz/bash.tczThis forces  wget  to use only IPv4 addresses, which it does:
Reading HSTS entries from /home/tc/.wget-hsts
--2020-08-06 04:34:34--  http://repo.tinycorelinux.net/11.x/x86_64/tcz/bash.tcz
Resolving repo.tinycorelinux.net... 89.22.99.37
Caching repo.tinycorelinux.net => 89.22.99.37
Connecting to repo.tinycorelinux.net|89.22.99.37|:80... connected.

The download used 30% of your connections bandwidth which sounds reasonable.


The  busybox  version, which is used by  tce-load  and  Apps:
Code: [Select]
time busybox wget -S http://repo.tinycorelinux.net/11.x/x86_64/tcz/bash.tcz > icu.txt 2>&1Does not provide the debug information that the  wget.tcz  version does.
It does appear to be more severely effected by what's going on since it used only 1% of your networks bandwidth.

I suspect this is an IPv6 issue, yet there are no instances of  ipv6  mentioned in the  sysctl.txt  file.

So where did those IPv6 addresses come from? 2 possibilities come to mind:
1. You are running in a virtual machine that is providing it.
2. Your router (or ISP) is defaulting to IPv6.

If anyone else has any other ideas, please chime in.

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 390
Re: Apps downloading is pretty slow
« Reply #22 on: August 11, 2020, 03:32:03 AM »
Hi !
I went to https://test-ipv6.com/ to test IPv6. Here are the results attached.
My TC is on a laptop. Not on a VM.
My ISP doesn't have the IPv6 support. He is soon going to do it.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: Apps downloading is pretty slow
« Reply #23 on: August 11, 2020, 11:09:06 AM »
Hi Sashank999
Well, this IPv6 address is coming from somewhere:
Code: [Select]
Resolving repo.tinycorelinux.net... 89.22.99.37, 64:ff9b::5916:6325
Your screen shot mentions  DNS server ..... IPv6 Internet access.  So that IPv6 test detected something.

You could try deleting the IPv6 entries from your  /etc/hosts  file to see if that helps. Those are the entries that have  ::  in them.

Are you connecting through a tunnel that could be doing some IPv6 stuff?

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 390
Re: Apps downloading is pretty slow
« Reply #24 on: August 11, 2020, 11:38:27 AM »
Hi !

Tunneling ? Do you mean proxies or VPNs ? No, I don't use those for Tiny Core.

Once look at the /etc/hosts file. I am removing all the entries with ::. I didn't edit anything in the host file till now. I will then execute this :
Code: [Select]
wget --debug --output-file=bash-inet4.txt --inet4-only http://repo.tinycorelinux.net/11.x/x86_64/tcz/bash.tcz
wget --debug --output-file=bash.txt http://repo.tinycorelinux.net/11.x/x86_64/tcz/bash.tcz
.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: Apps downloading is pretty slow
« Reply #25 on: August 11, 2020, 01:05:38 PM »
Hi Sashank999
Both of those attachment showed the same (slow) speed. So maybe it's not an IPv6 issue.

Is your ISP a cable TV provider? Does the network connection come into your house through coax (copper) or fiber optic cable?

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 390
Re: Apps downloading is pretty slow
« Reply #26 on: August 11, 2020, 10:40:22 PM »
Hi !

Yes, my Cable Provider is also my ISP.
Network comes through Optic Fiber.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: Apps downloading is pretty slow
« Reply #27 on: August 11, 2020, 11:43:29 PM »
Hi Sashank999
I'm afraid I'm running out of ideas. You should not have speed issues connected through fiber optic cable.

Post the results of:
Code: [Select]
ifconfig -a > ifconfig.txt
You might also want to Google for:
Code: [Select]
slow internet "your ISP"and:
Code: [Select]
slow internet "your MODEM"where  "your ISP"  is the company that provides your Internet connection and  "your MODEM"  is the make and model number of the MODEM
that connects you to the Internet.
« Last Edit: August 12, 2020, 12:17:38 AM by Rich »

Offline Sashank999

  • Sr. Member
  • ****
  • Posts: 390
Re: Apps downloading is pretty slow
« Reply #28 on: August 12, 2020, 03:46:36 AM »
Hi !

ifconfig.txt attached.

Those Google searches did nothing.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: Apps downloading is pretty slow
« Reply #29 on: August 12, 2020, 08:06:06 AM »
Hi Sashank999
That shows you are using a wireless connection, but I also see this:

eth0      Link encap:Ethernet  HWaddr 60:EB:69:E0:55:A4  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Your wired Ethernet device is listed as being  UP  even though it hasn't been assigned an IP address.

It's a long shot, but try taking down  eth0  and see if that speeds things up:
Code: [Select]
sudo ifconfig eth0 down