Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Apparatus and method for priority queuing with segmented buffers

a buffer and priority technology, applied in electrical equipment, digital transmission, data switching networks, etc., can solve the problems of reducing overall throughput and running the risk of starving some requesters, and achieve the effect of reducing the possibility of starvation

Inactive Publication Date: 2008-12-25
SOFTWARE SITE APPL LIABILITY
View PDF18 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

[0005]The present invention provides apparatus and methods for efficient queuing and dequeuing using segmented output buffers and priority queues. According to the current invention, each output buffer is segmented into a multiplicity of sub-buffers. A set of ranked priority queues are used to hold refill requests for the output buffers. Output buffers are monitored for empty sub-buffers. When a newly empty sub-buffer is discovered, a refill request is enqueued in a priority queue wherein the rank of the destination priority queue is based on the number of empty-sub-buffers in the requesting output buffer. By dequeuing refill requests in an order according to the rank of the priority queues, all high priority refill requests are dequeued before lower priority refill requests. In this way, the possibility of starvation is reduced because an output buffer's refill request will eventually be registered in the highest priority queue as it nears starvation.
[0006]According to an example of the current invention, a first-in first-out (FIFO) queuing discipline may be used to dequeue each priority queue. By using simple dequeuing criteria, such as a FIFO discipline instead of complex algorithms designed to improve fairness, system resources may be conserved thereby improving system throughput.
[0007]According to an example of the current invention, all sub-buffers may be the same size. Adding this constraint may improve the fairness of the current invention. In some cases, the items in the sub-buffers may be pointers or references and the size of the reference or pointer may not be related to the magnitude of the referenced items; in some cases, an additional constraint may be added wherein each referenced item has the same maximum magnitude.

Problems solved by technology

However, many of these techniques run the risk of starving some requesters.
However, when complex algorithms are used to reduce starvation, precious system resources are consumed by the increased calculations and / or delays are introduced, thereby reducing overall throughput.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Apparatus and method for priority queuing with segmented buffers
  • Apparatus and method for priority queuing with segmented buffers
  • Apparatus and method for priority queuing with segmented buffers

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0016]For example, when sub-buffer 3e became empty, segmented output buffer 3 held one empty sub-buffer (3e) and a refill request was enqueued in priority queue 105; slot 105c holds this refill request; if slot 3d were to become empty, leaving two empty sub-buffers (3d and 3e) in segmented output buffer 3, a refill request would then be registered in an empty slot (104d) in priority queue 104.

example 2

[0017]For example, when sub-buffer 4d became empty, segmented output buffer 4 held two empty sub-buffers (4d and 4e) and a refill request was enqueued in priority queue 104; slot 104a holds this refill request.

example 3

[0018]For example, when sub-buffer 2c became empty, segmented output buffer 2 held A empty sub-buffers (2c-e) and refill request was enqueued in priority queue 103; slot 103a holds this request.

[0019]In the example illustrated in FIG. 2, the segmented output buffers (1, 2, 3, and 4) all have the same number of sub-buffers (1a-e, 2a-e, 3a-e or 4a-e) and the total number of priority queues (101, 102, 103, 104 and 105) corresponds to the maximum possible number of empty sub-buffers in a segmented output buffer; in this case, there are five sub-buffers (1a-e, 2a-e, 3a-e or 4a-e) per segmented output buffer (1, 2, 3, and 4) and five corresponding priority queues (101, 102, 103, 104 and 105). However, in other examples, the number of sub-buffers per segmented output buffer may or may not vary and the number of priority queues may or may not match the maximum number of empty sub-buffers per segmented output buffer. For example, in some cases, the number of ranked priority queues may be les...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Apparatus and methods for efficient queuing and dequeuing using segmented output buffers comprising sub-buffers and priority queues. Output buffers are monitored for empty sub-buffers. When a newly empty sub-buffer is discovered, a refill request is enqueued in a ranked priority queue wherein the rank of the destination priority queue is based on the number of empty-sub-buffers in the requesting output buffer. All high priority refill requests are dequeued before lower priority refill requests, thereby reducing the possibility of starvation. Optionally, by using simple dequeuing criteria, such as a FIFO discipline, instead of complex algorithms designed to improve fairness, system resources may be conserved thereby improving system throughput.

Description

RELATED CASES[0001]This application is a continuation of U.S. pending application ser. No. 10 / 927,801 filed Aug. 26, 2004, the entire disclosure of which is incorporated herein by reference.FIELD OF INVENTION [0002]Invention relates to apparatus and methods for reducing the risk of underflow in a multiple queue system.BACKGROUND OF INVENTION [0003]Queues are used in a variety of applications, especially where resources are shared. For example, queues may be used to manage traffic in routers, file and data servers or to schedule processes and / or threads in single and / or multi-processor systems. A variety of techniques may be used to prioritize resource requests in an effort to improve throughput or efficiency or to guarantee a quality of service (QoS). However, many of these techniques run the risk of starving some requesters. In order to address the issue of starvation, complex algorithms may be used to enqueue and / or de-queue resource requests based on a variety of parameters. Howe...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(United States)
IPC IPC(8): H04L12/56
CPCH04L47/6215H04L47/6285H04L49/90H04L49/9052H04L47/50
Inventor SEIGNEURBIEUX, PIERRE
Owner SOFTWARE SITE APPL LIABILITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products