From owner-freebsd-questions@FreeBSD.ORG Sun Nov 17 16:38:25 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E783C63F for ; Sun, 17 Nov 2013 16:38:25 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AD95726BF for ; Sun, 17 Nov 2013 16:38:25 +0000 (UTC) Received: from r56.edvax.de (port-92-195-117-74.dynamic.qsc.de [92.195.117.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 7F2FD24502; Sun, 17 Nov 2013 17:38:23 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id rAHGc9qj004717; Sun, 17 Nov 2013 17:38:09 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 17 Nov 2013 17:38:09 +0100 From: Polytropon To: Warren Block Subject: Re: how install two freebsd9.2 on one disk? Message-Id: <20131117173809.77f1a565.freebsd@edvax.de> In-Reply-To: References: <20131117115010.e13431a3.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: s m , freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Nov 2013 16:38:26 -0000 On Sun, 17 Nov 2013 09:02:49 -0700 (MST), Warren Block wrote: > On Sun, 17 Nov 2013, Polytropon wrote: > > ... > > As you're probably initializing the SSD with UFS, keep in mind > > that you can apply certain optimizations to make the SSD have > > a long and happy life. :-) > > > > # newfs -m 0 -i 16384 -b 16384 -f 2048 -l -L os1root ada0s1 > > # newfs -m 0 -i 16384 -b 16384 -f 2048 -l -L os2root ada0s2 > > > > This is just an example which somehow corresponds to the legacy > > partitioning method mentioned above. You need of course to set > > the parameters to _your_ intended way of use! > > If overriding defaults, I would make nothing less than 4K (-f above). > But for SSDs, I just use the defaults with UFS on FreeBSD 9 and later, > and it does not appear to be giving up SSD performance. True, I've been missing that aspect. Depending on if it's a SSD or a real disk (and what "age" the disk is from), different kinds of optimization can be applied at certain levels (aligning the partitions, parameters to initalize the file system). It's also good if it's possible to predict the _kind of use_ the disk will be put into, i. e. what and how many files will be stored and what kind of "preferred" access (read, write, both) will be present. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...