Network performance on mac mini and morphos
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    You can try adding the following lines to envarc:sys/net/Netstack.config:

    TCP_RECVSPACE=60000
    TCP_SENDSPACE=60000

    And reboot (or restart the stack). In case network doesn't work anymore after that, decrease these values a bit.

    As for OWB, if you want to get a bit more speed (>1.5MB/s), typing "setenv save OWB_POLLTIME 1" is needed.

    With these settings, i get about 800kB/s speed on my 8MB/s line with OWB. I even get about 8MB/s from a webserver in my local network, but it's different. Due to the lack of the TCP window scaling feature in MorphOS TCP stack, we can't get much higher as the roundtrip increases. The "fix" would be to update the TCP stack to a more current one, which is obviously lots of work.
  • »30.11.11 - 23:26
    Profile Visit Website
  • Just looking around
    sledge_77
    Posts: 2 from 2011/11/30
    Hey MorphOs Developer!

    Thanks for the response. I immediately implemented your suggestions. However, I'm afraid they don't make any difference to the network speed.
    I get between 300 and 600 Kbyte/s download speed in OWB and other applications (e.g. the TTF font downloading script that comes with OWB). The speed also goes up and down all the time.

    The speed I'm getting is suspiciously close to what you'd expect from a 10 MBit line. Is there a way to easily check the link speed? Maybe the autonegotiation didn't work quite as it should.

    Thanks again, Frank :-D
  • »01.12.11 - 21:30
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    _ThEcRoW
    Posts: 298 from 2008/10/27
    I saw the network system on morphos performing nicely since the first version installed on my mini. Infact, downloads are fast and it feels responsive. Am i the only one who has a fast ethernet on morphos?.
    I have 10mb adsl line and use a wifi router connected via ethernet cable.
    Mac Mini G4 1,4ghz 1gb ram & MorphOS 3.11
  • »01.12.11 - 21:54
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    TheMagicM
    Posts: 1220 from 2003/6/17
    I have a 30mb down/10mb up DOCSIS setup.. just made that change.. was getting 168kb/sec. Rebooting and will retest/reply.
  • »27.12.11 - 16:24
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    TheMagicM
    Posts: 1220 from 2003/6/17
    nope. no difference.
  • »27.12.11 - 16:27
    Profile Visit Website
  • Moderator
    hooligan
    Posts: 1948 from 2003/2/23
    From: Lahti, Finland
    I also have poor network performance with MacMini... OWB gives 810-820kB/s and Wget even less, averaging 630kB/s. On Windows7 with any tools, same file, same server I get the topspeed of 1000+kB/s .. the difference is quite remarkable.

    Especially the Wgets result is disappointing... couldn't find other version for MorphOS than ancient 1.9.1 though.
    www.mikseri.net/hooligan <- Free music
  • »28.12.11 - 04:46
    Profile Visit Website
  • MorphOS Developer
    CISC
    Posts: 619 from 2005/8/27
    From: the land with ...
    Quote:

    You can try adding the following lines to envarc:sys/net/Netstack.config:

    TCP_RECVSPACE=60000
    TCP_SENDSPACE=60000


    FYI, setting these higher than 28k (which is the default anyway) may have unintended effects...

    IIRC, it'll run just fine for a while, and then suddenly the network will stop responding (if you enable logging it will tell you that recv/sendspace is full, or something to that effect).


    - CISC
  • »28.12.11 - 07:29
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    @hooligan

    That's about what you can expect, considering the TCP stack doesn't support TCP window rescaling. So results can vary a bit depending on servers, because of that too.

    Just for the record (not that it helps), in a LAN you would get much higher values. Try downloading from a local FTP/Web server to compare (with OWB i get about 11MB/s when reducing a bit the timer polling time).

    @cisc

    Yes, i know that at some point, a too high value can make it fail. 60000 is the right value for me, though. Never failed me in my machines in about a year.

    [ Edited by Fab 28.12.2011 - 12:27 ]
  • »28.12.11 - 12:25
    Profile Visit Website
  • Moderator
    hooligan
    Posts: 1948 from 2003/2/23
    From: Lahti, Finland
    @Fab

    I was already planning setup up an ftp-server this evening since sadly the Samba is a bit of a bitch to set up with Win7 (even with instructions). Will do some speedtests today.

    How about OWB vs Wget speed difference.. any idea whats causing that? Could a port of more recent release of Wget be of any help?
    www.mikseri.net/hooligan <- Free music
  • »28.12.11 - 12:39
    Profile Visit Website
  • jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Posts: 2096 from 2003/2/24
    From: po-RNO
    I've never had speed issues with my two Mac minis... earlier when Mac mini support was introduced on MorphOS I got these kinds of transfer speed values with my 1.42GHz mini. About the max as it should be in LAN and with 10Mbps internet connection.

    I tried now with the latest MorphOS and 1.5GHz mini couple of quick tests and got similar values... FTP on LAN was still as fast or even bit faster, but on internet access I "only" got about 900-1000kB/s values, but I have different ISP now and it probably affects.

    I have had default Netstack.config values on both tests...
  • »28.12.11 - 15:16
    Profile Visit Website
  • Butterfly
    Butterfly
    Mabo
    Posts: 67 from 2010/5/3
    Hi! Any update ?
  • »03.06.13 - 15:51
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Doffo
    Posts: 508 from 2010/10/14
    From: Nevada
    My mac mini 1.5ghz got 3MB/sec on a local ftp. so netstack is greatly improved on morphos 3.2
    -=-=-=-
    YUUUP!
  • »03.06.13 - 16:09
    Profile Visit Website
  • Butterfly
    Butterfly
    Mabo
    Posts: 67 from 2010/5/3
    mine go to 9,33 MB from 2.6

    problem is wan to all of us
  • »03.06.13 - 16:41
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12163 from 2003/5/22
    From: Germany
    > Any update ?

    https://morph.zone/modules/newbb_plus/viewtopic.php?topic_id=8914&forum=11&start=45
    http://moobunny.dreamhosters.com/cgi/mbmessage.pl/amiga/237433.shtml
  • »03.06.13 - 20:59
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12163 from 2003/5/22
    From: Germany
    > 3MB/sec on a local ftp. so netstack is greatly improved on morphos 3.2

    This doesn't sound too much considering the pre-3.2 Netstack was reported to be way faster.

    https://morph.zone/modules/newbb_plus/viewtopic.php?topic_id=7327&forum=16&start=5
    https://morph.zone/modules/newbb_plus/viewtopic.php?topic_id=8782&forum=3&start=5
    https://morph.zone/modules/newbb_plus/viewtopic.php?topic_id=8914&forum=11&start=9
  • »03.06.13 - 21:10
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Doffo
    Posts: 508 from 2010/10/14
    From: Nevada
    Might of been my lousy NAS drive limiting itself.
    -=-=-=-
    YUUUP!
  • »04.06.13 - 01:15
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1110 from 2013/5/24
    From: Nederland
    Quote:

    Doffo wrote:
    Might of been my lousy NAS drive limiting itself.


    Try using a segmented download accelerator to grab a file as it will saturate your bandwidth and give you a better idea of how fast the network connection is on your MorphOS machine.

    If you have a 10Mb broadband connection for instance try using

    Code:
    axel -n10 http://name_of_file.url

    (Use the URL of a large ISO image or something similar that is on a server in your locale or better still on your ISP's servers)

    http://mos.aminet.net/comm/tcp/axel-2.4-mos.lha



    [ Edited by Intuition 04.06.2013 - 04:17 ]
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9
  • »04.06.13 - 03:14
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    catohagen
    Posts: 297 from 2003/5/20
    Still waiting for people reaching Roadshow's performance of 33-34MB/s on the Powerbook's gigabit port and the new Netstack :)
    https://www.youtube.com/watch?v=Dyrdo5tonTw

    (i know piru got higher MB/s on private netstack beta/devel version, but several morphos developers have also claimed there was nothing wrong with netstack in mos 2.x->3.1)

    [ Edited by catohagen 04.06.2013 - 12:04 ]
  • »04.06.13 - 04:29
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1110 from 2013/5/24
    From: Nederland
    Quote:

    catohagen wrote:
    Still waiting for people reaching Roadshow's performance of 33-34MB/s on the Powerbook's gigabit port
    https://www.youtube.com/watch?v=Dyrdo5tonTw

    (i know piru got higher MB/s on private netstack beta/devel version, but several morphos developers have also claimed there was nothing wrong with netstack in mos 2.x->3.1)


    If I install the 68k Roadshow using your installer from github, will it correctly detect my wifi device and WPA password etc from the currently existing Netstack configuration?
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9
  • »04.06.13 - 06:10
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    catohagen
    Posts: 297 from 2003/5/20
    Quote:

    Intuition wrote:

    If I install the 68k Roadshow using your installer from github, will it correctly detect my wifi device and WPA password etc from the currently existing Netstack configuration?


    No sorry, but you could use the installer for installing Roadshow and disabling netstack, select the Sungem ethernet and just edit devs/NetInterfaces/SunGEM and put your wifi device there, im guessing the wpa password file is picked up/used by the wifi driver itself and requires no configuration from within roadshow

    edit - just checked the installer script, didnt remember if it asks you if you want to edit the Sungem configfile in the installer, but as it does, just press 'y' when it asks about the dhcp stuff and editor pops up....i might find time to update the installer for the wifi stuff but both of my mac minis and powerbook is packed away for the moment...

    [ Edited by catohagen 04.06.2013 - 12:04 ]
  • »04.06.13 - 09:56
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    @catohagen

    So how much do you get on your gigabit network with current stack, btw?
  • »04.06.13 - 10:01
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    catohagen
    Posts: 297 from 2003/5/20
    Quote:

    Fab wrote:
    @catohagen

    So how much do you get on your gigabit network with current stack, btw?


    I havent found time(yet)to drag out powerbook and install the new iso yet, but looking forward to the new netstack update :)
  • »04.06.13 - 10:07
    Profile
  • MorphOS Developer
    Henes
    Posts: 507 from 2003/6/14
    catohagen,
    Quote:

    several morphos developers have also claimed there was nothing wrong with netstack in mos 2.x->3.1

    And you can still claim there was nothing wrong with it... IMHO
    i.e. no obvious bugs

    It was "just" lacking extra features to make it work better with post-90' internet.
    And there are still things to do to improve 3.2's netstack behaviour today.
  • »04.06.13 - 10:27
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    catohagen
    Posts: 297 from 2003/5/20
    Quote:

    Henes wrote:
    catohagen,
    Quote:

    several morphos developers have also claimed there was nothing wrong with netstack in mos 2.x->3.1

    And you can still claim there was nothing wrong with it... IMHO
    i.e. no obvious bugs

    It was "just" lacking extra features to make it work better with post-90' internet.
    And there are still things to do to improve 3.2's netstack behaviour today.



    ok, sorry....i used the wrong words, but several users reported 50k download speed from aminet,etc...and the reply was more or like "works fine here" :)

    Are there any documentation/config stuff we can read about the new extra features, new env-arc files we can create to adjust the stack or anything ?

    in roadshow adjusting tcp.sendspace,tcp_recvspace and tcp.mssdflt do alot of impact and as probably netstack was before, it defaulted to the same post-90's internet.

    Knowing what (mos3.2)Netstack now defaults to would be helpful in maybe comparing the new netstack to 68k roadshow and the possibility to adjust these would be fun too


    [ Edited by catohagen 04.06.2013 - 12:45 ]
  • »04.06.13 - 10:44
    Profile
  • MorphOS Developer
    geit
    Posts: 1049 from 2004/9/23
    Quote:

    catohagen wrote:
    users reported 50k download speed from aminet,etc...and the reply was more or like "works fine here" :)



    Aminet is no static server. You are redirected to other servers on each access, so it is no use as a constant for any speed test, too.

    Geit
  • »04.06.13 - 11:11
    Profile