wzab <(E-Mail Removed)> wrote:
> The process generating ACK in the current implementation is
> submitted to standard scheduling policy - so 2.4ms is quite short
> time! Maybe using the RT-enabled kernel or at least using the
> SCHED_FIFO scheduling could improve the situation.
> Anyway I'm quite sure, that sooner or later I'll face the efficiency
> problems.
> Solution with generation of ACK as soon as the packet is received,
> and it's integrity i checked seems to be much more natural and
> elegant - but this requires kernel space implementation...
Is your ACK currently both an "I've got the data now" and a "You can
send more data now" indication? If so, ACKing from the kernel will be
strictly an "I've got the data now" and not a "You can send more data
now" unless you delay it until after the application has done a
receive of the data, which will still be subject to the same
scheduling vagaries you currently seem to have.
rick jones
--
I don't interest myself in "why". I think more often in terms of
"when", sometimes "where"; always "how much." - Joubert
these opinions are mine, all mine; HP might not want them anyway...

feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...