All of lore.kernel.org
 help / color / mirror / Atom feed
From: wangchao19890207@gmail.com (Wang Chao)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How to clean up buffer or cache momory?
Date: Fri, 17 Feb 2012 15:13:18 +0800	[thread overview]
Message-ID: <20120217071318.GA19510@archlinux.nay.redhat.com> (raw)
In-Reply-To: <c8f8601.20181.135865e384d.Coremail.jingle2422@163.com>

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" <mkatiyar@gmail.com> ???
> >2012/2/16 ??? <jingle2422@163.com>:
> >>  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

  reply	other threads:[~2012-02-17  7:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-16 12:59 How to clean up buffer or cache momory? 黄小伟
2012-02-16 13:21 ` Manish Katiyar
2012-02-16 13:33   ` 黄小伟
2012-02-17  7:13     ` Wang Chao [this message]
2012-02-21 13:20       ` 黄小伟
2012-02-21  5:29     ` Pei Lin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120217071318.GA19510@archlinux.nay.redhat.com \
    --to=wangchao19890207@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.