Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: darksun9210 on March 05, 2009, 05:55:46 PM

Title: slow send speeds on network
Post by: darksun9210 on March 05, 2009, 05:55:46 PM
not sure about this, but whenever my machines are sending anything on the network, they are deathly slow.

example.
A1200 #1
(040/25Mhz,128MBram,KS3.1,OS3.9BB2,cnet16.device,netgearFA411 100Mb PCMCIA NIC,6Gb2.5"IDE) 100Mb connection
connected to
A1200 #2
(040/40Mhz,128MBram,KS3.1,OS3.9,cnet.device,greycell10MB PCMCIA NIC,4GB CF card on IDE) 10Mb connection
via a 100Mb netgear fs105 mini switch.

sending a 36MB file via netmount from machine 1 to machine 2 takes about 6+ minutes. thats what, ~100KB/s? is this right? is this what i should expect?

using the onboard genesis stack from the 3.9 CD, and have applied the "sendpacket fragmentation patch".

have also got a PC share mounted on the two machines via SMBFS, and reading stuff off the share feels so much faster (like a local hard disk), than writing back to it.

my third A1200(030/50Mhz,KS3.1,OS3.1,Amigakit's Easynet+wifi card) is doing a backup to the PC share over wifi. don't even get me started how slow that is...

surfing the internet is fine on all machines, download speeds anywhere around 60-80KB/s (from a 3Mb hookup), just uploading... feels like it wouldn't even give parnet a run for its money...

just wondering if anyone has got any suggestions...?  :-?
Title: Re: slow send speeds on network
Post by: pVC on March 05, 2009, 06:11:39 PM
For really slow upload with smbfs it helped here to add stack before running it. You could try it on your systems too. Stack 32768 or 65536 for example.

I don't have any stats now, but I think netmount is pretty slow protocol, but easy and handy sometimes. If you want better transfer speeds you should use ftp for example.
Title: Re: slow send speeds on network
Post by: Zac67 on March 05, 2009, 06:20:36 PM
Sounds like a duplex mismatch; possibly NWay isn't working properly.
I'd try with duplex forced on and off and see which one works better. There's a chance that currently the switch sets duplex to on while the Amigas switch it off. Forcing it on might reverse the problem, so the only solution would then be to force it off.

Obviously with ADSL connections, upload is always slower than download, but 20-25 KB can usually be expected with 3 Mbps (384 or so upstream).

Additionally you might want to try an increased RWIN parameter for internet downloads; that way more data can be on its way before an ACK is required (especially for higher latency connections).
Title: Re: slow send speeds on network
Post by: darksun9210 on March 05, 2009, 07:12:38 PM
ok cool, i'l try boosting the stack for SMBFS i had it at 16777 :-)

can you force the duplex from the amiga side? i think the switch is set to auto detect, but seems to pick up 100Mb full as a preference and work down till it connects ;-)
the PC (winXPpro32bit) that is hooked up to the switch aswell, seems to think it is takling at 100full from an "auto negociate" setting in the drivers

one puzzeling thing. when pushing stuff to the PC share over the lan from the amiga, the PC seems to think there is upto 80percent network utilization on the 100Mb segment. but there is no way the amiga is pushing 8-9MB of data a second. :-D

i have Sky's 16meg max package, but my distance to the exchange means my router can usually connect at 3108 downstream, and 768 upstream at the moment, and my PC's can download at over 300KB/s, but at least its uncapped/unmetered all day. i'm not expected the amiga's to be able to pull down at that rate, just, you know, it'd be nice ;)

glad someones said netmount is a slow protocol. i thought it was too easy :lol: not to have too much overhead.

looks like short of hand configuring the switch links, this is as good as its going to get ;-)
Title: Re: slow send speeds on network
Post by: Zac67 on March 06, 2009, 07:12:37 PM
Quote
can you force the duplex from the amiga side? i think the switch is set to auto detect, but seems to pick up 100Mb full as a preference and work down till it connects ;-)

A true switch always supports FD but requires autonegotiation (NWay) to work - if it fails (due to possible driver issues) it'll drop back to HD.

Quote
One puzzeling thing. when pushing stuff to the PC share over the lan from the amiga, the PC seems to think there is upto 80percent network utilization on the 100Mb segment. but there is no way the amiga is pushing 8-9MB of data a second.

Sounds very much like duplex mismatch (Amiga HD, switch FD) - possibly the jam signals are picked up as network utilization, depending on the switch. A fully switched segment is totally collision free. Check this (http://en.wikipedia.org/wiki/Duplex_mismatch) pretty good Wikipedia article on duplex mismatching.

You might also want to try another (brand) switch and/or a hub if you've got one at hand.