unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#67055] [PATCH] gnu: Add numad.
@ 2023-11-10 20:46 spacecadet
  0 siblings, 0 replies; only message in thread
From: spacecadet @ 2023-11-10 20:46 UTC (permalink / raw)
  To: 67055

---
  gnu/packages/linux.scm | 39 +++++++++++++++++++++++++++++++++++++++
  1 file changed, 39 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 95a66e3d6a..587f70729f 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -4026,6 +4026,45 @@ (define-public numactl
      (license (list license:gpl2                   ;programs
                     license:lgpl2.1))))            ;library

+(define-public numad
+  (package
+    (name "numad")
+    (version "0.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://pagure.io/numad.git")
+             (commit "d696d6c413c5b47b4bbae79e29ea132e52095af3")))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 
"03jjyzck1rwfy9wy5yj7q2hx0mhmhdvjxi3gzmh22p5j602i35ax"))))
+    (arguments
+     (list
+      #:tests? #f ;no tests
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'patch-makefile
+                     (lambda _
+                       (substitute* "Makefile"
+                         (("install -m")
+                          "install -Dm")))) ;create directories
+                   (delete 'configure))
+      #:make-flags #~(list (string-append "prefix="
+                                          #$output)
+                           (string-append "CC="
+                                          #$(cc-for-target)))))
+    (build-system gnu-build-system)
+    (home-page "https://pagure.io/numad")
+    (synopsis
+     "Daemon that monitors NUMA topology and processes resource 
consumption")
+    (description
+     "The daemon will attempt to match significant resource consumers 
with
+available memory and CPU resources in order to reduce cross node 
traffic.  It
+will attempt to do some load balancing across NUMA nodes, and will 
provide a
+pre-placement advisory interface (to entities like libvirt), so 
significant
+processes can be pre-bound to nodes with sufficient available 
resources.")
+    (license license:lgpl2.1)))
+
  (define-public kbd-neo
    (package
      (name "kbd-neo")

base-commit: bb3ab24a296ffa5273b2e82a02ed057e90c095f3
-- 
2.41.0




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-11  2:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-10 20:46 [bug#67055] [PATCH] gnu: Add numad spacecadet

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).