Method and apparatus for managing data transfer in a computer memory
First Claim
Patent Images
1. A method for managing data transfer in a computer memory comprising the steps of:
- a) transferring data from an application program memory to a network stack using zero copy data transfer;
b) monitoring the number of potential copy on write (COW) faults generated during said transfer of data for said application program; and
c) controlling the transferring of data so that if the number of potential COW faults exceeds a predetermined threshold for said application then in subsequent data transfers from said application program, data is copied to another memory location before transferring said data to said network stack.
3 Assignments
0 Petitions
Accused Products
Abstract
The present invention relates to a method and apparatus for managing data transfer in a computer memory in which during the transfer of data from an application buffer to a network socket, memory usage faults are reduced.
-
Citations
24 Claims
-
1. A method for managing data transfer in a computer memory comprising the steps of:
-
a) transferring data from an application program memory to a network stack using zero copy data transfer;
b) monitoring the number of potential copy on write (COW) faults generated during said transfer of data for said application program; and
c) controlling the transferring of data so that if the number of potential COW faults exceeds a predetermined threshold for said application then in subsequent data transfers from said application program, data is copied to another memory location before transferring said data to said network stack. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 14, 21)
-
-
11. Apparatus for managing data transfer in a computer memory comprising:
-
a) transfer means operable to transfer data from an application program memory to a network stack using zero copy data transfer;
b) monitoring means operable to monitor the number of potential copy on write (COW) faults generated during said transfer of data for said application program; and
c) control means operable if the number of potential COW faults exceeds a predetermined threshold for said application to control subsequent data transfers from said application program so that data is copied to another memory location before transferring said data to said network stack. - View Dependent Claims (12, 15, 16, 17, 18, 19, 20, 22)
-
-
23. A method of controlling data transfer between an application program layer and a socket layer in a Unix operating system comprising:
-
a) transferring data using zero copy transfer;
b) monitoring the number of actual copy on write (COW) faults generated by an application; and
c) if the monitored number of COW faults exceeds a threshold for said application then transferring subsequent data using normal copy transfer. - View Dependent Claims (24)
-
Specification