From owner-freebsd-questions@FreeBSD.ORG Wed Nov 25 01:07:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B2D8106566B for ; Wed, 25 Nov 2009 01:07:09 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-yw0-f204.google.com (mail-yw0-f204.google.com [209.85.211.204]) by mx1.freebsd.org (Postfix) with ESMTP id C839D8FC19 for ; Wed, 25 Nov 2009 01:07:08 +0000 (UTC) Received: by ywh42 with SMTP id 42so6869502ywh.28 for ; Tue, 24 Nov 2009 17:07:07 -0800 (PST) Received: by 10.90.9.23 with SMTP id 23mr9225169agi.51.1259109600580; Tue, 24 Nov 2009 16:40:00 -0800 (PST) Received: from papi.localnet ([187.78.26.163]) by mx.google.com with ESMTPS id 39sm447137yxd.27.2009.11.24.16.39.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 24 Nov 2009 16:39:59 -0800 (PST) From: Mario Lobo To: "freebsd-questions" Date: Tue, 24 Nov 2009 21:39:31 -0300 User-Agent: KMail/1.12.1 (FreeBSD/8.0-PRERELEASE; KDE/4.3.1; amd64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200911242139.32106.lobo@bsd.com.br> Subject: Tunning 8.0 for multiple VMs (VBox) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Nov 2009 01:07:09 -0000 Hi to all; I have a system where I will be running 5 VBox VMs (3 W2K3, 1 XP & 1 Linux) for a lab simulation (work obligations). I have already ran the 5 VMs with a regular load on each and everything went fine. I think VBox is truly a great VM Manager, and it runs better (smoother and faster) in FBSD than in any other OS I tried it (Ubuntu, Winblows and OpenSolaris (!) ). Along the years, I've been running FBSD, picking up info from any "Tuning FreeBSD" guide I could find, starting with the handbook of course, going through articles and mailing list archives, trying to find a balance that would fit my desktop, among the several roles FreeBSD is used for. I would like to expose the hardware/settings I have now to the list, to see if what I've done is appropriate, over or under rated (or simply stupid), to squeeze every drop of performance FreeBSD can give with what I have. It is pretty fast as it is but it never hurts attempting to make it even better. Please bear 2 things in mind: 1) I am trying to learn here; 2) This is a Desktop machine (not a server!), sitting on my home LAN, behind a properly configured (again, to the best of my modest ability) firewall. It is used for everyday tasks, plus developing and music production. I am posting what I believe to be most relevant. Thank you all before hand for any advice. Here it goes: [Machine] FreeBSD 8.0-PRERELEASE #0 r198930M: Sat Nov 21 14:24:10 BRT 2009 CPU: AMD Phenom(tm) II X4 955 Processor (3193.08-MHz K8-class CPU) on cpu0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 MB: AOD790GX/128M RAM: real mem = 8589934592 (8192 MB) avail mem = 7994658816 (7624 MB) VIDEO: on vgapci0 NET: (yeah, i know...) HD1: 476940MB at ata2-master SATA300 HD2: 476940MB at ata3-master SATA300 [loader.conf] verbose_loading="YES" amdtemp_load="YES" drm_load="YES" radeon_load="YES" linux_load="YES" vboxdrv_load="YES" # vboxnetflt and #vboxnetadp loaded later snd_cmi_load="YES" atapicam_load="YES" cpufreq_load="YES" [rc.conf] background_fsck="NO" check_quotas="NO" clear_tmp_enable="YES" compat4x_enable="YES" compat5x_enable="YES" compat6x_enable="YES" compat7x_enable="YES" kern_securelevel_enable="NO" tcp_extensions="YES" defaultrouter="10.10.10.1" hostname="me" gateway_enable="NO" ifconfig_re0="inet 10.10.10.2 netmask 255.255.255.0" linux_enable="YES" inetd_enable="NO" sendmail_enable="NONE" sshd_enable="YES" smbd_enable="YES" usbd_enable="YES" cupsd_enable="YES" fusefs_enable="YES" fusefs_safe="YES" hald_enable="YES" dbus_enable="YES" powerd_enable="YES" # powerd_flags="-i 92 -r 65 -p 200" powerd_flags="-p 200" font8x8="cp850-8x8" font8x14="cp850-8x14" font8x16="cp850-8x16" keymap="br275.iso.acc.kbd" [sysctl.conf] debug.cpufreq.lowest=1250 vfs.read_max=32 kern.maxvnodes=400000 kern.maxfiles=65536 kern.maxfilesperproc=32768 kern.ipc.maxsockbuf=524288 kern.module_path=/boot/kernel;/boot/modules;/usr/local/modules compat.linux.osrelease=2.6.16 kern.ipc.shmmax=1036870912 kern.ipc.shmall=261072 Thanks, -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes FREE)