Projet

Général

Profil

Révision 5d778955

ID5d778955555e236bb7a6eba00609461b7f12a73b
Parent 7f94d4d6
Enfant ad581ffd

Ajouté par Tomas Zvala il y a plus de 10 ans

Readd Anonymoust Hugepages (aka. Transparent Hugepages) to system/hugepage plugin.

Voir les différences:

plugins/system/hugepages
42 42
    print "graph_title HugePages usage"
43 43
    print "graph_category system"
44 44
    print "graph_info This graph shows the usage of the kernel Huge Pages."
45
    print "graph_order Total Rsvd Free Surp"
45
    print "graph_order Total Rsvd Free Surp Anon"
46 46
    print "Total.label total"
47 47
    print "Total.draw AREA"
48 48
    print "Total.info Size of pool of hugepages ('nr_hugepages')"
......
55 55
    print "Surp.label surplus"
56 56
    print "Surp.draw STACK"
57 57
    print "Surp.info Number of hugepages > nr_hugepages, as decided by nr_overcommit_hugepages or when the amount of Huge Pages is reduced while they are in use."
58
    print "Anon.label Transparent"
59
    print "Anon.draw STACK"
60
    print "Anon.info Huge Pages that are in use by the transparent Huge Page allocator khugepaged."
58 61
    CONF=1
59 62
  }
60 63
  if (ARGC > 1 && ARGV[1] == "autoconf") {
......
69 72

  
70 73
CONF == 1 {
71 74
  if (/Hugepagesize/) {
75
    print "Anon.cdef Anon,",$2,",/"
72 76
    print "graph_vlabel Pages (",$2,"KB/page)"
73 77
  }
74 78
}

Formats disponibles : Unified diff