From owner-freebsd-arch Tue Jun 20 10:29:27 2000 Delivered-To: freebsd-arch@freebsd.org Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (Postfix) with ESMTP id 2857537BFAC for ; Tue, 20 Jun 2000 10:29:23 -0700 (PDT) (envelope-from tlambert@usr01.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.9.3/8.9.3) id KAA27550; Tue, 20 Jun 2000 10:28:41 -0700 (MST) Received: from usr01.primenet.com(206.165.6.201) via SMTP by smtp02.primenet.com, id smtpdAAA4UaOW1; Tue Jun 20 10:28:37 2000 Received: (from tlambert@localhost) by usr01.primenet.com (8.8.5/8.8.5) id KAA19533; Tue, 20 Jun 2000 10:29:15 -0700 (MST) From: Terry Lambert Message-Id: <200006201729.KAA19533@usr01.primenet.com> Subject: Re: kblob discussion. To: des@flood.ping.uio.no (Dag-Erling Smorgrav) Date: Tue, 20 Jun 2000 17:29:15 +0000 (GMT) Cc: bright@wintelcom.net (Alfred Perlstein), arch@FreeBSD.ORG In-Reply-To: from "Dag-Erling Smorgrav" at Jun 20, 2000 02:28:38 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > oops, you can find the preliminary kblob diffs over here: > > > > http://people.freebsd.org/~alfred/kblob/kblob-final.diff > > > > It's a new syscall, less overhead than sendfile and useful for > > serving small chunks of data very quickly. > > Do kblobs do anything that can't be easily done with sendfile() by > mmapping suitably large chunks of /dev/null? Don't dirty chunks of /dev/zero (I think you meant /dev/zero?) get written to swap? This would seem to be not very useful overhead. Alfred already pointed out the mlock/sendfile approach, and why it was not recisely the same as what he intended by "kblob". I think this interface is, to a large extent, an unfortunate victim of its current name. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message