Package Details: linux-xanmod-lts 6.6.28-1

Git Clone URL: https://aur.archlinux.org/linux-xanmod-lts.git (read-only, click to copy)
Package Base: linux-xanmod-lts
Description: The Linux kernel and modules with Xanmod patches
Upstream URL: http://www.xanmod.org/
Licenses: GPL2
Provides: KSMBD-MODULE, NTFS3-MODULE, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE
Replaces: virtualbox-guest-modules-arch, wireguard-arch
Submitter: figue
Maintainer: figue (figuepluto, jfigueras)
Last Packager: figue
Votes: 13
Popularity: 0.000000
First Submitted: 2017-11-22 02:00 (UTC)
Last Updated: 2024-04-18 00:32 (UTC)

Dependencies (14)

Required by (5)

Sources (4)

Pinned Comments

figue commented on 2018-12-15 22:40 (UTC) (edited on 2021-02-23 18:07 (UTC) by figue)

Please, check new release. You have now several variables to enable/disable features.

References:

##
## The following variables can be customized at build time. Use env or export to change at your wish
##
##   Example: env _microarchitecture=99 use_numa=n use_tracers=n use_pds=n makepkg -sc
##
## Look inside 'choose-gcc-optimization.sh' to choose your microarchitecture
## Valid numbers between: 0 to 99
## Default is: 0 => generic
## Good option if your package is for one machine: 99 => native
if [ -z ${_microarchitecture+x} ]; then
  _microarchitecture=0
fi

## Disable NUMA since most users do not have multiple processors. Breaks CUDA/NvEnc.
## Archlinux and Xanmod enable it by default.
## Set variable "use_numa" to: n to disable (possibly increase performance)
##                             y to enable  (stock default)
if [ -z ${use_numa+x} ]; then
  use_numa=y
fi

## For performance you can disable FUNCTION_TRACER/GRAPH_TRACER. Limits debugging and analyzing of the kernel.
## Stock Archlinux and Xanmod have this enabled. 
## Set variable "use_tracers" to: n to disable (possibly increase performance)
##                                y to enable  (stock default)
if [ -z ${use_tracers+x} ]; then
  use_tracers=y
fi

# Compile ONLY used modules to VASTLY reduce the number of modules built
# and the build time.
#
# To keep track of which modules are needed for your specific system/hardware,
# give module_db script a try: https://aur.archlinux.org/packages/modprobed-db
# This PKGBUILD read the database kept if it exists
#
# More at this wiki page ---> https://wiki.archlinux.org/index.php/Modprobed-db
if [ -z ${_localmodcfg} ]; then
  _localmodcfg=n
fi

# Tweak kernel options prior to a build via nconfig
_makenconfig=

Personally I'm running now xanmod kernel compiled with this:

env use_numa=n use_tracers=n makepkg -s

Also, you can now put a file in your local repo to build this package with a custom config. You have to call this file myconfig.

Reference:

  # Put the file "myconfig" at the package folder (this will take preference) or "${XDG_CONFIG_HOME}/linux-xanmod/myconfig"
  # If we detect partial file with scripts/config commands, we execute as a script
  # If not, it's a full config, will be replaced

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

figue commented on 2020-12-10 16:48 (UTC)

Thanks! 7db8b4a74002

Scimmia commented on 2020-12-10 16:42 (UTC)

Please see the warning here: https://wiki.archlinux.org/index.php/Kernel/Arch_Build_System#Modifying_the_PKGBUILD

figue commented on 2020-05-17 14:21 (UTC)

@TheGoliath check xanmod releases here before flagging out-of-date:

https://github.com/xanmod/linux/releases

Thanks

longspear commented on 2020-04-05 16:08 (UTC)

@figue, thanks for updating to 5.4.

figue commented on 2020-04-04 14:23 (UTC)

@enihcam thanks. I've pushed yesterday linux-xanmod-lts49. It doesn't require any maintenance for now. If upstream make a new version is as simple as bump version. That's it.

Thanks again for your suggestions to improve all my packages.

enihcam commented on 2020-04-04 01:22 (UTC)

perfect package! I don't think you will need to package the previous version as linux-xanmod-lts49. 4.9 is deprecated and not showing up in xanmod official page. People who are addicted to 4.9 can just block the upgrade in pacman.conf or switch to other AUR kernels. Also, to maintain a lot of AUR packages would distract you, I'm guessing. :)

shierji commented on 2020-04-03 11:22 (UTC)

Thanks A Lot!

figue commented on 2020-04-03 08:45 (UTC)

Package changed to branch 5.4. Latest commit description doesn't reflect that (sorry about that). Please check that all is ok. Will try to push the old package to a new AUR package (linux-xanmod-lts49) for backup reasons. Probably in some point it will be deleted if upstream doesn't merge new patches.

enihcam commented on 2020-04-02 00:44 (UTC)

Hi! When will linux-xanmod-lts move to 5.4.x? linux-xanmod is edge version now. I'm looking for a stable but still modern kernel.

figue commented on 2020-02-14 23:23 (UTC) (edited on 2020-02-14 23:26 (UTC) by figue)

@Markospox you can set all CFLAGS you want, but probably the easiest you can do is to use tuning options already present in package. I personally use:

_microarchitecture=19 use_numa=n use_tracers=n use_ns=y _localmodcfg=y makepkg

Set your microarchitecture to native (22) or exactly for your CPU (execute this to know what you have: gcc -c -Q -march=native --help=target | grep march | head -1 | awk '{print $2}'). All is documented in PKGBUILD and choose-gcc-optimization.sh

In flags posted in Phoronix, compilation is for generic CPUs (mtune=generic), so you will gain a bit speed tunning microarchitecture. Also if you want a specific package, install modprobed-db (see archlinux wiki how to use) and that way you only build needed modules for your system. If not, don't use _localmodcfg