next up previous contents
Next: About this document ... Up: SMA Technical Memo #141: Previous: Sample Program   Contents

Execution Times

Execution times for the rm_read() and rm_write() calls were measured. Execution times vary depending on the size of the allocation list and which member of the allocation list is requested in the name parameter, due to the time required to resolve name into a memory address offset.

The results shown here were measured using the list of allocation names when it contained 119 entries. The test program ran on an otherwise unloaded PowerPC running LynxOS 2.5.1. Measurements were made for every name in the list. The minimum, mean, and maximum execution times were measured separately for 2, 4, and 8 byte accesses.

datum size   execution time ()
(bytes) function minimum mean maximum
2 rm_read() 4.33 5.37 6.26
  rm_write() 3.35 4.38 5.24
         
4 rm_read() 4.82 5.79 6.73
  rm_write() 3.71 4.30 4.81
         
8 rm_read() 6.21 7.99 8.63
  rm_write() 4.09 4.65 5.09


next up previous contents
Next: About this document ... Up: SMA Technical Memo #141: Previous: Sample Program   Contents
2008-06-18