Patent ID: 7234141

Claim:
A method of performing a plurality of processing functions on a plurality of input channels, wherein each processing function has a preference for processing a number of the input channels and wherein the processing functions are executed on a microprocessor having a cache, the method comprising: determining a system batch size of input channels by dividing the plurality of input channels into a plurality of batches, wherein the size of each batch is based on the preference of each processing function; processing the input channels in batches of the determined system batch size or multiples thereof by performing each processing function on every input channel in the batch; determining data requirements of processing a single channel; and determining a preferred batch size based on the size of the cache, the determined data requirements, and the preferences, wherein the preferred batch size is such so as to prevent overflow of the cache during the processing of each batch and wherein the preferred batch size is a integer multiple of the system batch size; and further wherein the step of processing the input channels is adapted for processing the input channels in batches of the preferred batch size.