Silly network question -- 100BT -> 1GB

Ask a Question related to Sun Solaris, Design and Development.

  1. #1

    Default Silly network question -- 100BT -> 1GB

    We have some machines that we've plopped a couple of 1GB ethernet cards.

    They're Sun 420s running Solaris 8.

    Two other machines, V100's w/100BT, are able to FTP files at ~8.5MB per
    second.

    Now, while I'd be all giggly if we actually got "10x" performance moving
    from 100BT->1000BT, I was realistic enough to not completely expect it.

    However, running "iperf", and running through a Cisco switch with CAT 6
    wires, we're only clocking ~325Mbps, or ~3 times faster than the V100's.

    Now, I'm a network dunderhead, and this is second hand information, but
    doesn't that seem low? I can see FTP limited by things like drive speed and
    what not. But this "iperf" thing shouldn't be constrained by something like
    that.

    While there are vast array of things that could be tweaked to affect this, I
    was curious if anyone had some things I could look at to maybe speed this up
    a wee bit.

    Thanx!

    Regards,

    Will Hartung
    (willh@msoft.com)



    Will Hartung Guest

  2. Similar Questions and Discussions

    1. Silly question
      Keep cats away from computers, cat's paws are hard on keyboards and cat hair is an excellent heat insulator and will cause over-heating. Ask the...
    2. Perhaps a silly question...
      but nevertheless. It seems to me that is a good practice to use import a Flash MX movie whenever one wants to show some video in a Director movie...
    3. Silly Question of the Day
      Hi All from a FW newbie The answer is probably stareing me right in the face, but I can find it in any of the preference settings. How do I...
    4. Silly question from the UK
      I'm visiting Texas in about a weeks time, what I want to know is the price of 1 a roll of say 400ASA print film, and the price of a roll of 100 asa...
    5. silly question re tables
      Hi I've created a 7 col 55 line table with border and baclground colour. I can copy the information from the old table and paste it in the new...
  3. #2

    Default Re: Silly network question -- 100BT -> 1GB

    Will Hartung wrote:
    > We have some machines that we've plopped a couple of 1GB ethernet cards.
    >
    > They're Sun 420s running Solaris 8.
    >
    > Two other machines, V100's w/100BT, are able to FTP files at ~8.5MB per
    > second.
    That seems a bit low, but perhaps it is being limited by disk, etc.
    If you move disk I/O out of the way and there is nothing much
    going on in the client, say you are using a server faster than
    the client and the server isn't diskbound, and you use something
    like mkfile, you should see closer to 12 Mbytes/second.
    >
    > Now, while I'd be all giggly if we actually got "10x" performance moving
    > from 100BT->1000BT, I was realistic enough to not completely expect it.
    A gig card can saturate a PCI bus if there is nothing else on the
    bus AND the cpu and operating system stuffing data at the NIC are
    fast enough and the source of the data is is either a really fast
    array or not a disk. I've measured near these speeds on a fast
    server running a realtime engine for the protocols... but changing
    the gig NIC from one brand to another dropped this by roughly 40%.

    And to run a gig at anywhere near continuous speed, you need some
    serious CPU power plus an operating system that doesn't annoy it.
    Some systems benefit from bumping the tcp and udp watermarks to
    roughly 64K.

    Have also seen Gig speeds drop by about 10 Mbytes/second simply
    going thru a switch. Some of those switches were bigger than the
    server... the difference being that they can maintain a LOT of
    gig connections.


    Lon Stowell Guest

  4. #3

    Default Re: Silly network question -- 100BT -> 1GB

    On Thu, 24 Jul 2003 21:33:49 +0000, Rick Jones wrote:
    > I could see perhaps unidirectional Gig traffic saturating a PCI-1X bus
    > (33 MHz, 32 bit), but not anything faster. What sort of PCI slots are
    > in a 420R?
    >
    > Didn't Sun at one point have some "1MHz per Mbit" rule of thumb? What
    > frequency of CPUs are in a 420R?
    Sun publishes their specs ;-)

    [url]http://sunsolve.sun.com/handbook_pub/Systems/E420R/spec.html[/url]


    Dave Uhring Guest

  5. #4

    Default Re: Silly network question -- 100BT -> 1GB


    "Will Hartung" <willh@msoft.com> wrote in message
    news:bfp9sc$h6l7d$1@ID-197644.news.uni-berlin.de...
    > We have some machines that we've plopped a couple of 1GB ethernet cards.
    >
    > They're Sun 420s running Solaris 8.
    >
    <snip>

    Hi Will

    Check there's nothing untoward going on. Get hold of:

    [url]http://www.unix.ms/cegrep[/url]
    [url]http://www.unix.ms/netgrep[/url]
    [url]http://www.unix.ms/nddgrep[/url]


    and remember: gbit *must* be autonegged, and don't stick anything in
    /etc/system - instead create a ce/ge.conf file for any edits.

    cheers

    Sam N


    Sam N Guest

  6. #5

    Default Re: Silly network question -- 100BT -> 1GB

    Dave Uhring <daveuhring@yahoo.com> wrote:
    > On Thu, 24 Jul 2003 21:33:49 +0000, Rick Jones wrote:
    >> I could see perhaps unidirectional Gig traffic saturating a PCI-1X bus
    >> (33 MHz, 32 bit), but not anything faster. What sort of PCI slots are
    >> in a 420R?
    >>
    >> Didn't Sun at one point have some "1MHz per Mbit" rule of thumb? What
    >> frequency of CPUs are in a 420R?
    > Sun publishes their specs ;-)
    > [url]http://sunsolve.sun.com/handbook_pub/Systems/E420R/spec.html[/url]
    So, there is one PCI-1X slot, a pair of PCI-2X slots and a PCI-4X
    slot, and 450 MHz of CPU. 300 and change Mbit/s doesn't sound all
    that unreasonable then.

    rick jones
    --
    oxymoron n, Hummer H2 with California Save Our Coasts and Oceans plates
    these opinions are mine, all mine; HP might not want them anyway... :)
    feel free to post, OR email to raj in cup.hp.com but NOT BOTH...
    Rick Jones Guest

  7. #6

    Default Re: Silly network question -- 100BT -> 1GB

    Will, here are the latest tips I got from Sun:

    I've double-checked the link speed/mode parameters, and basically you
    ONLY need to set the
    desired value to 1.

    ie. to Enable auto-negotiation (automatically talk to the link partner
    to establish either a
    1000/100/10 full/half-duplex connection):

    ndd -set /dev/ce adv_autoneg_cap 1
    ndd -set /dev/ce adv_1000fdx_cap 0
    ndd -set /dev/ce adv_1000hdx_cap 0
    ndd -set /dev/ce adv_100fdx_cap 0
    ndd -set /dev/ce adv_100hdx_cap 0
    ndd -set /dev/ce adv_10fdx_cap 0
    ndd -set /dev/ce adv_10hdx_cap 0

    Or, to force 1000Mbps full-duplex:

    ndd -set /dev/ce adv_autoneg_cap 0
    ndd -set /dev/ce adv_1000fdx_cap 1
    ndd -set /dev/ce adv_1000hdx_cap 0
    ndd -set /dev/ce adv_100fdx_cap 0
    ndd -set /dev/ce adv_100hdx_cap 0
    ndd -set /dev/ce adv_10fdx_cap 0
    ndd -set /dev/ce adv_10hdx_cap 0

    Or, to force 100Mbps half-duplex:

    ndd -set /dev/ce adv_autoneg_cap 0
    ndd -set /dev/ce adv_1000fdx_cap 0
    ndd -set /dev/ce adv_1000hdx_cap 0
    ndd -set /dev/ce adv_100fdx_cap 0
    ndd -set /dev/ce adv_100hdx_cap 1
    ndd -set /dev/ce adv_10fdx_cap 0
    ndd -set /dev/ce adv_10hdx_cap 0

    All of the above settings are mutually-exclusive - you should set only
    one of them to 1.


    1. Expected performance of the 'ce' Giga-swift interface?

    Card in a 33MHz pci slot 500-650Mbps
    Card in a 66MHz pci slot 600-800Mbps

    Note that these figures are from my colleague's observation, and not
    from any published
    documentation. It's possible that TCP tuning will also slightly
    improve these figures.

    Note also that as a rule of thumb, to drive a link at its maximum
    speed requires a
    similar amount of CPU MHz, to the Mbps rating of the link. We used
    to say that a
    4x100MHz qfe card needed 1x400MHz USII CPU to keep it busy, for example.


    2. Correct method for enabling/disabling ce interface auto-negotiation?

    There is currently an issue with the ce interface which means that we
    do not recommend
    forcing the link to 1000Mbps Full-Duplex mode - the card may fail to
    correctly establish
    link with a switch. It is best if you keep auto-negotiation switched on.

    Auto-negotiation can be turned on by adding this to
    /platform/sun4u/kernel/drv/ce.conf:

    adv-autoneg-cap=1
    adv-1000fdx-cap=0
    adv-1000hdx-cap=0

    Or, it can be turned on by creating an /etc/rc2.d/S68net-tune script
    to include:

    ndd -set /dev/ce instance 0
    ndd -set /dev/ce adv_autoneg_cap 1

    Both are correct. The support documents I'm reading advise creating
    S68net-tune, but in
    theory ce.conf should be preferable, as the changes take place
    earlier in the boot
    sequence, while the networking hardware is still configuring itself.


    3. Best means for testing throughput of the link?

    Use ttcp, rather than ftp. ttcp can open multiple streams to the
    link, whereas ftp uses
    just one. Hence ttcp is able to drive the link closer to its limit.

    I've attached usage instructions, and the package includes a man page
    and README.


    4. Latest ce driver patch?

    The latest version of the driver patch is currently 111883-17. It
    would be worth making
    initial tests with your current driver revision, then (if applicable)
    upgrading the
    driver patch and repeating the tests.

    Regards

    Duncan Baillie

    Will Hartung wrote:
    >We have some machines that we've plopped a couple of 1GB ethernet cards.
    >
    >They're Sun 420s running Solaris 8.
    >
    >Two other machines, V100's w/100BT, are able to FTP files at ~8.5MB per
    >second.
    >
    >Now, while I'd be all giggly if we actually got "10x" performance moving
    >from 100BT->1000BT, I was realistic enough to not completely expect it.
    >
    >However, running "iperf", and running through a Cisco switch with CAT 6
    >wires, we're only clocking ~325Mbps, or ~3 times faster than the V100's.
    >
    >Now, I'm a network dunderhead, and this is second hand information, but
    >doesn't that seem low? I can see FTP limited by things like drive speed and
    >what not. But this "iperf" thing shouldn't be constrained by something like
    >that.
    >
    >While there are vast array of things that could be tweaked to affect this, I
    >was curious if anyone had some things I could look at to maybe speed this up
    >a wee bit.
    >
    >Thanx!
    >
    >Regards,
    >
    >Will Hartung
    >(willh@msoft.com)
    >
    >
    >
    >
    >

    Duncan Baillie Guest

  8. #7

    Default Re: Silly network question -- 100BT -> 1GB

    Duncan Baillie <duncan@duncanthuy.com> wrote:
    > Will, here are the latest tips I got from Sun:
    > I've double-checked the link speed/mode parameters, and basically you
    > ONLY need to set the
    > desired value to 1.
    > Or, to force 100Mbps half-duplex:
    > ndd -set /dev/ce adv_autoneg_cap 0
    > ndd -set /dev/ce adv_1000fdx_cap 0
    > ndd -set /dev/ce adv_1000hdx_cap 0
    > ndd -set /dev/ce adv_100fdx_cap 0
    > ndd -set /dev/ce adv_100hdx_cap 1
    > ndd -set /dev/ce adv_10fdx_cap 0
    > ndd -set /dev/ce adv_10hdx_cap 0
    If the 'ce' device acts like the 'hme' device, then you should run the
    'adv_autoneg_cap' command last. When it is set, it will reconfigure the
    device. If you run them in your order, then all the later commands are
    ignored until the link is reinitialized.

    --
    Darren Dunham [email]ddunham@taos.com[/email]
    Unix System Administrator Taos - The SysAdmin Company
    Got some Dr Pepper? San Francisco, CA bay area
    < This line left intentionally blank to confuse you. >
    Darren Dunham Guest

  9. #8

    Default Re: Silly network question -- 100BT -> 1GB

    In article <C2cWa.11518$Mg7.11373@newssvr22.news.prodigy.com> ,
    Darren Dunham <ddunham@redwood.taos.com> wrote:
    >Duncan Baillie <duncan@duncanthuy.com> wrote:
    >> Will, here are the latest tips I got from Sun:
    >
    >> I've double-checked the link speed/mode parameters, and basically you
    >> ONLY need to set the
    >> desired value to 1.
    >
    >> Or, to force 100Mbps half-duplex:
    >
    >> ndd -set /dev/ce adv_autoneg_cap 0
    >> ndd -set /dev/ce adv_1000fdx_cap 0
    >> ndd -set /dev/ce adv_1000hdx_cap 0
    >> ndd -set /dev/ce adv_100fdx_cap 0
    >> ndd -set /dev/ce adv_100hdx_cap 1
    >> ndd -set /dev/ce adv_10fdx_cap 0
    >> ndd -set /dev/ce adv_10hdx_cap 0
    >
    >If the 'ce' device acts like the 'hme' device, then you should run the
    >'adv_autoneg_cap' command last. When it is set, it will reconfigure the
    >device. If you run them in your order, then all the later commands are
    >ignored until the link is reinitialized.
    When I spoke to Sun about this, they also recommended the following:

    /usr/sbin/ndd -set /dev/ce link_master 1

    FYI,

    Mark
    Mark Stoltzfus Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139