# US 2025/0337696 A1 · Dynamic resource allocation in network device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0337696 A1
- Document ID: US20250337696A1
- Status: Published application
- Kind: A1
- Application number: 18/651,116
- Filed: 2024-04-30
- Published: 2025-10-30
- Earliest claimed: 2024-04-30
- Assignees: Hewlett Packard Enterprise Development LP
- Applicants: Hewlett Packard Enterprise Development LP
- Inventors: Alonso Jose Carvajal Rojas; Rodolfo Piedra Camacho; Fernando Cortes Campos; Eduardo Badilla Ramirez
- Web page: https://patentgrep.com/patent/US20250337696A1

## CPC

- H04L 47/781: {Centralised allocation of resources}
- H04L 47/745: {Reaction in network}
- H04L 47/822: {Collecting or measuring resource availability data}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method of operating a network device includes: monitoring, by a controller of the network device, utilization of memory resources of the network device; sending, by the controller, information regarding the utilization of the memory resources to a remote server, where the remote server is connected to the network device through a network connection; receiving, by the controller, a first request from the remote server to change memory allocation for a first memory region of the memory resources, where the first memory region is used by a software feature of the network device; and in response to the first request, adjusting, by the controller, a size of the first memory region without restarting the network device.

## Claims

### Claim 1

A method of operating a network device, the method comprising:
monitoring, by a controller of the network device, utilization of memory resources of the network device;
sending, by the controller, information regarding the utilization of the memory resources to a remote server, wherein the remote server is connected to the network device through a network connection;
receiving, by the controller, a first request from the remote server to change memory allocation for a first memory region of the memory resources, wherein the first memory region is used by a software feature of the network device; and
in response to the first request, adjusting, by the controller, a size of the first memory region without restarting the network device.

### Claim 2 (depends on 1)

The method of claim 1, wherein the network device is a router or a switch, wherein the controller comprises a processor.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first memory region is a logic memory region that includes one or more physical memory regions of the memory resources.

### Claim 4 (depends on 3)

The method of claim 3, further comprising storing, by the controller, a hash table in the first memory region, wherein the hash table is used by the controller to perform routing function, wherein entries of the hash table are stored in at least one of the one or more physical memory regions.

### Claim 5 (depends on 4)

The method of claim 4, wherein the first request comprises a request to reduce the size of the first memory region by a first amount, wherein the controller is configured to, in response to the first request, reduce the size of the first memory region by:
determining sizes of the one or more physical memory regions and numbers of the entries of the hash table stored in the one or more physical memory regions; and
in response to determining that a physical memory region of the first memory region has a memory size no less than the first amount and stores no entry of the hash table, releasing the physical memory region from the first memory region.

### Claim 6 (depends on 5)

The method of claim 5, further comprising, after releasing the physical memory region, sending, by the controller, a message to the remote server to update the information regarding the utilization of the memory resources.

### Claim 7 (depends on 5)

The method of claim 5, wherein the controller is further configured to:
in response to determining that the sizes of the one or more physical memory regions are smaller than the first amount, or that the entries of the hash table are stored in all of the one or more physical memory regions, reporting, by the controller, a failure of reducing the size of the first memory region by sending a message to the remote server.

### Claim 8 (depends on 4)

The method of claim 4, wherein the first request comprises a request to reduce the size of the first memory region, wherein the first memory region is a logic memory region that includes a first physical memory region and a second physical memory region, wherein the entries of the hash table include first entries stored in a first portion of the first physical memory region, and includes second entries stored in a second portion of the second physical memory region, wherein the controller is configured to reduce the size of the first memory region by:
moving the second entries of the hash table from the second physical memory region to the first physical memory region; and
after moving the second entries of the hash table, releasing the second physical memory region from the first memory region.

### Claim 9 (depends on 8)

The method of claim 8, further comprising, after releasing the second physical memory region, sending, by the controller, a message to the remote server to update the information regarding the utilization of the memory resources.

### Claim 10 (depends on 8)

The method of claim 8, wherein the method further comprises:
storing an aging table corresponding to the hash table in the first memory region, wherein entries of the aging table include first entries stored in the first portion of the first physical memory region, and includes second entries stored in the second portion of the second physical memory region, wherein the controller is configured to reduce the size of the first memory region by:
moving the second entries of the hash table and corresponding second entries of the aging table from the second physical memory region to the first physical memory region; and
after moving the second entries of the hash table and the corresponding second entries of the aging table, releasing the second physical memory region from the first memory region.

### Claim 11 (depends on 3)

The method of claim 3, wherein the first request comprises a request to increase the size of the first memory region by a first amount, wherein the controller is configured to, in response to the first request, increase the size of the first memory region by:
determining whether one or more unallocated physical memory regions of the memory resources having a total memory size no less than the first amount are available;
in response to determining that the one or more unallocated physical memory regions are available, allocate the one or more unallocated physical memory regions to the first memory region; and
updating the information regarding the utilization of the memory resources by sending a message to the remote server.

### Claim 12 (depends on 11)

The method of claim 11, wherein the controller is further configured to:
in response to determining that the one or more unallocated physical memory regions are not available, reporting a failure of increasing the size of the first memory region by sending another message to the remote server.

### Claim 13

A method of operating a network device, the method comprising:
assigning, by a controller of the network device, a first memory region of memory resources of the network device to a first software feature of the network device;
receiving, by the controller, a first request from a server to modify a size of the first memory region, wherein the server is connected to the network device through a network connection; and
in response to the first request, adjusting, by the controller, the size of the first memory region while the network device stays powered on.

### Claim 14 (depends on 13)

The method of claim 13, wherein the first software feature of the controller uses a hash table for performing functions used for routing data packets, wherein the hash table comprises a plurality of entries that are stored in the first memory region.

### Claim 15 (depends on 14)

The method of claim 14, wherein the first memory region is a logic memory region that includes one or more physical memory regions of the memory resources, wherein the entries of the hash table are stored in various portions of the one or more physical memory regions, wherein the first request comprises a request to reduce the size of the first memory region by a first amount, wherein the controller is configured to, in response to the first request, reduce the size of the first memory region by:
determining sizes of the one or more physical memory regions and determining numbers of the entries of the hash table stored in the one or more physical memory regions; and
in response to determining that a physical memory region of the first memory region has a memory size no less than the first amount and stores no entry of the hash table, releasing the physical memory region from the first memory region for use by other software features.

### Claim 16 (depends on 14)

The method of claim 14, wherein the first memory region is a logic memory region that includes a first physical memory region and a second physical memory region of the memory resources, wherein the entries of the hash table include first entries stored in a first portion of the first physical memory region, and includes second entries stored in a second portion of the second physical memory region, wherein the first request comprises a request to reduce the size of the first memory region, wherein the controller is configured to, in response to the first request, reduce the size of the first memory region by:
moving the second entries of the hash table from the second physical memory region to the first physical memory region; and
after moving the second entries of the hash table, releasing the second physical memory region from the first memory region for use by other software features.

### Claim 17 (depends on 13)

The method of claim 13, wherein the first memory region is a logic memory region comprising at least one physical memory region, wherein the first request comprises a request to increase the size of the first memory region by a first amount, wherein the controller is configured to, in response to the first request, increase the size of the first memory region by:
determining whether one or more unallocated physical memory regions having a total memory size no less than the first amount are available in the memory resources; and
in response to determining that the one or more unallocated physical memory regions are available, allocating the one or more unallocated physical memory regions to the first memory region.

### Claim 18

A network device comprising:
a controller comprising one or more processors;
memory resources comprising a plurality of memory regions; and
a non-transitory computer-readable medium comprising instructions executable by the one or more processors to:
monitor utilization of the memory resources;
send information regarding the utilization of the memory resources to a remote server, wherein the remote server is connected to the network device through a network connection;
receive a first request from the remote server to change memory allocation for a first memory region of the memory resources, wherein the first memory region is used by a software feature of the network device; and
in response to the first request, adjust a size of the first memory region without restarting the network device.

### Claim 19 (depends on 18)

The network device of claim 18, wherein the first memory region is configured to store a hash table used by the controller to perform routing function, wherein the hash table comprises a plurality of entries, wherein the first memory region is a logic memory region that includes a first physical memory region and a second physical memory region of the memory resources, wherein the entries of the hash table include first entries stored in a first portion of the first physical memory region, and includes second entries stored in a second portion of the second physical memory region, wherein adjusting the size of the first memory region comprises:
moving the second entries of the hash table from the second physical memory region to the first physical memory region; and
after moving the second entries of the hash table, releasing the second physical memory region from the first memory region for use by other software features of the network device.

### Claim 20 (depends on 18)

A system comprising:
the network device of claim 18; and
the remote server, wherein the remote server is configured to:
detect an under-utilization condition for the first memory region based on the information regarding the utilization of the memory resources; and
in response to detecting the under-utilization condition, send the first request to the network device to reduce the size of the first memory region.
