Extremely slow Internet connection

I am running 13.2 on Acer TravelMate 2410 but it used to be the same in Tumbleweed too.

For some reason the Internet connection is extremely slow (25-30Kb/s). The network installation of 13.2 took about 11 hours. Also the same file which I can wget with 15mb/s from another machine in the same LAN (same network settings) gives again 25-30kb/s on this laptop. I have been googling for possible solutions of slow Internet connection - disabled ipv6, tried different DNS, I am using a static IP address - nothing helped.

At the same time I am able to upload to the same system with 7mb/s via sftp which tells me it is obviously not a hardware problem. I am on also a 150Mbps international speed which other machines on the network can use without problem. (Of course, there is no other machine downloading something while I am testing)

How can I fix this?

More info which I just discovered:

Starting to download the same big file I am testing with but using Firefox (not wget) I get 6-7mb/s for a few seconds and download 130-140mb very quickly after which the speed starts to slow down to 25-30Kb/s again. On the other machine the file downloads with 15-16mb/s from start to finish (so it is not the ISP or the route).

Nobody knows? :frowning:

Continuing my research: I found that manually setting ‘speed 10 duplex full’ with ethtool raises the internet download speed to ~1mb/s. However setting it to ‘speed 100 duplex full’ makes the speed again 25-30K/s.

I hope someone can help with that as I really have no idea what is going on.

So you suspect a negotiation or possible cable issue? For the most part auto-negotiation just works. Use ethtool to examine the link status

/sbin/ethtool <name of interface>

[QUOTE=deano_ferrari;2739295]So you suspect a negotiation or possible cable issue?
[/QUOTE]
Not at all. If it was the cable I would never be able to download through sftp from PC to PC in the LAN with 7mb/s stable speed.

For the most part auto-negotiation just works. Use ethtool to examine the link status

/sbin/ethtool <name of interface>

I have done that as explained in my previous post. For the moment the fastest I can get is ~1mb/s.

I have been researching for solutions and found these:

https://www.reddit.com/r/linux4noobs/comments/1siyh1/opensuse_131_software_downloads_too_slow_both/

https://en.opensuse.org/SDB:Realtek_8169_driver_problem

The info in the first link points to a repo which contains r8168 driver as a replacement. However this is only for 13.1. I found r8168 for 13.2 here but installing the kernel module didn’t change anything. So I decided to uninstall it and removed the repo. Unfortunately after reboot I started to get quite a few error messages and although I reinstalled the kernel packages (from the official repo) that didn’t fix them. So I decided to reinstall the system (as I have been fighting with this for a few days) and upgrade it to Tumbleweed hoping that newer software versions might fix the problem. Unfortunately this lead me to a total disaster.

I am currently reinstalling 13.2 to get things clean. I suppose my next option would be to try and recompile the 8186 driver module from source but I am afraid not to break anything or end up in a situation that I have to do it after each software upgrade. So help is much appreciated.

Installed r8186 using the autorun.sh provided by Realtek. No change - maximum speed 10mbps.

Well LAN speeds and internet speeds are different things. The servers you were connecting to could easily be heavily loaded, or it could be due to local congestion in your area ie a service provider issue.

I have done that as explained in my previous post. For the moment the fastest I can get is ~1mb/s.

The point of running the ethtool command was to report the negotiation status and share that information here. Arbitrarily setting the negotiation can cause problems if not matched by the router you’re attached to.

No. The same file downloaded from the other PC using the same cable and same settings: 15mb/s. On laptop: 25-30k/s. It is not my ISP.

The exact network setup is:

ISP -> mikrotik router -> (cable 1) -> i7 desktop (sharing the internet connection with a second LAN card to) -> (cable 2) -> laptop

(a little complicated but there is a reason to have it this way exactly)

The point of running the ethtool command was to report the negotiation status and share that information here. Arbitrarily setting the negotiation can cause problems if not matched by the router you’re attached to.

Laptop:


# ethtool enp6s7
Settings for enp6s7:
        Supported ports:  TP MII ]                                                                                                                         
        Supported link modes:   10baseT/Half 10baseT/Full                                                                                                   
                                100baseT/Half 100baseT/Full                                                                                                 
        Supported pause frame use: No                                                                                                                       
        Supports auto-negotiation: Yes                                                                                                                      
        Advertised link modes:  Not reported                                                                                                                
        Advertised pause frame use: No                                                                                                                      
        Advertised auto-negotiation: No                                                                                                                     
        Speed: **100Mb/s**                                                                                                                                      
        Duplex: Full                                                                                                                                        
        Port: MII                                                                                                                                           
        PHYAD: 32                                                                                                                                           
        Transceiver: internal                                                                                                                               
        Auto-negotiation: off                                                                                                                               
        Supports Wake-on: pumbg                                                                                                                             
        Wake-on: d                                                                                                                                          
        Current message level: 0x00000007 (7)                                                                                                               
                               drv probe link                                                                                                               
        Link detected: yes  
# wget -O- http://mirror.leaseweb.com/opensuse/distribution/13.2/iso/openSUSE-13.2-DVD-i586.iso > /dev/null
--2015-11-24 20:08:10--  http://mirror.leaseweb.com/opensuse/distribution/13.2/iso/openSUSE-13.2-DVD-i586.iso
Resolving mirror.leaseweb.com (mirror.leaseweb.com)... 37.58.58.140, 2a00:c98:2030:a034::21
Connecting to mirror.leaseweb.com (mirror.leaseweb.com)|37.58.58.140|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4624220160 (4.3G) [application/octet-stream]
Saving to: ‘STDOUT’


-                                        0%                                                                               ]   2.92M  **23.4KB/s**   eta 6h 43m^C

# ethtool -s enp6s7 speed 10 duplex full autoneg off
# ethtool enp6s7
Settings for enp6s7:
        Supported ports:  TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  Not reported
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Speed: **10Mb/s**
        Duplex: Full
        Port: MII
        PHYAD: 32
        Transceiver: internal
        Auto-negotiation: off
        Supports Wake-on: pumbg
        Wake-on: d
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
# wget -O- http://mirror.leaseweb.com/opensuse/distribution/13.2/iso/openSUSE-13.2-DVD-i586.iso > /dev/null
--2015-11-24 20:13:13--  http://mirror.leaseweb.com/opensuse/distribution/13.2/iso/openSUSE-13.2-DVD-i586.iso
Resolving mirror.leaseweb.com (mirror.leaseweb.com)... 37.58.58.140, 2a00:c98:2030:a034::21
Connecting to mirror.leaseweb.com (mirror.leaseweb.com)|37.58.58.140|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4624220160 (4.3G) [application/octet-stream]                                                                                                        
Saving to: ‘STDOUT’                                                                                                                                         
                                                                                                                                                            
-                                        0%                                                                               ]  34.85M   **900KB/s**   eta 83m 2s^C    



And from the i7 machine:


# wget -O- http://mirror.leaseweb.com/opensuse/distribution/13.2/iso/openSUSE-13.2-DVD-i586.iso > /dev/null
--2015-11-24 20:15:27--  http://mirror.leaseweb.com/opensuse/distribution/13.2/iso/openSUSE-13.2-DVD-i586.iso
Resolving mirror.leaseweb.com (mirror.leaseweb.com)... 37.58.58.140, 2a00:c98:2030:a034::21
Connecting to mirror.leaseweb.com (mirror.leaseweb.com)|37.58.58.140|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4624220160 (4.3G) [application/octet-stream]
Saving to: ‘STDOUT’


 5% =====>                                                                                                             ] 242,303,376 **15.6MB/s**  eta 5m 29s ^C



BTW I was just going to write this before I saw your post: after running an update and just before rebooting the laptop I was able to download the same iso with wget with full 100mbps (11.2mb/s) for a short but I had to reboot soon. The ethtool setting was ‘speed 100 duplex full autoneg on’. However after rebooting the laptop I couldn’t reproduce it.

Now I made this experiment: plug again cable 1 directly into the laptop (assign IP address etc) and test speed at 100mbps setting: again 25k/s. Then again I plugged it back to cable 2 and restored IP address etc. Test again - 11mb/s! And after about 30-40 seconds - the speed slowed down again to 25k/s. As I am writing this I even see a “Connection closed at byte xxxx” message on the laptop after which the wget-ing continues with the slow speed.

I also tested again LAN-only HTTP download (a file sitting on i7 being downloaded to the laptop). This one gives full 100mbps (11.2mb/s) consistently. In other words - the hardware and r8169 module are fine.

So I guess the logical question is why only the Internet downloads on the laptop are consistently slow with irregular fast start-up speeds.

Have you tried disabling IPv6 on your system, then rebooting? I doubt
it’s related, but unless you need it I have seen that help with
performance issues, though usually around DNS resolution more than actual
connections.

Your attempt with Firefox, particularly where something starts out quickly
then slows down, makes me wonder if Firefox is doing some caching, and
thus giving you an incorrect speed reading as it calculates what it has
cached.

How about getting a LAN trace of the wget attempt so we can see if
something looks really odd. Use a command like this, then post the output
somewhere:


sudo /usr/sbin/tcpdump -n -s 0 -i any -w /tmp/tcp80.cap port 80

The resulting /tmp/tcp80.cap file could be interesting. Please compress
it before posting it somewhere for us to fetch.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

Yes. I mentioned it in the OP.

though usually around DNS resolution more than actual connections.

DNS is fast. I have even tested it with namebench.

Your attempt with Firefox, particularly where something starts out quickly
then slows down, makes me wonder if Firefox is doing some caching, and
thus giving you an incorrect speed reading as it calculates what it has
cached.

I have excluded caching as a theoretical option because the situation is: clean system, installed from scratch (with format of all partitions) and Firefox is ran for the very first time. The link to the iso file is pasted directly in the address bar.

How about getting a LAN trace of the wget attempt so we can see if
something looks really odd. Use a command like this, then post the output
somewhere:

sudo /usr/sbin/tcpdump -n -s 0 -i any -w /tmp/tcp80.cap port 80

The resulting /tmp/tcp80.cap file could be interesting. Please compress
it before posting it somewhere for us to fetch.

Ok, I have done this running the same wget for the same iso:

wget -O- http://mirror.leaseweb.com/opensuse/distribution/13.2/iso/openSUSE-13.2-DVD-i586.iso > /dev/null

I let it run for about 30 seconds. I have compressed the result with:

7z a -t7z -m0=lzma -mx=9 -ms=on -md=128m -mfb=273 tcp80.7z tcp80.cap

The output is about 200mb. After uncompressing it you will see a file of about 246mb. I have uploaded the 7z file to Google Drive here: https://goo.gl/p7xzxm

BTW something more on this: About 3 hours ago I suspended the laptop to sleep. When I came back and started the wget per your instruction it ran smoothly at 11.2mb/s (full 100mbps) for almost 20 seconds after which the speed fell down to about 40kb/s, then I stopped it. I also notice that usually each time I run wget the initial 0.5-1 seconds give a speed of about 100kb/s and then it suddenly falls to the magical 25kb/s.

As I am typing this I am running a third test and it is downloading the iso at full 11.2mb/s (for 2 minutes already and not slowing down). Now I stopped it, and ran it again - variable speed between 25kb/s and 1mb/s for a short time, then dropped again to 25kb/s and stays there forever. After I leave it for a while and test again - I get 11.2mb/s and so on.

This inconsistency is really strange.

Please let me know if you see anything informative in the dump.

On 11/24/2015 03:26 PM, heyjoe wrote:
>
>> How about getting a LAN trace of the wget attempt so we can see if
>> something looks really odd. Use a command like this, then post the
>> output
>> somewhere:
>>
>>>
> Code:
> --------------------
> > >
> > sudo /usr/sbin/tcpdump -n -s 0 -i any -w /tmp/tcp80.cap port 80
> >
> --------------------
>>>
>>
>> The resulting /tmp/tcp80.cap file could be interesting. Please
>> compress
>> it before posting it somewhere for us to fetch.
>
> Ok, I have done this running the same wget for the same iso:
>
>
> Code:
> --------------------
> wget -O- http://mirror.leaseweb.com/opensuse/distribution/13.2/iso/openSUSE-13.2-DVD-i586.iso > /dev/null
> --------------------
>
>
> I let it run for about 30 seconds. I have compressed the result with:
>
>
> Code:
> --------------------
> 7z a -t7z -m0=lzma -mx=9 -ms=on -md=128m -mfb=273 tcp80.7z tcp80.cap
> --------------------
>
>
> The output is about 200mb. After uncompressing it you will see a file of
> about 246mb. I have uploaded the 7z file to Google Drive here:
> https://goo.gl/p7xzxm
>
> BTW something more on this: About 3 hours ago I suspended the laptop to
> sleep. When I came back and started the wget per your instruction it ran
> smoothly at 11.2mb/s (full 100mbps) for almost 20 seconds after which
> the speed fell down to about 40kb/s, then I stopped it. I also notice
> that usually each time I run wget the initial 0.5-1 seconds give a speed
> of about 100kb/s and then it suddenly falls to the magical 25kb/s.
>
> As I am typing this I am running a third test and it is downloading the
> iso at full 11.2mb/s (for 2 minutes already and not slowing down). Now I
> stopped it, and ran it again - variable speed between 25kb/s and 1mb/s
> for a short time, then dropped again to 25kb/s and stays there forever.
> After I leave it for a while and test again - I get 11.2mb/s and so on.
>
> This inconsistency is really strange.

Have you tested with any other URLs? Looking through the various posts
you seem to be always trying the openSUSE ISO; have you tested with
something that will definitely be on another server? Perhaps something
like Java, or another SUSE Linux Enterprise Server, or something from SUSE
Studio’s list of pre-build appliances?

Trying your command here gave me good output, but I’m hitting a different
IP than you from my home:


--2015-11-24 16:22:27--
http://mirror.leaseweb.com/opensuse/distribution/13.2/iso/openSUSE-13.2-DVD-i586.iso
Resolving mirror.leaseweb.com (mirror.leaseweb.com)... 209.58.135.187
Connecting to mirror.leaseweb.com
(mirror.leaseweb.com)|209.58.135.187|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4624220160 (4.3G) [application/octet-stream]
Saving to: ‘STDOUT’

-  100%=======================>]   4.31G   110MB/s   in 46s

2015-11-24 16:23:14 (95.8 MB/s) - written to stdout [4624220160/4624220160]


Using the IP address you hit still completed, though much more-slowly; it
was still definitely in a range above yours through to the end of the
transfer.


--2015-11-24 16:24:26--
http://37.58.58.140/opensuse/distribution/13.2/iso/openSUSE-13.2-DVD-i586.iso
Connecting to 37.58.58.140:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4624220160 (4.3G) [application/octet-stream]
Saving to: ‘STDOUT’

-  100%=======================>]   4.31G  19.5MB/s   in 4m 3s

2015-11-24 16:28:29 (18.1 MB/s) - written to stdout [4624220160/4624220160]

Going back to the LAN trace, things look great for, as you mentioned,
quite a while. The throughput is as it should be on a connection capable
of the speeds you said, but then a lot of out-of-order acks and
duplicate-acks show up twenty-one seconds into the transfer. For a while
the system appears to keep trying the higher rate, though that is
eventually abandoned and the system drops down to an abysmal rate, and it
seems like the server side (meaning anything upstream from you) is sending
the packets much more-slowly; note that with a trace taken ONLY from one
side, the problem could be that the ACKs are slow getting back to the
server, so the server’s slowness is because something is slow telling it
to continue.

To simplify things, have you tried plugging your laptop directly into the
mikrotik router? Maybe you said you did, but I cannot find it. Even
better, could you plus your ISP’s connection directly into the laptop?

No, I do not know why it would be fast in some cases and slow in others,
but internet connection sharing could have any number of interesting
things happening there (which OS, and routing software, and performance is
there?) and the nature of the duplicate ACKs and out-of-order packets is
often caused by weird routers/switches, which is exactly what your shared
connection is doing. Hopefully this is an easy test, along with trying
the other server, though my own testing would seem to make that an invalid
test.

Summary: The LAN trace shows something amiss on the network causing
packets to be sent out of order (not necessarily bad, TCP is designed to
handle it) or acknowledged multiple times (shouldn’t happen in an ideal
network, but can due to odd timing issues, router buffers, etc.). Nothing
about this makes me suspect your client (laptop/wget), so I would try
testing by eliminating other factors, like connection sharing, the router,
even the connection entirely by going to a
library/university/friend’s-house, etc.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

Yes. Actually I noticed it when I saw the online updates of Tumbleweed (which was installed on that laptop previously). So I have tried other openSUSE mirrors. BTW I also tried installing CentOS (net install) today. It showed the same result.

Using the IP address you hit still completed, though much more-slowly; it
was still definitely in a range above yours through to the end of the
transfer.

Obviously you have a Gigabit international connection. Mine is 150mbps international and 1Gbps only inside the country.

To simplify things, have you tried plugging your laptop directly into the
mikrotik router? Maybe you said you did, but I cannot find it.

Yes:

Even better, could you plus your ISP’s connection directly into the laptop?

Not at the moment. The Mikrotik is about 100 meters away from here and it is 2am. But I am absolutely sure it is not causing the problem as on the other machine things run at 150mbps (obviously). Considering I have tested on this very same cable it makes no sense to have a different result. IOW if the laptop card is 100/10, it should be able to have stable 100Mbps.

No, I do not know why it would be fast in some cases and slow in others,
but internet connection sharing could have any number of interesting
things happening there (which OS, and routing software, and performance is
there?) and the nature of the duplicate ACKs and out-of-order packets is
often caused by weird routers/switches, which is exactly what your shared
connection is doing. Hopefully this is an easy test, along with trying
the other server, though my own testing would seem to make that an invalid
test.

OS of the Mikrotik is RouterOS 6.1
OS of the i7 is Leap 42.1 x64 and the machine is quite good (32GB ram, SSD etc).
The cables are or high quality and tested with my ISP to provide full and stable Gigabit link. So no hardware problems whatsoever.

I would try testing by eliminating other factors, like connection sharing, the router,
even the connection entirely by going to a
library/university/friend’s-house, etc.

I have already done that:

(1) - connecting directly to the Mikrotik router - this gives the same inconsistent speed (but only on the laptop, the other machines in the LAN have good stable speed as explained)
(2) - downloading a file directly from the i7 machine (which is sharing the Internet to the laptop) - this always gives 100mbps stable speed

I am actually questioning if there might be some memory/other buffer which fills up. The laptop has only 512Mb ram. But at the same time I am thinking - well, I am downloading to /dev/null, i.e. not saving anything, so I suppose the only bottleneck is the NIC and the NIC proves it can sustain 100mbps as in case (2). Not sure how things with routing the packets work in-depth, these are just my speculations.

On 11/24/2015 05:36 PM, heyjoe wrote:
>
>> Even better, could you plus your ISP’s connection directly into the
>> laptop?
>>
> Not at the moment. The Mikrotik is about 100 meters away from here and
> it is 2am. But I am absolutely sure it is not causing the problem as on
> the other machine things run at 150mbps (obviously). Considering I have
> tested on this very same cable it makes no sense to have a different
> result. IOW if the laptop card is 100/10, it should be able to have
> stable 100Mbps.

Agreed, but it may still be worth testing due to different TCP algorithms
in use. I’m guessing your router has significantly less power than your
laptop, though it may be a semi-new router (hardware and software… I
have not checked the details). Your laptop having 512 MB ram is also
probably older, so maybe the mix is part of the issue. You’ve already
done some work checking on drivers, but if it’s in that area I’d never
know how to find it other than by patching and hoping that’s good enough;
I’m merely an amateur.

> (1) - connecting directly to the Mikrotik router - this gives the same
> inconsistent speed (but only on the laptop, the other machines in the
> LAN have good stable speed as explained)
> (2) - downloading a file directly from the i7 machine (which is sharing
> the Internet to the laptop) - this always gives 100mbps stable speed
>
> I am actually questioning if there might be some memory/other buffer
> which fills up. The laptop has only 512Mb ram. But at the same time I am
> thinking - well, I am downloading to /dev/null, i.e. not saving
> anything, so I suppose the only bottleneck is the NIC and the NIC proves
> it can sustain 100mbps as in case (2). Not sure how things with routing
> the packets work in-depth, these are just my speculations.

The LAN trace shows what is called the TCP window, and even during the
rough spots the window (amount of space available to get bursts of traffic
from the sender) is plenty big. Sometimes an application will be slow
about dumping its data to disk (along the lines of what you mentioned,
though you are correct in that /dev/null will not have that problem) and
if that happens the window will get smaller, signaling to the sender that
it cannot send at firehose speeds anymore until some space is used up. In
our case, wget is pretty efficient, and the LAN trace shows that it is not
ever filling up its memory; even at full speed, we would not expect it to
since the size of the window is a couple megabytes and easily capable of
“writing” that to /dev/null as fast as any wire can provide it.

Since you’re on Leap 42.1 already, I’d perhaps continue down the route of
realtek drivers, or maybe see about tuning TCP algorithms, though that’s a
longshot. You could also test other clients (curl instead of wget), or
other protocols (FTP instead of HTTP, or a torrent). While those only
rule out one application or another, it may give some helpful result
somehow… maybe.

In an ideal world we’d do the trace on both ends, the server and client
side. The server side is probably hard in this case, but if you happen to
have access to a server out there somewhere then that could change. The
idea, then, is to see if packets are being mangled in between. There have
been confirmed cases of evil ISPs doing things like slowing connections
over time, though in your case having other computers on your network
succeed probably rule that out sufficiently.

Other silly ideas include using a LiveCD/DVD/etc. to boot your box and
test the download without the current OS and drivers. If you find and old
Knoppix image, maybe from the same time period as your laptop, that could
be interesting. It’s a little more time-consuming, but it’s possible the
new kernel has issues with certain combinations of hardware, and that may
help rule that out.

If you do capture more LAN traces, post them as before as that worked
pretty well on my end.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

Hm. I am not so sure. The laptop is Acer TravelMate 2410. The router is MikroTik Routers and Wireless - Products: RB951G-2HnD

Obviously it is quite stronger than the laptop as network capabilities, as it is a gigabit router.

Your laptop having 512 MB ram is also probably older, so maybe the mix is part of the issue. You’ve already done some work checking on drivers, but if it’s in that area I’d never know how to find it other than by patching and hoping that’s good enough; I’m merely an amateur.

Well, after all the tests and the stable 100mbps when downloading from another machine in the same LAN I don’t see why we should blame the driver at all.

The LAN trace shows what is called the TCP window, and even during the rough spots the window (amount of space available to get bursts of traffic from the sender) is plenty big. Sometimes an application will be slow about dumping its data to disk (along the lines of what you mentioned, though you are correct in that /dev/null will not have that problem) and if that happens the window will get smaller, signaling to the sender that it cannot send at firehose speeds anymore until some space is used up. In our case, wget is pretty efficient, and the LAN trace shows that it is not ever filling up its memory; even at full speed, we would not expect it to since the size of the window is a couple megabytes and easily capable of “writing” that to /dev/null as fast as any wire can provide it.

Thanks for explaining. But again the question is: Why downloading from the LAN gives 100mbps (always) and downloading from Internet not (considering the other machines in the LAN can go even above 100mbps for the same internet iso download).

Since you’re on Leap 42.1 already

No, no. I am not. The desktop system (the i7-machine is) but the laptop is 13.2 as it is 32-bit.

In an ideal world we’d do the trace on both ends, the server and client
side.

That’s why I set up an apache on the sister desktop machine and it gives stable 100mbps using the same HTTP wget download test as I showed.

There have been confirmed cases of evil ISPs doing things like slowing connections over time, though in your case having other computers on your network succeed probably rule that out sufficiently.

I exclude completely this option. My ISP is in the same building and we are friends. I actually talked to him about the problem and he said he had no idea why this was happening.

If you do capture more LAN traces, post them as before as that worked pretty well on my end.

Please explain how.

To summarize and clarify the situation is:

  • ISP -> Mikrotik ->(same cable and router port)-> i7 Desktop machine (running Leap 42.1) = Consistent high speed
  • ISP -> Mikrotik ->(same cable and router port)-> i7 Desktop machine -> Laptop (Running 13.2) = Inconsistent Internet speed, mostly slow. Consistent high LAN speed
  • ISP -> Mikrotik ->(same cable and router port)-> Laptop = Inconsistent Internet speed, mostly slow. Consistent high LAN speed

On 11/25/2015 05:26 AM, heyjoe wrote:
>
> Please explain how.

If you are on good terms with the ISP, perhaps have provide you with a
file you can download like you do from other places, but get a LAN trace
from their side as well as yours. If you have both, you can see if the
packets are out of order on either side, and then we could try to get a
trace in the middle (from the connection sharing system) as well to see
when the packets get out of order. We could try the connection sharing
box now, as mentioned previously, but ideally the source and destination
are both traced, or at least that’s what I do with my clients when there
are odd network issues. The goal is to see when the packets get out of
order, or why ACKs get duplicated, since that will point to the culprit;
while TCP is made to handle out-of-order traffic, ideally that should not
happen excessively, and clearly your connection can handle in-order
packets for a good while right until it decides not to.

The tricky thing with your issue is everything works in some cases; the
combination may be to blame, perhaps because of some weird timing issue.
For this reason I would not rule out anything completely since timing
issues can be bugs that are only manifest when the timing is just so.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

What is a LAN trace? If it is a tcpdump as above, that might not be possible on their side because their sysadmin is quite busy handling several other networks and I am 99% sure they will not spend time to care about my old laptop. Basically their answer to everything is: they come to my office with their laptop and test the connection. If it shows a full Gigabit (as it does), then they have nothing to do about it. So I can’t really bother them unless I see repeated issues with the Internet connection as a whole (which I don’t).

We could try the connection sharing
box now, as mentioned previously

What are you talking about?

The tricky thing with your issue is everything works in some cases; the
combination may be to blame, perhaps because of some weird timing issue.
For this reason I would not rule out anything completely since timing
issues can be bugs that are only manifest when the timing is just so.

I am not a network expert at all. But I wonder: are the internet packets different from the LAN ones due to the fact they are route/NAT-ed or pass through more hosts? If yes - what would be the way to diagnose why one machine (the i7 desktop) handles them properly and another one (the laptop) does not?