From owner-freebsd-questions@freebsd.org Wed Dec 5 22:41:12 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92BD513294CB for ; Wed, 5 Dec 2018 22:41:12 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D6E086E761 for ; Wed, 5 Dec 2018 22:41:11 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-qk1-x741.google.com with SMTP id a132so12942155qkg.1 for ; Wed, 05 Dec 2018 14:41:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=UntcXrAcJs23QrYfJ5RFF9YaEc6WCbaVq6ZhTsbFq14=; b=QbbCe9PgqER+/SGsUcbDzfkEDFaRcXxxks4BmUVI7MZCWh3zEbuT6C3nZbelgJoaYD t8Q03izQhoZF6BTtnTMHuNwlf5CczYzKUXNAWItaGh0LLwxvap1D5lpR24a1kTEuWXMC ONcmnA8Bp4lClXWufROeqmDe1nUr9FOrup+sBafNa//mcGuy8l4/GCT/pNpY1hY/9Aqr jrdZDnRhc80Ch1Nzytqj6r9CBJbuJZ0bAenUxyL6bUgsrRvtjhHsLJNF3LQTByHfzha2 T40jDT+S819Sps1GSXC5nw47T01Fw6Aw44yqAlkxOH/afE5dJsM081dmJRExwyHBmmdd B+CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=UntcXrAcJs23QrYfJ5RFF9YaEc6WCbaVq6ZhTsbFq14=; b=GvP5tjK/ZnlIvoULeGqfpCfu+Knd6bzhO4N/Wu64ypwi8L5Mc2RZYe0a4892mdvnkx wn0YT16OIV83LVJ/xASr3WIX/F1LxVtb77ihVZ6OpBZ4i8EGYns0TAMgRAIfSqk6Klub zMAH5uSB0YMj34ga2mfcOmzG/UMlMfg9ihX7ZiwdmWarX3DR3+1i1GtwRyHhIiOo4MyR i5l2lCI1mLnH4sX242/Zt+4JEG2drHjLJIbwlQeDJXPY2ksoew5M8NTm6wP2wowH6kXf +aMCzYi6texpoPxjZ/mg73jG008CZfSuVNto4dvoUAY+Gm3RwM8lMCO9847LwszJ1m3v FpmA== X-Gm-Message-State: AA+aEWb4IDlQ4363+5v2nC90W33bUq1I+/gJ0qmiq5PKOX+CoMo+Dizc p5yw4g1O4dL0lqqMGJ+j5Z0cYNaYKHZZ8muw2dT9g3+u0qQ= X-Google-Smtp-Source: AFSGD/WetlC5qslXgMdb8k2+9Ss298rwYOJ+DV41/buzNA2i+gn0YMGoxvjP1U5Ssuh9BSurNfmniMnGdF4LC/8Y3HE= X-Received: by 2002:a37:360a:: with SMTP id d10mr24064035qka.40.1544049670706; Wed, 05 Dec 2018 14:41:10 -0800 (PST) MIME-Version: 1.0 References: <66B63BE11669F00AA754FE87@Pauls-MacBook-Pro.local> <20181205093022.3882bad5.freebsd.ed.lists@sumeritec.com> <20181205130940.7ad1c3ba@gumby.homeunix.com> <55F2B8A3-F398-4A78-964D-11D0DAC6BB46@kreme.com> <20181205215559.734d576dff61d5a22e3ea014@sohara.org> In-Reply-To: <20181205215559.734d576dff61d5a22e3ea014@sohara.org> From: Michael Sierchio Date: Wed, 5 Dec 2018 14:40:34 -0800 Message-ID: Subject: Re: Files in / To: FreeBSD Questions X-Rspamd-Queue-Id: D6E086E761 X-Spamd-Result: default: False [-1.20 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.60)[-0.596,0]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.36)[-0.359,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[tenebras.com]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt1.aspmx.l.google.com]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[1.4.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.18)[-0.185,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(0.25)[ip: (4.16), ipnet: 2607:f8b0::/32(-1.54), asn: 15169(-1.30), country: US(-0.09)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2018 22:41:13 -0000 # 11.2 EC2 kernconf for t2 and m5 instance types # most cruft removed, probably could be smaller cpu HAMMER ident MAMELON # /etc/make.conf should have: # KERNCONF=3DMAMELON # NO_MODULES=3DTRUE options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options IPSEC # IP (v4/v6) security options TCP_OFFLOAD # TCP offload options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_DIRHASH # Improve performance on big directories options QUOTA # Enable disk quotas for UFS options MD_ROOT # MD is a potential root device options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_ELI options GEOM_LABEL # Provides labelization options SCSI_DELAY=3D5000 # Delay (in ms) before probing SC= SI options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options PRINTF_BUFR_SIZE=3D128 # Prevent printf output being interspersed. options KBD_INSTALL_CDEV # install a CDEV entry in /dev options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) options CAPABILITY_MODE # Capsicum capability mode options CAPABILITIES # Capsicum capabilities options INCLUDE_CONFIG_FILE # Include this file in kernel options RCTL # Resource limits options RACCT options COMPAT_LINUX32 options COMPAT_FREEBSD32 # Make an SMP-capable kernel by default options SMP # Symmetric MultiProcessor Kernel options DEVICE_NUMA # I/O Device Affinity options EARLY_AP_STARTUP options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=3D100 options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_NAT options LIBALIAS options DUMMYNET options ROUTETABLES=3D16 device cpufreq device coretemp # Bus support. device acpi options ACPI_DMAR device pci device scbus # SCSI bus (required for ATA/SCSI) device da # Direct Access (disks) device pass # Passthrough device (direct ATA/SCSI access) device ses # Enclosure Services (SES and SAF-TE) #device ctl # CAM Target Layer # crypto support device crypto device cryptodev device nvme # base NVMe driver device nvd # expose NVMe namespaces as disks, depends on nvme device ena # m5, c5, etc. device enc # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer # vt is the new video console driver device vt device vt_vga device vt_efifb # Pseudo devices. device loop # Network loopback device random # Entropy device device padlock_rng # VIA Padlock RNG device rdrand_rng # Intel Bull Mountain RNG device ether # Ethernet support device vlan # 802.1Q VLAN support device tun # Packet tunnel. device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device firmware # firmware assist module device bpf # Berkeley packet filter # VirtIO support device virtio # Generic VirtIO bus (required) device virtio_pci # VirtIO PCI device device vtnet # VirtIO Ethernet device device virtio_blk # VirtIO Block device device virtio_scsi # VirtIO SCSI device device virtio_balloon # VirtIO Memory Balloon device # HyperV drivers device hyperv # HyperV drivers # Xen HVM Guest Optimizations # NOTE: XENHVM depends on xenpci. They must be added or removed together. options XENHVM # Xen HVM kernel infrastructure device xenpci # Xen HVM Hypervisor services driver ###########################################################################= ##### # 11.2 kernconf for PCEngines # CPU: AMD GX-412TC SOC (998.16-MHz K8-class CPU) # FreeBSD/SMP: 1 package(s) x 4 core(s) cpu HAMMER ident MAMELON # /etc/make.conf should have: # KERNCONF=3DMAMELON # NO_MODULES=3DTRUE options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options IPSEC # IP (v4/v6) security options TCP_OFFLOAD # TCP offload options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_DIRHASH # Improve performance on big directories options QUOTA # Enable disk quotas for UFS options MD_ROOT # MD is a potential root device options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options TMPFS options GEOM_PART_GPT # GUID Partition Tables. options GEOM_ELI options GEOM_LABEL # Provides labelization options SCSI_DELAY=3D5000 # Delay (in ms) before probing SC= SI options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options PRINTF_BUFR_SIZE=3D128 # Prevent printf output being interspersed. options KBD_INSTALL_CDEV # install a CDEV entry in /dev options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) options CAPABILITY_MODE # Capsicum capability mode options CAPABILITIES # Capsicum capabilities options INCLUDE_CONFIG_FILE # Include this file in kernel options RCTL # Resource limits options RACCT options COMPAT_LINUX32 options COMPAT_FREEBSD32 # Make an SMP-capable kernel by default options SMP # Symmetric MultiProcessor Kernel options DEVICE_NUMA # I/O Device Affinity options EARLY_AP_STARTUP device ahci # AHCI-compatible SATA controllers device uart # Generic UART driver options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=3D100 options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_NAT options LIBALIAS options DUMMYNET options ROUTETABLES=3D16 device cpufreq device coretemp device amdtemp # Bus support. device acpi options ACPI_DMAR device pci device scbus # SCSI bus (required for ATA/SCSI) device da # Direct Access (disks) device pass # Passthrough device (direct ATA/SCSI access) device ses # Enclosure Services (SES and SAF-TE) device ctl # CAM Target Layer # crypto support device crypto device cryptodev device igb # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer # vt is the new video console driver device vt device vt_vga device vt_efifb # MMC/SD device mmc # MMC/SD bus device mmcsd # MMC/SD memory card device sdhci # Generic PCI SD Host Controller # USB support options USB_DEBUG # enable debug msgs device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device xhci # XHCI PCI->USB interface (USB 3.0) device usb # USB Bus (required) device ukbd # Keyboard device umass # Disks/Mass storage - Requires scbus and da # Pseudo devices. device loop # Network loopback device random # Entropy device device padlock_rng # VIA Padlock RNG device rdrand_rng # Intel Bull Mountain RNG device ether # Ethernet support device vlan # 802.1Q VLAN support device tun # Packet tunnel. device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device firmware # firmware assist module device bpf # Berkeley packet filter On Wed, Dec 5, 2018 at 1:59 PM Steve O'Hara-Smith wrote: > On Wed, 5 Dec 2018 10:04:14 -0800 > Michael Sierchio wrote: > > > Custom monolithic kernels are > > > > 8260 /boot/kernel/ > > > > (yes, that is a boast) > > Wow reminds me of 1.1 days (actually that would be huge by 1.1 > standards the boxes I ran then only had 16MB of RAM) - still impressive. > > Care to share the config file ? It must be close to minimal. > > -- > Steve O'Hara-Smith > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > --=20 "Well," Brahma said, "even after ten thousand explanations, a fool is no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata