9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: W B Hacker <wbh@conducive.org>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] myricom 10 gigabit ethernet
Date: Sun,  8 Apr 2007 07:15:34 +0800	[thread overview]
Message-ID: <46182616.1030300@conducive.org> (raw)
In-Reply-To: <fdf683046fa1a9c71171b56c5581cb38@coraid.com>

erik quanstrom wrote:
>> erik quanstrom wrote:
>>> this is not correct.  please read http://en.wikipedia.org/wiki/Peripheral_Component_Interconnect
>>> even at 33 mhz, pci has 133MB/s of bandwidth.  gbe uses about 112MB/s.
>>>
>>> although there are some lower standards defined, pci-x has a practical base
>>> frequency of 133Mhz * 64 bits which is over 1GB/s.
>>>
>>> pcie is (8/10)*2.5gbit bidirectional per lane.  just 1 lane is required for gbe.
>>>
>> Do you suppose there is nothing else wanting to 'do work' on, or use that bus?
>> Or place 'non-bus' demands on the rest of the system?
> 
> pci-[ex] "busses" aren't shared resources.  they are point-to-point links.  there is 
> no contention on a pci-[ex] link.

Right.  And each has its own CPU, RAM, et al to fill and empty it... ??

I think not..

> 
> also, even modestly modern machines have multiple pci busses. my 997Mhz pIII
> hand-me-down has 3 and my 450Mhz 440gx fileserver has 2.
> 

.. of which one or two are commonly used 'internally' in the ~bridge for 
on-board gadgetry...

According to catalog (if memory serves) a fully-equipped RS-6000 could have 
someting on the order of 53 PCI slots.  Seriously doubt that many were so 
optioned, though thye *did* have 256-bit-wide solid-state crossbar switching to 
allow diffeent CPU-RAM-I/O to have simultaneous paths.

>> 4 x Gig-E is about the most you can keep up with and still do 'useful work', 
>> even with twin dual-core AMD.
>>
>> - unless you have the cash for Many-MP IBM Power5 / Power6 ?
>>
>> Everyone wants to add-up the 'best case' burst rates for every component.
> 
> do you have any data to back this up?  

Well - 'wire' speed' was not the object of this particular exercise, but I'll 
cite it for what is 'between the lines':

http://www.usenix.org/events/usenix05/tech/freenix/full_papers/hensbergen/hensbergen_html/index.html

- which used mere Gig-E and rather modest boxen at both ends.

But even with bespoke benchmarks, one might guess that there is more going on 
than bus or NIC speed alone - say file replication, archiving, DB transactions, 
queue'ing and caching methodology (or NOT), even.

*something* has to fill and empty these critters, and that 'something' usually 
involves computations being performed on the data, verification, checksums, 
encryption, reads and writes to memory and storage media.

All that before we do anything like 'work' with that data - such as computing a 
few hundreds of thousands of itemized telephone bills and spooling them to 
high-speed printers. (BT,DT,GTTS)

All activities which contend - if not for space on the same wire, at least for a 
share of CPU, RAM, storage I/O.  Hence all just as important a part of the 
end-to-end equation as raw communications link bandwidth.

> 
>> Reality is to take the worst-case, then focus on fixing those bottlenecks first.
>>
>> As usual. the main one is *money*...
> 
> isn't that too easy?   i think that if i take that attitude as a software engineer,
> i won't look at what my software's doing and work to make it better.
> 

Much of the work of a software engineer DOES have to do with finding clever ways 
around obstacles - time and money constraints just as much as hardware ones.

> i believe the fundamental bottleneck is ideas.  without a good idea, unlimited
> wherewithall buys nothing.
> 
> - erik
> 

Can't disagree w/r the 'wherewithall'. Though even SAGE didn't have 'unlimited'.

But the same pragmatism applies to software engineering as to management in general:

"..accomplishing the task at hand with the resources you have, not those you 
*wish* you had..'

Is Plan9's future limited by lack of affordable Myricom hardware?

I don't think that even Gig-E is today's major bottleneck, let alone 10-Gig-E 
and beyond.

Gig-E is certainly affordable enough *now*, and 10-Gig will soon be also.

Regardless - the 9P toolset has, among other features (see above citation), an 
efficiency edge in certain applications.

And not just a few. Many. And that should scale as the bandwidth becomes 
affordable. As it has done.

But how much of that 'edge' is lost when 9P must be encapsulated in, for example 
TCP/IP because there are few 'highways' that can route raw 9P across town, let 
alone across a continent?

The Plan9 community hasn't much chance of driving the cost of faster link 
hardware down singlehandedly.  That will move with a far larger market, and we 
should be thankful for gamers and 'pulp' entertainment consumers.

But there *might* be room left for improvement elsewhere.

Encryption.  Hashing generation and comparison. Compression. Queueing. 
Protocols. Error handling.

Dare I say 'caching'? Or even fs redesign?  Is there no room left for 
improvement of Fossil and/or Venti?

The Pick Operating System was fit for its purpose.  Very fit.

But where is it now?

...so stone me for a heretic, then...  but a pragmatic heretic, if you please!

;-)

Bill



  reply	other threads:[~2007-04-07 23:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-07 16:03 matt
2007-04-07 16:18 ` Robert Sherwood
2007-04-07 16:58   ` matt
2007-04-07 17:00   ` Paweł Lasek
2007-04-07 17:03   ` W B Hacker
2007-04-07 18:27     ` erik quanstrom
2007-04-07 20:27       ` W B Hacker
2007-04-07 21:13         ` erik quanstrom
2007-04-07 23:15           ` W B Hacker [this message]
2007-04-07 17:52   ` erik quanstrom
2007-04-07 17:58 ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46182616.1030300@conducive.org \
    --to=wbh@conducive.org \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).