Re: What to expect after 0.99.8

From: Linus Torvalds <torvalds@osdl.org>
Date: 2005-10-05 10:10:18
On Tue, 4 Oct 2005, Junio C Hamano wrote:
> 
> I vaguely recall there was an interesting regression in recent
> kernel history when the implementation of the pipe buffer was
> changed, with which, writing the same amount of data with
> different number of writes made things behave differently and
> making the worst case buffer size less than traditional 4K.

Just for performance reasons, I ended up doing merging anyway, so in fact 
regardless of how you write the current pipe buffer size is up to 16 
pages.

I think you can safely assume that pretty much any file descriptor you use 
has at least 1kB of buffer. Even 4kB is likely a "safe assumption", and in 
reality, most of them end up having even more.

With something like ssh, you probably end up having even deeper ones, 
since you end up having the local pty or socket to ssh, and then ssh has 
the TCP buffer to the network..

			Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Oct 05 10:10:59 2005

This archive was generated by hypermail 2.1.8 : 2005-10-05 10:11:02 EST