Welcome![Sign In][Sign Up]
Location:
Search - Linux-kernel-file-IO

Search list

[OtherLinux-kernel-file-IO

Description: Linux-kernel-file-IO
Platform: | Size: 24064 | Author: keliwyx | Hits:

[Linux-UnixLinux-kernel-file-IO

Description: linux 2.6内核下读写文件的简单实例。-linux 2.6 kernel file read and write simple example.
Platform: | Size: 3072 | Author: yg | Hits:

[Linux-UnixLinux-Network-Programming

Description: 《Linux网络编程》内容简介:Linux是目前最流行的开源操作系统,网络功能在Linux下占有核心的地位。《Linux网络编程》循序渐进地从应用层到Linux内核、从基本知识点到综合案例,向读者介绍如何在Linux下进行网络程序设计。《Linux网络编程》内容分为4个部分:Linux程序设计基础部分、Linux用户空间网络编程部分、Linux内核网络编程部分以及综合案例部分。内容包含Linux系统概述、Linux编程环境、Linux文件系统简介、Linux下的进程和线程、TCP/IP协议族、应用层网络服务程序、TCP编程、主机信息获取、数据IO复用、UDP编程、高级套接字、套接字选项、原始套接字、服务器模型、IPv6、Linux内核网络部分结构及分布、netfilter框架内报文处理。为了方便读者学习,《Linux网络编程》最后一个部分介绍了3个综合案例,包括应用层的Web服务器例子、简单的应用层网络协议站例子和内核层网防火墙的例子。 -"Linux Network Programming" Introduction: Linux is the most popular open source operating systems, network functionality in Linux, occupies the core position. "Linux Network Programming" step by step from the application layer to the Linux kernel, the basic knowledge from the point to the integrated case, the readers how to network programming under Linux. "Linux Network Programming" is divided into four parts: Linux part of program design, Linux user space part of network programming, Linux kernel network programming and integrated case some part. Includes an overview of Linux system, Linux programming environment, Linux File System Introduction, Linux processes and threads under, TCP/IP protocol suite, application layer network services program, TCP programming, host information access, data IO Multiplexing, UDP programming, advanced socket, socket option, the original socket, server model, IPv6, Linux kernel network part of the structure and distribution, netfilter framework of mess
Platform: | Size: 1734656 | Author: chinq | Hits:

[Internet-Networklinux_epoll模型

Description: epoll是Linux内核为处理大批量文件描述符而作了改进的poll,是Linux下多路复用IO接口select/poll的增强版本,它能显著提高程序在大量并发连接中只有少量活跃的情况下的系统CPU利用率。另一点原因就是获取事件的时候,它无须遍历整个被侦听的描述符集,只要遍历那些被内核IO事件异步唤醒而加入Ready队列的描述符集合就行了。epoll除了提供select/poll那种IO事件的水平触发(Level Triggered)外,还提供了边缘触发(Edge Triggered),这就使得用户空间程序有可能缓存IO状态,减少epoll_wait/epoll_pwait的调用,提高应用程序效率(Epoll is an improved poll for the Linux kernel to handle large batch file descriptors, an enhanced version of the multiplexed IO interface select/poll under Linux, which can significantly improve the application rate of the system CPU in a large number of concurrent connections in a large number of concurrent connections. Another reason is that when an event is obtained, it does not need to traverse the entire set of listener descriptors, just traversing the descriptor sets that are added to the Ready queue asynchronously by the kernel IO event. In addition to providing the level trigger (Level Triggered) of the select/poll IO event (Level Triggered), epoll provides the edge trigger (Edge Triggered), which makes the user space program likely to cache the IO state, reduce the call of the epoll_wait/epoll_pwait, and improve the efficiency of the application)
Platform: | Size: 299008 | Author: Q-Q | Hits:

CodeBus www.codebus.net