Well, the first thing I did was take Lennart's advice, because it's always good.  I got a NIC with an intel chipset and installed it.  No difference.

Tried a different switch port, no difference.  Switched up to Cat 6 cable, no difference.

Ethtool says the new card is running at 1000Mb/s.

Speedtest-cli says I get just shy of 100Mb/s upload and download.

A different computer behind the same switch (which claims to have gigabit ethernet: TP-Link AC1750) also gets those upload and download speeds.

On another computer at the UofT, in another building, I get just about gigabit ethernet upload and download.  So it isn't a general problem.

When I get more time I will try fooling around with autonegotiation.

It is, of course, possible that the UofT has throttled my bandwidth, or the bandwidth to the building I am located in.



On 2/6/24 20:23, David Thornton via talk wrote:
I love problems like this. Puzzles.

1. You might try turning off auto negotiation and "forcing" the link to various speeds and see how it responds, and not just the fastest speed. ( https://phoenixnap.com/kb/ethtool-command-change-speed-duplex-ethernet-card-linux)

2. Try a different switch port.

3. Check the switch's tx/rx error rates & retransmissions.

4. Check the NIC's tx/rx error rates  & retransmissions.

5. Compare speed with something "link local", like _on the same ethernet segment_ , versus something past the gateway. 

6. Compare trace routes into the device from various places, to trace route from the device _to_ those various places. There may be some asymmetry going on.

David

p.s. for seeing network stuff I like iptraf , and iptraf-ng 


On Tue, Feb 6, 2024 at 8:08 PM Peter King via talk <talk@gtalug.org> wrote:

Hello all,

I have a computer located in the University of Toronto network which shows some odd network behaviour.  For one, I have run speedtest-cli on it numerous times at various times of the day, and it consistently returns around 93Mbit upload/download.  For comparison, a laptop in the same LAN seems to get 700Mbit, while a computer in a different part of the UofT network gets 900Mb/570Mb.

The NIC has a RealTek chip and uses the r8169 kernel module.  Ethtool, which gives a live report, does list the card as running at 1Gb/s.  But that sure isn't the speed I am getting.

This same slow computer also has problems if I reboot it remotely: most of the time it doesn't come up, though dmesg has the card detected.  If I start from a cold boot rather than restart, it comes up correctly most of the time.  In either case just typing in #netctl start <ethernet> starts it up just fine.  I was trying to solve this problem and saw that there are several complaints along just these lines having to do with the r8169 module.  Some people suggested downgrading to r8101 but that module is even older.

If the module isn't working well, that might account for the slower speeds.

Is there any way to tell?  Obviously I can buy another NIC with a different chipset but don't really want to go to the trouble if there is an easier way to diagnose the difficulties.

All advice appreciated!  Thanks.

-- 
Peter King			 	peter.king@utoronto.ca
Department of Philosophy
170 St. George Street #521
The University of Toronto		   (416)-946-3170 ofc
Toronto, ON  M5R 2M8
       CANADA

http://individual.utoronto.ca/pking/

=========================================================================
GPG keyID 0x7587EC42 (2B14 A355 46BC 2A16 D0BC  36F5 1FE6 D32A 7587 EC42)
gpg --keyserver pgp.mit.edu --recv-keys 7587EC42
---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk


--



---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
-- 
Peter King			 	peter.king@utoronto.ca
Department of Philosophy
170 St. George Street #521
The University of Toronto		   (416)-946-3170 ofc
Toronto, ON  M5R 2M8
       CANADA

http://individual.utoronto.ca/pking/

=========================================================================
GPG keyID 0x7587EC42 (2B14 A355 46BC 2A16 D0BC  36F5 1FE6 D32A 7587 EC42)
gpg --keyserver pgp.mit.edu --recv-keys 7587EC42