Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 2015 07:19:14 -0400 (EDT)
From:      kwhite@site.uottawa.ca
To:        "Rui Paulo" <rpaulo@me.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: panic: UMA: Increase vm.boot_pages on Dell R920 r279210
Message-ID:  <54997.66.186.85.232.1427195954.squirrel@courriel.site.uottawa.ca>
In-Reply-To: <528B3B45-378E-44CD-A286-0269E84C4F70@me.com>
References:  <20150319095306.C7719@admin16.site.uottawa.ca> <528B3B45-378E-44CD-A286-0269E84C4F70@me.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Mar 19, 2015, at 07:34, Keith White <kwhite@site.uottawa.ca> wrote:
>> I tried the suggestion "Increase vm.boot_pages" but am unsure how
>> much.  I tried doubling to 128, and even excessive(?) values like
>> 102400; but got the same panic.
>
> How are you trying to change the value?  Can you build a custom kernel and
> confirm the value in uma_startup()?
>
> --
> Rui Paulo
>

-----------------
I'm using /boot/loader.conf. Is there another place I should be doing this?

vfs.mountroot.timeout="10"
boot_multicons="YES"
boot_serial="YES"
comconsole_speed="115200"
console="comconsole,vidconsole"
vm.boot_pages=1024
hw.mfi.mrsas_enable=1

-----------------
With a custom kernel, the value printed is 64 not my expected "1024":
...
Copyright (c) 1992-2015 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.0-CURRENT #0: Tue Mar 24 04:55:47 UTC 2015
    root@:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.5.1 (tags/RELEASE_351/final 225668) 20150115
WARNING: WITNESS option enabled, expect reduced performance.
===
UMA startup boot_pages: 64
===
VT: running with driver "vga".
CPU: Intel(R) Xeon(R) CPU E7-4870 v2 @ 2.30GHz (2300.05-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x306e7  Family=0x6  Model=0x3e  Stepping=7
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x7fbee3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  Structured Extended Features=0x281<FSGSBASE,SMEP,ERMS>
  XSAVE Features=0x1<XSAVEOPT>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr
  TSC: P-state invariant, performance statistics
real memory  = 1099478073344 (1048544 MB)
avail memory = 1069175943168 (1019645 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <DELL   PE_SC3  >
FreeBSD/SMP: Multiprocessor System Detected: 80 CPUs
FreeBSD/SMP: 4 package(s) x 10 core(s) x 2 SMT threads
...
--------------

After boot, the value is as expected:

# sysctl vm.boot_pages
  vm.boot_pages: 1024

...keith





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