Thursday, August 23, 2007

From Hot Interconnects

I could find some time to attend the second day today at Hot Interconnects at Stanford. Here are some notes. Although some papers may not be directly relate dto the discussions in this blog, I decided to include them anyways.

Paper 1:

A Memory-Balanced Linear Pipeline Architecture for Trie-based IP Lookup on FPGA, USC

The trie data structure is used for IP lookup. Efficient pipelining is possible for IP lookup. In current approaches there exists unbalanced memory distribution across stages. Their solution is to improve pipelining in trie lookups.

Paper 2:
Building a RCP (Rate Control Protocol) Test Network, Stanford
They build an experimental network to support RCP using NetFPGA implementation and modifying Linux by adding a shim layer inbetween to support RCP.

Paper 3:
ElephantTrap: A low cost device for identifying large flows, Stanford
ElephantTrap identifies and measures big flows in a network using random sampling of packets and algorithms to have select the large flows in the network.

Intel invited talk titled On-Die Interconnect and Other Challenges for Chip-Level Multi-Processing

Chips will become increasingly multicore because performance tapes of with increase in transistors in a single core. However, gain from parallelism is lost in communication overhead. Speaker advocated on-chip high speed interconnect which ties cache, memory, network I/O etc to processors. Also advocated ring based topology for interconnect. He talked briefly about Intel terascale processor with 80 cores.

Paper 4:
An Analysis of 10-Gigabit Ethernet Protocol Stacks in Multicore
Environments, Virginia Tech

They consider the interaction of protocols with multicore architectures. They consider TCP/IP and iWarp protocols and the interaction between application, TCP/IP stack and network I/O. They show that if application is scheduled on different core than where interrupt processing is (but in same socket), it leads to best performance as CPU load is distributed across cores and it leads to lesser cache misses too. Did not consider MSI/MSI-X or multithreaded applications.

Paper 5:
Assessing the Ability of Computation/Communication Overlap and Communication Progress in Modern Interconnects, Queen's University

They consider interplay between processing and I/O so as to have minimum stalling cycles. They consider various MPI based applications over different interconnects: Infiniband, Myricom and 10 Gig Ethernet

Paper 6:
Performance Analysis and Evaluation of Mellanox ConnectX InfiniBand
Architecture with Multi-Core Platforms, Ohio State Univ

They demonstrate how ConnectX (the latest generation of Infiniband technology) performs on multicore architectures.

Paper 7:
Memory Management Strategies for Data Serving with RDMA, Ohio Supercomputer Center

They demonstrate that virtual to physical memory translation is a considerable overhead in high-speed networks. They demonstrate how to optimize memory registeration to achieve better performance in RDMA

Paper 8:
Reducing the Impact of the Memory Wall for I/O Using Cache Injection, Universiy of New Mexico

Cache Injection is a technique by which data is transferred directly fron device to L2/L3 cache. They show the tradeoff between cache injection and prefetching and propose an algorithm to perform efficient cache injection for network I/O,

Thursday, August 16, 2007

UltraSparc T2 with integrated Network I/O

Although I do not follow hot chips, and have never blogged about microprocessors, I would love to talk about Sun's UltraSparc T2 launched last week, the first microprocessor ever to support an integrated network I/O support. Yes, UltraSparc T2 which I would prefer to call by its moniker Niagara 2, supports multithreaded dual 10 Gig Ethernet. From product brochures, this chip seems to be a true microsystem, just connect this to RAM and you get it running.

Although Sun has only mentioned some CPU intensive benchmarks such as SPEC int and SPEC float, may be they come up with some network I/O oriented benchmark numbers as well.

Also Sun is releasing all design documents under the GPL license. Wonder what that means? Can someone take up all the technical documentation and fab a chip independently? How does open sourcing work in the hardware market, does it help in added growth, or is this simply a propganda by Sun to get more interest in this chip, and new buyers thereby.

Sun's CEO Jonathan Schwatrz writes a very interesting blog, one of the best by public company CEO. JOnathan stresses that he thinks about Niagara 2 as a commodity, and Sun MicroElectronics division is encouraged to see the chip independent of Sun systems, and to even competitors of Sun. Interesting and encouraging indeed :)

Saturday, August 04, 2007

About Network I/O, CPU cycles, and Multicore architectures

With the advent of 10 Gig Ethernet, network I/O has become unbelievably fast. This poses substantial challenges for kernel designers, because the erstwhile thinking that I/O is not CPU intensive does not apply any more. With 10 GigE, you can easily exhaust all the CPU in your box just transmitting or receiving raw packets without doing anything substantial.

This poses an interesting dillema, (i) What is the best network I/O you can perform with your box having 10 GigE, and (ii) Given that an application is running in the background and is the producer/ consumer of network I/O, how do you allocate your limited CPU cycles between network I/O and your application. In my PhD dissertation, we tried to solve the above on a macro scale. We developed a stochastic model to predict the best rate at which network I/O may be performed given the application workload on our system. Our work presented at PfldNet 2007 is availeble here.

With the advent of multicore chipsets such as the Intel quad-core Xeon and AMD quad-core Barcelona besides the Sun Microsystems Niagara chip which has existed for almost two years, there is an added dimension to this problem, how to cooperate the application and network I/O across cores. And with applications becoming increasingly multithreaded, this problem is definitely trickier. Since the interplay between CPU cycles, cache misses, memory latencies etc. becomes even more interesting.

I read a recent paper by authors from Virginia Tech and Argonne National Lab illustrating how a single threaded application can be bound to a core to get higher network I/O throughput. It is a very interesting read, would strongly recommend it.

Slides on evolution of 1 Gig to 10 Gig EPON

An excellent presentation made by Dr. Glen Kramer, Chief Scientist at Teknovus at the ITU-T/IEEE Workshop on Carrier-Class Ethernet in Geneva Switzerland is available here.

The presentation motivates the need to upgrade to a 10 Gig EPON standard showing the high bandwidth requirement from a Multiple Dwelling Unit (MDU) with large number of EPON subscribers. Challenges in the standardization activity, particularly meeting the power budget are documented.

Although Dr. Kramer puts some emphasis on the bandwidth requirements of HDTV broadcast TV and 4th generation mobile, I believe that the greatest demand is going to depend on the success of Video on Demand (VoD). I believer that I have aired my views on the potential of VoD before, please read my thoughts here.

Wednesday, July 25, 2007

Intel introduces 10Gig cards with I/O acceralaration technology

Quick update, two days ago Intel announced its 10 Gig Ethernet card based on its I/O accelaration technology. Intel is promoting an alternative to TCP and RDMA offload wuth a card that can work better with the processor's I/O capabilities. Basically Intel's strategy is to promote its processors while discounting ethernet cards. This product will a[pparently be launched in September with Inte's Caneland platform serving 4-socket 4-core Xeon processors. I will dig up some more research literature about this product in the coming days.

Friday, July 20, 2007

IEEE HSSG approves PAR and 5 criteria

Quick update, from the archives of the IEEE HSSG public reflector, the PAR and 5 Criteria has been approved by the HSSG. The objectives now include supporting 40 Gig Ethernet over a distance of of 100m, and support 100 Gig Ethernet over a distance of 40km on single-mode fiber. Support will also be provided for OTN.

This is a big win for 40 Gig E proponents, whose support was considerably weak until January this year. It will be interesting to see how the working group handles the tricky issue of dealing with 40 Gig and 100 Gig physical layer challenges simultaneously.

Saturday, July 14, 2007

Presentation for IEEE HSSG meet

Presentations for the IEEE HSSG meet next week have been uploaded at the IEEE HSSG website. Some of the presentations I found interesting are from Dell and Deutsche Telekom about the use of 40/100 Gig Ethernet from their points of view.

Thursday, July 12, 2007

Standardization of 40 Gig vs 100 Gig Ethernet

Next week at the IEEE 802.3 plenary in SanFrancisco, the High Speed Study Group (HSSG) will meet to gather consensus on a 100 Gbps Ethernet standardization activity. There has been considerable support within the HSSG committee for an interim 40 Gig Ethernet standard, or a standard which is interoperable between 40 Gig and 100 Gig. There have been several news reports covering this battle since the last plenary meet in Geneva in May 2007, unfortinately I have not found time to research this and write about it in the past month in this blog. Here are some interesting articles that I found on a Google search:

Controversy threatens 100G standards work

Group pushes 100 Gigabit Ethernet

To those unfamiliar with the process of standardization, the Study Group has to develop sufficient consensus to have a Project Authorization Request (PAR) and resposes to 5 Criteria which cover (i) Broad Market Potential (ii) Compatibility with existing standards (iii) Distinct Identity (iv) Technical Feasibility and (v) Economic Feasibility. I believe the 5 Criteria of the HSSG has already been decided. Once the Study Group develops consensus, the IEEE forms a standardization committee which develops the standard (also known as the task force). If the HSSG is unable to gather a consensus, then the IEEE may scrap the creation of the standard or create a new Study group with new deadlines. The HSSG has already taken 2 extensions to submitting the PAR.

While I will keep you posted about developments in next week's plenary, please do post your comments on this issue. I am of the opinion that wif a technology is sufficiently mature, it ought to be standardized irrespective of what volumes and market it may drive. Also the standard must taken into account driving a low price point for the technology so that volumes grow up. As an example, although the 10 Gig Ethernet standard is about a couple of years old, 10 Gig NIC volumes are still verry low. One of the reasons I see here is that the standard mandates support for a distance over 300 mts which drives the cost of the PHY devices very high, and thus prevents lowering the entry price point of this technology. Hope the same doesn't happen to the HSSG standard.

Thursday, July 05, 2007

Infonetics Research Group PON and FTTH report

Apologies for not having any blog updates for about a month, it has been a pretty dry June, and I was vacationing for a bit. Am now recharged :), ready to blog for another year. By the way, this September will mark the two year anniversary of this blog.

The Infonetics Research PON and FTTH Equipment and Subscribers" report released last week was very encouraging. Worldwide PON sales are up to $336 million in the first quarter of 2007, while Ethernet FTTH (including EPON) sales are up to $81 million.

Some other good news are:
- Korea is on track to add 700,000 to 800,000 EPON subscribers by the end of 2007.
- EPON subscribers make up 64% of worldwide subscribers, BPON 33%, GPON 3% in 2006. However, this market share will change very soon as Verizon deploys GPON in 2007. The report also quotes Verizon already having 500,000 FiOS customers.

TThe report also predicts high growth for FTTH technologies as service providers aim to deliver more and more bandwidth to the end-user to provide enhanced quality video-on-demand, peer-to-peer networking, online gaming and other high bandiwdth services.

Thursday, May 31, 2007

Multiport Gigabit Ethernet adapters from Chelsio

A product release that escaped my notice: Chelsio released it multi port Gigabit Ethernet adapters last week, its first venture into the lucrative gigabit ethernet market. Chelsio now has the two-port S302E and S302X adapaters and the Quad port S304E adapters. Chelsio mentions in its press release that it will target the storage network and the servers market and will target the replacement of infiniband and fiber-channel technologies with Ethernet.

This is an interesting and ambitious ploy, given the dominance of fiber channel in storage networks. I am not convinced that Gigabit Ethernet is a good technology for these markets in the long run, Chelsio's venture seems to be more to have some product base in this market. Moreover the cards are priced high at $795 and $1495 for the two-port and quad ports respectively. They come with Chelsio's standard TCP/IP offload and RDMA offload technologies, which again I am not convinced is required for Gigabit Ethernet.

I am also quite dissapointed at the lack of ingenuity by Chelsio, two-port and quad-port Ethernet adapters are already available from Sun Microsystems (Sun's product line in this area is available here). Using the same chipset technology but replacing a 10 Gig port by a few 1 Gigs certainly doesn't seem novel enough. Market timing seems to be poor since competitors like Sun already have a much cheaper version of these cards.

Tuesday, May 22, 2007

Hitron-Sumitomo team to provide EPON products to Chunghwa Telecom

Taiwan based Hitron and Japan based Sumitomo electric will jointly supply Chungwa Telecom of Taiwan with EPON OLT and ONU products. The deal is expected to total NT$130 million (US$3.9 million). Impressive budget for EPON deployment in Taiwan.

Monday, May 21, 2007

Broadband releases technology to increase range of ethernet

Lightreading reported that Broadcom today announced its eight-port octal physical layer (PHY) device that extends the reach of Ethernet over twisted pair cables. The new 65 nanometer CMOS octal PHY, featuring Broadcom BroadR-Reach will provide added flexibility to standard Ethernet cables by enabling 10/100 Ethernet to operate up to 500 meters on one, two or four wire pairs of Category 5 (CAT 5) or telephony grade cabling, and 1 Gig Ethernet to a distance of 100 metres. This technology will be demonstrated at Interop 2007 in Las Vegas, Nevada.