From owner-freebsd-hackers@FreeBSD.ORG Sun Dec 3 21:52:44 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0EEF716A4C8 for ; Sun, 3 Dec 2006 21:52:44 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F6DD43CA6 for ; Sun, 3 Dec 2006 21:52:14 +0000 (GMT) (envelope-from freebsd-hackers@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GqzGC-0006hM-ID for freebsd-hackers@freebsd.org; Sun, 03 Dec 2006 22:52:32 +0100 Received: from 89-172-58-206.adsl.net.t-com.hr ([89.172.58.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Dec 2006 22:52:32 +0100 Received: from ivoras by 89-172-58-206.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Dec 2006 22:52:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org From: Ivan Voras Date: Sun, 03 Dec 2006 22:52:32 +0100 Lines: 20 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 89-172-58-206.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) In-Reply-To: Sender: news Subject: Re: BootCache for FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2006 21:52:44 -0000 Vishal Patil wrote: > Is anyone working on the idea of implementing BootCache for FreeBSD? MacOS > has this idea implemented > http://www.osxbook.com/book/bonus/misc/optimizations and I was wondering if > FreeBSD had such an implementation. I think it would be especially usefull > for laptops and desktops with slow drives that run FreeBSD. It would be easy to do as a GEOM class, but for real-life usage it would have to be directly in GEOM. Actually, I've done the logging part twice before, but it's not convenient to stop the geoms to insert a logging class in front of them. PJD has talked for some time about making a sort-of "hot-pluggable" mechanism in GEOM in which classes could be inserted in between two other classes without stopping them, but this will take time... There's another consideration: Apple can do it because OSX is shipped "as-is" and doesn't change much when you install it, but FreeBSD is always customized after installing. This doesn't prevent the mechanism to be implemented, but it would require it to be very easy to use.