Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX6 fs uses a lot of RAM?: (5 Items)
   
QNX6 fs uses a lot of RAM?  
At least I think its the culprit.  I'm developing under QNX 6.5.0.  Our system is an x86 PC-104 with 256 MB of RAM.  The
 devb-eide task is consuming 49MB of RAM.  The file system is on a 2GB Compact Flash.  I start the drivers as follows:

devb-eide quiet blk ramdisk=10m cache=2m qnx6 &
waitfor /dev/hd0
mount -t qnx6 -o sync=optional /dev/hd0t177 /

The ramdisk is occupying 10MB of this.  I've tried some of the memory saving tricks documented for io-blk but they did 
not seem to change this value.  I understand the nature of the the power fail safe system might use a lot of RAM, but is
 there any way I can control the RAM usage?
Re: QNX6 fs uses a lot of RAM?  
It's io-blk cache - it defaults to 15% of RAM IIRC.  Check the docs for io-blk.
Re: QNX6 fs uses a lot of RAM?  
Use the "blk cache=" parameter to limit the amount of RAM utilized.

# devb-eide blk cache=2m
Re: QNX6 fs uses a lot of RAM?  
There needs to be a comma between the ramdisk and cache options.

Cheers.

Sent from my BlackBerry 10 smartphone on the Fido network.
  Original Message
From: Robert Murrell
Sent: Tuesday, December 9, 2014 8:14 AM
To: general-filesystems
Reply To: general-filesystems@community.qnx.com
Subject: QNX6 fs uses a lot of RAM?


At least I think its the culprit.  I'm developing under QNX 6.5.0.  Our system is an x86 PC-104 with 256 MB of RAM.  The
 devb-eide task is consuming 49MB of RAM.  The file system is on a 2GB Compact Flash.  I start the drivers as follows:

devb-eide quiet blk ramdisk=10m cache=2m qnx6 &
waitfor /dev/hd0
mount -t qnx6 -o sync=optional /dev/hd0t177 /

The ramdisk is occupying 10MB of this.  I've tried some of the memory saving tricks documented for io-blk but they did 
not seem to change this value.  I understand the nature of the the power fail safe system might use a lot of RAM, but is
 there any way I can control the RAM usage?




_______________________________________________

General
http://community.qnx.com/sf/go/post112574
To cancel your subscription to this discussion, please e-mail general-filesystems-unsubscribe@community.qnx.com
Re: QNX6 fs uses a lot of RAM?  
Doh, the missing comma was the problem.  Thanks for the assistance.