"Fossies" - the Fresh Open Source Software Archive

Member "atop-2.8.1/ChangeLog" (7 Jan 2023, 37517 Bytes) of package /linux/misc/atop-2.8.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "ChangeLog": 2.8.0_vs_2.8.1.

    1 commit 5bc3edc64ca01dd46922b34402c67c6f286399aa
    2 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
    3 Date:   Sat Jan 7 14:27:52 2023 +0100
    4 
    5     Version 2.8.1
    6 
    7 M	version.h
    8 
    9 commit a2c45992f59ce6110b24b22fc9bf65028197e96d
   10 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
   11 Date:   Sat Jan 7 12:21:03 2023 +0100
   12 
   13     Solve compiler warnings about format-truncation
   14 
   15 M	various.c
   16 
   17 commit b93546d1ed03ec5b6e0c747a2571820129d60771
   18 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
   19 Date:   Sat Jan 7 12:02:37 2023 +0100
   20 
   21     Avoid buffer overflows during value formatting
   22 
   23 M	various.c
   24 
   25 commit 490c73ce516bff6dd53786e2be29bbcbc4185071
   26 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
   27 Date:   Sat Jan 7 12:00:36 2023 +0100
   28 
   29     Correct NUMA conversion in logfiles from version 2.7 to 2.8
   30 
   31 M	atopconvert.c
   32 
   33 commit ed17722fa50f3a0be4d1d4a86336180a38a69109
   34 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
   35 Date:   Sat Jan 7 11:16:42 2023 +0100
   36 
   37     Added contributor
   38 
   39 M	AUTHORS
   40 
   41 commit 338637d911b98d67b3d3b8a25e25532659a36571
   42 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
   43 Date:   Thu Dec 29 23:32:50 2022 +0100
   44 
   45     Rename AUTHOR in spec file
   46 
   47 M	rpmspec/atop.specsystemd
   48 
   49 commit 6621b213326fdeba79e8c15214f7e78597ce391f
   50 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
   51 Date:   Thu Dec 29 23:24:23 2022 +0100
   52 
   53     Up-to-date list of contributors
   54 
   55 D	AUTHOR
   56 A	AUTHORS
   57 
   58 commit be2d5c43e4fd8b6f2754e2cabdd55857d5ad8da2
   59 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
   60 Date:   Thu Dec 29 22:33:12 2022 +0100
   61 
   62     New version 2.8.0
   63 
   64 M	version.h
   65 
   66 commit d7f71c0bfc3980a0103ed23f55a8db4c72b8d6f2
   67 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
   68 Date:   Thu Dec 29 21:56:05 2022 +0100
   69 
   70     Update timestamp of man pages
   71 
   72 M	man/atop.1
   73 M	man/atopacctd.8
   74 M	man/atopcat.1
   75 M	man/atopconvert.1
   76 M	man/atopgpud.8
   77 M	man/atoprc.5
   78 M	man/atopsar.1
   79 
   80 commit 3bfd0dbbeaf023c351235a44b92ad8b3691c4648
   81 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
   82 Date:   Thu Dec 29 15:39:34 2022 +0100
   83 
   84     Adapt atopconvert for conversion to version 2.8
   85 
   86 M	README
   87 M	atopconvert.c
   88 A	prev/netstats_wrong.h
   89 A	prev/photoproc_28.h
   90 M	prev/photosyst_20.h
   91 M	prev/photosyst_21.h
   92 M	prev/photosyst_22.h
   93 M	prev/photosyst_23.h
   94 M	prev/photosyst_24.h
   95 M	prev/photosyst_25.h
   96 M	prev/photosyst_26.h
   97 M	prev/photosyst_27.h
   98 A	prev/photosyst_28.h
   99 
  100 commit 33c0abcd3423e276e538d26f4850c266abdcdbf5
  101 Merge: 3b7ad4b 6cc222a
  102 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  103 Date:   Thu Dec 29 12:11:20 2022 +0100
  104 
  105     Merge pull request #229 from pizhenwei/json-fix
  106     
  107     Json fix
  108 
  109 commit 3b7ad4b61f94776ddc0f9755ef2f0353c3eac962
  110 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  111 Date:   Thu Dec 29 11:59:11 2022 +0100
  112 
  113     Atopacct.service verifies if psacct/acct is active (solves issue #227)
  114     To avoid that the atopacctd daemon and the (ps)acct service
  115     both try to activate process accounting continuously, the
  116     atopacct.service refuses to start when the (ps)acct service is
  117     already active.
  118 
  119 M	atopacct.service
  120 
  121 commit 6cc222a8c528112f39f8657b84367a0a3b7c961f
  122 Author: zhenwei pi <pizhenwei@bytedance.com>
  123 Date:   Tue Dec 27 10:15:51 2022 +0800
  124 
  125     Add avque counters to json data
  126     
  127     Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
  128 
  129 M	json.c
  130 
  131 commit be1fc512f00b36d6b80d9fe6aa73640787bf3417
  132 Author: zhenwei pi <pizhenwei@bytedance.com>
  133 Date:   Tue Dec 27 09:36:44 2022 +0800
  134 
  135     Add inflight counters to json data
  136     
  137     Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
  138 
  139 M	json.c
  140 
  141 commit cf4d2d268f9fefadc5b56e717eb57f7260223834
  142 Author: zhenwei pi <pizhenwei@bytedance.com>
  143 Date:   Fri Dec 2 16:05:46 2022 +0800
  144 
  145     Fix LLC output for Json
  146     
  147     Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
  148 
  149 M	json.c
  150 
  151 commit 66641630457e3b607391dd08bfe79b0a3ccbf416
  152 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  153 Date:   Sat Dec 24 13:24:24 2022 +0100
  154 
  155     Solve format-overflow/maybe-uninitialized warnings
  156 
  157 M	atopsar.c
  158 M	gpucom.c
  159 M	photosyst.c
  160 M	showprocs.c
  161 M	various.c
  162 
  163 commit b6041164d738ba51eeacc9ef2676745564a33ee7
  164 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  165 Date:   Sat Dec 24 13:22:22 2022 +0100
  166 
  167     Reshuffle counters to ease raw file conversion
  168 
  169 M	photosyst.h
  170 
  171 commit e395f48d4709bbcb03918cc752d9f8a2387e5c53
  172 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  173 Date:   Sat Dec 24 12:13:12 2022 +0100
  174 
  175     Recalculate average queue in parseable output
  176 
  177 M	man/atop.1
  178 M	parseable.c
  179 
  180 commit 8d133c6f51f7d1424f3c4590dbb8621e971688ec
  181 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  182 Date:   Sat Dec 24 11:58:33 2022 +0100
  183 
  184     Corrected the order of inflight/avque
  185 
  186 M	man/atop.1
  187 M	parseable.c
  188 
  189 commit 3a210c1b77f5069a8be364a8107aaa686bccdcd3
  190 Merge: e52eaaa ebfda60
  191 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  192 Date:   Sat Dec 24 11:54:06 2022 +0100
  193 
  194     Merge branch 'bytedance-add-inflight'
  195 
  196 commit ebfda604a89c0906dc038636887ec0e11d0590d3
  197 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  198 Date:   Sat Dec 24 11:53:36 2022 +0100
  199 
  200     Add inflight and avque counters to parseable data
  201 
  202 M	man/atop.1
  203 M	parseable.c
  204 M	showlinux.c
  205 
  206 commit a57b7ef96fba4fbb98ba92048c2ced2e90d92298
  207 Merge: e52eaaa a232722
  208 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  209 Date:   Sat Dec 24 11:38:27 2022 +0100
  210 
  211     Merge branch 'add-inflight' of github.com:bytedance/atop into bytedance-add-inflight
  212 
  213 commit e52eaaa65f87ad0315cbd33362d046e2d786f5bc
  214 Merge: a082801 c6a0661
  215 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  216 Date:   Sat Dec 24 11:17:39 2022 +0100
  217 
  218     Merge pull request #225 from natoscott/bdelay-space-fix
  219     
  220     Fix BDELAY in priphead call to make_proc_prints for schedprocs
  221 
  222 commit a0828016b1c5e87b73b58ff427b371dc0cb93195
  223 Merge: 7e83f05 e892d9a
  224 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  225 Date:   Sat Dec 24 11:16:40 2022 +0100
  226 
  227     Merge pull request #224 from natoscott/deviate-container-preindex
  228     
  229     Correct the array index used for previous samples per-container CPU values
  230 
  231 commit 7e83f05e98d33f52f9c892a886584a0bdf6dec26
  232 Merge: e40449b cff3075
  233 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  234 Date:   Sat Dec 24 11:10:56 2022 +0100
  235 
  236     Merge pull request #223 from natoscott/dskavio-print-fix
  237     
  238     Reinstate dropped printing of avio msec values between 99.95 and 9995
  239 
  240 commit e40449b7b2623da00f43a2141be536c38d196d5e
  241 Merge: 21bd4fd a26b937
  242 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  243 Date:   Sat Dec 24 10:46:42 2022 +0100
  244 
  245     Merge pull request #222 from bytedance/display-rbd-disk
  246     
  247     photosyst: add ceph rbd disk display
  248 
  249 commit 21bd4fd643605e1b42e3e61f4ae82ce4bfadba5b
  250 Merge: d8d97f9 2b07b01
  251 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  252 Date:   Sat Dec 24 10:43:14 2022 +0100
  253 
  254     Merge pull request #217 from bytedance/fix-numanr
  255     
  256     photosys.c: correct the numa number for NUM and NUC
  257 
  258 commit c6a066167ee33a9cbef353439594f7dfa61cb940
  259 Author: Nathan Scott <nathans@redhat.com>
  260 Date:   Thu Dec 15 15:16:08 2022 +1100
  261 
  262     Fix BDELAY in priphead call to make_proc_prints for schedprocs
  263 
  264 M	showlinux.c
  265 
  266 commit e892d9afae4883f3488542a664de83012e42d9c1
  267 Author: Nathan Scott <nathans@redhat.com>
  268 Date:   Thu Dec 15 13:49:00 2022 +1100
  269 
  270     Correct the array index used for previous samples per-container CPU values
  271     
  272     Compare to previous sample array handling for NFS, disks, interfaces, etc.
  273 
  274 M	deviate.c
  275 
  276 commit cff3075a5a05f98629c3f22c6c5d8466ca46c573
  277 Author: Nathan Scott <nathans@redhat.com>
  278 Date:   Thu Dec 15 11:27:04 2022 +1100
  279 
  280     Reinstate dropped printing of avio msec values between 99.95 and 9995
  281     
  282     I believe this was an accidental change in commit db9eef1d4 which has
  283     introduced a code path where no value is added to the buffer at all.
  284 
  285 M	showsys.c
  286 
  287 commit a26b937efb4cac44c5a8adcd0a7981501b48b83e
  288 Author: Fei Li <lifei.shirley@bytedance.com>
  289 Date:   Tue Dec 13 16:15:08 2022 +0800
  290 
  291     photosyst: add ceph rbd disk display
  292     
  293     Ceph block devices are used in many scenarios, especially in k8s
  294     cluster, in which case an external ceph storage cluster is used to
  295     implement persistent storage for pods inside the k8s cluster.
  296     
  297     An example in /proc/diskstats is as follows:
  298     254 288 rbd18   25359 1 2459552 18239 2 0 16 42 0 19706 11358 0 0 0 0
  299     254 289 rbd18p1 25240 1 2453022 18190 2 0 16 42 0 19655 11337 0 0 0 0
  300     
  301     Signed-off-by: Fei Li <lifei.shirley@bytedance.com>
  302 
  303 M	photosyst.c
  304 
  305 commit 2b07b014153b6ccb00a4e02b134fa6cc9cec6fc2
  306 Author: Fei Li <lifei.shirley@bytedance.com>
  307 Date:   Tue Dec 6 20:48:13 2022 +0800
  308 
  309     photosys.c: correct the numa number for NUM and NUC
  310     
  311     Current code uses array index to store the numa number, which may
  312     sort the numanr to a wrong value after the qsort() funtion in
  313     generic_samp().
  314     
  315     Fix this by re-adding the 'numanr' member for struct mempernuma and
  316     cpupernuma to store the correct numa number. The permanent 'numanr'
  317     member can guarantee the numa number from adjusting after qsort(),
  318     while the qsort() function can continue working by sorting NUM from
  319     small to large according to free memory, and sorting NUC from small
  320     to large according to idle cpu.
  321     
  322     Besides, add NUC for JSON output.
  323     
  324     Fixes: 1fbda3f1081a ("Additions to NUMA counters")
  325     Reported-by: Qi Zheng <zhengqi.arch@bytedance.com>
  326     Signed-off-by: Fei Li <lifei.shirley@bytedance.com>
  327 
  328 M	deviate.c
  329 M	json.c
  330 M	parseable.c
  331 M	photosyst.c
  332 M	photosyst.h
  333 M	showsys.c
  334 
  335 commit d8d97f93f2425be97e4aca6df5c91fd18913ac16
  336 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  337 Date:   Sat Nov 26 12:56:14 2022 +0100
  338 
  339     Timeout when setting semaphore in atop (issue #207)
  340 
  341 M	acctproc.c
  342 
  343 commit e1a50559934bb9a1ca2b41eba77134abeaae3d22
  344 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  345 Date:   Sat Nov 26 11:38:17 2022 +0100
  346 
  347     Current CPU set to -1 for terminated process (solves issue #201)
  348     When a process has terminated (status 'E') the current CPU will
  349     be set to -1 (means: unknown) in the parsable output with label PRC.
  350 
  351 M	deviate.c
  352 M	man/atop.1
  353 
  354 commit ecfc92e04f33ebd09ca0c06debc16585ec993002
  355 Merge: 75a67ee 580099c
  356 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  357 Date:   Sat Nov 26 10:41:39 2022 +0100
  358 
  359     Merge branch 'pizhenwei-json'
  360 
  361 commit 580099c03e344f401755ad5f8297842b7e950083
  362 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  363 Date:   Sat Nov 26 10:41:00 2022 +0100
  364 
  365     Typo corrections and correction in man page
  366 
  367 M	json.c
  368 M	man/atop.1
  369 
  370 commit fb9edb2cabda7368b9115691ee297b71a486904c
  371 Author: zhenwei pi <pizhenwei@bytedance.com>
  372 Date:   Mon Nov 14 10:09:39 2022 +0800
  373 
  374     Introduce JSON output by '-J xxx'
  375     
  376     It's possible to dump the record by JSON format, this is quite
  377     friendly to web service, and lot of use libraries could parse these
  378     data easily.
  379     
  380     The syntax is similar to parseable output.
  381     
  382     Co-authored-by: Fei Li <lifei.shirley@bytedance.com>
  383     Signed-off-by: Fei Li <lifei.shirley@bytedance.com>
  384     Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
  385 
  386 M	Makefile
  387 M	atop.c
  388 A	json.c
  389 A	json.h
  390 M	man/atop.1
  391 
  392 commit 75a67eee67962ab2b2a787375de6907a008164f9
  393 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  394 Date:   Tue Nov 1 20:17:39 2022 +0100
  395 
  396     Add missing counter iInCsumErrors to ICMP counters
  397 
  398 M	netstats.h
  399 
  400 commit a232722a59c4eeeeadf4e8f5c269d59eff6b8f70
  401 Author: Teng Hu <huteng.ht@bytedance.com>
  402 Date:   Mon Aug 15 14:16:25 2022 +0800
  403 
  404     supplement inflight I/O requests
  405     
  406     Inflight I/O requests count I/O requests issued to the device driver but
  407     have not yet completed, which are useful to analyze system I/O status.
  408     More than this, since plenty of processes remain in D status for a long time
  409     come from I/O troubles, inflight I/O values also help to examine these processes.
  410     
  411     Signed-off-by: Teng Hu <huteng.ht@bytedance.com>
  412 
  413 M	deviate.c
  414 M	man/atop.1
  415 M	photosyst.c
  416 M	photosyst.h
  417 M	showlinux.c
  418 M	showlinux.h
  419 M	showsys.c
  420 
  421 commit be42f0b0eed45af5045c2f1d85b4bd87e22ca32f
  422 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  423 Date:   Tue Aug 30 16:55:57 2022 +0200
  424 
  425     Man page: clarify elapsed time in PRG parseable output
  426 
  427 M	man/atop.1
  428 
  429 commit e9f3048f7e04c39d43cd19481e14797d6163556d
  430 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  431 Date:   Tue Aug 30 16:46:23 2022 +0200
  432 
  433     Exponent calulation for high counter might exceed column width
  434     When a column width was defined of e.g. 4 positions, the value
  435     99999 was shown as 100e3 instead of 99e3 (upward rounding caused
  436     an extra position).
  437 
  438 M	various.c
  439 
  440 commit 38ae774ef76bb5472215b4e0dc7e339b2fdddff2
  441 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  442 Date:   Tue Aug 30 16:24:22 2022 +0200
  443 
  444     PID selection can not be undone for same interval
  445     When pressing 'I' to select particular PIDs and pressing 'I'
  446     again within the same interval to deselect by pressing the
  447     Enter-key, the deselection is ignored.
  448     Solved by reinitializing the input buffer.
  449 
  450 M	showgeneric.c
  451 
  452 commit ea723065de70854c127daa9545d25df1bab4fd3d
  453 Merge: ba677a7 02479a2
  454 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  455 Date:   Sat Aug 20 13:36:35 2022 +0200
  456 
  457     Merge branch 'secondmem'
  458 
  459 commit 02479a2ededa76c843d59828d4e8b8886d0723a9
  460 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  461 Date:   Sat Aug 20 13:32:02 2022 +0200
  462 
  463     Split the MEM line into two lines and add pagetable size
  464     Since it was hardly possible to view the values in the MEM line
  465     (too many), the memory utilization has been spread over two lines.
  466     The amount of memory used for page tables has been added.
  467 
  468 M	deviate.c
  469 M	man/atop.1
  470 M	parseable.c
  471 M	photosyst.c
  472 M	photosyst.h
  473 M	showlinux.c
  474 M	showlinux.h
  475 M	showsys.c
  476 
  477 commit ba677a79c2cc987db03ea4226fd95a28351b429a
  478 Merge: 76a6774 0933e00
  479 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  480 Date:   Sat Aug 13 13:05:26 2022 +0200
  481 
  482     Merge branch 'bytedance-support-sockstat-mem-consumption'
  483 
  484 commit 0933e00880ebfb425ac98b106c24c825a10fbdad
  485 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  486 Date:   Sat Aug 13 13:03:04 2022 +0200
  487 
  488     Memory usage for TCP/UDP sockets
  489 
  490 M	man/atop.1
  491 M	parseable.c
  492 M	photosyst.c
  493 M	showlinux.c
  494 M	showsys.c
  495 
  496 commit ffdbb1994b9b4ca2de3e6ca6da102a3f9162787e
  497 Merge: 76a6774 a2422e3
  498 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  499 Date:   Sat Aug 13 11:56:44 2022 +0200
  500 
  501     Merge branch 'support-sockstat-mem-consumption' of github.com:bytedance/atop into bytedance-support-sockstat-mem-consumption
  502 
  503 commit 76a67740379ffd13644d21ebe9e19f2e87e03273
  504 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  505 Date:   Sat Aug 13 11:49:02 2022 +0200
  506 
  507     Add Documentation key to atop-rotate.service/.timer (issue #206)
  508 
  509 M	atop-rotate.service
  510 M	atop-rotate.timer
  511 M	man/atop.1
  512 
  513 commit d24484bbc67ceaeb302cbd6294da398aea10c7b7
  514 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  515 Date:   Sat Aug 13 11:30:54 2022 +0200
  516 
  517     Correct typos in man pages (solves issue #205)
  518 
  519 M	man/atop.1
  520 M	man/atopsar.1
  521 
  522 commit 69599a02aa21b77aaf56fc2303b86296c557c1e0
  523 Merge: 57a808e c9fea4e
  524 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  525 Date:   Sat Aug 13 11:13:56 2022 +0200
  526 
  527     Merge pull request #198 from bytedance/showhdrline-fix-sprintf-oob
  528     
  529     showhdrline: fix OOB access when COLS is too small
  530 
  531 commit 57a808e3cdf0f2d4b516a211e8e915b0d972b33f
  532 Merge: 8365a75 5c326ee
  533 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  534 Date:   Sat Aug 13 10:28:46 2022 +0200
  535 
  536     Merge pull request #203 from pizhenwei/fix-compile-error-with-http
  537     
  538     Fix compiling error with -DHTTPSTATS
  539 
  540 commit 8365a7583e08a27ed14aedd2d0909dbde0513f18
  541 Merge: d9e0e6a 4243e34
  542 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  543 Date:   Thu Jul 28 11:58:19 2022 +0200
  544 
  545     Merge branch 'cgroup'
  546 
  547 commit 4243e34f6bb7444f630350843b66c8f490ecc283
  548 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  549 Date:   Thu Jul 28 11:52:34 2022 +0200
  550 
  551     Add cgroup support (solves issue #127)
  552     The current cgroup is registered for systems that are based on cgroup v2.
  553     Apart from the group name also relevant controller information is
  554     maintained, like the cpu.max and the memory.max (for the group itself
  555     and the most restrictive value in the parent groups).
  556 
  557 M	atop.h
  558 M	deviate.c
  559 M	man/atop.1
  560 M	parseable.c
  561 M	photoproc.c
  562 M	photoproc.h
  563 M	rawlog.c
  564 M	showgeneric.c
  565 M	showgeneric.h
  566 M	showlinux.c
  567 M	showlinux.h
  568 M	showprocs.c
  569 
  570 commit 5c326ee948775afc541ecd88017c5e9d2b4099bf
  571 Author: zhenwei pi <pizhenwei@bytedance.com>
  572 Date:   Thu Jul 21 15:52:17 2022 +0800
  573 
  574     Fix compiling error with -DHTTPSTATS
  575     
  576     Fix compiling error like this:
  577     In file included from atopconvert.c:77:
  578     prev/photosyst_27.h:327:5: error: conflicting types for ‘getwwwstat’
  579       327 | int getwwwstat(unsigned short, struct wwwstat_27 *);
  580           |     ^~~~~~~~~~
  581     In file included from atopconvert.c:52:
  582     photosyst.h:361:5: note: previous declaration of ‘getwwwstat’ was here
  583       361 | int getwwwstat(unsigned short, struct wwwstat *);
  584           |     ^~~~~~~~~~
  585     
  586     Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
  587 
  588 M	prev/photosyst_27.h
  589 
  590 commit a2422e397af5ebbea1a03a36ec82e8bd77632b4a
  591 Author: Fei Li <lifei.shirley@bytedance.com>
  592 Date:   Fri Jul 8 18:35:52 2022 +0800
  593 
  594     supplement tcpsock and udpsock memory consumption
  595     
  596     In some production cases, tcp socket consumes lots of memory, which
  597     has no intersection with the statistics in /proc/meminfo file.
  598     
  599     Considering the current code does not collect and record the tcpsock
  600     or udpsock statistics reported via /proc/net/sockstat, supplement
  601     the following two to help locate memory consumption issues:
  602     - tcpsock, number of pages allocated by TCP sockets
  603     - udpsock, number of pages allocated by UDP sockets
  604     
  605     Signed-off-by: Fei Li <lifei.shirley@bytedance.com>
  606 
  607 M	deviate.c
  608 M	man/atop.1
  609 M	parseable.c
  610 M	photosyst.c
  611 M	photosyst.h
  612 M	showlinux.c
  613 M	showlinux.h
  614 M	showsys.c
  615 
  616 commit d9e0e6a703f152e3e17195afb227596d9983ca4e
  617 Merge: f2e7051 bc84472
  618 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  619 Date:   Sat Jul 9 12:25:29 2022 +0200
  620 
  621     Merge pull request #196 from pizhenwei/fix-man-disk-busy
  622     
  623     Fix disk busy in man page
  624 
  625 commit f2e7051a50ed116a1cd35d0e3e2b268cb3472d9e
  626 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  627 Date:   Sat Jul 9 12:10:39 2022 +0200
  628 
  629     Store PID width in header of raw log
  630     Register the number of positions for PID and TID numbers on the
  631     measured system in the raw log. In this way, the viewing of the
  632     raw log on another system will use the proper column width for PID/TID.
  633 
  634 M	atop.c
  635 M	atop.h
  636 M	rawlog.c
  637 M	rawlog.h
  638 M	showlinux.c
  639 M	various.c
  640 
  641 commit c9fea4e3d55b589ec202fb651f461c7acffb8fc0
  642 Author: Fei Li <lifei.shirley@bytedance.com>
  643 Date:   Fri Jun 10 15:06:21 2022 +0800
  644 
  645     showhdrline: fix OOB access when COLS is too small
  646     
  647     - How to reproduce:
  648     Drag the window to the far right, a "Segmentation fault (core dumped)"
  649     message occurs.
  650     
  651     - Debug:
  652     Add some print values, saying COLS=2, thus maxw.
  653     
  654     After getspacings(), elemptr becomes a NULL array again: maxw is too
  655     small, so after nitems times of memmove(), newelems is NULL.
  656     
  657     Then back to showhdrline(), as each curelem.f is zero, no chead is
  658     assigned to buf and col is still zero. However, after the calculation:
  659     allign=COLS-col-pagindiclen;//align=2-0-4=-2 < 0, previous code jumps
  660     to sprintf(buf+col+allign, "%s", pagindic), which triggers
  661     out-of-bounds access as col+allign = -2 < 0.
  662     
  663     - Fix:
  664     Fix this by judging if (col+allign >= 0) before jumping to avoid the
  665     OOB access.
  666     
  667     Reported-by: Qi Zheng <zhengqi.arch@bytedance.com>
  668     Signed-off-by: Fei Li <lifei.shirley@bytedance.com>
  669 
  670 M	showprocs.c
  671 
  672 commit bc84472f20c9d8c101901b5b32f04168a596af27
  673 Author: zhenwei pi <pizhenwei@bytedance.com>
  674 Date:   Mon May 16 08:59:37 2022 +0800
  675 
  676     Fix disk busy in man page
  677     
  678     Reference source code from Linux:
  679     https://github.com/torvalds/linux/blob/master/block/blk-core.c
  680     
  681     void update_io_ticks(struct block_device *part, unsigned long now, bool end)
  682     {
  683     	unsigned long stamp;
  684     again:
  685     	stamp = READ_ONCE(part->bd_stamp);
  686     	if (unlikely(time_after(now, stamp))) {
  687     		if (likely(cmpxchg(&part->bd_stamp, stamp, now) == stamp))
  688     			__part_stat_add(part, io_ticks, end ? now - stamp : 1);
  689     	}
  690     	if (part->bd_partno) {
  691     		part = bdev_whole(part);
  692     		goto again;
  693     	}
  694     }
  695     
  696     The io_ticks field records the elapsed time during which I/O requests
  697     were issued to the device. From this design, one or more I/O requests
  698     may occurs in the same tick, so this number does not reflect the
  699     performance limits of mordern SSD/NVMe.
  700     
  701     atop reads this counter and calculates the percentage, fix the man
  702     page to introduce this.
  703     
  704     Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
  705 
  706 M	man/atop.1
  707 
  708 commit b9d7533ef536cd07683680786c1bcf9c4e6bd9d4
  709 Merge: f5da8d3 ed4fd0f
  710 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  711 Date:   Sat May 14 11:04:33 2022 +0200
  712 
  713     Merge pull request #195 from pizhenwei/move-run_in_guest-into-various
  714     
  715     Move run_in_guest into various.c
  716 
  717 commit f5da8d31e7346a7873fe0748cdf136942c64bce3
  718 Merge: 98a82fd 591bf96
  719 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  720 Date:   Sat May 7 12:47:16 2022 +0200
  721 
  722     Merge branch 'blockdelay'
  723 
  724 commit 591bf964db4da7d66ffd4a2920fcb1dcf5d06436
  725 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  726 Date:   Sat May 7 12:45:58 2022 +0200
  727 
  728     Add block I/O delay to processes/threads
  729 
  730 M	deviate.c
  731 M	man/atop.1
  732 M	parseable.c
  733 M	photoproc.c
  734 M	photoproc.h
  735 M	showlinux.c
  736 M	showlinux.h
  737 M	showprocs.c
  738 
  739 commit ed4fd0feab628fef20e6c08f3722fdb0dfbe3c4f
  740 Author: zhenwei pi <pizhenwei@bytedance.com>
  741 Date:   Mon Apr 18 18:36:42 2022 +0800
  742 
  743     Move run_in_guest into various.c
  744     
  745     run_in_guest tries to detect hypervisor, it works as a helper
  746     function. So move this into various.c.
  747     
  748     Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
  749 
  750 M	atop.h
  751 M	photosyst.c
  752 M	various.c
  753 
  754 commit 98a82fdc2258a3bb67ff6dc1dd189b81683837a1
  755 Merge: b90e41f 9cfeb90
  756 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  757 Date:   Sat Apr 9 12:28:32 2022 +0200
  758 
  759     Merge branch 'pizhenwei-pgintout'
  760 
  761 commit 9cfeb9096a45c21fd5e5e5791ff2a21e2fbe86d7
  762 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  763 Date:   Sat Apr 9 12:28:02 2022 +0200
  764 
  765     Minor changes to text, column priority and coloring
  766 
  767 M	man/atop.1
  768 M	showlinux.c
  769 M	showsys.c
  770 
  771 commit b0d07a04298d5dec969b174e3396f1a93cb6fc86
  772 Author: zhenwei pi <pizhenwei@bytedance.com>
  773 Date:   Sun Mar 20 20:11:22 2022 +0800
  774 
  775     Support pgin & pgout
  776     
  777     Collect pgint & pgout from /proc/vmstat. This counter is provided by
  778     linux block layer, it represents the total number of memory read from/
  779     written to all the block devices.
  780     
  781     Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
  782 
  783 M	deviate.c
  784 M	man/atop.1
  785 M	parseable.c
  786 M	photosyst.c
  787 M	photosyst.h
  788 M	showlinux.c
  789 M	showlinux.h
  790 M	showsys.c
  791 
  792 commit b90e41f541f122b6521f476200e6b97657add417
  793 Merge: bfd2537 52676b9
  794 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  795 Date:   Sat Mar 12 11:37:47 2022 +0100
  796 
  797     Merge pull request #192 from pizhenwei/fix-compiling-errors
  798     
  799     Fix compiling warnings
  800 
  801 commit bfd2537d8282f79685a742c4b40779c2839d6974
  802 Merge: a038796 31b632b
  803 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  804 Date:   Sat Mar 12 11:30:38 2022 +0100
  805 
  806     Merge pull request #193 from 7h3w1zz/man-typo
  807     
  808     Fix typo in man page
  809 
  810 commit a038796ec877e098c1ba265f3782386257bf6421
  811 Merge: 5df2c9a 3bcfce3
  812 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  813 Date:   Sat Mar 12 11:24:59 2022 +0100
  814 
  815     Merge branch 'bytedance-calibrate-process-nthr'
  816 
  817 commit 3bcfce3e9dd747d628645b04dc39f9d1fac9b708
  818 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  819 Date:   Sat Mar 12 11:24:34 2022 +0100
  820 
  821     Correction on calibration (one too many)
  822 
  823 M	photoproc.c
  824 
  825 commit 1876fd3474563b71a62b4f0e672f4b3ebd0d9def
  826 Merge: 5df2c9a bdadf39
  827 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  828 Date:   Sat Mar 12 10:59:58 2022 +0100
  829 
  830     Merge branch 'calibrate-process-nthr' of https://github.com/bytedance/atop into bytedance-calibrate-process-nthr
  831 
  832 commit 5df2c9ae74a57312f2d0da245a58d1a0c84704d5
  833 Merge: 3dfaa7f ced67a5
  834 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  835 Date:   Sat Mar 12 10:44:58 2022 +0100
  836 
  837     Merge branch 'integerbeans-fix-vmwballoon-photosyst'
  838     Accepting pull request #189 with modification to stay compatible.
  839 
  840 commit ced67a5ec6f4a258f59e247a87425179b3ff015d
  841 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  842 Date:   Sat Mar 12 10:44:32 2022 +0100
  843 
  844     Detect vmmemctl at two locations
  845 
  846 M	photosyst.c
  847 
  848 commit 52676b93113120a8bd38425b439ccc517bcd406e
  849 Author: zhenwei pi <pizhenwei@bytedance.com>
  850 Date:   Mon Mar 7 15:15:13 2022 +0800
  851 
  852     Use dup2 instead of close+dup
  853     
  854     Build atop on Ubuntu 20.04, gcc 9.3:
  855     showgeneric.c:2843:11: warning: ignoring return value of ‘dup’, declared
  856     with attribute warn_unused_result [-Wunused-result]
  857      2843 |    (void) dup(1);
  858     
  859     Use dup2 instead of close+dup to avoid compiling warning, also use
  860     fileno to avoid hard code:
  861     fd 0 -> fileno(stdin)
  862     fd 1 -> fileno(stdout)
  863     
  864     Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
  865 
  866 M	atopcat.c
  867 M	atopsar.c
  868 M	showgeneric.c
  869 
  870 commit afa269ba299da4b04fe651a9159d40d7f4bd2f02
  871 Author: zhenwei pi <pizhenwei@bytedance.com>
  872 Date:   Mon Mar 7 14:41:01 2022 +0800
  873 
  874     Fix compiling warning
  875     
  876     Build atop on Ubuntu 20.04, gcc 9.3:
  877     photosyst.c:79:17: warning: ‘%s’ directive output may be truncated writing
  878     up to 255 bytes into a region of size 231 [-Wformat-truncation=]
  879        79 | #define NUMADIR "/sys/devices/system/node"
  880           |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
  881     photosyst.c:867:28: note: in expansion of macro ‘NUMADIR’
  882       867 |    snprintf(fn, sizeof fn, NUMADIR "/%s/meminfo", dentry->d_name);
  883           |                            ^~~~~~~
  884     photosyst.c:993:38: note: format string is defined here
  885       993 |    snprintf(fn, sizeof fn, NUMADIR "/node%d/cpumap", j);
  886     
  887     Use larger buffer to avoid compiling warning.
  888     
  889     Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
  890 
  891 M	photosyst.c
  892 
  893 commit bdadf39b7a1062c69f0221250f10d5810402fbd6
  894 Author: Fei Li <lifei.shirley@bytedance.com>
  895 Date:   Tue Feb 15 15:00:22 2022 +0800
  896 
  897     Calibrate the value of nthr for each process
  898     
  899     In current code, we firstly get one process's thread number by
  900     reading "Threads:" from /proc/pid/status; then secondly load each
  901     thread's info into devtstat->taskall by traversing each tid under
  902     /proc/pid/task/. Here, information inconsistency occurs if some
  903     processes frequently creates or deletes threads. For example:
  904     $cat /proc/6/status |grep Threads; sleep 0.1; ls /proc/6/task/ | wc -l
  905     Threads:        70
  906     71
  907     
  908     To fix this, calibrate the value of nthr after iterating each
  909     process's threads: re-record the number of threads and assign
  910     to each process's nthr again.
  911     
  912     Signed-off-by: Fei Li <lifei.shirley@bytedance.com>
  913 
  914 M	photoproc.c
  915 
  916 commit d83d56cd7e0f26b7495901ebc186cd71b75d0c9d
  917 Author: integerbeans <w-gh@wmeyer.eu>
  918 Date:   Thu Feb 17 12:01:32 2022 +0100
  919 
  920     photosyst.c: fixed path for vmmemctl
  921 
  922 M	photosyst.c
  923 
  924 commit 31b632b6b9187cfa288796067849dee660afb756
  925 Author: Jacob <38846015+7h3w1zz@users.noreply.github.com>
  926 Date:   Tue Feb 8 14:20:58 2022 -0500
  927 
  928     Fix typo in man page
  929 
  930 M	man/atop.1
  931 
  932 commit 3dfaa7fd985324bc05f47cc892166ecb0d866d94
  933 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  934 Date:   Sat Feb 5 12:32:08 2022 +0100
  935 
  936     Added link
  937 
  938 M	README.md
  939 
  940 commit d75775438afec328df6087e8fd5b537c9883bd30
  941 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  942 Date:   Tue Jan 25 17:02:42 2022 +0100
  943 
  944     Only print current CPU frequency when supported by CPU architecture
  945 
  946 M	showsys.c
  947 
  948 commit 09e8812ff705b8a2f4a46f22968c40ead7799781
  949 Merge: 390fca3 31d4be0
  950 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  951 Date:   Sun Jan 16 16:42:10 2022 +0100
  952 
  953     Merge pull request #184 from pizhenwei/llc-per-sec
  954     
  955     Support per-second counter for LLC
  956 
  957 commit 390fca31bc0fc3026f9f351b2a46b93782d908fd
  958 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  959 Date:   Sun Jan 16 16:41:30 2022 +0100
  960 
  961     Lower priority of column 'numnode' in MEM line
  962 
  963 M	showlinux.c
  964 
  965 commit 31d4be081c950e859c7c62524d8812dea782720d
  966 Author: zhenwei pi <pizhenwei@bytedance.com>
  967 Date:   Fri Jan 14 15:02:18 2022 +0800
  968 
  969     Support per-second counter for LLC
  970     
  971     Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
  972 
  973 M	showsys.c
  974 
  975 commit 69e61e071ce82933c2763bb5095caf3563da8080
  976 Merge: 78b4193 060dd9f
  977 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  978 Date:   Wed Jan 12 17:21:28 2022 +0100
  979 
  980     Merge branch 'pizhenwei-llc-monitor'
  981 
  982 commit 060dd9fd2552f30319a999e3074b7fa00fb66c66
  983 Merge: 78b4193 0dfcb19
  984 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  985 Date:   Wed Jan 12 17:21:09 2022 +0100
  986 
  987     Fixed conflicts
  988 
  989 commit 78b419310928251b86751330fe30a7e9daef8c43
  990 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
  991 Date:   Wed Jan 12 17:01:35 2022 +0100
  992 
  993     Reformat status line info in initial screen
  994 
  995 M	showgeneric.c
  996 
  997 commit b155a541b93602053521796456ac8e957ff0fbec
  998 Merge: 7cf3f3c eec27ce
  999 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
 1000 Date:   Wed Jan 12 16:45:49 2022 +0100
 1001 
 1002     Merge branch 'pizhenwei-llc-monitor'
 1003 
 1004 commit eec27cebf4de9631199c50b318973201f0637a0e
 1005 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
 1006 Date:   Wed Jan 12 16:45:16 2022 +0100
 1007 
 1008     Cosmetic changes
 1009 
 1010 M	deviate.c
 1011 M	man/atop.1
 1012 M	photosyst.c
 1013 M	showgeneric.c
 1014 
 1015 commit 0dfcb1996ac3f19663f6a38c30dc2ad92385db8d
 1016 Author: zhenwei pi <pizhenwei@bytedance.com>
 1017 Date:   Wed Jan 12 15:13:33 2022 +0800
 1018 
 1019     Add LLC in atop man page
 1020     
 1021     Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
 1022 
 1023 M	man/atop.1
 1024 
 1025 commit 48f32410caca06e0de8ea6066100550b683933c7
 1026 Author: zhenwei pi <pizhenwei@bytedance.com>
 1027 Date:   Wed Dec 29 17:08:26 2021 +0800
 1028 
 1029     Support LLC collection
 1030     
 1031     Since 2017, Linux started to support resctrl which can be used to
 1032     control QoS of CPU cache and monitor LLC(last level cache).
 1033     
 1034     End user can use on an Intel platform:
 1035      ~# mount -t resctrl resctrl -o mba_MBps /sys/fs/resctrl
 1036     Or on a AMD platform:
 1037      ~# mount -t resctrl resctrl -o cdp /sys/fs/resctrl
 1038     
 1039     Then we can find several directories like:
 1040     /sys/fs/resctrl/mon_data/mon_L3_XX
 1041     
 1042     These counters can be found in doc:
 1043     https://github.com/torvalds/linux/blob/master/Documentation/x86/resctrl.rst
 1044     
 1045     On AMD Rome/Milan, there are several dies in a socket, and each die
 1046     uses it's own L3 cache. With this patch, we can distinguish memory
 1047     bandwidth of each die to know workload is balanced or not.
 1048     
 1049     Or course, on a legacy platform, all the CPU cores share a single L3
 1050     cache in a socket, we can know the memory bandwidth and cache usage
 1051     of the full socket.
 1052     
 1053     Test on AMD Milan(Zen3), atop shows:
 1054     LLC |  tot   211.3G   |  loc   211.2G  |   LLC15   100%  |
 1055     LLC |  tot   185.0G   |  loc   308.1M  |   LLC00   100%  |
 1056     LLC |  tot   241.5M   |  loc   207.8M  |   LLC08    94%  |
 1057     LLC |  tot   130.1M   |  loc    94.5M  |   LLC05    20%  |
 1058     LLC |  tot   111.0M   |  loc    90.5M  |   LLC13    85%  |
 1059     LLC |  tot   117.1M   |  loc    83.0M  |   LLC03    11%  |
 1060     LLC |  tot    96.0M   |  loc    83.5M  |   LLC12    75%  |
 1061     LLC |  tot   106.6M   |  loc    56.1M  |   LLC01    42%  |
 1062     LLC |  tot    82.7M   |  loc    71.9M  |   LLC14    82%  |
 1063     LLC |  tot    80.8M   |  loc    69.0M  |   LLC11    82%  |
 1064     LLC |  tot    74.3M   |  loc    64.7M  |   LLC09    85%  |
 1065     LLC |  tot    70.8M   |  loc    59.2M  |   LLC10    77%  |
 1066     LLC |  tot    65.4M   |  loc    41.5M  |   LLC06    15%  |
 1067     LLC |  tot    50.5M   |  loc    28.1M  |   LLC07    16%  |
 1068     LLC |  tot    39.2M   |  loc    25.1M  |   LLC02     6%  |
 1069     LLC |  tot    38.7M   |  loc    20.8M  |   LLC04     4%  |
 1070     
 1071     Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
 1072 
 1073 M	atop.c
 1074 M	atop.h
 1075 M	deviate.c
 1076 M	parseable.c
 1077 M	photosyst.c
 1078 M	photosyst.h
 1079 M	showgeneric.c
 1080 M	showgeneric.h
 1081 M	showlinux.c
 1082 M	showlinux.h
 1083 M	showsys.c
 1084 
 1085 commit 6180f2a8b10ed7dc0a7fe196fe5a70a4a73d48d4
 1086 Merge: 7cf3f3c c4437bc
 1087 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
 1088 Date:   Tue Jan 11 16:03:40 2022 +0100
 1089 
 1090     Merge branch 'llc-monitor' of https://github.com/pizhenwei/atop into pizhenwei-llc-monitor
 1091 
 1092 commit 7cf3f3c6b68f1ec3073569ab1b4bd4365b6757bd
 1093 Merge: 1e4451b 57ff34f
 1094 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
 1095 Date:   Tue Jan 11 14:10:48 2022 +0100
 1096 
 1097     Merge pull request #183 from thesamesam/openrc-init
 1098     
 1099     Add OpenRC init scripts (atop, atopacct)
 1100 
 1101 commit 57ff34f028423f6b2a4bf6fbd0c4a1e98ad87dfc
 1102 Author: Sam James <sam@gentoo.org>
 1103 Date:   Sun Jan 9 08:00:25 2022 +0000
 1104 
 1105     Add OpenRC init scripts (atop, atopacct)
 1106     
 1107     These have been used for some time in Gentoo but
 1108     should work fine on e.g. Alpine too (any distribution
 1109     using OpenRC).
 1110     
 1111     Signed-off-by: Sam James <sam@gentoo.org>
 1112 
 1113 A	atop.rc.openrc
 1114 A	atopacct.rc.openrc
 1115 
 1116 commit 1e4451b66fdfadc9a1913db59a341f4039974398
 1117 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
 1118 Date:   Sat Jan 8 13:07:20 2022 +0100
 1119 
 1120     New version 2.7.1
 1121 
 1122 M	version.h
 1123 
 1124 commit 115b355cb52eee4b11ce00e5b01decde37796e90
 1125 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
 1126 Date:   Wed Jan 5 19:12:27 2022 +0100
 1127 
 1128     Explicit type definition in atop.service (issue #180)
 1129 
 1130 M	atop.service
 1131 
 1132 commit 9afc5ad3d714ea09f9ffdebd79b345fe223c7e20
 1133 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
 1134 Date:   Wed Jan 5 18:54:21 2022 +0100
 1135 
 1136     Correct disk stats in atopsar (issue #182)
 1137     A wrong disk report is shown with the -d/-l/-f flags.
 1138     When the kernel supports the discard counter per disk,
 1139     output lines are empty in the disk report.
 1140     When the kernel doesnot support the discard counter per disk,
 1141     output lines often show a negative value for for the average
 1142     access time (avserv).
 1143 
 1144 M	atopsar.c
 1145 
 1146 commit c4437bc58b1c205204b785493f8d306d7bf9e660
 1147 Author: zhenwei pi <pizhenwei@bytedance.com>
 1148 Date:   Wed Dec 29 17:08:26 2021 +0800
 1149 
 1150     Support LLC collection
 1151     
 1152     Since 2017, Linux started to support resctrl which can be used to
 1153     control QoS of CPU cache and monitor LLC(last level cache).
 1154     
 1155     End user can use on an Intel platform:
 1156      ~# mount -t resctrl resctrl -o mba_MBps /sys/fs/resctrl
 1157     Or on a AMD platform:
 1158      ~# mount -t resctrl resctrl -o cdp /sys/fs/resctrl
 1159     
 1160     Then we can find several directories like:
 1161     /sys/fs/resctrl/mon_data/mon_L3_XX
 1162     
 1163     These counters can be found in doc:
 1164     https://github.com/torvalds/linux/blob/master/Documentation/x86/resctrl.rst
 1165     
 1166     On AMD Rome/Milan, there are several dies in a socket, and each die
 1167     uses it's own L3 cache. With this patch, we can distinguish memory
 1168     bandwidth of each die to know workload is balanced or not.
 1169     
 1170     Or course, on a legacy platform, all the CPU cores share a single L3
 1171     cache in a socket, we can know the memory bandwidth and cache usage
 1172     of the full socket.
 1173     
 1174     Test on AMD Milan(Zen3), atop shows:
 1175     LLC |  tot   211.3G   |  loc   211.2G  |   LLC15   100%  |
 1176     LLC |  tot   185.0G   |  loc   308.1M  |   LLC00   100%  |
 1177     LLC |  tot   241.5M   |  loc   207.8M  |   LLC08    94%  |
 1178     LLC |  tot   130.1M   |  loc    94.5M  |   LLC05    20%  |
 1179     LLC |  tot   111.0M   |  loc    90.5M  |   LLC13    85%  |
 1180     LLC |  tot   117.1M   |  loc    83.0M  |   LLC03    11%  |
 1181     LLC |  tot    96.0M   |  loc    83.5M  |   LLC12    75%  |
 1182     LLC |  tot   106.6M   |  loc    56.1M  |   LLC01    42%  |
 1183     LLC |  tot    82.7M   |  loc    71.9M  |   LLC14    82%  |
 1184     LLC |  tot    80.8M   |  loc    69.0M  |   LLC11    82%  |
 1185     LLC |  tot    74.3M   |  loc    64.7M  |   LLC09    85%  |
 1186     LLC |  tot    70.8M   |  loc    59.2M  |   LLC10    77%  |
 1187     LLC |  tot    65.4M   |  loc    41.5M  |   LLC06    15%  |
 1188     LLC |  tot    50.5M   |  loc    28.1M  |   LLC07    16%  |
 1189     LLC |  tot    39.2M   |  loc    25.1M  |   LLC02     6%  |
 1190     LLC |  tot    38.7M   |  loc    20.8M  |   LLC04     4%  |
 1191     
 1192     Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
 1193 
 1194 M	atop.c
 1195 M	atop.h
 1196 M	deviate.c
 1197 M	parseable.c
 1198 M	photosyst.c
 1199 M	photosyst.h
 1200 M	showgeneric.c
 1201 M	showgeneric.h
 1202 M	showlinux.c
 1203 M	showlinux.h
 1204 M	showsys.c
 1205 
 1206 commit ffb30c62ad5a3e7844d3d9004c174af58eb3dc60
 1207 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
 1208 Date:   Sat Jan 1 14:37:18 2022 +0100
 1209 
 1210     Add information about service activation to README file
 1211 
 1212 M	README
 1213 
 1214 commit fdf3526bd35c1a84dd11bb73110c1a1f4148e39d
 1215 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
 1216 Date:   Fri Dec 31 11:25:13 2021 +0100
 1217 
 1218     Add directory to .gitignore
 1219 
 1220 M	.gitignore
 1221 
 1222 commit 5dbe750eca1e468694dc4d4d0d251a485f58ad74
 1223 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
 1224 Date:   Fri Dec 31 11:25:04 2021 +0100
 1225 
 1226     Clarify relation between atop/atopacctd in man page
 1227 
 1228 M	man/atop.1
 1229 
 1230 commit 1b4f7d6d2e14e768f310fc6041c05c5dcc69cee7
 1231 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
 1232 Date:   Fri Dec 31 11:24:00 2021 +0100
 1233 
 1234     Added license info
 1235 
 1236 M	atopgpud
 1237 M	netlink.c
 1238 
 1239 commit a67368badc8b639f23268e636a1a3d8787ee90c5
 1240 Author: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
 1241 Date:   Fri Dec 31 11:23:18 2021 +0100
 1242 
 1243     Added generic license info to README #179
 1244 
 1245 M	README