Data processing apparatus for pipeline execution acceleration and method thereof
First Claim
1. A data processing apparatus for pipeline execution acceleration, comprising:
- a processor configured to;
execute a first application program writing file data to a specific file, andexecute a second application program reading the file data from the specific file; and
a file system communicationally coupled to the processor and configured as a virtual ring type storage space in form of a circular queue of data blocks to store at least some of the file data for the specific file to cause the at least some of the file data be readable from a data block among the data blocks by the second application program prior to executing a close call for the writing of the file data to for the specific file from the first application program,wherein the file system is further configured to,set for the circular queue a queue_tail that represents a position for reading the file data and set a queue_head that represents a position for writing a file data,perform a setting of a queue_index for a read that represents a start position of the circular queue at a time of executing the read from the specific file by the second application program to read file data having a size from the set queue_index and in response to the read, change the queue_tail of the circular queue,the setting of the queue_index for the read includes to,check, in a read request message, for an offset, which represents a value up to a position spaced apart from a previous start position of the specific file previously stored for the circular queue, and for a size, which represents a size of the file data to be read, andset the queue_index using the offset when a size of the circular queue is larger than the size included in the read request message and the specific file is closed.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed herein are a data processing apparatus for pipeline execution acceleration and a method thereof. According to an exemplary embodiment of the present invention, the data processing apparatus for pipeline execution acceleration includes: a processor configured to sequentially execute a first application program and a second application program reading or writing a specific file; and a file system configured to complete a write for a file data for the specific file to a data block previously allocated from the first application program and provide the file data for the specific file to the second application program prior to executing a close call for the specific file from the first application program, when executing a read call for the specific file from the second application program.
6 Citations
11 Claims
-
1. A data processing apparatus for pipeline execution acceleration, comprising:
-
a processor configured to; execute a first application program writing file data to a specific file, and execute a second application program reading the file data from the specific file; and a file system communicationally coupled to the processor and configured as a virtual ring type storage space in form of a circular queue of data blocks to store at least some of the file data for the specific file to cause the at least some of the file data be readable from a data block among the data blocks by the second application program prior to executing a close call for the writing of the file data to for the specific file from the first application program, wherein the file system is further configured to, set for the circular queue a queue_tail that represents a position for reading the file data and set a queue_head that represents a position for writing a file data, perform a setting of a queue_index for a read that represents a start position of the circular queue at a time of executing the read from the specific file by the second application program to read file data having a size from the set queue_index and in response to the read, change the queue_tail of the circular queue, the setting of the queue_index for the read includes to, check, in a read request message, for an offset, which represents a value up to a position spaced apart from a previous start position of the specific file previously stored for the circular queue, and for a size, which represents a size of the file data to be read, and set the queue_index using the offset when a size of the circular queue is larger than the size included in the read request message and the specific file is closed. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A data processing method for pipeline execution acceleration, comprising:
-
executing, by a processor, a first application program writing file data to a specific file; executing, by the processor, a second application program reading the file data from the specific file; and providing, by a file system, a virtual ring type storage space configured in form of a circular queue of data blocks that stores at least some of the file data for the specific file to cause the at least some of the file data for the specific file be readable from a data block among the data blocks by the second application program prior to executing a close call for the writing of the file data to the data for the specific file from the first application program, wherein by the file system, set for the circular queue a queue_tail that represents a position for reading the file data and set a queue_head that represents a position for writing the file data, perform a setting of a queue_index for a read that represents a start position of the circular queue at a time of executing the read from the specific file by the second application program to read file data having a size from the set queue_index and in response to the read, change the queue_tail of the circular queue, the setting of the queue_index for the read includes to, check, in a read request message, for an offset, which represents a value up to a position spaced apart from a previous start position of the specific file previously stored for the circular queue, and for a size, which represents a size of the file data to be read, and set the queue_index using the offset when a size of the circular queue is larger than the size included in the read request message and the specific file is closed. - View Dependent Claims (8, 9, 10, 11)
-
Specification