Re: Mapped more than Cached in /proc/meminfo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 9, 2011 at 3:10 PM, =/_00/\/\ <z0032oom@xxxxxxxxx> wrote:
> Hi,
>
> Thanks for replying
> Here is one observation worth mentioning.
> On boot system it shows Mapped < Cached (In fact much less)
> After using system for some time following commands are executed.
> # sync and echo 3 > /proc/sys/vm/drop_cache
>
> Whenever above command is executed I can see Mapped > Cached.
>
> This is somewhat confusing for me.
> Could you please explain ?
>
> Regards,
>   ~/
>
>
>
> On Sat, Aug 6, 2011 at 9:57 AM, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx>
> wrote:
>>
>> On Fri, Aug 5, 2011 at 21:16, =/_00/\/\ <z0032oom@xxxxxxxxx> wrote:
>> > Hi,
>> >
>> > I am trying to analyze memory usage on my system.
>> > As first step I am monitoring /proc/meminfo.
>> > Surprisingly I see Mapped value is more than Cached.
>> >
>> > So in which case is it possible to have Mapped more than Cached ?
>>
>> your apps mmap() less than the amount of files content that are cached
>> through normal read() AFAIK
>>
>>
>> --
>> regards,
>>
>> Mulyadi Santosa
>> Freelance Linux trainer and consultant
>>
>> blog: the-hydra.blogspot.com
>> training: mulyaditraining.blogspot.com
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>

Please, read some explanation about this command, for instance, in [1]

[1] http://linux-mm.org/Drop_Caches

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux