Browse Source

Merge "Set default NUMA topology distances"

tags/9.0
Jenkins 3 years ago
parent
commit
2637e949a7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      agent

+ 1
- 1
agent View File

@@ -943,7 +943,7 @@ class NodeAgent
943 943
 
944 944
     doc = Document.new `lstopo --no-caches --of xml`
945 945
 
946
-    topology = {:numa_nodes => [], :supported_hugepages => supported_hugepages, :distances => nil}
946
+    topology = {:numa_nodes => [], :supported_hugepages => supported_hugepages, :distances => [["1.0"]]}
947 947
 
948 948
     doc.elements.each('/topology/object/distances/') do |dist|
949 949
       topology[:distances] = dist.elements.collect{|v| v.attributes['value']}

Loading…
Cancel
Save