User`s guide
KwikNet System Configuration
K
A
DAK
45
Target Parameters (continued)
Data Alignment Boundary
From the pull down list, choose the target processor's natural data alignment (16-bit or
32-bit) for long variables and structures. If the natural data alignment is dictated by the
processor, this field will be preset and unalterable.
Default I/O Method and I/O Cache
From the pull down list, choose the method (memory mapped or I/O ports) used for
device I/O addressing for the target processor. If the I/O addressing method is dictated
by the processor, this field will be preset and unalterable.
When memory mapped I/O is used on processors like the PowerPC, it may be necessary
to invalidate the data cache before I/O reads and flush the data cache after I/O writes. For
such systems, check the I/O...cache box.
Cache Line Size
If your target processor has a data cache, then specify the size of a single line in the data
cache. The most common values for this parameter can be selected from the pull down
list. If your processor's data cache line size is not in the list, you must type the value
directly into the edit field. If your target processor does not have a data cache, then set
this field to 0.
KwikNet Clock Tick Frequency
Enter the frequency of the fundamental KwikNet clock tick. All KwikNet timing
measurements will be based on this frequency. The KwikNet Task will perform its stack
polling operations at this frequency.
The KwikNet clock frequency must be at least 2 Hz. A frequency of 10 Hz or 20 Hz is
recommended. Any frequency much above 50 Hz will simply introduce unnecessary
execution overhead with little noticeable improvement in network throughput.
Note that KwikNet must achieve the specified clock frequency using timing services
provided by the underlying operating system. You must therefore choose a KwikNet clock
frequency which is derivable by that operating system. Set the
KwikNet clock frequency
so that the corresponding period is an integral number of OS system ticks.
Number of Messaging Blocks
KwikNet uses messaging blocks for its private internal communication. You may have to
increase the number of messaging blocks if any of the following conditions exist.
You have many tasks using network services
You service several networks concurrently
You expect high levels of network packet activity