Significantly fewer system file descriptors are used.
使用的系统文件描述符明显减少。
Remember that file descriptors include things like sockets.
请记住,文件描述符包括诸如套接字之类的内容。
File descriptors are low-level interfaces to input and output.
文件描述符是低层的输入和输出接口。
Fexecve used to exec file descriptors, is now enabled in Linux.
Fexecve被用来exec文件描述符,现在可以在Linux中启用它。
The pollcache manages a potentially large set of file descriptors.
poll 缓存管理一个可能很大的文件描述符集。
Connectors should not access the filesystem or file descriptors directly.
连接器不应对文件系统或文件描述符进行直接访问。
When a process duplicates itself, the kernel makes a copy of all open file descriptors.
当某个进程复制它自身时,内核生成所有打开的文件描述符的副本。
Values greater than 0 mean that we have data pending on one or more file descriptors.
大于0的值代表我们在一个或多个文件描述符上有待处理的数据。
The state is tracked by polling busy file descriptors at the beginning of each poll operation.
在每个poll操作的开头,通过poll繁忙的文件描述符跟踪状态。
From this, you can see that PID 2452 has the file opened on file descriptors 2 (standard error) and 7.
在这个示例中,您可以看到PID 2452打开文件的文件描述符为2(标准错误)和7。
A select call returns a list of file descriptors for which at least one registered event has occurred.
select调用返回一个文件描述符列表,对于每个文件描述符至少注册了一个事件。
The state of idle file descriptors is known since the pollcache service is notified once when it changes.
空闲文件描述符的状态是已知的,因为在状态改变时会通知 poll缓存服务。
A pipe is composed of a queue and two file descriptors-one to enqueue data and the other to dequeue data.
管道由一个队列和两个文件描述符(一个用于数据入列,另一个用于数据出列)组成。
However, this will slow down searching, and, you will run out of file descriptors if you make it too large.
但是,这样做将降低你的搜索速度。同时,你有可能会用光你的文件句柄如果你把合并因子设置的太大。
An application then registers the file descriptors and interested events directly into the native pollset layer.
应用程序直接向本机pollset层注册文件描述符和感兴趣的事件。
Additionally, the POSIX API USES simple file descriptors for read and write and so should seem much more familiar.
另外,POSIXAPI使用简单的文件描述符执行读写,大家应该更熟悉。
Where you can, avoid the operations that take file names, and use the operations that take file descriptors instead.
只要有可能,应尽量避免使用获取文件名的操作,而是使用获取文件描述符的操作。
All threads within a single process have access to the same process components, such as file descriptors and memory.
在一个单个进程内所有的线程都有权使用这个同一个进程构成,像文件描述符和内存。
After the fork, the parent and child have copies of all open file descriptors and data values, so the pointer works for both.
执行fork之后,父进程和子进程获得打开的所有文件描述符和数据值的拷贝,所以指针对于它们都是有效的。
The traditional polling method, however, has a scalability issue; it does not scale well for a large number of file descriptors.
但是,传统的poll方法有可伸缩性问题;它不太适合处理大量文件描述符。
Facilities include open file handles (file descriptors), Shared memory, process synchronization primitives, and current directory.
这些设施包括打开文件句柄(文件描述符)、共享内存、进程同步原语和当前目录。
File descriptors 0, 1, and 2 are open to /dev/null (Solaris makes heavy use of symlinks, which is why the pseudo device is shown).
文件描述符0、1和2 分配给了 /dev/null(Solaris大量使用符号链接,所以这里显示了相应的伪设备)。
When all file descriptors for an instance are closed, the resources and underlying object are freed so the kernel can reuse them.
当关于某实例的所有文件描述符都关闭时,资源和下层对象都将释放,以供内核再次使用。
Both use two standard file descriptors on each end of the connection-one exclusive to read and another exclusive to write operations.
它们在连接的两端使用两个标准的文件描述符—一个只执行读操作,另一个只执行写操作。
The application then registers channels (file descriptors) and interested operations to the selector with a register call on the channel.
然后,应用程序用register调用向选择器注册通道(文件描述符)和感兴趣的操作。
The fundamental problem is that the amount of work to be done for each poll operation scales linearly with the number of file descriptors.
根本问题是,随着文件描述符数量的增加,每个poll操作所需的工作量会线性增加。
Release is called when there are no more references to an open file — all file descriptors are closed and all memory mappings are unmapped.
release是在对一个打开文件没有其他引用时调用的——此时所有的文件描述符都会被关闭,所有的内存映射都会被取消。
The selector then registers file descriptors and interested events into a native pollset structure when the application registers the channel.
当应用程序注册通道时,选择器在本机pollset结构中注册文件描述符和感兴趣的事件。
Extents An extent is a way to improve the efficiency of on-disk file descriptors, reducing deletion times for large files, among other things.
extent extent是一种提高磁盘文件描述符效率的方法,它能够减少删除大型文件所需的时间等等。
Within a kernel, a considerable amount of memory is allocated for a finite set of objects such as file descriptors and other common structures.
在内核中,会为有限的对象集(例如文件描述符和其他常见结构)分配大量内存。
应用推荐