3555
- 收藏
- 点赞
- 分享
- 举报
3521A venc & aenc 内存使用疑问
本帖最后由 yenfuliu 于 2017-9-28 10:02 编辑
目前使用3521a录影,创建4个1080P和4个D1,和8个aenc的codec,透过pmap查看OS的内存使用量发现内存里 venc佔用了约48MB
~ # pmap 1210
1210: {no such process} ./His3521A
00008000 1988K r-xp /mnt/loc/AP/His3521A
00200000 32K rwxp /mnt/loc/AP/His3521A
00208000 1192K rwxp [ anon ]
014fa000 440K rwxp [heap]
ae09e000 4056K rwxs /dev/venc
ae494000 4056K rwxs /dev/venc
ae88a000 4056K rwxs /dev/venc
aec80000 4056K rwxs /dev/venc
af076000 4K ---p [ anon ]
af077000 8188K rwxp [stack:1269]
af876000 32K rwxs /dev/mmz_userdev
af87e000 8K rwxs /dev/mmz_userdev
af880000 4K ---p [ anon ]
af881000 248K rwxp [stack:1268]
af8bf000 4K ---p [ anon ]
af8c0000 996K rwxp [stack:1267]
af9b9000 4K ---p [ anon ]
af9ba000 8188K rwxp [stack:1266]
b01b9000 32K rwxs /dev/mmz_userdev
b01c1000 8K rwxs /dev/mmz_userdev
b01c3000 4K ---p [ anon ]
b01c4000 248K rwxp [stack:1265]
b0202000 4K ---p [ anon ]
b0203000 996K rwxp [stack:1264]
b02fc000 4K ---p [ anon ]
b02fd000 8188K rwxp [stack:1263]
b0afc000 32K rwxs /dev/mmz_userdev
b0b04000 4K ---p [ anon ]
b0b05000 248K rwxp [stack:1262]
b0b43000 4K ---p [ anon ]
b0b44000 996K rwxp [stack:1261]
b0c3d000 4K ---p [ anon ]
b0c3e000 8188K rwxp [stack:1260]
b143d000 32K rwxs /dev/mmz_userdev
b1445000 4K ---p [ anon ]
b1446000 248K rwxp [stack:1259]
b1484000 4K ---p [ anon ]
b1485000 996K rwxp [stack:1258]
b157e000 4K ---p [ anon ]
b157f000 996K rwxp [stack:1257]
b1678000 4K ---p [ anon ]
b1679000 996K rwxp [stack:1256]
b1772000 4K ---p [ anon ]
b1773000 996K rwxp [stack:1255]
b186c000 4K ---p [ anon ]
b186d000 996K rwxp [stack:1254]
b1966000 4K ---p [ anon ]
b1967000 996K rwxp [stack:1253]
b1a60000 4K ---p [ anon ]
b1a61000 996K rwxp [stack:1243]
b1b5a000 4K ---p [ anon ]
b1b5b000 496K rwxp [stack:1242]
b1bd7000 4K ---p [ anon ]
b1bd8000 496K rwxp [stack:1241]
b1c54000 4K ---p [ anon ]
b1c55000 496K rwxp [stack:1240]
b1cd1000 4K ---p [ anon ]
b1cd2000 496K rwxp [stack:1239]
b1d4e000 8104K rwxs /dev/venc
b2538000 4K ---p [ anon ]
b2539000 2996K rwxp [stack:1238]
b2826000 8104K rwxs /dev/venc
b3010000 4K ---p [ anon ]
b3011000 2996K rwxp [stack:1237]
b32fe000 8104K rwxs /dev/venc
b3ae8000 4K ---p [ anon ]
b3ae9000 2996K rwxp [stack:1236]
b3dd6000 8104K rwxs /dev/venc
b45c0000 4K ---p [ anon ]
b45c1000 2996K rwxp [stack:1235]
b48ae000 4K ---p [ anon ]
b48af000 996K rwxp [stack:1230]
b49a8000 4K ---p [ anon ]
b49a9000 8188K rwxp [stack:1229]
b51a8000 32K rwxs /dev/mmz_userdev
b51b0000 52K rwxs /dev/mmz_userdev
b51bd000 4K ---p [ anon ]
b51be000 8188K rwxp [stack:1228]
b59bd000 32K rwxs /dev/mmz_userdev
b59c5000 52K rwxs /dev/mmz_userdev
b59d2000 4K ---p [ anon ]
b59d3000 8188K rwxp [stack:1227]
b61d2000 32K rwxs /dev/mmz_userdev
b61da000 52K rwxs /dev/mmz_userdev
b61e7000 4K ---p [ anon ]
b61e8000 8188K rwxp [stack:1226]
b69e7000 32K rwxs /dev/mmz_userdev
b69ef000 52K rwxs /dev/mmz_userdev
b69fc000 64K rwxs /dev/mmz_userdev
b6a0c000 64K rwxs /dev/mmz_userdev
b6a1c000 64K rwxs /dev/mmz_userdev
b6a2c000 500K rwxs /dev/mem
b6aa9000 4K ---p [ anon ]
b6aaa000 1996K rwxp [stack:1219]
b6c9d000 2048K rwxs /SYSV000c0384
b6e9d000 600K r-xp /lib/libuClibc-0.9.33.2.so
b6f33000 28K ---p [ anon ]
b6f3a000 8K rwxp /lib/libuClibc-0.9.33.2.so
b6f3c000 20K rwxp [ anon ]
b6f41000 12K r-xp /lib/libdl-0.9.33.2.so
b6f44000 28K ---p [ anon ]
b6f4b000 4K rwxp /lib/libdl-0.9.33.2.so
b6f4c000 44K r-xp /lib/libm-0.9.33.2.so
b6f57000 28K ---p [ anon ]
b6f5e000 4K rwxp /lib/libm-0.9.33.2.so
b6f5f000 76K r-xp /lib/libpthread-0.9.33.2.so
b6f72000 32K ---p [ anon ]
b6f7a000 4K rwxp /lib/libpthread-0.9.33.2.so
b6f7b000 8K rwxp [ anon ]
b6f7d000 28K r-xp /lib/ld-uClibc-0.9.33.2.so
b6f85000 8K rwxs /dev/mmz_userdev
b6f87000 8K rwxs /dev/mmz_userdev
b6f89000 8K rwxp [ anon ]
b6f8b000 4K rwxp /lib/ld-uClibc-0.9.33.2.so
be9a4000 132K rwxp [stack]
ffff0000 4K r-xp [vectors]
mapped: 150144K
接着再用ps -T 查看会有产生aenc的thread,怀疑aenc也占用了内存,因为创建thread时没做设定基本会设8M的stack,请问这个现象是正常的吗? 如果是正常有办法设定aenc的堆叠大小吗?
1226 root 0:00 {aenc_get} ./His3521A
1227 root 0:00 {aenc_get} ./His3521A
1228 root 0:00 {aenc_get} ./His3521A
1229 root 0:00 {aenc_get} ./His3521A
1260 root 0:00 {aenc_get} ./His3521A
1263 root 0:00 {aenc_get} ./His3521A
1266 root 0:00 {aenc_get} ./His3521A
1269 root 0:00 {aenc_get} ./His3521A
目前使用3521a录影,创建4个1080P和4个D1,和8个aenc的codec,透过pmap查看OS的内存使用量发现内存里 venc佔用了约48MB
~ # pmap 1210
1210: {no such process} ./His3521A
00008000 1988K r-xp /mnt/loc/AP/His3521A
00200000 32K rwxp /mnt/loc/AP/His3521A
00208000 1192K rwxp [ anon ]
014fa000 440K rwxp [heap]
ae09e000 4056K rwxs /dev/venc
ae494000 4056K rwxs /dev/venc
ae88a000 4056K rwxs /dev/venc
aec80000 4056K rwxs /dev/venc
af076000 4K ---p [ anon ]
af077000 8188K rwxp [stack:1269]
af876000 32K rwxs /dev/mmz_userdev
af87e000 8K rwxs /dev/mmz_userdev
af880000 4K ---p [ anon ]
af881000 248K rwxp [stack:1268]
af8bf000 4K ---p [ anon ]
af8c0000 996K rwxp [stack:1267]
af9b9000 4K ---p [ anon ]
af9ba000 8188K rwxp [stack:1266]
b01b9000 32K rwxs /dev/mmz_userdev
b01c1000 8K rwxs /dev/mmz_userdev
b01c3000 4K ---p [ anon ]
b01c4000 248K rwxp [stack:1265]
b0202000 4K ---p [ anon ]
b0203000 996K rwxp [stack:1264]
b02fc000 4K ---p [ anon ]
b02fd000 8188K rwxp [stack:1263]
b0afc000 32K rwxs /dev/mmz_userdev
b0b04000 4K ---p [ anon ]
b0b05000 248K rwxp [stack:1262]
b0b43000 4K ---p [ anon ]
b0b44000 996K rwxp [stack:1261]
b0c3d000 4K ---p [ anon ]
b0c3e000 8188K rwxp [stack:1260]
b143d000 32K rwxs /dev/mmz_userdev
b1445000 4K ---p [ anon ]
b1446000 248K rwxp [stack:1259]
b1484000 4K ---p [ anon ]
b1485000 996K rwxp [stack:1258]
b157e000 4K ---p [ anon ]
b157f000 996K rwxp [stack:1257]
b1678000 4K ---p [ anon ]
b1679000 996K rwxp [stack:1256]
b1772000 4K ---p [ anon ]
b1773000 996K rwxp [stack:1255]
b186c000 4K ---p [ anon ]
b186d000 996K rwxp [stack:1254]
b1966000 4K ---p [ anon ]
b1967000 996K rwxp [stack:1253]
b1a60000 4K ---p [ anon ]
b1a61000 996K rwxp [stack:1243]
b1b5a000 4K ---p [ anon ]
b1b5b000 496K rwxp [stack:1242]
b1bd7000 4K ---p [ anon ]
b1bd8000 496K rwxp [stack:1241]
b1c54000 4K ---p [ anon ]
b1c55000 496K rwxp [stack:1240]
b1cd1000 4K ---p [ anon ]
b1cd2000 496K rwxp [stack:1239]
b1d4e000 8104K rwxs /dev/venc
b2538000 4K ---p [ anon ]
b2539000 2996K rwxp [stack:1238]
b2826000 8104K rwxs /dev/venc
b3010000 4K ---p [ anon ]
b3011000 2996K rwxp [stack:1237]
b32fe000 8104K rwxs /dev/venc
b3ae8000 4K ---p [ anon ]
b3ae9000 2996K rwxp [stack:1236]
b3dd6000 8104K rwxs /dev/venc
b45c0000 4K ---p [ anon ]
b45c1000 2996K rwxp [stack:1235]
b48ae000 4K ---p [ anon ]
b48af000 996K rwxp [stack:1230]
b49a8000 4K ---p [ anon ]
b49a9000 8188K rwxp [stack:1229]
b51a8000 32K rwxs /dev/mmz_userdev
b51b0000 52K rwxs /dev/mmz_userdev
b51bd000 4K ---p [ anon ]
b51be000 8188K rwxp [stack:1228]
b59bd000 32K rwxs /dev/mmz_userdev
b59c5000 52K rwxs /dev/mmz_userdev
b59d2000 4K ---p [ anon ]
b59d3000 8188K rwxp [stack:1227]
b61d2000 32K rwxs /dev/mmz_userdev
b61da000 52K rwxs /dev/mmz_userdev
b61e7000 4K ---p [ anon ]
b61e8000 8188K rwxp [stack:1226]
b69e7000 32K rwxs /dev/mmz_userdev
b69ef000 52K rwxs /dev/mmz_userdev
b69fc000 64K rwxs /dev/mmz_userdev
b6a0c000 64K rwxs /dev/mmz_userdev
b6a1c000 64K rwxs /dev/mmz_userdev
b6a2c000 500K rwxs /dev/mem
b6aa9000 4K ---p [ anon ]
b6aaa000 1996K rwxp [stack:1219]
b6c9d000 2048K rwxs /SYSV000c0384
b6e9d000 600K r-xp /lib/libuClibc-0.9.33.2.so
b6f33000 28K ---p [ anon ]
b6f3a000 8K rwxp /lib/libuClibc-0.9.33.2.so
b6f3c000 20K rwxp [ anon ]
b6f41000 12K r-xp /lib/libdl-0.9.33.2.so
b6f44000 28K ---p [ anon ]
b6f4b000 4K rwxp /lib/libdl-0.9.33.2.so
b6f4c000 44K r-xp /lib/libm-0.9.33.2.so
b6f57000 28K ---p [ anon ]
b6f5e000 4K rwxp /lib/libm-0.9.33.2.so
b6f5f000 76K r-xp /lib/libpthread-0.9.33.2.so
b6f72000 32K ---p [ anon ]
b6f7a000 4K rwxp /lib/libpthread-0.9.33.2.so
b6f7b000 8K rwxp [ anon ]
b6f7d000 28K r-xp /lib/ld-uClibc-0.9.33.2.so
b6f85000 8K rwxs /dev/mmz_userdev
b6f87000 8K rwxs /dev/mmz_userdev
b6f89000 8K rwxp [ anon ]
b6f8b000 4K rwxp /lib/ld-uClibc-0.9.33.2.so
be9a4000 132K rwxp [stack]
ffff0000 4K r-xp [vectors]
mapped: 150144K
接着再用ps -T 查看会有产生aenc的thread,怀疑aenc也占用了内存,因为创建thread时没做设定基本会设8M的stack,请问这个现象是正常的吗? 如果是正常有办法设定aenc的堆叠大小吗?
1226 root 0:00 {aenc_get} ./His3521A
1227 root 0:00 {aenc_get} ./His3521A
1228 root 0:00 {aenc_get} ./His3521A
1229 root 0:00 {aenc_get} ./His3521A
1260 root 0:00 {aenc_get} ./His3521A
1263 root 0:00 {aenc_get} ./His3521A
1266 root 0:00 {aenc_get} ./His3521A
1269 root 0:00 {aenc_get} ./His3521A
我来回答
回答7个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2017-11-24 15:23:07
-
2016-07-07 15:04:59
-
2017-06-02 09:53:34
-
2017-10-10 09:34:28
-
2018-03-30 16:42:30
-
2017-07-10 16:28:57
-
2017-09-08 20:15:44
-
2017-08-28 18:50:09
-
2017-06-28 23:14:18
-
2018-07-09 17:20:55
-
2019-01-15 11:00:06
-
2019-04-08 16:06:48
-
2017-11-22 09:26:40
-
2018-09-02 19:46:24
-
2019-12-09 16:06:56
-
2017-10-19 18:04:32
-
2017-09-06 19:15:29
-
2014-11-26 12:52:46
-
2016-11-02 19:07:52
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认