From owner-freebsd-java@FreeBSD.ORG Fri Feb 21 23:06:20 2014 Return-Path: Delivered-To: freebsd-java@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 2F2DCFB6; Fri, 21 Feb 2014 23:06:20 +0000 (UTC) Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B97161795; Fri, 21 Feb 2014 23:06:18 +0000 (UTC) Received: by mail-la0-f46.google.com with SMTP id b8so2890070lan.5 for ; Fri, 21 Feb 2014 15:06:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=E3NZ8z0hATYxcTnJqBrz6UNlqjx6mCXjvHPWUzS0lzA=; b=KhJfp/RZQ3rfzuYwoGirC6JsA3iTjHMjc7no9z1h6ur50rd5k0da/kC1KncIxhoAIC kXjrlYedh+zqi+vEbmjJ8wNR9jAvIP9Ys91JVuipGlo/HokqVm7eQ8JVHSoM5IfBD8Wi U5acgeYVGIn6Mn333II+merrfi/M0svdGZlUxSk0meWpY/6zEaUYV81W61w1uf4FFnfj 7L2lcgNEyUqFUr8bV7Q73yzJS+TTCnfdYvUAXHp9FFI2yBJ4O7EIjmr65334gN5qJiiR 9pPJCRADBlwwT9TB2sJCS8hH9WqGnTgrdUFpru+VUz3y9tVAQGcOhS5blmkV3E6hmWRx fktQ== MIME-Version: 1.0 X-Received: by 10.112.166.68 with SMTP id ze4mr5300010lbb.58.1393023976776; Fri, 21 Feb 2014 15:06:16 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.30.211 with HTTP; Fri, 21 Feb 2014 15:06:16 -0800 (PST) In-Reply-To: References: Date: Fri, 21 Feb 2014 15:06:16 -0800 X-Google-Sender-Auth: li7GVNFj-xS1WXKFXIUkinAGlfU Message-ID: Subject: Re: vm.pmap.pcid_enabled="0" seems to eliminate Java/Jenkins crashing problems in FBSD 10 From: Craig Rodrigues To: attilio@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD Release Engineering Team , Xin Li , FreeBSD Security Team , Dmitry Sivachenko , Jung-uk Kim , "freebsd-java@freebsd.org" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Feb 2014 23:06:20 -0000 On Fri, Feb 21, 2014 at 2:54 PM, Attilio Rao wrote: > On Thu, Feb 20, 2014 at 5:45 AM, Craig Rodrigues > wrote: > > Hi, > > > > I am followed Jung-uk Kim's advice here: > > > > > http://lists.freebsd.org/pipermail/freebsd-java/2014-February/010582.html > > > > > > and configured the one of the FreeBSD stable/10 VM's (running at r261732) > > that I have running > > under BHyve with the > > following in /boot/loader.conf: > > > > vm.pmap.pcid_enabled="0" > > IIRC PCID had to be already disabled by default as we saw it was > slower in the real world or I'm missing something? > > Thanks, > Attilio > I never observed an problems with speed problems being introduced by vm.pmap.pcid_enabled="1". All I can say is that I saw that Java VM crash when vm.pmap.pcid_enabled="1", but setting vm.pmap.pcid_enabled="0" stopped the crashes with the Java VM. My focus was on stopping the Java crashes. I still don't know the real cause of the problem...is it: (1) problem with new code that is executed when vm.pmap.pcid_enabled="1" implementation? (2) latent bug in VM that is triggered by vm.pmap.pcid_enabled="1" but not directly related to that? (3) bug in OpenJDK? Hard to say for sure, but any help from a FreeBSD VM expert would be greatly appreciated. -- Craig