From mboxrd@z Thu Jan 1 00:00:00 1970 From: wangchao19890207@gmail.com (Wang Chao) Date: Fri, 17 Feb 2012 15:13:18 +0800 Subject: How to clean up buffer or cache momory? In-Reply-To: References: <2063b3f7.1fb25.135863ec744.Coremail.jingle2422@163.com> Message-ID: <20120217071318.GA19510@archlinux.nay.redhat.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On 02/16/12 at 09:33pm, ??? wrote: > I know this, but I want to reclaim dynamically. Say in a shout time, several seconds. Why do want to do that? Does it have a bad influence on performance? Kernel will reclaim these cache itself when your machine runs out of mm. > > > > > > ? 2012-02-16 21:21:11?"Manish Katiyar" ??? > >2012/2/16 ??? : > >> Hi > >> I encounter a problem recentely. My system supports USB strorage and > >> other network applications. > >> But after I put a file to usb storage, it will consume some many > >> momory. > >> (buffer + cache). > >> And these buffered memory can not be reclaimed(use free command). > >> So I want to know how to reclaim the buffer memory in a short time. > > > >Google for ./sys/vm/drop_caches > > > >-- > >Thanks - > >Manish > > > >_______________________________________________ > >Kernelnewbies mailing list > >Kernelnewbies at kernelnewbies.org > >http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Thanks, Chao Wang