Method and system for collective file access using an mmap (memory-mapped file)
First Claim
1. A method for processing using a shared file comprising:
- creating a plurality of mmaps between a shared file and a plurality of address spaces,wherein each of the plurality of mmaps maps at least a portion of the shared file to one of the plurality of address spaces, andwherein each of the plurality of address spaces is associated with one of a plurality of processors;
transferring, in parallel, data between the shared file and the address spaces using the plurality of mmaps associated with the plurality of address spaces;
processing the data in parallel by the plurality of processors to obtain a result, wherein the plurality of processors access data from the plurality of address spaces; and
storing the result in the shared memory.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for processing using a shared file that includes creating a plurality of mmaps between a shared file and a plurality of address spaces, wherein each of the plurality of mmaps maps at least a portion of the shared file to one of the plurality of address spaces, and wherein each of the plurality of address spaces is associated with one of a plurality of processors, transferring, in parallel, data between the shared file and the address spaces using the plurality of mmaps associated with the plurality of address spaces, processing the data in parallel by the plurality of processors to obtain a result, wherein the plurality of processors access data from the plurality of address spaces, and storing the result in the shared memory.
45 Citations
20 Claims
-
1. A method for processing using a shared file comprising:
-
creating a plurality of mmaps between a shared file and a plurality of address spaces, wherein each of the plurality of mmaps maps at least a portion of the shared file to one of the plurality of address spaces, and wherein each of the plurality of address spaces is associated with one of a plurality of processors; transferring, in parallel, data between the shared file and the address spaces using the plurality of mmaps associated with the plurality of address spaces; processing the data in parallel by the plurality of processors to obtain a result, wherein the plurality of processors access data from the plurality of address spaces; and storing the result in the shared memory. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system comprising:
-
a shared memory for storing a shared file; and a plurality of processors connected to the shared memory and configured to; create a plurality of mmaps between the shared file and a plurality of address spaces, wherein each of the plurality of mmaps maps at least a portion of the shared file to one of the plurality of address spaces, and wherein each of the plurality of address spaces is associated with one of the plurality of processors; transfer, in parallel, data between the shared file and the address spaces using the plurality of mmaps associated with the plurality of address spaces; process the data in parallel by the plurality of processors to obtain a result, wherein the plurality of processors access data from the plurality of address spaces; and store the result in the shared memory. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A shared memory computer system comprising a plurality of processors and a shared memory, wherein each processor in the plurality of processors is configured to:
-
create a mmap between a shared file and an address space associated with a processor; transfer, in parallel, data between the shared file and the address space using the mmap with the plurality of processors; and process the data by the processor to obtain processed data, wherein the processed data is used to obtain a result, wherein the result is stored in the shared memory, and wherein the shared file is in the shared memory and accessible by each of the plurality of processors. - View Dependent Claims (20)
-
Specification