devb-ram uses to much RAM?

When I start devb-ram on my QNX 6.1 Patch A system with the following
command

devb-ram blk automount=/dev/hd1t77:/ram &

It create a 2MB partition and mounts it at /ram - which is great.

However, pidin mem shows the following :

143224860 1 sbin/devb-ram 10o SIGWAITINFO 12K 12M
8192(516K)*
143224860 2 sbin/devb-ram 21r RECEIVE 12K 12M
4096(8192)
143224860 3 sbin/devb-ram 10o RECEIVE 12K 12M
4096(16K)
143224860 4 sbin/devb-ram 10o CONDVAR 12K 12M
4096(16K)
143224860 5 sbin/devb-ram 10o RECEIVE 12K 12M
4096(16K)
143224860 6 sbin/devb-ram 10o RECEIVE 12K 12M
4096(16K)
ldqnx.so.2 @b0300000 296K 16K
libcam.so.2 @b034e000 40K 8192
cam-disk.so @b035a000 12K 4096
io-blk.so @b035e000 104K 4096
fs-qnx4.so @b0379000 36K 4096

Why does it take 12MB to create a 2MB partition?

Do I need to specify cache=0?

Thanks.

Jim Robbins
IBm Austin

Jim Robbins <robbinsj@us.ibm.com> wrote:

When I start devb-ram on my QNX 6.1 Patch A system with the following
command

devb-ram blk automount=/dev/hd1t77:/ram &

It create a 2MB partition and mounts it at /ram - which is great.

[snip]

Why does it take 12MB to create a 2MB partition?

The 12MB includes the io-blk cache. You can decrease the io-blk
cache size with the blk cache=xxxx option.

“Jim Robbins” <robbinsj@us.ibm.com> wrote in message
news:3BC45B94.116C0F71@us.ibm.com
When I start devb-ram on my QNX 6.1 Patch A system with the following
command
devb-ram blk automount=/dev/hd1t77:/ram &
It create a 2MB partition and mounts it at /ram - which is great.
However, pidin mem shows the following :

143224860 1 sbin/devb-ram 10o SIGWAITINFO 12K 12M
8192(516K)*
143224860 2 sbin/devb-ram 21r RECEIVE 12K 12M
4096(8192)
143224860 3 sbin/devb-ram 10o RECEIVE 12K 12M
4096(16K)
143224860 4 sbin/devb-ram 10o CONDVAR 12K 12M
4096(16K)
143224860 5 sbin/devb-ram 10o RECEIVE 12K 12M
4096(16K)
143224860 6 sbin/devb-ram 10o RECEIVE 12K 12M
4096(16K)
ldqnx.so.2 @b0300000 296K 16K

libcam.so.2 @b034e000 40K 8192
cam-disk.so @b035a000 12K 4096
io-blk.so @b035e000 104K 4096
fs-qnx4.so @b0379000 36K 4096

Why does it take 12MB to create a 2MB partition?

Must be devb’s cache, lol!

Do I need to specify cache=0?

And probably alloc=0 too.


Thanks.
Jim Robbins
IBm Austin