Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Spanish
  • Search

kernel Zen,Liquorix o Xanmod y benchmark[old machine]

Foro en español para los usuarios Hispanos de Gentoo.

Moderator: Stolz

Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Author
Message
chrootman
Tux's lil' helper
Tux's lil' helper
Posts: 95
Joined: Tue Aug 18, 2020 3:07 am

kernel Zen,Liquorix o Xanmod y benchmark[old machine]

  • Quote

Post by chrootman » Mon Oct 10, 2022 7:33 am

Code: Select all

/etc/portage/package.unmask 
sys-kernel/xanmod-sources::src_prepare-overlay

Code: Select all

/etc/portage/package.mask
*/*::src_prepare-overlay

Code: Select all

/etc/portage/package.unmask                         
sys-kernel/zen-sources

Code: Select all

emerge --ask  xanmod-sources

 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    #] sys-kernel/xanmod-sources-5.19.10  USE="symlink -build" 

Would you like to merge these packages? [Yes/No] Yes
>>> Installing (1 of 1) sys-kernel/xanmod-sources-5.19.10::src_prepare-overlay
 * MICROCODES
 * Use xanmod-sources with microcodes
 * Read https://wiki.gentoo.org/wiki/Intel_microcode

>>> Recording sys-kernel/xanmod-sources in "world" favorites file...

 * GNU info directory index is up-to-date.

 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Code: Select all

emerge --ask sys-kernel/zen-sources

 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    #] sys-kernel/zen-sources-5.19.6  USE="symlink -build" 

Would you like to merge these packages? [Yes/No] 

eselect kernel list

 * If you are upgrading from a previous kernel, you may be interested
 * in the following document:
 *   - General upgrade guide: https://wiki.gentoo.org/wiki/Kernel/Upgrade
 * For more info on zen-sources, and for how to report problems, see:
 * https://github.com/zen-kernel, also go to #zen-sources on freenode
 * zen-sources is UNSUPPORTED by Gentoo Security.
 * This means that it is likely to be vulnerable to recent security issues.
 * Upstream kernel developers recommend always running the latest 
 * release of any current long term supported Linux kernel version.
 * To see a list of these versions, their most current release and 
 * long term support status, please go to https://www.kernel.org .
 * For specific information on why this kernel is unsupported, please read:
 * https://wiki.gentoo.org/wiki/Project:Kernel_Security

>>> Recording sys-kernel/zen-sources in "world" favorites file...

 * GNU info directory index is up-to-date.

 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

eselect kernel set 2

ls -lia
total 248
12582923 drwxr-xr-x  7 root root   4096 Oct 10 02:16 .
12582913 drwxr-xr-x 13 root root   4096 Sep 24 23:36 ..
12587430 -rw-r--r--  1 root root 223285 May  6 13:11 config
12606434 lrwxrwxrwx  1 root root     16 Oct 10 02:16 linux -> linux-5.19.6-zen
12584903 drwxr-xr-x 27 root root   4096 May 11 22:48 linux-5.13.0-gentoo
13117844 drwxr-xr-x 25 root root   4096 Oct  8 20:07 linux-5.17.6-gentoo
12715526 drwxr-xr-x 27 root root   4096 Oct  8 22:54 linux-5.19.11-gentoo
12729082 drwxr-xr-x 25 root root   4096 Sep 26 18:52 linux-5.19.11-gentoo-dist
12751335 drwxr-xr-x 26 root root   4096 Oct 10 02:14 linux-5.19.6-zen

cd /usr/src/linux-5.19.11-gentoo
cp .config /mnt/respaldo/kernel/config_linux-5.19.11-gentoo
cp .config /usr/src/linux
genkernel all

cd /boot
mv initramfs-5.19.6-zen1-x86_64.img initramfs-5.19.6-zen1-x86_64.img.no

grub-mkconfig -o /boot/grub/grub.cfg


El tiempo de respuesta del escritorio y en general en mi máquina es bastante notorio con el cambio del kernel, y más aún gentoo. El lag y el freeze es menor o casi inexistente en el zen.

subl /etc/genkernel.conf

Code: Select all

# Configuration file for genkernel

# This file is sourced by genkernel at startup and determines which options
# we will be using to compile our kernel.  The order of precidence is simple,
# with the internal settings being least important, configuration file
# settings next, and command line options being most important.

# =========Common Command Line Option Defaults=========

# Install to $BOOTDIR
INSTALL="yes"

# Run 'make oldconfig' before compiling this kernel
OLDCONFIG="no"

# Run 'make menuconfig' before compiling this kernel
MENUCONFIG="yes"

# Run 'make gconfig' before compiling this kernel
#GCONFIG="no"

# Run 'make nconfig' (ncurses 'menuconfig') before compiling this kernel
#NCONFIG="no"

# Run 'make xconfig' before compiling this kernel
#XCONFIG="no"

# Run 'make mrproper' before compiling this kernel
MRPROPER="no"

# Run 'make clean' before compiling this kernel
# Only needed if MRPROPER is set to NO because
# MRPROPER implies 'make clean'.
CLEAN="no"

# Mount BOOTDIR automatically if it isn't mounted
#MOUNTBOOT="yes"

# Make symlinks in BOOTDIR automatically
SYMLINK="yes"

# Save the new configuration in /etc/kernels upon
# successful compilation
SAVE_CONFIG="yes"

# Enable color output in genkernel
NOCOLOR="false"

# Clear build cache dir on gernkernel start
#CLEAR_CACHEDIR="no"

# Clear all tmp files and caches after genkernel has run
#POSTCLEAR="no"

# Check for x MB free disk space in BOOTDIR
#CHECK_FREE_DISK_SPACE_BOOTDIR=0

# Check for x MB free disk space in kernel outputdir
#CHECK_FREE_DISK_SPACE_KERNELOUTPUTDIR=0

# Genkernel uses an independent configuration for MAKEOPTS, and does not source
# /etc/portage/make.conf . You can override the default setting by uncommenting
# and tweaking the following line. Default setting is set up by
# ${GK_SHARE}/${ARCH_OVERRIDE}/config.sh . The recommended value for -j
# argument is: <number of processors>*<number of cores per processor>+1
#MAKEOPTS="$(portageq envvar MAKEOPTS)"
MAKEOPTS="-j3"

# Run the kernel make at the following NICE level
#NICE=10

# Add bcache support
#BCACHE="no"

# Add LVM support
LVM="yes"

# Add LUKS support
#LUKS="no"

# Add GnuPG support
#GPG="no"

# Add in early microcode support: this sets the kernel options for early microcode loading
# Possible values: empty/"no", "all", "intel", "amd"
MICROCODE="all"

# Include early microcode in generated initramfs.
# Only needed if system cannot load multiple initramfs.
# NOTE: >=sys-boot/grub-2 will detect and auto-load {amd,intel}-uc.img file
#       provided by sys-firmware/intel-microcode[initramfs] or
#       sys-kernel/linux-firmware[initramfs].
#MICROCODE_INITRAMFS="yes"

# Add NFS support
#NFS="no"

# Add DMRAID support
#DMRAID="no"

# Add SSH support
#SSH="no"

# Add b2sum support
#B2SUM="no"

# Include busybox in the initramfs. If included, busybox is rebuilt
# if the cached copy is out of date.
#BUSYBOX="yes"

# Add MDRAID support
#MDADM="no"

# Specify a custom mdadm.conf.
# By default the initramfs will be built *without* an mdadm.conf and will auto-detect
# arrays during bootup.  Usually, this should not be needed.
#MDADM_CONFIG="/etc/mdadm.conf"

# Add Multipath support
#MULTIPATH="no"

# Add iSCSI support
#ISCSI="no"

# Add e2fsprogs support
#E2FSPROGS="no"

# Include support for unionfs
#UNIONFS="no"

# Include support for zfs volume management.  If unset, genkernel will attempt
# to autodetect and enable this when rootfs is on zfs.
#ZFS="no"

# Add BTRFS support
#BTRFS="no"

# Add xfsprogs support
#XFSPROGS="no"

# Install firmware onto root filesystem
# Will conflict with sys-kernel/linux-firmware package
#FIRMWARE_INSTALL="no"

# Add firmware(s) to initramfs
FIRMWARE="yes"

# Specify directory to pull from
FIRMWARE_DIR="/lib/firmware"

# Specify a comma-separated list of firmware files or directories to include,
# relative to FIRMWARE_DIR.  If empty or unset, the full contents of 
# FIRMWARE_DIR will be included (if FIRMWARE option above is set to YES).
#FIRMWARE_FILES=""

# Add new kernel to grub
# Possible values: empty/"no", "grub", "grub2"
BOOTLOADER="grub2"

# Use sandbox when building initramfs
#SANDBOX="yes"

# Embed and set font early on boot
# Possible values: empty/"none", "current", <PSF file>
#BOOTFONT="none"

# Add boot splash using splashutils
#SPLASH="no"

# Use this splash theme. If commented out - the "default" name theme is used.
# Also, SPLASH="yes" needs to be enabled for this one to work.
# This supersedes the "SPLASH_THEME" option in '/etc/conf.d/splash'.
#SPLASH_THEME="gentoo"

# Run "emerge @module-rebuild" automatically when possible and necessary
# after kernel and modules have been compiled
MODULEREBUILD="yes"

# Run the specified command in the current environment after the kernel and
# modules have been compiled, useful to rebuild external kernel module
# (see MODULEREBUILD above) or installing additional
# files (use 'copy_image_with_preserve dtb path/to/dtb dtb <kernelname>')
#CMD_CALLBACK=""
#CMD_CALLBACK="emerge --quiet @module-rebuild"


# =========Keymap Settings=========
#
# Force keymap selection at boot
#DOKEYMAPAUTO="no"

# Enables keymap selection support
#KEYMAP="yes"


# =========Low Level Compile Settings=========
#
# Assembler to use for the kernel.  See also the --kernel-as command line
# option.
#KERNEL_AS="as"

# Archiver to use for the kernel.  See also the --kernel-ar command line
# option.
#KERNEL_AR="ar"

# Compiler to use for the kernel (e.g. distcc).  See also the --kernel-cc
# command line option.
#KERNEL_CC="gcc"

# Linker to use for the kernel.  See also the --kernel-ld command line option.
#KERNEL_LD="ld"

# NM utility to use for the kernel.  See also the --kernel-nm command line option.
#KERNEL_NM="nm"

# GNU Make to use for kernel.  See also the --kernel-make command line option.
#KERNEL_MAKE="make"

# Assembler to use for the utilities.  See also the --utils-as command line
# option.
#UTILS_AS="as"

# Archiver to use for the utilities.  See also the --utils-ar command line
# option.
#UTILS_AR="ar"

# C Compiler to use for the utilities (e.g. distcc).  See also the --utils-cc
# command line option.
#UTILS_CC="gcc"

# C++ Compiler to use for the utilities (e.g. distcc).  See also the --utils-cxx
# command line option.
#UTILS_CXX="g++"

# Linker to use for the utilities.  See also the --utils-ld command line
# option.
#UTILS_LD="ld"

# NM utility to use for the utilities.  See also the --utils-nm command line option.
#UTILS_NM="nm"

# GNU Make to use for the utilities.  See also the --utils-make command line
# option.
#UTILS_MAKE="make"

# Target triple (i.e. aarch64-linux-gnu) to build for. If you do not
# cross-compile, leave blank for auto detection.
#CROSS_COMPILE=""

# Override default make target (bzImage). See also the --kernel-target
# command line option. Useful to build a uImage on arm.
#KERNEL_MAKE_DIRECTIVE_OVERRIDE="fooImage"

# Override default kernel binary path. See also the --kernel-binary
# command line option. Useful to install a uImage on arm.
#KERNEL_BINARY_OVERRIDE="arch/foo/boot/bar"


# =========GENKERNEL LOCATION CONFIGURATION============
#
# Variables:
#   %%ARCH%%  - Final determined architecture
#   %%CACHE%% - Final determined cache location

# Set genkernel's temporary work directory
#TMPDIR="/var/tmp/genkernel"

# Set the boot directory, default is /boot
#BOOTDIR="/boot"

# Default share directory location
GK_SHARE="${GK_SHARE:-/usr/share/genkernel}"

# Location of the default cache
CACHE_DIR="/var/cache/genkernel"

# Location of DISTDIR, where our source tarballs are stored
DISTDIR="${GK_SHARE}/distfiles"

# Log output file
LOGFILE="/var/log/genkernel.log"

# Debug Level
LOGLEVEL=4


# =========COMPILED UTILS CONFIGURATION============
#
# Default location of kernel source
DEFAULT_KERNEL_SOURCE="/usr/src/linux"

# Default kernel config (only use to override using
# arch/%%ARCH%%/kernel-config-${VER}.${PAT} !)
#DEFAULT_KERNEL_CONFIG="${GK_SHARE}/arch/%%ARCH%%/kernel-config"

# Specifies a user created busybox config
#BUSYBOX_CONFIG="/path/to/file"

# NOTE: Since genkernel 3.4.41 the version of
#   busybox, lvm, mdadm, ... have been moved to
#   /usr/share/genkernel/defaults/software.sh in order to
#   reduce the merging you have to do during etc-update.
#   You can still override these settings in here.


# =========MISC KERNEL CONFIGURATION============
#
# Set kernel filename which will be used when kernel will be installed
# into BOOTDIR. See man page to learn more about available placeholders.
#KERNEL_FILENAME="vmlinuz-%%KV%%"

# Set kernel symlink name which will be used when kernel will be installed
# into BOOTDIR and SYMLINK option is enabled
#KERNEL_SYMLINK_NAME="kernel"

# This option will set kernel option CONFIG_LOCALVERSION.
# Use special value "UNSET" to unset already set CONFIG_LOCALVERSION.
#KERNEL_LOCALVERSION="-%%ARCH%%"

# This option is only valid if kerncache is
# defined. If there is a valid kerncache no checks
# will be made against a kernel source tree.
#KERNEL_SOURCES="yes"

# Build a static (monolithic kernel)
#BUILD_STATIC="no"

# Make and install kernelz image (PowerPC)
#GENZIMAGE="no"

# Archive file created using tar containing kernel binary, content
# of /lib/modules and the kernel config.
# NOTE: Archive is created before the callbacks are run!
#KERNCACHE="/path/to/file.tar.xz"

# Prefix to kernel module destination, modules
# will be installed in <prefix>/lib/modules
#KERNEL_MODULES_PREFIX=""


# =========MISC INITRAMFS CONFIGURATION============
#
# Set initramfs filename which will be used when initramfs will be
# installed into BOOTDIR. See man page to learn more about available
# placeholders.
#INITRAMFS_FILENAME="initramfs-%%KV%%.img"

# Set initramfs symlink name which will be used when initramfs will be
# installed into BOOTDIR and SYMLINK option is enabled
#INITRAMFS_SYMLINK_NAME="initramfs"

# Copy all compiled kernel modules to the initramfs
#ALLRAMDISKMODULES="no"

# Copy selected modules to the initramfs based on arch-specific modules_load file
#RAMDISKMODULES="yes"

# Archive file created using tar containing kernel and initramfs.
# NOTE: No modules outside of the initramfs will be included!
#MINKERNPACKAGE="/path/to/file.tar.xz"

# Add additional modules to the initramfs using the module groups defined
# in /usr/share/genkernel/defaults/modules_load (see this file for
# more details).  This would be used if, for example, you
# required an additional crypto module or network device at boot
# time and did not want to statically compile these in the kernel.
# Options take the form AMODULES_{group} where {group} is one of
# the groups in modules_load (which are in the form MODULES_{group}).
# Use this with caution.
#AMODULES_group="module-to-include another-module"

# Override the default modules in the initramfs, for a given group, as defined by
# /usr/share/genkernel/defaults/modules_load and the per-arch modules_load
# files. You PROBABLY want to use AMODULES_* above, and NOT MODULES_* here.
# If you use MODULES_* here, the default and per-arch modules will NOT be used.
#MODULES_group1="some-module"
#MODULES_group2="" # Load no modules for this group

# Override the default used linuxrc script.
#LINUXRC="/path/to/custom/linuxrc"

# Archive file created using tar containing modules after
# the callbacks have run
#MODULESPACKAGE="/path/to/file.tar.xz"

# Directory structure to include in the initramfs,
# only available on >=2.6 kernels
#INITRAMFS_OVERLAY=""

# Build the generated initramfs into the kernel instead of
# keeping it as a separate file
#INTEGRATED_INITRAMFS="no"

# Compress generated initramfs
COMPRESS_INITRD="yes"

# Types of compression: best, xz, lzma, bzip2, gzip, lzop, lz4, zstd, fastest
# "best" selects the best available compression method
# "fastest" selects the fastest available compression method
COMPRESS_INITRD_TYPE="lz4"

# wrap initramfs using mkimage for u-boot bootloader
# WRAP_INITRD=no

# Create a self-contained env in the initramfs
#NETBOOT="no"


# =========MISC BOOT CONFIGURATION============
#
# Specify a default for real_root=
#REAL_ROOT="/dev/one/two/gentoo"

Code: Select all

cat .config | grep CONFIG_SQUASHFS_LZ4
CONFIG_SQUASHFS_LZ4=y
cat .config | grep -i CONFIG_BLK_DEV_INITRD
CONFIG_BLK_DEV_INITRD=y
cat .config | grep -i CONFIG_INITRAMFS_SOURCE
CONFIG_INITRAMFS_SOURCE=""
cat .config | grep -i CONFIG_BLK_DEV_RAM
CONFIG_BLK_DEV_RAM=m
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=16384
En un anterior intento fallaron las zen-sources, pero ahora si se instalaron.

Code: Select all

/opt/geekbench5/geekbench_x86_64
/opt/geekbench5/geekbench5

  Running Gathering system information
System Information
  Operating System              Gentoo Linux
  Kernel                        Linux 5.19.10-xanmod1-x86_64 x86_64
  Model                         Gigabyte Technology Co., Ltd. 965P-DS3
  Motherboard                   Gigabyte Technology Co., Ltd. 965P-DS3
  BIOS                          Award Software International, Inc. F14

Processor Information
  Name                          Intel Core 2 Duo E8400
  Topology                      1 Processor, 2 Cores
  Identifier                    GenuineIntel Family 6 Model 23 Stepping 10
  Base Frequency                3.00 GHz
  L1 Instruction Cache          32.0 KB x 2
  L1 Data Cache                 32.0 KB x 2
  L2 Cache                      6.00 MB

Memory Information
  Size                          5.79 GB


Linux chrootman 5.19.6-lqx1-x86_64 #1 ZEN
396 Single-Core Score
772 Multi-Core Score
-------------------------------------
420 Single-Core Score
820 Multi-Core Score
#########################################
Linux chrootman 5.19.10-xanmod1-x86_64 #1
366 Single-Core Score
469 Multi-Core Score
-------------------------------------
400 Single-Core Score
799 Multi-Core Score
#########################################
Linux chrootman 5.19.6-zen1-x86_64 #1 ZEN
401 Single-Core Score
651 Multi-Core Score
----------------------------------------
428 Single-Core Score
831 Multi-Core Score
#########################################
Linux chrootman 5.19.11-gentoo-x86_64
413 Single-Core Score
517 Multi-Core Score
----------------------------------------
418 Single-Core Score
447 Multi-Core Score

Code: Select all

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Turks PRO [Radeon HD 6570/7570/8550 / R5 230]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series]
https://web.basemark.com/

Code: Select all

Linux chrootman 5.19.6-zen1-x86_64 #1 ZEN
343.08
#######################
Linux chrootman 5.19.11-gentoo-x86_64
325.5
#######################
Linux chrootman 5.19.6-lqx1-x86_64
327.05
#######################
Linux chrootman 5.19.10-xanmod1-x86_64
318.2
Top
papu
l33t
l33t
Posts: 772
Joined: Fri Jan 25, 2008 3:04 pm
Location: Sota algun pi o alzina...

  • Quote

Post by papu » Wed Mar 22, 2023 3:12 pm

yo he vuelto a zen tras un tiempo sin usarlo.

Code: Select all

/boot # ls -lah /usr/src/
total 4,0K
drwxr-xr-x 1 root root  82 18 de març  17:00 .
drwxr-xr-x 1 root root 142 29 de jul.   2021 ..
lrwxrwxrwx 1 root root  18 18 de març  10:29 linux -> linux-6.2.7_p1-zen
drwxr-xr-x 1 root root 558 18 de març  10:29 linux-6.2.7-gentoo
drwxr-xr-x 1 root root 558 18 de març  16:59 linux-6.2.7_p1-zen
:roll:
~amd64 && systemd && plasma --cpu 7700 --ram 2x32GB --gpu RX 6600
Top
Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Spanish”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic