Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Re: Very fast reads from an external program

by MarkM (Curate)
on Apr 26, 2003 at 03:45 UTC ( #253316=note: print w/ replies, xml ) Need Help??

in reply to Re: Very fast reads from an external program
in thread Very fast reads from an external program

You should note that I suggested the use of a file system that performed deferred writes, or that are based from virtual memory, and not a real disk. In any case, the pages just written are still likely to be in RAM, meaning that the write ahead is to RAM, and the read behind is from RAM. The real benefit of using a true file, is that the system can write the data to the file at its leisure, marking pages as clean and ready for reclaimation as necessary. Using a shared memory segment, for example, requires that the processes perform their own scheduling to ensure that the producer does not over-write pages not yet read by the consumer (during a fast network burst, for example). Using a file lets the kernel do this magic for us.

Comment on Re: Re: Very fast reads from an external program

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://253316]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2015-07-07 10:56 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (88 votes), past polls