Abstract:
Computer system including storage unit and processing unit including performance monitoring unit (PMU) for performance monitoring on tasks is provided. Processing unit is configured to provide a callback function at location at which a task switch is being performed, reset a counter for external access counting of PMU when first task switch which is to switch execution of tasks to first task occurs, read counted value from counter and record read value into a log of storage unit as record of first task when second task switch which is to switch execution of tasks from first task to second task occurs, and reset counter for second task after log is generated. Records of first task in log within a predetermined time period are summed to analyze performance of first task within predetermined time period so as to determine performance of external access of first task for specific event.
Abstract:
A controller for interfacing between a host and a flash memory is provided. The flash memory includes a plurality of data blocks and a plurality of spare blocks. The controller includes a memory unit and a computation unit. The computation unit is configured to perform a cleaning procedure of the flash memory, wherein whenever the computation unit has finished copying a valid page of a source block in the plurality of data blocks to a spare page of a destination block in the plurality of spare blocks during the cleaning procedure, the computation unit determines whether a request is coming from the host, if so, the computation unit suspends the cleaning procedure and responds to the request from the host, if not, the computation unit continues the cleaning procedure.
Abstract:
A data writing system is provided. A processing unit includes at least one core processor. The dynamic random access memory (DRAM) includes a user buffer storing data to be written to a storage device, a buffer cache and a direct memory access (DMA) buffer. The processing unit executes a plurality of write transactions for moving a portion of the data from the user buffer of the DRAM to the storage device via a first write path, and the remainder of the data from the user buffer of the DRAM to the storage device via a second write path. The first write path passes through the buffer cache of the DRAM, and the second write path does not pass through the buffer cache of the DRAM.