public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Stan Hoeppner <stan@hardwarefreak.com>
To: xfs@oss.sgi.com
Subject: Re: XFS defragmentation issue
Date: Sun, 12 Sep 2010 04:45:30 -0500	[thread overview]
Message-ID: <4C8CA13A.6010103@hardwarefreak.com> (raw)
In-Reply-To: <20100912104321.5529f74c@galadriel.home>

Emmanuel Florac put forth on 9/12/2010 3:43 AM:
> Le Sat, 11 Sep 2010 14:38:48 -0500 vous écriviez:
> 
>> That's good to know Dave.  Thanks.  I created a short-name script a
>> while back with "echo 3 > /proc/sys/vm/drop_caches" merely so I could
>> "clear the baffles" now and then. 
> 
> But isn't it somewhat risky? isn't there any risk of data loss by
> dropping cache at any moment?

From:  http://linux-mm.org/Drop_Caches

This is a non-destructive operation and will only free things that are
completely unused. Dirty objects will continue to be in use until
written out to disk and are not freeable. If you run "sync" first to
flush them out to disk, these drop operations will tend to free more
memory.

-- 
Stan

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2010-09-12  9:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-10 14:41 XFS defragmentation issue John Lister
2010-09-10 19:00 ` Stan Hoeppner
2010-09-11  6:55 ` John Lister
2010-09-11  8:23   ` Dave Chinner
2010-09-11  8:25     ` John Lister
2010-09-11 19:38     ` Stan Hoeppner
2010-09-11 19:57       ` Iustin Pop
2010-09-12  1:01         ` Dave Chinner
2010-09-12  8:43       ` Emmanuel Florac
2010-09-12  9:45         ` Stan Hoeppner [this message]
2010-09-13  8:05       ` Roel van Meer

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=4C8CA13A.6010103@hardwarefreak.com \
    --to=stan@hardwarefreak.com \
    --cc=xfs@oss.sgi.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox