I recently upgraded my network switch from a 100Mb unit to a Gigabit
device. This had an unfortunate effect in that transfer speeds from my NAS
to the Titanium using Sunfish plummeted. (20secs or more for a 5MB file.) Eventually I got the latest versions of !Omni, NFS and LanMan working and things were better but still slower than with the 100Mb switch. I realise RISC OS is not good on network speed but why lower with Gigabit set.
I have found a work around by setting the Titanium interface to 100MB
using *configure ECPAdvertise 0 100 full, Speed is now back to normal. (<2secs per 5MB) This using LanMan. What is going on?
On 26 Jun, Geoffrey Baxendale wrote in message
<6f8cad8658.thebears@thebears.onetel.com>:
I recently upgraded my network switch from a 100Mb unit to a Gigabit device. This had an unfortunate effect in that transfer speeds from my NAS to the Titanium using Sunfish plummeted. (20secs or more for a 5MB file.) Eventually I got the latest versions of !Omni, NFS and LanMan working and things were better but still slower than with the 100Mb switch. I realise RISC OS is not good on network speed but why lower with Gigabit set.
I have found a work around by setting the Titanium interface to 100MB
using *configure ECPAdvertise 0 100 full, Speed is now back to normal. (<2secs per 5MB) This using LanMan. What is going on?
Possibly that the Titanium and the new switch are getting confused while negotiating the link speed. I had this issue on a Gigabit switch, and the solution (IIRC) was to
*Configure ECPLink <n> Auto
*Configure ECPAdvertise <n> 1000
on the Titanium so that it only admitted to doing one speed. <n> is the interface number.
Robert Sprowson was very helpful with diagnosing the problem, so if he's reading this and I've mis-remembered what I did, I'm sure he'll provide the correct the advice.
Many thanks for your reply. Unfortunately that didn't work for me.
5MB file took 6 secs. Reverted to advertise 100 and it's back to
under 2secs.
I looked at what speed the i/f was set to and it was 1000 with your
settings as it was with full auto at the beginning of this saga.
(With the old switch it was 100)
Hi,
I recently upgraded my network switch from a 100Mb unit to a Gigabit
device. This had an unfortunate effect in that transfer speeds from my
NAS to the Titanium using Sunfish plummeted. (20secs or more for a 5MB
file.) Eventually I got the latest versions of !Omni, NFS and LanMan
working and things were better but still slower than with the 100Mb
switch. I realise RISC OS is not good on network speed but why lower
with Gigabit set.
I have found a work around by setting the Titanium interface to 100MB
using *configure ECPAdvertise 0 100 full, Speed is now back to normal. (<2secs per 5MB) This using LanMan. What is going on?
Also check your network card's information command *E<something>Info,
for any fields which indicate errors or collisions are occurring.
*inetstat -s will give information from the higher levels of the stack,
look out for errors or retransmission value. Also try the equivalent
command on the machine at the other end of the connection as things may
only show up in each direction.
On 26/06/2020 18:52, druck wrote:
Also check your network card's information command *E<something>Info,
for any fields which indicate errors or collisions are occurring.
*inetstat -s will give information from the higher levels of the stack,
look out for errors or retransmission value. Also try the equivalent
command on the machine at the other end of the connection as things may
only show up in each direction.
*ShowStat will also show you what speed and duplex settings are
currently in use.
---druck
On 26 Jun, Geoffrey Baxendale wrote in message
<6f8cad8658.thebears@thebears.onetel.com>:
I recently upgraded my network switch from a 100Mb unit to a Gigabit device. This had an unfortunate effect in that transfer speeds from my NAS to the Titanium using Sunfish plummeted.
Robert Sprowson was very helpful with diagnosing the problem, so if he's reading this and I've mis-remembered what I did, I'm sure he'll provide the correct the advice.
On Friday, June 26, 2020 at 3:15:02 PM UTC+1, Steve Fryatt wrote:All cables are CAT5e
On 26 Jun, Geoffrey Baxendale wrote in message
<6f8cad8658.thebears@thebears.onetel.com>:
I recently upgraded my network switch from a 100Mb unit to a Gigabit device. This had an unfortunate effect in that transfer speeds from my NAS
to the Titanium using Sunfish plummeted.
Robert Sprowson was very helpful with diagnosing the problem, so if he's reading this and I've mis-remembered what I did, I'm sure he'll provide the correct the advice.
Steve and Druck both speak the truth - there are 2 aspects to consider
* Is the 1000baseT link stable?
There's no designated master or slave in Ethernet, they use small 'blips' on
the line in quiet periods to signal speed and direction (to correct for
cable crossover too if you've wired 2 computers together but not used a
crossover cable "Auto MDI-X"). This relies on good quality cables, which need
all 8 conductors for 1000baseT, unlike 10/100 which only needs 4 of 8.
Some brands of equipment get into an oscillatory pattern as each end decides
to negotiate the link, and neither end agrees. My 3Com router at home does
that which results in the link LED flashing continuously even though I'm
not sending any data.
* Is RISC OS able to handle the packets?
The network stack is 23 years old, but while we're saving up for a new one
https://www.riscosopen.org/bounty/polls/29
there are some buffers which are sized for a much slower time. If those are
overcome the data will try its best to get through using TCP retries, but
if you look on a packet tracer each of those retries has a backoff period
which will hamper the throughput (compare a turnaround time of 2ms with
0.5s). It is possible to increase the buffers, and *ShowStat as already
mentioned elsewhere will show if there are dropped packets or mbuf exhaustion.
Or, in short: need more info to be sure,Here are the stats:
Sprow.
On 26/06/2020 14:20, Geoffrey Baxendale wrote:
Hi,
I recently upgraded my network switch from a 100Mb unit to a Gigabit device. This had an unfortunate effect in that transfer speeds from my
NAS to the Titanium using Sunfish plummeted. (20secs or more for a 5MB file.) Eventually I got the latest versions of !Omni, NFS and LanMan working and things were better but still slower than with the 100Mb
switch. I realise RISC OS is not good on network speed but why lower
with Gigabit set.
I have found a work around by setting the Titanium interface to 100MB
using *configure ECPAdvertise 0 100 full, Speed is now back to normal. (<2secs per 5MB) This using LanMan. What is going on?
The RISC OS network stack is pretty poor, but it is capable of better
than 100MB/s performance on a gigabit connection - just. My ARMx6 Mini.m
on a gigabit switch and Ethernet configured to auto can manage about
14MB/s down and 18MB/s up. When set to 100 Full or half download speed
drops to about 7MB/s.
My guess is that your cabling is sufficient for 100M but inadequate for gigabit. Try different leads on each segment of the network between the machines, and make sure they are marked Cat 5e for gigabit, pain cat 5
is only rates for 100MB/s and will sometimes work and sometimes not.
Check that there aren't any sharp bends in the cable, as this will also
have more effect on gigabit networking.
Also check your network card's information command *E<something>Info,
for any fields which indicate errors or collisions are occurring.
*inetstat -s will give information from the higher levels of the stack,
look out for errors or retransmission value. Also try the equivalent
command on the machine at the other end of the connection as things may
only show up in each direction.
---druck*inetstat -s
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 118:13:40 |
Calls: | 6,732 |
Calls today: | 2 |
Files: | 12,256 |
Messages: | 5,361,482 |
Posted today: | 1 |