9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 10gbe ethernet for plan 9
@ 2007-03-23  2:22 erik quanstrom
  0 siblings, 0 replies; only message in thread
From: erik quanstrom @ 2007-03-23  2:22 UTC (permalink / raw)
  To: 9fans

coraid was given the blessing on monday to give the
the myricom 10 gigabit ethernet driver with firmware
for the cpu and fs kernels to the plan 9 community.

the m10g driver drives a pretty nice piece of hardware,
the lanai z8e.  there are no errata to worry about,  the
phy is invisable to the driver.  all packets are transferred
via dma.

the good folks at myricom provided really great help.

if you use this driver, there are a couple of things to
keep in mind.  the dma stats printed on startup
are very important.  you should see 1200 MB/s
r and w and over 1800MB/s r/w dma performance.  if you
don't, it's likely there is a problem with pcie
configuration.  (motherboard manufacturers are still
learning about pcie.)  at 10gb/s, it's important to enable
jumbo frames like so:

	ip/ipconfig -m 9000 gbe /net/ether$n add $ip $mask
	echo -n mtu 9000 >> /net/ipifc/1/ctl

you may also want to increase the default interrupt coalesing
delay of 25µs to 80µs.  (or decrease it, if you're an sc guy.)
this can be done by

	echo coal 80 > /net/ether$n/0/ctl

if you have any questions about the hardware or the driver,
feel free to email.

- erik


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-23  2:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-23  2:22 [9fans] 10gbe ethernet for plan 9 erik quanstrom

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).