UNCLASSIFIED 

We've been trying to increase the size of our buffer from RCC to HDL space, due 
to the current speeds across PCI being fairly slow (they roughly follow the 
small  transfer speeds in Shep's email).

When we increased the sequenceLength in our protocol xml from "4k" to "4m" 
(type=short thus 8192000 bytes) and run we get the message:
"Requested buffer count and size won't fit in the OCDP's memory" 

Having tried various sizes, we clearly need some guidance on how to create high 
BW transfers. 

1. In Shep's email (a line from it is below), what is the relationship between 
bytes and framesize to Type and SequenceLength from protocol XML.

        "Bytes 16000, Time delta = 1947, 8.217771 MBytes/seconds, Framesize 16" 

2. When a protocol contains several operations, does OpenCPI allocate just 
enough space for the largest one or does it add them together.  I ask because 
the line in HdlContainer.cxx that checks for an error and throws the OCDP error 
mentioned above has "myDesc.nBuffers * (...)" which implies that the number of 
buffers is multiplied by the largest buffer size.  We have several operations 
in one protocol and this may be causing issues.

3. If this isn't already answered by 1), what needs to be set in order to have 
large buffer sizes (e.g. 8Mb), including OpenCPI memory settings (e.g. 
allocation of memory for the OCDP).

Cheers, 

Nigel 

IMPORTANT: This email remains the property of the Department of Defence and is 
subject to the jurisdiction of section 70 of the Crimes Act 1914. If you have 
received this email in error, you are requested to contact the sender and 
delete the email. 


_______________________________________________
opencpi_dev mailing list
[email protected]
http://lists.opencpi.org/listinfo.cgi/opencpi_dev-opencpi.org

Reply via email to