TCP/IP support for Intel I/OAT hardware

本文介绍Solaris如何通过一系列RFEs利用Intel I/OAT硬件实现TCP接收侧零CPU复制,此过程对应用程序透明,无需修改现有API。新特性作为补丁发布,包含ioat设备驱动及dcopy伪驱动等组件。
1.  Introduction - TCP/IP support for Intel I/OAT hardware

Author: Bruce.Curtis at Sun.COM

Date: 04/11/2008

All new Sun Intel based platforms have Intel I/OAT (I/O Acceleration
Technology) hardware.

The first such hardware is an on-systemboard asynchronous DMA engine
code named Crystal Beach.

Through a set of RFEs Solaris will use this hardware to implement
TCP receive side zero CPU copy via a socket.

This is a transparent implementation, i.e. no user-land application
changes are required. No new APIs are introduced nor any changes to
existing APIs.

2. Type of Release - Patch

This is a patch as this new feature is targeting an S10 update.

3. Project Dependencies - None

This new feature doesn't depend on any other project nor does
any other project depend on it.

4. Project Architecture

The new feature is implemented as specified in 4 RFEs:

6582335 TCP/IP receive-side zero CPU copy for support
of Intel I/OAT hardware

6582330 sodirect - socket direct, for support of Intel
I/OAT hardware

6582323 uioa - uio asynchronous, for support of Intel
I/OAT hardware

6567008 driver for intel ioat v1 & v2 DMA engine needed

Such that a new device driver "ioat" interfaces to the on-board
I/OAT asynchronous DMA chip, the pseudo driver "dcopy" interfaces
to the "ioat" driver, the uioa (uioa asynchronous) extensions to
uio (user i/o) interfaces to dcopy, and lastly sockfs and tcp are
modified to setup and use sodirect (socket direct) and uioa when
a socket read()/recv() system call is made and I/OAT hardware is
present and the user buffer is of sufficent size.

Then, TCP payload data copy is accomplished via a DMA by the
NIC (as it is for non I/OAT) into a kernel mblk_t's dblk_t data
buffer then early in TCP payload processing a 2nd DMA is
started from the dblk_t data buffer to the user-land buffer
specified and the dblk_t is marked as such.

The mblk_t is processed by the network stack framework as
usual but before the read()/recv() returns sockfs checks for
the I/OAT DMA completion.

5. Public Interfaces - SUNWdcopy, sys/sodirect.h

Package contains the "ioat" device driver and "dcopy" pseudo
driver.

A new include file "sys/sodirect.h" is added to the SUNWhea
package as it is included by "sys/sonode.h" and "sys/uio.h".

6. Interface Specification

The commitment level for "SUNWdcopy" and the driver names
"ioat" and "dcopy" are: stable

The include file "sys/sodirect.h", and any interfaces contained
there in, are: project private


7. Resources and Schedule
7.4. Steering Committee requested information
7.4.1. Consolidation C-team Name:
ON
7.5. ARC review type: Automatic
7.6. ARC Exposure: open
于2024年4月-2025年9月期间,研究团队在贵州习水国家级自然保护区制定39条样线,涵盖灌木林、常绿阔叶林、针叶林、常绿落叶阔叶混交林、针阔混交林等不同植被类型,每条样线分春夏秋冬4个季节采集样品,用真菌采集软件记录经纬度、海拔、采集地点、时间、生境等信息,使用佳能相机(R6 mark Ⅱ)对大型真菌进行拍照,并采集标本,标本存放于贵州省生物研究所大型真菌标本馆(HGAMF)。 通过形态学初步鉴定,结合分子生物学最终鉴定,参考已]报道的中国毒蘑菇名录开展毒蘑菇的认定。 调查到保护区内有毒真菌7目25科64种,导致中毒的主要类型有急性肾衰竭型、神经精神型和胃肠炎型。最终形成贵州习水国家级自然保护区大型有毒真菌图片数据集,它由以下2个部分组成。 (1)附件1包含78张原始照片(.JPG),照片名字包括了大型有毒真菌的拉丁名和中文名,若无中文名的直接用拉丁名。 (2)附件2是一个压缩文件,包含了2张工作表,其中一张表是大型有毒真菌39条样线的信息,另一张表是大型有毒真菌的中毒类型。 照片采用佳能相机R6 mark Ⅱ拍摄,物种鉴定通过多种文献核实,并经两位以上专家鉴定确认。该数据集可为研究地及周边的普通人识别有毒大型真菌提供参考,通过及时的图片对比,能有效避免误采误食大型有毒真菌,同时为因误食大型真菌可能引发的身体损伤进行了总结,能为患者及时治疗提供参考。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值