From: Abhishek Thakur (Abhishek.Thakur@synchronous.net)
Date: Fri Aug 24 2001 - 11:48:02 EDT
Hi Tim, Thanks for the info. But I am still in 2.0.38.1pre7arm. All the same now I would try to see if I can make some sense of the emails you have mentioned. Has anyone else noticed this problem? Is this only NETSilicon/arm specific? thanks Abhisek > -----Original Message----- > From: Tim Meakin [mailto:meakin@SEDSystems.ca] > Sent: Friday, August 24, 2001 8:14 AM > To: uclinux-dev@uclinux.org > Subject: Re: [uClinux-dev] memory usage on NET+Lx > > > > Abhishek Thakur wrote: > > > > Please find the ouput from the runs attached - > > For each new command tried (including mkdir) the first time, this > > memory seems to grow. > > > > Looks like some internal caching by linux - though I am not > absolutely > > sure. > > Abhishek, > > Looks like you are encountering the same problem we have been trying > (unsuccessfully so far) to track down. See e-mails with subject > "uClinux 2.4.6 Kernel Memory Allocation Problem" in the uClinux-dev > archive. If you try doing "cat /proc/slabinfo" after every > command you > issue then it will give you a little more information about > which caches > are growing. > > For example, when we do two calls to mkdir we got the > following info: > > # mkdir /var/tmp > # cat /proc/slabinfo > > slabinfo - version: 1.1 > kmem_cache 53 78 100 2 2 1 > blkdev_requests 64 80 96 2 2 1 > dnotify cache 0 0 20 0 0 1 > file lock cache 0 0 92 0 0 1 > fasync cache 0 0 16 0 0 1 > uid_cache 0 0 32 0 0 1 > skbuff_head_cache 0 0 144 0 0 1 > sock 0 0 816 0 0 1 > sigqueue 0 0 132 0 0 1 > cdev_cache 1 78 48 1 1 1 > bdev_cache 2 78 48 1 1 1 > mnt_cache 6 48 80 1 1 1 > inode_cache 29 32 464 4 4 1 > dentry_cache 34 35 112 1 1 1 > filp 4 40 96 1 1 1 > names_cache 0 1 4096 0 1 1 > buffer_head 492 520 96 13 13 1 > mm_struct 3 35 112 1 1 1 > vm_area_struct 0 0 16 0 0 1 > fs_cache 2 78 48 1 1 1 > files_cache 2 9 416 1 1 1 > signal_act 4 6 1296 2 2 1 > size-1048576(DMA) 0 0 1048576 0 0 256 > size-1048576 0 0 1048576 0 0 256 > size-524288(DMA) 0 0 524288 0 0 128 > size-524288 0 0 524288 0 0 128 > size-262144(DMA) 0 0 262144 0 0 64 > size-262144 3 3 262144 3 3 64 > size-131072(DMA) 0 0 131072 0 0 32 > size-131072 0 0 131072 0 0 32 > size-65536(DMA) 0 0 65536 0 0 16 > size-65536 5 5 65536 5 5 16 > size-32768(DMA) 0 0 32768 0 0 8 > size-32768 0 0 32768 0 0 8 > size-16384(DMA) 0 0 16384 0 0 4 > size-16384 0 1 16384 0 1 4 > size-8192(DMA) 0 0 8192 0 0 2 > size-8192 0 1 8192 0 1 2 > size-4096(DMA) 0 0 4096 0 0 1 > size-4096 1 3 4096 1 3 1 > size-2048(DMA) 0 0 2048 0 0 1 > size-2048 1 2 2048 1 1 1 > size-1024(DMA) 0 0 1024 0 0 1 > size-1024 1 4 1024 1 1 1 > size-512(DMA) 0 0 512 0 0 1 > size-512 7 8 512 1 1 1 > size-256(DMA) 0 0 256 0 0 1 > size-256 0 0 256 0 0 1 > size-128(DMA) 0 0 128 0 0 1 > size-128 34 60 128 2 2 1 > size-64(DMA) 0 0 64 0 0 1 > size-64 6 59 64 1 1 1 > size-32(DMA) 0 0 32 0 0 1 > size-32 55 113 32 1 1 1 > > #free > total used free shared > buffers > Mem: 2308 2096 212 0 > 472 > Swap: 0 0 0 > Total: 2308 2096 212 > > # mkdir /var/run > # cat /proc/slabinfo > > slabinfo - version: 1.1 > kmem_cache 53 78 100 2 2 1 > blkdev_requests 64 80 96 2 2 1 > dnotify cache 0 0 20 0 0 1 > file lock cache 0 0 92 0 0 1 > fasync cache 0 0 16 0 0 1 > uid_cache 0 0 32 0 0 1 > skbuff_head_cache 0 0 144 0 0 1 > sock 0 0 816 0 0 1 > sigqueue 0 0 132 0 0 1 > cdev_cache 1 78 48 1 1 1 > bdev_cache 2 78 48 1 1 1 > mnt_cache 6 48 80 1 1 1 > inode_cache 30 32 464 4 4 1 > dentry_cache 35 35 112 1 1 1 > filp 4 40 96 1 1 1 > names_cache 0 1 4096 0 1 1 > buffer_head 496 520 96 13 13 1 > mm_struct 3 35 112 1 1 1 > vm_area_struct 0 0 16 0 0 1 > fs_cache 2 78 48 1 1 1 > files_cache 2 9 416 1 1 1 > signal_act 4 6 1296 2 2 1 > size-1048576(DMA) 0 0 1048576 0 0 256 > size-1048576 0 0 1048576 0 0 256 > size-524288(DMA) 0 0 524288 0 0 128 > size-524288 0 0 524288 0 0 128 > size-262144(DMA) 0 0 262144 0 0 64 > size-262144 3 3 262144 3 3 64 > size-131072(DMA) 0 0 131072 0 0 32 > size-131072 0 0 131072 0 0 32 > size-65536(DMA) 0 0 65536 0 0 16 > size-65536 5 5 65536 5 5 16 > size-32768(DMA) 0 0 32768 0 0 8 > size-32768 0 0 32768 0 0 8 > size-16384(DMA) 0 0 16384 0 0 4 > size-16384 0 1 16384 0 1 4 > size-8192(DMA) 0 0 8192 0 0 2 > size-8192 0 1 8192 0 1 2 > size-4096(DMA) 0 0 4096 0 0 1 > size-4096 1 3 4096 1 3 1 > size-2048(DMA) 0 0 2048 0 0 1 > size-2048 1 2 2048 1 1 1 > size-1024(DMA) 0 0 1024 0 0 1 > size-1024 1 4 1024 1 1 1 > size-512(DMA) 0 0 512 0 0 1 > size-512 7 8 512 1 1 1 > size-256(DMA) 0 0 256 0 0 1 > size-256 0 0 256 0 0 1 > size-128(DMA) 0 0 128 0 0 1 > size-128 34 60 128 2 2 1 > size-64(DMA) 0 0 64 0 0 1 > size-64 6 59 64 1 1 1 > size-32(DMA) 0 0 32 0 0 1 > size-32 55 113 32 1 1 1 > > # free > total used free shared > buffers > Mem: 2308 2100 208 0 > 472 > Swap: 0 0 0 > Total: 2308 2100 208 > > > -- > Tim Meakin, P.Eng. > SED Systems > This message resent by the uclinux-dev@uclinux.org list > server http://www.uClinux.org/ > This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/
This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:20:06 EDT