From owner-freebsd-arch Tue Mar 11 1:43:59 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91B2537B401 for ; Tue, 11 Mar 2003 01:43:58 -0800 (PST) Received: from park.rambler.ru (park.rambler.ru [81.19.64.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 032A843FB1 for ; Tue, 11 Mar 2003 01:43:56 -0800 (PST) (envelope-from is@rambler-co.ru) Received: from is.park.rambler.ru (is.park.rambler.ru [81.19.64.102]) by park.rambler.ru (8.12.6/8.12.6) with ESMTP id h2B9hsmF083353 for ; Tue, 11 Mar 2003 12:43:54 +0300 (MSK) Date: Tue, 11 Mar 2003 12:43:54 +0300 (MSK) From: Igor Sysoev X-Sender: is@is To: arch@FreeBSD.ORG Subject: Re: Should sendfile() to return EAGAIN? [patch] In-Reply-To: <3E6CED5E.260E568E@imimic.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 10 Mar 2003, Alan L. Cox wrote: >Andrew Gallatin outlined an implementation earlier in this thread. I've >e-mailed you a patch that does the critical parts of what he outlined. If this implementation increases vm_page size I think it should be enabled via option in the kernel configuration. A typical FreeBSD machine never uses sendfile() or uses little and never exhausts sf_buf's so this increase would waste the kernel memory. Igor Sysoev http://sysoev.ru/en/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message