xfs
[Top] [All Lists]

Re: XFS defragmentation issue

To: xfs@xxxxxxxxxxx
Subject: Re: XFS defragmentation issue
From: Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>
Date: Sun, 12 Sep 2010 04:45:30 -0500
In-reply-to: <20100912104321.5529f74c@xxxxxxxxxxxxxx>
References: <4C8A4395.5070702@xxxxxxxxxxxxx> <4C8B27E4.2050102@xxxxxxxxxxxxx> <20100911082330.GG705@dastard> <4C8BDAC8.8010203@xxxxxxxxxxxxxxxxx> <20100912104321.5529f74c@xxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3
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

<Prev in Thread] Current Thread [Next in Thread>