Package Base Details: linux-xanmod

Git Clone URL: https://aur.archlinux.org/linux-xanmod.git (read-only)
Submitter: Yoshi2889
Maintainer: figue (figuepluto, jfigueras)
Last Packager: figue
Votes: 14
Popularity: 0.542488
First Submitted: 2017-02-14 09:40
Last Updated: 2019-10-12 11:44

Pinned Comments

figue commented on 2018-12-14 00:50

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

References:

## 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 ${_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 ${_tracers+x} ]; then
  use_tracers=y
fi
##
## Enable PDS CPU scheduler by default https://gitlab.com/alfredchen/linux-pds
## Set variable "use_pds" to: n to disable (stock Xanmod)
##                            y to enable
if [ -z ${_pds+x} ]; then
  use_pds=n
fi

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

env _tracers=0 _numa=0 _pds=1 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 to use this feature
  if [ -f "${startdir}/myconfig" ]; then
    msg2 "Using user CUSTOM config..."
    cp -f "${startdir}"/myconfig .config
  fi

Latest Comments

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

figue commented on 2018-01-08 16:00

Warning: next release will be fully non-interactive. The config and microarchitecture will be choosed as variables in PKGBUILD.

Please, be aware!

QDesjardin commented on 2018-01-01 20:24

It works absolutely fine =)

figue commented on 2018-01-01 19:10

@QDesjardin check the new version. All should be fine now.

QDesjardin commented on 2017-12-28 23:50

I don't understand, I thought we just had to update the checksum for the config file.. which is the same one I just downloaded when attempting to update through yaourt.

figue commented on 2017-12-28 17:23

@QDesjardin the file "config" is Arch kernel config. If it change in Arch repos, you probably have to delete your local file, if not you have an old version and checksum will not be the same.

So, try to: rm config && makepkg

QDesjardin commented on 2017-12-27 23:49

For 4.14.9-1, it says this while building it:

==> Validating source_x86_64 files with sha256sums...

config ... FAILED

==> ERROR: One or more files did not pass the validity check!

==> ERROR: Makepkg was unable to build linux-xanmod.

figue commented on 2017-12-07 19:49

@ScarecrowDM ok. I'll report upstream.

ScarecrowDM commented on 2017-12-06 15:04

@figue: Yes, upstream patch does support newer CPUs.

https://github.com/graysky2/kernel_gcc_patch

figue commented on 2017-12-03 23:44

@ScarecrowDM do you know if there are more patches for newer CPU's? And, yes, they include only a few CPU architectures...

AMD Opteron/Athlon64/Hammer/K8
AMD Opteron/Athlon64/Hammer/K8 with SSE3 
AMD 61xx/7x50/PhenomX3/X4/II/K10 
AMD Barcelona 
AMD Bobcat 
AMD Bulldozer
AMD Piledriver 
AMD Jaguar 
Intel P4 / older Netburst based Xeon 
Intel Atom 
Intel Core 2 
Intel Nehalem
Intel Westmere 
Intel Silvermont 
Intel Sandy Bridge 
Intel Ivy Bridge 
Intel Haswell 
Intel Broadwell
Generic-x86-64 
Native optimizations autodetected by GCC

Maybe I report upstream next week. Thank you for the interest.

ScarecrowDM commented on 2017-12-03 18:37

Hey figue, great work managing this package!

The gcc optimization patch merged on xanmod is outdated though, newer CPUs (like ryzen) aren't on the list when you enter nconfig for further tweaks. I think you should let them know, so it can be fixed upstream.