From owner-freebsd-arch@FreeBSD.ORG Wed Apr 18 21:41:30 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E89F11065673 for ; Wed, 18 Apr 2012 21:41:30 +0000 (UTC) (envelope-from rmh.aybabtu@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id ADE778FC14 for ; Wed, 18 Apr 2012 21:41:30 +0000 (UTC) Received: by iahk25 with SMTP id k25so14302139iah.13 for ; Wed, 18 Apr 2012 14:41:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=Yog46hXnCFtZju+1v5UNh4sWCFYtq3dr6ZvcfOaQZtY=; b=ns0L4GjGOFiF4ciwMK9Seg0qiUvlT59aVP/+8ufkMy9F+gOlhSw5oz8cGqr3RyofO3 wZKmiG/uY8lQxqEzfSLcmUV/K/gpBfh+q8lvuChvWw9ooQ6KO9ZEMQrXSjL6TqRzUq9Z I6ZhD/BeFCgJesTLfybNXCuV55+DPbeFvs0YF66SnfRNtuWOD72IsMizxrxBsc5KnB2i p16F0ztdZwma8dex8Zetfglwo6t+mSsP5UtmUj1WJCVNaGxty3NzLAPx0pilMrsvs9FS cEbEHgZomvqatwy/E06nVpKUEL84lyH/NgTwcFTvuJyTfb02K9U/0HHrPux+swBHj5lY 9Mwg== MIME-Version: 1.0 Received: by 10.50.190.130 with SMTP id gq2mr14577815igc.43.1334785290178; Wed, 18 Apr 2012 14:41:30 -0700 (PDT) Sender: rmh.aybabtu@gmail.com Received: by 10.43.130.201 with HTTP; Wed, 18 Apr 2012 14:41:30 -0700 (PDT) Date: Wed, 18 Apr 2012 23:41:30 +0200 X-Google-Sender-Auth: Or0SkZWAI1GPOF37EoUjuob4CJ4 Message-ID: From: Robert Millan To: freebsd-arch@freebsd.org Content-Type: multipart/mixed; boundary=f46d0447a2471291b704bdfaeb9c Subject: Increase DFLDSIZ on amd64? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2012 21:41:31 -0000 --f46d0447a2471291b704bdfaeb9c Content-Type: text/plain; charset=UTF-8 Hi, Is there any reason for DFLDSIZ being so low (128 MiB) on amd64? We've recently had a bunch of trouble in Debian when attempting to run the CMOR testsuite. Its testcases require about ~700 MiB to pass. We also found references recommending higher values for applications like SAP [2] or MySQL [3]. I understand on i386 there's a shortage of virtual memory, but on amd64 there's plenty of it. It seems this is already reflected on the MAXDSIZ setting (32 GiB), but DFLDSIZ is still the same as on i386. Wouldn't 32 GiB be a sound value as the default limit too? Is there any unreasonable cost or security consideration associated with allocating so many pages? Thanks [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661283 [2] http://www.freebsd.org/doc/handbook/sapr3.html#KERNELTUNING [3] https://dev.mysql.com/doc/refman/5.0/en/freebsd.html -- Robert Millan --f46d0447a2471291b704bdfaeb9c Content-Type: application/octet-stream; name="data_size_limit.diff" Content-Disposition: attachment; filename="data_size_limit.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h16wkd0w0 SW5kZXg6IHN5cy9hbWQ2NC9pbmNsdWRlL3ZtcGFyYW0uaAo9PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBzeXMvYW1k NjQvaW5jbHVkZS92bXBhcmFtLmgJKHJldmlzaW9uIDIzNDM4OSkKKysrIHN5cy9hbWQ2NC9pbmNs dWRlL3ZtcGFyYW0uaAkod29ya2luZyBjb3B5KQpAQCAtNTQsNyArNTQsNyBAQAogICovCiAjZGVm aW5lCU1BWFRTSVoJCSgxMjhVTCoxMDI0KjEwMjQpCS8qIG1heCB0ZXh0IHNpemUgKi8KICNpZm5k ZWYgREZMRFNJWgotI2RlZmluZQlERkxEU0laCQkoMTI4VUwqMTAyNCoxMDI0KQkvKiBpbml0aWFs IGRhdGEgc2l6ZSBsaW1pdCAqLworI2RlZmluZQlERkxEU0laCQkoMzI3NjhVTCoxMDI0KjEwMjQp CS8qIGluaXRpYWwgZGF0YSBzaXplIGxpbWl0ICovCiAjZW5kaWYKICNpZm5kZWYgTUFYRFNJWgog I2RlZmluZQlNQVhEU0laCQkoMzI3NjhVTCoxMDI0KjEwMjQpCS8qIG1heCBkYXRhIHNpemUgKi8K --f46d0447a2471291b704bdfaeb9c--