LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-13-2005, 06:06 AM   #1
sudip06
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 dmesg..it 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=10.240.4.61:/home/canoop/target
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
highmem)
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?


Thanks,
sudip
 
  


Reply


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


All times are GMT -5. The time now is 10:56 PM.

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