×

Resource affinity via dynamic reconfiguration for multi-queue network adapters

  • US 8,589,941 B2
  • Filed: 04/23/2010
  • Issued: 11/19/2013
  • Est. Priority Date: 04/23/2010
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer program product comprising a computer readable storage medium having a computer readable program stored therein, wherein the computer readable program, when executed on a computing device, causes the computing device to:

  • allocate an initial queue pair within a memory, wherein each queue pair is a transmit/receive queue pair;

    determine whether workload of the computing device has risen above a predetermined high threshold;

    responsive to the workload rising above the predetermined high threshold;

    allocate and initialize an additional queue pair in the memory;

    program a receive side scaling (RSS) mechanism in a network adapter to allow for dynamic insertion of an additional processing engine associated with the additional queue pair; and

    enable transmit tuple hashing to the additional queue pair;

    wherein the computer readable program further causes the computing device to;

    determine whether the workload has fallen below a predetermined low threshold;

    responsive to the workload falling below the predetermined low threshold, determine whether there is only one queue pair remaining allocated in the memory; and

    responsive to more than one queue pair remaining allocated in the memory;

    reprogram the RSS mechanism in the network adapter to allow for deletion of an allocated queue pair;

    disable transmit tuple hashing to an identified queue pair;

    determine whether the workload to the identified queue pair has quiesced; and

    responsive to the workload to the identified queue pair quiescing, remove the identified queue pair from memory, thereby freeing up memory used by the identified queue pair.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×