+#
+# configurable kernel event related resources
+#
+options CONFIG_KN_HASHSIZE=64 # <medium,large,xlarge>
+options CONFIG_KN_HASHSIZE=48 # <small,xsmall>
+options CONFIG_KN_HASHSIZE=20 # <bsmall>
+
+#
+# configurable vfs related resources
+# CONFIG_VNODES - used to pre allocate vnode related resources
+# CONFIG_VNODE_FREE_MIN - mininmum number of free vnodes
+# CONFIG_NC_HASH - name cache hash table allocation
+# CONFIG_VFS_NAMES - name strings
+#
+# 263168 magic number for medium CONFIG_VNODES is based on memory
+# Number vnodes is (memsize/64k) + 1024
+# This is the calculation that is used by launchd in tiger
+# we are clipping the max based on 16G
+# ie ((16*1024*1024*1024)/(64 *1024)) + 1024 = 263168;
+
+options CONFIG_VNODES=263168 # <large,xlarge>
+options CONFIG_VNODES=263168 # <medium>
+options CONFIG_VNODES=10240 # <small>
+options CONFIG_VNODES=750 # <bsmall>
+
+options CONFIG_VNODE_FREE_MIN=500 # <large,xlarge>
+options CONFIG_VNODE_FREE_MIN=300 # <medium>
+options CONFIG_VNODE_FREE_MIN=200 # <small>
+options CONFIG_VNODE_FREE_MIN=100 # <xsmall>
+options CONFIG_VNODE_FREE_MIN=75 # <bsmall>
+
+options CONFIG_NC_HASH=5120 # <large,xlarge>
+options CONFIG_NC_HASH=4096 # <medium>
+options CONFIG_NC_HASH=2048 # <small,xsmall>
+options CONFIG_NC_HASH=1024 # <bsmall>
+
+options CONFIG_VFS_NAMES=5120 # <large,xlarge>
+options CONFIG_VFS_NAMES=4096 # <medium>
+options CONFIG_VFS_NAMES=3072 # <small,xsmall>
+options CONFIG_VFS_NAMES=2048 # <bsmall>
+
+options CONFIG_MAX_CLUSTERS=8 # <xlarge,large,medium>
+options CONFIG_MAX_CLUSTERS=4 # <small,xsmall,bsmall>
+
+#
+# configurable kauth credential related resources
+#
+options KAUTH_CRED_PRIMES_COUNT=7 # <medium,large,xlarge>
+options KAUTH_CRED_PRIMES_COUNT=3 # <bsmall,xsmall,small>
+
+options KAUTH_CRED_PRIMES="{97, 241, 397, 743, 1499, 3989, 7499}" # <medium,large,xlarge>
+options KAUTH_CRED_PRIMES="{5, 17, 97}" # <bsmall,xsmall,small>
+
+#
+# configurable options for minumum number of buffers for kernel memory
+#
+options CONFIG_MIN_NBUF=256 # <medium,large,xlarge>
+options CONFIG_MIN_NBUF=128 # <small>
+options CONFIG_MIN_NBUF=80 # <xsmall>
+options CONFIG_MIN_NBUF=64 # <bsmall>
+
+options CONFIG_MIN_NIOBUF=128 # <medium,large,xlarge>
+options CONFIG_MIN_NIOBUF=64 # <xsmall,small>
+options CONFIG_MIN_NIOBUF=32 # <bsmall>
+
+#
+# set maximum space used for packet buffers
+#
+options CONFIG_NMBCLUSTERS="((1024 * 1024) / MCLBYTES)" # <large,xlarge>
+options CONFIG_NMBCLUSTERS="((1024 * 512) / MCLBYTES)" # <medium>
+options CONFIG_NMBCLUSTERS="((1024 * 256) / MCLBYTES)" # <bsmall,xsmall,small>
+
+#
+# Configure size of TCP hash table
+#
+options CONFIG_TCBHASHSIZE=4096 # <medium,large,xlarge>
+options CONFIG_TCBHASHSIZE=128 # <xsmall,small,bsmall>
+
+#
+# Configure bandwidth limiting sysctl
+#
+options CONFIG_ICMP_BANDLIM=250 # <medium,large,xlarge>
+options CONFIG_ICMP_BANDLIM=50 # <xsmall,small,bsmall>
+
+#
+# configurable async IO options
+# CONFIG_AIO_MAX - system wide limit of async IO requests.
+# CONFIG_AIO_PROCESS_MAX - process limit of async IO requests.
+# CONFIG_AIO_THREAD_COUNT - number of async IO worker threads created.
+#
+options CONFIG_AIO_MAX=360 # <xlarge>
+options CONFIG_AIO_MAX=180 # <large>
+options CONFIG_AIO_MAX=90 # <medium>
+options CONFIG_AIO_MAX=45 # <small>
+options CONFIG_AIO_MAX=20 # <xsmall>
+options CONFIG_AIO_MAX=10 # <bsmall>
+
+options CONFIG_AIO_PROCESS_MAX=64 # <xlarge>
+options CONFIG_AIO_PROCESS_MAX=32 # <large>
+options CONFIG_AIO_PROCESS_MAX=16 # <medium>
+options CONFIG_AIO_PROCESS_MAX=12 # <small>
+options CONFIG_AIO_PROCESS_MAX=8 # <xsmall>
+options CONFIG_AIO_PROCESS_MAX=4 # <bsmall>
+
+options CONFIG_AIO_THREAD_COUNT=16 # <xlarge>
+options CONFIG_AIO_THREAD_COUNT=8 # <large>
+options CONFIG_AIO_THREAD_COUNT=4 # <medium>
+options CONFIG_AIO_THREAD_COUNT=3 # <small>
+options CONFIG_AIO_THREAD_COUNT=2 # <xsmall,bsmall>
+
+#
+# configurable kernel related resources (CONFIG_THREAD_MAX needs to stay in
+# sync with osfmk/conf/MASTER until we fix the config system...) todo XXX
+#
+options CONFIG_THREAD_MAX=2560 # <medium,large,xlarge>
+options CONFIG_THREAD_MAX=1536 # <small,xsmall>
+options CONFIG_THREAD_MAX=1024 # <bsmall>
+
+options CONFIG_MAXVIFS=32 # <medium,large,xlarge>
+options CONFIG_MAXVIFS=16 # <small,xsmall>
+options CONFIG_MAXVIFS=2 # <bsmall>
+
+options CONFIG_MFCTBLSIZ=256 # <medium,large,xlarge>
+options CONFIG_MFCTBLSIZ=128 # <small,xsmall>
+options CONFIG_MFCTBLSIZ=16 # <bsmall>
+
+#
+# configurable kernel message buffer size
+#
+options CONFIG_MSG_BSIZE=4096 # <bsmall,small,xsmall>
+options CONFIG_MSG_BSIZE=16384 # <medium,large,xlarge>
+
+#
+# configurable kernel - use these options to strip strings from panic
+# and printf calls.
+# no_panic_str - saves around 50K of kernel footprint.
+# no_printf_str - saves around 45K of kernel footprint.
+#
+options CONFIG_NO_PANIC_STRINGS # <no_panic_str>
+options CONFIG_NO_PRINTF_STRINGS # <no_printf_str>
+options CONFIG_NO_KPRINTF_STRINGS # <no_kprintf_str>
+
+#
+# use finer-grained lock groups for the proc subsystem
+#
+options CONFIG_FINE_LOCK_GROUPS # <medium,large,xlarge>
+
+#
+# configurable kernel - general switch to say we are building for an
+# embedded device
+#
+options CONFIG_EMBEDDED # <config_embedded>
+
+# only execute signed code. Hang this off config_embedded since there's
+# nothing more appropriate right now
+#
+options CONFIG_ENFORCE_SIGNED_CODE # <config_embedded>
+
+# support dynamic signing of code
+#
+options CONFIG_DYNAMIC_CODE_SIGNING # <dynamic_codesigning>
+
+#
+# code decryption... used on embedded for app protection
+# must be set in all the bsd/conf and osfmk/conf MASTER files
+#
+options CONFIG_CODE_DECRYPTION # <config_embedded>
+
+#
+# User Content Protection, used on embedded
+#
+options CONFIG_PROTECT # <config_protect>
+
+#
+# enable per-process memory priority tracking
+#
+options CONFIG_MEMORYSTATUS # <memorystatus>
+
+#
+# enable jetsam - used on embedded
+#
+options CONFIG_JETSAM # <jetsam>
+
+#
+# enable freezing of suspended processes - used on embedded
+#
+options CONFIG_FREEZE # <freeze>
+
+options CHECK_CS_VALIDATION_BITMAP # <config_cs_validation_bitmap>
+
+#
+# memory pressure event support
+# must be set in both bsd/conf and osfmk/conf MASTER files
+#
+options VM_PRESSURE_EVENTS # <vm_pressure_events>
+