# US 2025/0156366 A1 · Method and system for optimizing overall throughput of a PCIe/CXL host bridge

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

- Number: US 2025/0156366 A1
- Document ID: US20250156366A1
- Status: Published application
- Kind: A1
- Application number: 18/657,823
- Filed: 2024-05-08
- Published: 2025-05-15
- Earliest claimed: 2024-01-30
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Cong ZHANG; Tao ZHAO; Yi Liu; Jian WANG; Fan WANG; Zhonghua SUN; Xin ZHANG; Di ZHANG
- Web page: https://patentgrep.com/patent/US20250156366A1

## CPC

- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- G06F 13/4022: {using switching circuits, e.g. switching matrix, connection or expansion network (G06F13/4009 takes precedence)}
- G06F 13/4027: {using bus bridges (G06F13/4022 takes precedence)}
- G06F 2213/0026: PCI express
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and system for optimizing overall throughput of a Peripheral Component Interconnect Express (PCIe)/Compute Express Link (CXL) host bridge. The PCIe/CXL host bridge includes a plurality of ports, and one or more devices are connected to the ports. Credits are initially allocated to the ports of the PCIe/CXL host bridge. A link status on the ports of the PCIe/CXL host bridge and/or a status of scheduled workloads on a host are then determined. The credits allocated to the ports of the PCIe/CXL host bridge are adjusted based on the link status and/or the status of scheduled workloads. A PCIe driver may detect the link status of each port of the PCIe/CXL host bridge and request to adjust the credits based on the link status. An orchestration software that is configured to schedule and switch workloads may request to adjust the credits based on the status of scheduled workloads.

## Claims

### Claim 1

A method for optimizing overall throughput of a Peripheral Component Interconnect Express (PCIe)/Compute Express Link (CXL) host bridge, wherein the PCIe/CXL host bridge includes a plurality of ports, and one or more devices are connected to the ports, the method comprising:
allocating credits to the ports of the PCIe/CXL host bridge;
determining a link status on the ports of the PCIe/CXL host bridge and/or a status of scheduled workloads on a host; and
adjusting the credits allocated to the ports of the PCIe/CXL host bridge based on the link status and/or the status of scheduled workloads.

### Claim 2 (depends on 1)

The method of claim 1, wherein basic input/output system (BIOS) initially allocates the credits to the ports of the PCIe/CXL host bridge according to bifurcation setting for the ports of the PCIe/CXL host bridge.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
the BIOS reporting the allocation of the credits to a dynamic credit rebalance (DCR) module; and
the DCR module generating a dynamic credit rebalance-performance profile (DCR-PP) based on the allocation of the credits reported by the BIOS.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
the DCR module receiving a DCR-PP change request;
the DCR module triggering a system management interrupt (SMI) in response to receiving the DCR-PP change request; and
the BIOS adjusting the credits in a system management mode.

### Claim 5 (depends on 4)

The method of claim 4, wherein a PCIe driver detects the link status of each port of the PCIe/CXL host bridge and determines whether to issue the DCR-PP change request to the DCR module based on the link status.

### Claim 6 (depends on 4)

The method of claim 4, wherein an orchestration software that is configured to schedule and switch workloads determines whether to issue the DCR-PP change request to the DCR module based on the status of scheduled workloads.

### Claim 7 (depends on 3)

The method of claim 3, wherein the BIOS reports the allocation of the credits to the DCR module using an ACPI function in _DSM method.

### Claim 8 (depends on 1)

The method of claim 1, wherein the workloads are artificial intelligence (AI) workloads.

### Claim 9 (depends on 8)

The method of claim 8, wherein the credits are allocated differently in a training phase and an inference phase of the AI workloads.

### Claim 10

A system comprising:
a processor; and
a Peripheral Component Interconnect Express (PCIe)/Compute Express Link (CXL) host bridge including a plurality of ports for connecting to one or more devices,
wherein the processor is configured to allocate credits to the ports of the PCIe/CXL host bridge, determine a link status on the ports of the PCIe/CXL host bridge and/or a status of scheduled workloads on a host, and adjust the credits allocated to the ports of the PCIe/CXL host bridge based on the link status and/or the status of scheduled workloads.

### Claim 11 (depends on 10)

The system of claim 10, wherein basic input/output system (BIOS) initially allocates the credits to the ports of the PCIe/CXL host bridge according to bifurcation setting for the ports of the PCIe/CXL host bridge.

### Claim 12 (depends on 11)

The system of claim 11, wherein the BIOS is configured to report the allocation of the credits to a dynamic credit rebalance (DCR) module, and the DCR module is configured to generate a dynamic credit rebalance-performance profile (DCR-PP) based on the allocation of the credits reported by the BIOS.

### Claim 13 (depends on 12)

The system of claim 12, wherein the DCR module is configured to receive a DCR-PP change request and trigger a system management interrupt (SMI) in response to receiving the DCR-PP change request, and the BIOS is configured to adjust the credits in a system management mode.

### Claim 14 (depends on 13)

The system of claim 13, wherein a PCIe driver is configured to detect the link status of each port of the PCIe/CXL host bridge and determine whether to issue the DCR-PP change request to the DCR module based on the link status.

### Claim 15 (depends on 13)

The system of claim 13, wherein an orchestration software that is configured to schedule and switch workloads is configured to determine whether to issue the DCR-PP change request to the DCR module based on the status of scheduled workloads.

### Claim 16 (depends on 12)

The system of claim 12, wherein the BIOS is configured to report the allocation of the credits to the DCR module using an ACPI function in _DSM method.

### Claim 17 (depends on 10)

The system of claim 10, wherein the workloads are artificial intelligence (AI) workloads.

### Claim 18 (depends on 17)

The system of claim 17, wherein the credits are allocated differently in a training phase and an inference phase of the AI workloads.

### Claim 19 (depends on 1)

A machine-readable medium including code, when executed, to cause a machine to perform the method of claim 1.
