This relates to computer testing devices, and more specifically to monitoring power load of PCIe devices under test.
SANBlaze produces SSD drive validation test systems, capable of simultaneously testing 16 NVMe drives. Current SANBlaze test systems measure power drawn by each device under test once per second. A higher granularity measurement is needed for precise monitoring during specific test conditions.
Existing solutions use FPGA boards to test SSD drives. They simultaneously test many drives, and push host processor performance to maximize testing capabilities. The existing solutions are capable of controlling power and reset testing, but are currently limited on the granularity of such testing due to processing limitations.
The existing solutions are also dedicated to testing SSD drives, and not directly expandable to test other similarly connectable devices.
What is needed, therefore, is a system and method that can simultaneously test multiple connected PCIe devices, precisely control signals including power and reset to those devices, and monitor power to each device under test in a way that is precisely synchronized with the test without adding overhead on a host processor of the testing device.
A solution is the iRiser. The iRiser is a PCIe riser, designed to work with SANBlaze test systems but capable of operation in any PCIe slot on any computer. The iRiser includes either a dedicated ASIC or programmed FPGA that cycles any of 32 signals, including power and reset, and samples power at up to 1 million samples per second, to any connected PCIe devices (such as sixteen NVMe drives under test in a SANBlaze test system, or more if larger testing systems are used). This allows precise insertion of any signal, including power and reset, at any desired testing point, and precise measurement of power drawn during any test condition, including transitions such as power on/off, reset, and low power state returning to running state. Further, the iRiser can write measurement data to a host controller through direct memory access, providing the data synchronized to precise test conditions with zero overhead.
In the drawings, closely related figures and items have the same number but different alphabetic suffixes. Processes, states, statuses, and databases are named for their respective functions.
In the following detailed description, reference is made to the accompanying drawings which form a part hereof, and in which are shown, by way of illustration, specific embodiments which may be practiced. It is to be understood that other embodiments may be used, and structural changes may be made without departing from the scope of the present disclosure.
Operation
Existing SANBlaze systems, such as the SANBlaze SBExpress-RM4, are dedicated systems for rapid high-scale simultaneous testing of multiple peripheral component interconnect express (PCIe) solid state drives (SSDs). These systems utilize internal field-programmable gate array (FPGA) cards, such as cards with the Xilinx 7 Series FPGA, configured for specific device testing. The solutions discussed herein may be implemented on these same FPGA cards to provide enhance testing capabilities, on different FPGA cards dedicated to testing different PCIe devices, on a PCIe riser card which may be added into the same test systems, or on a PCIe riser card which connects as an interposer into any PCIe slot on a computer motherboard, and into which a PCIe device or another PCIe card may connect, extending the testing capabilities to any PCIe device. Alternative to the FPGA cards, the same functionality may be implemented in a dedicate application specific integrated circuit (ASIC) card. The examples and discussion herein focus on a preferred embodiment through the PCIe riser (hereinafter referred to as the “card”), but the functionality remains the same across all possible cards. Referring to
In order to control different signals to the device under test, different general purpose input/output (GPIO) pins are configured. Each pin may control a different signal, including power and reset signals to the device under test. One example configuration may include 32 GPIO pins as in Table 1:
The GPIO pins may be toggled between input and output. When in output mode, the value in each pin controls a specific signal to the device under test.
Referring also to
Each sample stored in the host system physical memory is 16-bytes long and logged into a 16-byte boundary. Different formats may be used, with a preferred format including a type identifier (indicating it is an ADC sample), followed by a wrap count (the number of times the writes to the memory buffer have wrapped around, if enabled), followed by the data (the ADC value), followed by a timestamp (the number of clock ticks since the card was booted). This format is illustrated in Table 3:
With the power data written to host memory via DMA, it is available to the host processor without any increase in processing burden on the host processor. To be useful, the data needs to be connected to the specific tests applied to the device under test. Referring also to
The power sample writing to host memory may be toggled 510 between two different modes. In continuous mode, the power samples are continuously written to host physical memory through DMA, and when the end of the allocated memory buffer is reached the sample writing wraps 512 back to the beginning of the buffer. As long as the host system reads the data from the buffer in intervals shorter than the time to fill the buffer, no power data is lost. In fast mode, samples are written into the memory buffer, and power sampling stops 514 once the buffer is full. This mode may be preferable when sampling around specific testing events. A specific register on the card may be dedicated to controlling power sampling, where bits may be set by the host system to enable or disable 520 power sampling, set specific mode 510, set to clear 530 the sample data, and to toggle between standard and average sampling 530. The clear data bit is preferably set 520 before data sampling begins (or resets), to clear data and start writing at the beginning of the memory buffer. Standard sampling mode may write every ADC sample, while average sampling may average consecutive samples on the card, and write that average sample to the host memory buffer. An example ADC state machine control register is detailed in Table 4:
Referring also to
Finer integration control may be achieved by adding 620 a type to specific actions, and allowing different action types to control the power sampling through controlling the ADC as an alternative to controlling the GPIO pins. In this case, a “type” may modify how an action value is processed, with an example of such detailed in Table 6:
This fully integrates starting and stopping power sampling in between specific testing actions on any of the signals controlled by the GPIO pins. Test actions may be further enhanced by configuration 630 of a “glitch” bit, which may be the top bit in the counter register. With the glitch bit set, the action is loaded as normal, but when the counter expires the value on the GPIO pins reverts to their prior values from before the “glitch” action was loaded, and then the next action is loaded as normal. This allows inserting specific signal glitches at any point of any test program.
It is to be understood that the above description is intended to be illustrative, and not restrictive. Many other embodiments will be apparent to those of skill in the art upon reviewing the above description. The scope should, therefore, be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
This utility patent application claims priority from U.S. provisional patent application Ser. No. 63/254,320, filed Oct. 11, 2021, titled “Intelligent Riser Testing Device and Methods”, naming inventors B. Vincent Asbridge and Ulf Frisk. A portion of the disclosure of this patent document contains material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever. Copyright 2022, SANBlaze Technology, Inc.
| Number | Name | Date | Kind |
|---|---|---|---|
| 6324485 | Ellis | Nov 2001 | B1 |
| 10114658 | Huang et al. | Oct 2018 | B2 |
| 10990157 | Chang | Apr 2021 | B2 |
| 12079097 | Khare | Sep 2024 | B2 |
| 20070218709 | Yang | Sep 2007 | A1 |
| 20150301109 | O'Flynn | Oct 2015 | A1 |
| 20150378415 | George | Dec 2015 | A1 |
| 20210405108 | Strickling | Dec 2021 | A1 |
| Number | Date | Country |
|---|---|---|
| 102043748 | Oct 2012 | CN |
| 106452968 | Feb 2017 | CN |
| 108052423 | May 2018 | CN |
| 106649021 | Apr 2019 | CN |
| 110297735 | Oct 2019 | CN |
| 110874293 | Mar 2020 | CN |
| 111447121 | Jul 2020 | CN |
| 211505789 | Sep 2020 | CN |
| 108984453 | Feb 2021 | CN |
| 212749161 | Mar 2021 | CN |
| 2020207040 | Oct 2020 | WO |
| Number | Date | Country | |
|---|---|---|---|
| 63254320 | Oct 2021 | US |