Tool/software: Linux
Here i am using DM8148 in 8 channel DVR.
DM8148 stat CPU 720Mhz DDR 400Mhz
Previously we are using 1GB DDR and with we getting good performance, but now we had increase the ram to 2GB and we are not getting the performance similar to 1GB, My most of the cpu is used in system.
please find the below data and suggest the memory map require to improve the performance?
- With 1GB DDR
- performance is as below:-
|
user |
nice |
system |
idle |
iowait |
irq |
softirq |
|
25.98% |
0.00% |
47.64% |
21.50% |
4.28% |
0.04% |
0.55% |
- The memory map as follow:-
linux memory 384MB from 0x80000000 and 256MB from 0xA8000000
- Result of cat /proc/meminfo:-
|
MemTotal: |
621332 kB |
|
MemFree: |
69800 kB |
|
Buffers: |
2784 kB |
|
Cached: |
448836 kB |
|
SwapCached: |
0 kB |
|
Active: |
214604 kB |
|
Inactive: |
265804 kB |
|
Active(anon): |
35784 kB |
|
Inactive(anon): |
86236 kB |
|
Active(file): |
178820 kB |
|
Inactive(file): |
179568 kB |
|
Unevictable: |
0 kB |
|
Mlocked: |
0 kB |
|
HighTotal: |
183296 kB |
|
HighFree: |
1796 kB |
|
LowTotal: |
438036 kB |
|
LowFree: |
68004 kB |
|
SwapTotal: |
0 kB |
|
SwapFree: |
0 kB |
|
Dirty: |
8488 kB |
|
Writeback: |
0 kB |
|
AnonPages: |
28804 kB |
|
Mapped: |
89776 kB |
|
Shmem: |
93232 kB |
|
Slab: |
55244 kB |
|
SReclaimable: |
47920 kB |
|
SUnreclaim: |
7324 kB |
|
KernelStack: |
1520 kB |
|
PageTables: |
1576 kB |
|
NFS_Unstable: |
0 kB |
|
Bounce: |
0 kB |
|
WritebackTmp: |
0 kB |
|
CommitLimit: |
310664 kB |
|
Committed_AS: |
910572 kB |
|
VmallocTotal: |
196608 kB |
|
VmallocUsed: |
144520 kB |
|
VmallocChunk: |
34812 kB |
- With 2GB DDR:-
- performance is as below:-
|
user |
nice |
system |
idle |
iowait |
irq |
softirq |
|
27.99% |
0.00% |
58.50% |
6.57% |
4.14% |
0.01% |
2.79% |
- The memory map as below:-
linux memory 384MB from 0x80000000 and 800MB from 0xC0000000
- Result of cat /proc/meminfo:-
|
MemTotal: |
1174016kB |
|
MemFree: |
951620kB |
|
Buffers: |
7992kB |
|
Cached: |
156064kB |
|
SwapCached: |
0kB |
|
Active: |
59724kB |
|
Inactive: |
133460kB |
|
Active(anon): |
47736kB |
|
Inactive(anon): |
91268kB |
|
Active(file): |
11988kB |
|
Inactive(file): |
42192kB |
|
Unevictable: |
0kB |
|
Mlocked: |
0kB |
|
HighTotal: |
797696kB |
|
HighFree: |
603884kB |
|
LowTotal: |
376320kB |
|
LowFree: |
347736kB |
|
SwapTotal: |
0kB |
|
SwapFree: |
0kB |
|
Dirty: |
28kB |
|
Writeback: |
0kB |
|
AnonPages: |
29144kB |
|
Mapped: |
98400kB |
|
Shmem: |
109876kB |
|
Slab: |
11516kB |
|
SReclaimable: |
5096kB |
|
SUnreclaim: |
6420kB |
|
KernelStack: |
1688kB |
|
PageTables: |
1732kB |
|
NFS_Unstable: |
0kB |
|
Bounce: |
0kB |
|
WritebackTmp: |
0kB |
|
CommitLimit: |
587008kB |
|
Committed_AS: |
1032000kB |
|
VmallocTotal: |
516096kB |
|
VmallocUsed: |
144448kB |
|
VmallocChunk: |
350744kB |