欢迎访问ic37.com |
会员登录 免费注册
发布采购

AM79C978KC/W 参数 Datasheet PDF下载

AM79C978KC/W图片预览
型号: AM79C978KC/W
PDF下载: 下载PDF文件 查看货源
内容描述: 单芯片1/10 Mbps的PCI家庭网络控制器 [Single-Chip 1/10 Mbps PCI Home Networking Controller]
分类和应用: 控制器PC
文件页数/大小: 261 页 / 3499 K
品牌: AMD [ AMD ]
 浏览型号AM79C978KC/W的Datasheet PDF文件第244页浏览型号AM79C978KC/W的Datasheet PDF文件第245页浏览型号AM79C978KC/W的Datasheet PDF文件第246页浏览型号AM79C978KC/W的Datasheet PDF文件第247页浏览型号AM79C978KC/W的Datasheet PDF文件第249页浏览型号AM79C978KC/W的Datasheet PDF文件第250页浏览型号AM79C978KC/W的Datasheet PDF文件第251页浏览型号AM79C978KC/W的Datasheet PDF文件第252页  
mechanism that examines the amount of time spent in  
tasks S5 and S7. As such, while the driver is polling for  
each descriptor, it could count the number of poll oper-  
ations performed and then adjust the number 1 buffer  
size to a larger value, by adding tbytes to the buffer  
count, if the number of poll operations was greater than  
x.If fewer than xpoll operations were needed for  
each of S5 and S7, then software should adjust the  
buffer size to a smaller value by subtracting ybytes  
from the buffer count. Experiments with such a tuning  
mechanism must be performed to determine the best  
values for xand y.”  
The time from the end of frame arrival on the wire to de-  
livery of the frame to the application is labeled as frame  
latency. For the one-interrupt method, frame latency is  
minimized, while CPU utilization increases. For the  
two-interrupt method, frame latency becomes greater,  
while CPU utilization decreases. See Figure B-3.  
Note: Some of the CPU time that can be applied to  
non-Ethernet tasks is used for task switching in the  
CPU. One task switch is required to swap a non-Ether-  
net task into the CPU (after S7A) and a second task  
switch is needed to swap the Ethernet driver back in  
again (at S8A). If the time needed to perform these task  
switches exceeds the time saved by not polling de-  
scriptors, then there is a net loss in performance with  
this method. Therefore, the LAPP method imple-  
mented should be carefully chosen.  
Note: Whenever the size of buffer number 1 is ad-  
justed, buffer sizes for buffer number 2 and buffer num-  
ber 3 should also be adjusted.  
In some systems, the typical mix of receive frames on  
a network for a client application consists mostly of  
large data frames, with very few small frames. In this  
case, for maximum efficiency of buffer sizing, when a  
frame arrives under a certain size limit, the driver  
should not adjust the buffer sizes in response to the  
short frame.  
Figure B-4 shows the buffer sizing for the two-interrupt  
method. Note that the second buffer size will be about  
the same for each method.  
There is another alternative which is a marriage of the  
two previous methods. This third possibility would use  
the buffer sizes set by the two-interrupt method, but  
would use the polling method of determining frame  
end. This will give good frame latency but at the price  
of very high CPU utilization. And still, there are even  
more compromise positions that use various fixed  
buffer sizes and, effectively, the flow of the one-inter-  
rupt method. All of these compromises will reduce the  
complexity of the one-interrupt method by removing the  
heuristic buffer sizing code, but they all become less ef-  
ficient than heuristic code would allow.  
An Alternative LAPP Flow: Two-Interrupt  
Method  
An alternative to the above suggested flow is to use two  
interrupts, one at the start of the receive frame and the  
other at the end of the receive frame, instead of just  
looking for the SRP interrupt as described above. This  
alternative attempts to reduce the amount of time that  
the software wastes while polling for descriptor own  
bits. This time would then be available for other CPU  
tasks. It also minimizes the amount of time the CPU  
needs for data copying. This savings can be applied to  
other CPU tasks.  
B-8  
Am79C978  
 复制成功!