On Thu, Oct 14, 1999 at 04:10:57PM -0400, Bruce L Gotwols wrote:
> Hello RTLinux mail list member,
>       The problem I am about to describe does not apply directly to
> rtlinux, but it affects the performance of rtlinux indirectly. I have
> found when I write() to a device, be it disk or a network socket, memory
> is rapidly gobbled up until the amount of free memory comes within a
> couple of MB of the total physical RAM, no matter what the size of that
> RAM is.  At that point there is a small amount of disk swapping (~ 0.5 MB)
> and then things stabilize with the system being almost out of free memory.


This is the intended behavior.  Free memory is wasted memory.  Linux
does not differentiate between memory that contains instructions, program
data, or file contents, so it buffers each more-or-less with equal
priority.  Thus, if you read or write a large file, idle programs
(for example, the gettys on tty[2-6]) are written out to swap, since
they are less likely to be used than the large file.




dave...

--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to