* need help to clear kernel (2.6.16.17) cached memory
@ 2014-12-13 8:03 Manish Yadav
2014-12-14 17:49 ` Bruno Prémont
0 siblings, 1 reply; 2+ messages in thread
From: Manish Yadav @ 2014-12-13 8:03 UTC (permalink / raw)
To: linux-kernel
Hi,
on my system (based on 2.6.16.17), i am trying to clear the cached
memory but it is not being cleared.
mars# free -m
total used free shared buffers cached
Mem: 925 459 465 0 0 231
-/+ buffers/cache: 228 697
Swap: 0 0 0
mars# sync && echo 3 > /proc/sys/vm/drop_caches
M1450-mrakesh# free -m
total used free shared buffers cached
Mem: 925 459 466 0 0 231
-/+ buffers/cache: 227 697
Swap: 0 0 0
mars#
could you please let me know what i am missing here? as per my
investigation writing 3 to drop_caches should clear the cached memory.
thanks,
manish
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: need help to clear kernel (2.6.16.17) cached memory
2014-12-13 8:03 need help to clear kernel (2.6.16.17) cached memory Manish Yadav
@ 2014-12-14 17:49 ` Bruno Prémont
0 siblings, 0 replies; 2+ messages in thread
From: Bruno Prémont @ 2014-12-14 17:49 UTC (permalink / raw)
To: Manish Yadav; +Cc: linux-kernel
Hi,
On Sat, 13 December 2014 Manish Yadav <kmanish.ixp@gmail.com> wrote:
> on my system (based on 2.6.16.17), i am trying to clear the cached
> memory but it is not being cleared.
>
> mars# free -m
> total used free shared buffers cached
> Mem: 925 459 465 0 0 231
> -/+ buffers/cache: 228 697
> Swap: 0 0 0
> mars# sync && echo 3 > /proc/sys/vm/drop_caches
> M1450-mrakesh# free -m
> total used free shared buffers cached
> Mem: 925 459 466 0 0 231
> -/+ buffers/cache: 227 697
> Swap: 0 0 0
> mars#
>
> could you please let me know what i am missing here? as per my
> investigation writing 3 to drop_caches should clear the cached memory.
Any tmpfs around that would be filled with the remaining cached data?
> thanks,
> manish
Cheers,
Bruno
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-14 18:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-13 8:03 need help to clear kernel (2.6.16.17) cached memory Manish Yadav
2014-12-14 17:49 ` Bruno Prémont
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).