lkml.org 
[lkml]   [1999]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: zero-copy TCP fileserving
Date
From
> no CPU in the world has memory writes for free! i'll rephrase if its
> hard to understand - the _performance_ effect is not "twice the time" but
> relative to the cpu/bus speed, but the _absolute_ time spent is (+/-
> depending on bus design).

If the CPU can queue posted writes for the data and is still able to feed
itself without stalling, and there is enough bandwidth left for any other
bus masters _in the unlikely event it hits main memory_ then the write is
pretty cheap. Since we are going to want the data again for the actual
I/O transaction in most cases its extremely close to zero cost.

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site