[lkml]   [1999]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: zero-copy TCP fileserving
   Date: 	Mon, 7 Jun 1999 15:45:03 +0100 (BST)
From: Alan Cox <>

You might want to benchmark the overhead of that. You have to
invalidate and be sure the other cpu invalidation is complete
before continuing. I don't doubt it can be way faster than intel,
but I doubt its that cheap.

Anyone have datasheet figures ?

Sure you can, if things are setup correctly, the CPU does the
invalidation at the first event at which it can take any trap, for
example on UltraSparc.

All the information needed to perform the flush is in the IRQ packet
itself, so it's atomic etc. As soon as you get a non-NAK from the cpu
on the sender side, you can act as if the flush arrived.

My point is that on some machines it is quite cheap to "be sure".

I have not overlooked the fact that avoiding the cross TLB flush is
important, because in fact even on UltraSparc I take great pains to
make sure it almost never happens.

David S. Miller

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:52    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean