Network performance on mac mini and morphos
  • 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: 12150 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: 12150 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
  • Order of the Butterfly
    Order of the Butterfly
    catohagen
    Posts: 297 from 2003/5/20
    Quote:

    geit wrote:
    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


    yes ofcourse, but also the general 'theme' of complaints on network performance was more like 2 computers on the same 20mbit line, pc gets 2MB/s and Morphos gets 50k/s on the same url.

    also testing here at work, the file vd-amiga2001.mpg (135mb) redownloading and redownloading and getting different redirected to different servers(on win7&chrome browser) :
    http://uk.aminet.net/pix/mpg/vd-amiga2001.mpg
    http://us4.aminet.net/aminet/pix/mpg/vd-amiga2001.mpg
    http://aminet.net/pix/mpg/vd-amiga2001.mpg
    http://de3.aminet.net/pix/mpg/vd-amiga2001.mpg

    every single download went at a stable 1000 kB/s and not at the 50kB some users always got.
    Most times it was faster to reboot into macos and download the file there, then reboot into morphos, done it myself(ubuntu iso) :)

    [ Edited by catohagen 04.06.2013 - 13:44 ]
  • »04.06.13 - 11:42
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1110 from 2013/5/24
    From: Nederland
    Quote:

    catohagen wrote:
    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...


    OK, thanks. Will backup sys: and give it a try later tonight.

    My download speeds under MOS 3.2 are usually around 2MB/s on a 40Mb/s fibre connection so whilst not bad it could be better.
    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 - 13:31
    Profile