×

Preventing messaging queue deadlocks in a DMA environment

  • US 8,631,086 B2
  • Filed: 09/30/2008
  • Issued: 01/14/2014
  • Est. Priority Date: 09/30/2008
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for managing message queues in a parallel computing system having a plurality of compute nodes, comprising:

  • determining that a first queue, on a first compute node, of the plurality, storing a set of message descriptors has become full, wherein a direct memory access controller (DMA) is configured to inject message descriptors into the first queue, and wherein the message descriptors are received in remote get packets, each sent from a second one of the plurality of compute nodes over a point-to-point communication network connecting the plurality of compute nodes; and

    generating an interrupt delivered to an interrupt handler, wherein the interrupt handler is configured to perform the steps of;

    stopping the DMA controller;

    generating a second queue, wherein the second queue is larger than the first queue;

    swapping the first queue with the second queue such that the DMA controller is configured to inject message descriptors into the second queue;

    copying the set of message descriptors from the first queue to the second queue; and

    restarting the DMA controller.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×