Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 10-13-2005, 06:06 AM   #1
LQ Newbie
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
Reducing Reserved memory in montavista linux

Hi Everybody,
I am working on montavista linux, on broadcom chipset, mips processor...having 32Mb RAM..out of which top 2Mb has been given for DMA access..remaining 30Mb should be available. But in cat /proc/meminfo it only shows 26Mb free, in shows that 4.7Mb is reserved for kernel. That is far too much that i expect as I have heard it ahuld not be more than 2-3% of total memory. How to reduce it? I am having busybox utilities.
here is the output:
cat /proc/meminfo

total: used: free: shared: buffers: cached:
Mem: 27181056 7303168 19877888 0 53248 5435392
Swap: 0 0 0
MemTotal: 26544 kB
MemFree: 19412 kB
MemShared: 0 kB
Buffers: 52 kB
Cached: 5308 kB
SwapCached: 0 kB
Active: 720 kB
Inactive: 4984 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 26544 kB
LowFree: 19412 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Committed_AS: 1056 kB
VmallocTotal: 1048560 kB
VmallocUsed: 448 kB
VmallocChunk: 1048112 kB

dmesg|grep [Mm]em

Setting memory region to 0x2000000
Environment [0] : <memsize=32>
5200 mem=30M ramdisk_size=8192 nfsroot=
U-BOOT Environment: bootargs = root=/dev/ram console=ttyS0,115200 mem=30M
memory: 02000000 @ 00000000 (usable)
memory: 01e00000 @ 00000000 (usable)
Kernel command line: yroot=/dev/ra console=ttyS0,115200 mem=30M
Memory: 25996k/30720k available (1474k kernel code, 4724k reserved, 92k data, 80k init, 0k
Disabling the Out Of Memory Killer
Freeing initrd memory: 466k freed
Freeing unused kernel memory: 80k freed

Theres also another instance where dmesg doent show reserved space for kernel. So, I am wondering without this reserved space, it can work.....I have to reduce the memory by 3Mb. Any suggestions?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MontaVista beats real-time Linux deadline rvijay Linux - News 4 11-05-2005 11:15 AM
I need to know the exact amount of static memory being reserved by my program in C grupoapunte Programming 2 05-06-2005 10:31 PM
Reducing the Linux LVM(8e) partition itself (not PV, VG or LV). ajitkth Linux - General 1 03-08-2005 03:45 AM
Tips on reducing memory consumption Boyer Linux - Software 13 01-17-2005 03:20 PM
reducing the size of linux partitions cybergir Linux - Newbie 1 02-04-2003 03:58 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration