From owner-freebsd-hackers Mon Aug 17 10:22:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA04733 for freebsd-hackers-outgoing; Mon, 17 Aug 1998 10:22:53 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from sasami.jurai.net (sasami.jurai.net [207.153.65.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA04716 for ; Mon, 17 Aug 1998 10:22:49 -0700 (PDT) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with SMTP id NAA10229; Mon, 17 Aug 1998 13:21:46 -0400 (EDT) Date: Mon, 17 Aug 1998 13:21:46 -0400 (EDT) From: "Matthew N. Dodd" To: "Jordan K. Hubbard" cc: Andre Oppermann , hackers@FreeBSD.ORG Subject: Re: sendfile() API? In-Reply-To: <26941.903302184@time.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Apache 1.3 uses MMAP to send static content. I assume this is what sendfile() would do. The fact that Apache already has this feature, without the abstracting API would indicate that such a thing would be worth it no? On Sun, 16 Aug 1998, Jordan K. Hubbard wrote: > > They state sendfile() gives excellent Webserver performace, isn't that > > somthing for FreeBSD? > > Predicated on two things, both of which I raised at the Apache core > developers meeting recently: > > 1. A reasonable (e.g. not HP/UX's) API is established by those who're > going to use it so that we know just what precisely it is we're supposed > to implement. > > 2. Some sort of benchmark suite is developed to show when and where > this *actually helps* so that we can justify the addition of > sendfile() to FreeBSD (or any other OS, for that matter). > > I'm still waiting for either of those things to happen, and until then > it's a reasonable assumption that demand is just not that significant > yet. > > - Jordan > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > -- | Matthew N. Dodd |This space | '78 Datsun 280Z | FreeBSD/NetBSD/Sprite/VMS | | winter@jurai.net |is for rent| '84 Volvo 245DL | ix86,sparc,m68k,pmax,vax | | http://www.jurai.net/~winter | Are you k-rad elite enough for my webpage? | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message