会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 4. 发明授权
    • Method and apparatus for an improved bulk read socket call
    • 用于改进大容量读取套接字呼叫的方法和装置
    • US07970925B2
    • 2011-06-28
    • US12274031
    • 2008-11-19
    • Herman Dietrich Dierks, Jr.Vinit JainAgustin Mena, IIIVenkat Venkatsubra
    • Herman Dietrich Dierks, Jr.Vinit JainAgustin Mena, IIIVenkat Venkatsubra
    • G06F15/16G06F3/06H04L12/28H04L12/56
    • H04L49/90
    • An apparatus and method for an improved bulk read socket call are provided. With the apparatus and method, a new field, so_rcvlen, is added to the socket structure that identifies the bulk read size requested by the user. The kernel of the prior art recv( ) function is also modified so that it sets the so_rcvlen to the size requested by the user prior to the recv( ) function going to sleep and waiting for the full data size requested by the user. A new flag, SP_MSGWAITALL, is also provided in the socket structure. In the TCP input processing, when data is received for a particular socket, the current setting of the SP_MSGWAITALL is checked. If the SP_MSGWAITALL flag is set, it is determined whether the amount of data stored in the socket receive buffer is less than the value of so_rcvlen. If not, the TCP input processing does not wake up the recv( ) thread. However, for every alternate segment, the TCP input processing sends back an acknowledgment (ACK). In the TCP output processing, when the SP_MSGWAITALL flag is set and the amount of data in the socket receive buffer is less than so_rcvlen, the full window is advertised. Once the TCP input processing determines that there is at least an amount of data in the socket receive buffer equal to the value of so_rcvlen, the TCP input processing will wake up the recv( ) thread and the SP_MSGWAITALL flag is reset.
    • 提供了一种改进的大容量读取插座呼叫的装置和方法。 使用设备和方法,将新字段so_rcvlen添加到标识用户请求的批量读取大小的套接字结构中。 现有技术recv()函数的内核也被修改,以便在recv()函数进入休眠状态并等待用户请求的完整数据大小之前,将so_rcvlen设置为用户请求的大小。 插座结构中还提供了一个新标志SP_MSGWAITALL。 在TCP输入处理中,当为特定套接字收到数据时,将检查SP_MSGWAITALL的当前设置。 如果设置了SP_MSGWAITALL标志,则确定存储在套接字接收缓冲区中的数据量是否小于so_rcvlen的值。 如果没有,TCP输入处理不会唤醒recv()线程。 然而,对于每个备用段,TCP输入处理发回确认(ACK)。 在TCP输出处理中,当设置了SP_MSGWAITALL标志并且套接字接收缓冲区中的数据量小于so_rcvlen时,将通告完整窗口。 一旦TCP输入处理确定套接字接收缓冲区中至少有一定数量的数据等于so_rcvlen的值,则TCP输入处理将唤醒recv()线程,并重置SP_MSGWAITALL标志。
    • 8. 发明授权
    • Associating process priority with I/O queuing
    • 将流程优先级与I / O排队关联
    • US09262357B2
    • 2016-02-16
    • US12240190
    • 2008-09-29
    • Jos M. AccapadiAndrew DunsheaVandana MallempatiAgustin Mena, III
    • Jos M. AccapadiAndrew DunsheaVandana MallempatiAgustin Mena, III
    • G06F3/00G06F13/364
    • G06F13/362G06F13/364
    • Input/output (I/O) requests generated by processes are typically stored in I/O queues. Because the queued I/O requests may not be associated with the processes that generated them, changing a process' priority may not affect the priority of the I/O requests generated by the process. Therefore, after the process' priority has been increased, it may be forced to wait for an I/O handler to service its I/O request, which may be stuck behind an I/O request generated by a lower priority process. Functionality can be implemented to associate the processes' priorities with the I/O requests generated by the processes. Also, reordering the queued I/O requests to reflect changes in the processes' priorities can ensure that the I/O requests from high priority processes are serviced before the I/O requests from low priority processes. This can ensure efficient processing and lower wait times for high priority processes.
    • 由进程生成的输入/输出(I / O)请求通常存储在I / O队列中。 因为排队的I / O请求可能不与生成它们的进程相关联,所以更改进程的优先级可能不会影响进程生成的I / O请求的优先级。 因此,在进程优先级增加之后,可能迫使其等待I / O处理程序来服务其I / O请求,这可能会被较低优先级进程生成的I / O请求所困扰。 可以实现功能,将进程的优先级与进程生成的I / O请求相关联。 此外,重新排序排队的I / O请求以反映进程优先级的更改可以确保在优先级较低的进程的I / O请求之前对来自高优先级进程的I / O请求进行服务。 这可以确保高优先级进程的有效处理和较短的等待时间。