Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 2015 11:15:21 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        Quartz <quartz@sneakertech.com>
Cc:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Re: Can't install freebsd inside virtualbox, glacially slow
Message-ID:  <alpine.BSF.2.20.1506301112230.69928@mail.fig.ol.no>
In-Reply-To: <55925B9B.2090503@sneakertech.com>
References:  <55925B9B.2090503@sneakertech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 30 Jun 2015 05:04-0400, Quartz wrote:

> I can't seem to get the 10.1 installer to work under virtualbox, everything is
> so slow it's completely unusable. The dvd image takes upwards of a minute to
> even draw the opening ascii menu, and attempting to boot the kernel just sits
> there forever. If I convert the memstick img into a vdi and boot from that, I
> just get the "spinning slash" forever (it doesn't even get to the menu). I've
> tried the 'set vfs.unmapped_buf_allowed=0' trick, tried changing vb's chipset
> from PIIX3 to ICH9, tried changing the number of CPUs and ram and everything,
> but no dice. Anyone have any ideas?

Need.
More.
Input. ;-)

Maybe you need to enable hardware virtualisation support in the host.
My amd64 VMs are happy with the emulated PIIX3 chipset.
Try removing the IDE controller in the guest and replace it with the 
SATA controller.

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
From owner-freebsd-questions@freebsd.org  Tue Jun 30 09:22:30 2015
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0642D98C52E
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Tue, 30 Jun 2015 09:22:30 +0000 (UTC)
 (envelope-from woodsb02@gmail.com)
Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org
 [IPv6:2001:1900:2254:206a::50:5])
 by mx1.freebsd.org (Postfix) with ESMTP id DBD4513DB
 for <freebsd-questions@freebsd.org>; Tue, 30 Jun 2015 09:22:29 +0000 (UTC)
 (envelope-from woodsb02@gmail.com)
Received: by mailman.ysv.freebsd.org (Postfix)
 id DAAD298C52D; Tue, 30 Jun 2015 09:22:29 +0000 (UTC)
Delivered-To: questions@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA1AB98C52A
 for <questions@mailman.ysv.freebsd.org>; Tue, 30 Jun 2015 09:22:29 +0000 (UTC)
 (envelope-from woodsb02@gmail.com)
Received: from mail-vn0-x22b.google.com (mail-vn0-x22b.google.com
 [IPv6:2607:f8b0:400c:c0f::22b])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 9634113DA
 for <questions@freebsd.org>; Tue, 30 Jun 2015 09:22:29 +0000 (UTC)
 (envelope-from woodsb02@gmail.com)
Received: by vnbg1 with SMTP id g1so136911vnb.7
 for <questions@freebsd.org>; Tue, 30 Jun 2015 02:22:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=Lln3KncV/fAP8/12gs3BT1R9YG3C7whC2xV3+oL1Iyw=;
 b=K/EDkcUtZtOx3SiyAAhJ7TjBdY3otOXwnCG7LGALQz/v4TijS4FYeqQaA+ldV0xDkJ
 o+JSqCHV4Wh2YBhZq6uD0t6NnBG3MnfCnZwFdEZ3AUF/SPvgnR03Kan4JjDwT5LmTAwC
 C0gtzWZ2qZPryWgNBWsyw4m/kh9rZFf9gBY20EhIMcGmdrDrp0W7sj3IYhTsXRkuEwDe
 F9Muuu2ZsTNNPLuvbpWF4+AOYBTGeXS/J+SJt3tqFU13J7AAWGo3ZqXl+NVfFkdO/eqK
 nOR+JudvVyHcWCyM1+b34dxBYLdaMJV8cHJBrSu6pNEO0tz9zqzExrx6Kwl7Crg6Ck2E
 ltWg==
MIME-Version: 1.0
X-Received: by 10.52.181.167 with SMTP id dx7mr18655821vdc.91.1435656148409;
 Tue, 30 Jun 2015 02:22:28 -0700 (PDT)
Received: by 10.31.3.198 with HTTP; Tue, 30 Jun 2015 02:22:28 -0700 (PDT)
In-Reply-To: <wu7lhf127n4.fsf@banyan.cs.ait.ac.th>
References: <wu7lhf127n4.fsf@banyan.cs.ait.ac.th>
Date: Tue, 30 Jun 2015 17:22:28 +0800
Message-ID: <CAOc73CCz0T6rtsiXBGseBWXs6ShFjQ6BifkqDbtORfQEEcHrHg@mail.gmail.com>
Subject: Re: kern.ipc.nmbclusters limit reached
From: Ben Woods <woodsb02@gmail.com>
To: Olivier Nicole <Olivier.Nicole@cs.ait.ac.th>
Cc: "questions@freebsd.org" <questions@freebsd.org>
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.20
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 09:22:30 -0000

On Tuesday, June 30, 2015, Olivier Nicole <Olivier.Nicole@cs.ait.ac.th>
wrote:

> Hi,
>
> Since I updated my amanda server to 10.1, I cannot complete a back-up,
> the system will freeze in the middle of the dumps with bunches of error:
>
> Jun 30 09:37:16 amanda kernel: [zone: mbuf_cluster] kern.ipc.nmbclusters
> limit reached
>
>
> The kernel is:
>
> FreeBSD amanda.cs.ait.ac.th 10.1-RELEASE-p9 FreeBSD 10.1-RELEASE-p9 #0
> r282829: Wed May 13 14:31:30 ICT 2015     root@amanda.cs.ait.ac.th:/usr/obj/usr/src/sys/GENERIC
> amd64
>
> and
>
> sysctl kern.ipc.nmbclusters
> kern.ipc.nmbclusters: 253064
>
> This ipc.nmbcluster seems terribly high (like 0.5 GB memory), but that's
> the value set by the kernel by default!
>
> Something must be wrong there, but I don't know ehre to look.
>
> Thanks in advance for the help,
>
> olivier
> --
>

I guess you are using Intel igb(4) or em(4) network interface cards?

This is a known issue, and the work around proposed by the pfsense project
is to manually increased the nmbcluster limit:

Add the following to /boot/loader.conf:

kern.ipc.nmbclusters="1000000"



https://doc.pfsense.org/index.php/Tuning_and_Troubleshooting_Network_Cards#Intel_igb.284.29_and_em.284.29_Cards

Regards,
Ben


-- 

--
From: Benjamin Woods
woodsb02@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1506301112230.69928>