Subject: Re: swap space for a memory based filesystem
To: None <nmahajan@hss.hns.com>
From: Perry E. Metzger <perry@piermont.com>
List: tech-embed
Date: 03/03/2004 11:41:30
nmahajan@hss.hns.com writes:
> we are observing that the file copied decreases the top shown free memory ?

That is totally normal.

> This goes on even if we issue sync command (wasnt it supposed to write back
> these dirty pages back to disk ?)

It does, but it keeps the clean pages in memory in case you need to
read them again soon. If the system needs the memory for something
else it will just throw the clean pages away since it doesn't need to
keep them around. There is no unexpected behavior here.

Perry