Liam Howlett
|
libcam DOC driver using a lot of memory
|
Liam Howlett
07/21/2009 11:07 AM
post34203
|
libcam DOC driver using a lot of memory
Hello,
I'm trying to track down where a disk on chip (DOC) driver is allocating a lot of our ram (10MB/64) and have hit a road
block. The driver uses the cam library and xpt to setup a SCSI emulation layer. I believe the allocation is occuring
in the cam library during a call to xpt_peripheral_driver.
During tracing with the IDE, I found out that it is a call to xpt_peripheral_driver() right after a dlopen() that causes
the large amount of memory to be allocated. The IDE reports the majority of this space is heap.
Where might I find the source for libcam to see what's going on? Is this released? I know that I won't find the
specific version we are using as it's 6.3.2 but maybe a newer version didn't change too much.
Is there any configuration items that allow a user defined amount of cache (if that's what the ram is being used as)
during the setup of our emulation layer?
Please share any thoughts on debugging too, I'm running out of road :)
Thank you,
Liam
|
|
|