cim vic jader CPU, tim pomalejsi - bhyve

Dan Lukes dan at obluda.cz
Tue May 4 13:10:03 CEST 2021


> On 28/04/2021 13:09, Vilem Kebrt wrote:
>> Nechybi ti tam neco co na normalnim generic kernelu je "linked inside"

No, ja pouzivam vsude custom kernel, kterej vzniknul puvodne jako 
"minimalni" (takovej, kterej sel vubec prelozit).

Pozdeji byl rozsiren o nejake veci, ktere obcas potrebuji a nejsou 
dynamicky loadovatelne (pripadne jako dynamicky loadovane nefunguji 
spravne) a k tomu par dalsich drobnosti (zejmena ovladace nekterych 
sitovek), ale porad je hodne minimalisticky.

Viz konfigurace naspodu ...


On 3.5.2021 9:52, Miroslav Lachman wrote:
> Takze zatim mam porad pocit, ze jsem jediny, co se setkava s tak velkou 
> degradaci CPU vykonu pri vetsim poctu jader.

No, zatim to tak vypada. V tak velke mire s jako problem reportujes ty 
se ho, zda se, nikomu jinemu nedari napodobit.

Dan



> cpu             HAMMER
> 
> makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
> makeoptions     WITH_CTF=1              # Run ctfconvert(1) for DTrace support
> 
> options         SCHED_ULE               # ULE scheduler
> options         PREEMPTION              # Enable kernel thread preemption
> options         INET                    # InterNETworking
> options         INET6                   # IPv6 communications protocols
> options         FFS                     # Berkeley Fast Filesystem
> options         SOFTUPDATES             # Enable FFS soft updates support
> options         UFS_ACL                 # Support for access control lists
> options         UFS_DIRHASH             # Improve performance on big directories
> options         GEOM_PART_GPT           # GUID Partition Tables.
> options         GEOM_PART_BSD64         #
> options         COMPAT_43TTY            # BSD 4.3 TTY compat [KEEP THIS!]
> options         COMPAT_FREEBSD32        # Compatible with FreeBSD i386
> options         COMPAT_FREEBSD11        # Compatible with FreeBSD10
> options         KTRACE                  # ktrace(1) support
> options         SYSVSHM                 # SYSV-style shared memory
> options         SYSVMSG                 # SYSV-style message queues
> options         SYSVSEM                 # SYSV-style semaphores
> options         P1003_1B_SEMAPHORES     # POSIX-style semaphores
> options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
> options         PRINTF_BUFR_SIZE=256    # Prevent printf output being interspersed.
> options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
> options         CAPABILITY_MODE         # Capsicum capability mode
> options         CAPABILITIES            # Capsicum capabilities
> options         INCLUDE_CONFIG_FILE     # Include this file in kernel
> 
> options         DEVICE_POLLING
> options         MAC
> 
> options         MROUTING
> options         IPFIREWALL_VERBOSE
> options         IPFIREWALL_DEFAULT_TO_ACCEPT
> 
> # Make an SMP-capable kernel by default
> options         SMP                     # Symmetric MultiProcessor Kernel
> options         EARLY_AP_STARTUP
> 
> # Bus support.
> device          acpi
> options         ACPI_DMAR
> device          pci
> options         PCI_HP                  # PCI-Express native HotPlug
> options         PCI_IOV                 # PCI SR-IOV support
> 
> # Floppy drives
> device          fdc
> 
> # ATA and ATAPI devices
> device          ahci
> device          ata
> options         ATA_STATIC_ID   # Static device numbering
> 
> # SCSI peripherals
> device          scbus           # SCSI bus (required for SCSI)
> device          ch              # SCSI media changers
> device          da              # Direct Access (disks)
> device          sa              # Sequential Access (tape etc)
> device          cd              # CD
> device          pass            # Passthrough device (direct SCSI access)
> device          ses             # SCSI Environmental Services (and SAF-TE)
> 
> # 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
> device          vga             # VGA video card driver
> device          splash          # Splash screen and screen saver support
> 
> # syscons is the default console driver, resembling an SCO console
> device          sc
> options         SC_PIXEL_MODE           # add support for the raster text mode
> 
> # vt is the new video console driver
> device          vt
> device          vt_vga
> device          vt_efifb
> 
> # Serial (COM) ports
> device          uart            # 8250, 16[45]50 based serial ports
> 
> # Parallel port
> device          ppc
> device          ppbus           # Parallel port bus (required)
> device          lpt             # Printer
> device          plip            # TCP/IP over parallel
> device          ppi             # Parallel port interface device
> 
> # PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure
> device          iflib
> device          em              # Intel PRO/1000 adapter Gigabit Ethernet Card
> device          ix                      # Intel PRO/10GbE PCIE PF Ethernet
> device          ixl                     # Intel 700 Series Physical Function
> 
> # PCI Ethernet NICs that use the common MII bus controller code.
> # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
> device          miibus          # MII bus support
> device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)
> device          re              # RealTek 8139C+/8169/8169S/8110S
> device          rl              # RealTek 8129/8139
> 
> # Pseudo devices.
> device          loop            # Network loopback
> device          random          # Entropy device
> device          ether           # Ethernet support
> device          pty             # Pseudo-ttys (telnet etc)
> 
> # The `bpf' device enables the Berkeley Packet Filter.
> # Be aware of the administrative consequences of enabling this!
> # Note that 'bpf' is required for DHCP.
> device          bpf             # Berkeley packet filter
> 
> # 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
> 
> # VirtIO support
> device          virtio          # Generic VirtIO bus (required)
> device          virtio_pci      # VirtIO PCI Interface
> device          vtnet           # VirtIO Ethernet device


More information about the Users-l mailing list