Giter Site home page Giter Site logo

Comments (4)

zhijianli88 avatar zhijianli88 commented on June 12, 2024

thank for your report.
could you try

lizhijian@haswell-OptiPlex-9020:~/lkp-tests$ sudo events="balance_dirty_pages bdi_dirty_ratelimit global_dirty_state writeback_single_inode" TMP=/tmp RESULT_ROOT=$PWD ~/lkp-tests/monitors/ftrace

with following changes

diff --git a/monitors/ftrace b/monitors/ftrace
index 85368c8..0eaa15f 100755
--- a/monitors/ftrace
+++ b/monitors/ftrace
@@ -1,7 +1,7 @@
 #!/bin/sh
 # - events
 
-. $LKP_SRC/lib/upload.sh
+#. $LKP_SRC/lib/upload.sh
 
 [ -n "$events" ] || exit 0
 
@@ -40,7 +40,7 @@ do
        cp /sys/kernel/debug/tracing/events/*/$event/format $TMP/trace_event/${event}.fmt
 done
 
-upload_files $TMP/trace_event
+#upload_files $TMP/trace_event
 
 echo 1 > /sys/kernel/debug/tracing/tracing_on

from lkp-tests.

zhijianli88 avatar zhijianli88 commented on June 12, 2024

it's okay on my CentOS 7.5

[root@localhost lkp-tests]# events="balance_dirty_pages bdi_dirty_ratelimit global_dirty_state writeback_single_inode" TMP=/tmp RESULT_ROOT=$PWD ~/lkp-tests/monitors/ftrace
    kworker/u2:3-275   [000] ....  5661.839297: global_dirty_state: dirty=5 writeback=0 unstable=0 bg_thresh=17711 thresh=53133 limit=56181 dirtied=49347 written=49169
    kworker/u2:3-275   [000] ....  5666.847245: global_dirty_state: dirty=12 writeback=0 unstable=0 bg_thresh=17702 thresh=53106 limit=56181 dirtied=49354 written=49169
    kworker/u2:3-275   [000] ....  5666.847252: writeback_single_inode: bdi 253:0: ino=8894226 state=I_SYNC dirtied_when=4300324883 age=10 index=0 to_write=7168 wrote=0
^C
[root@localhost lkp-tests]# cat /etc/redhat-release 
CentOS Linux release 7.5.1804 (Core) 
[root@localhost lkp-tests]# uname -a
Linux localhost.localdomain 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost lkp-tests]# ls /tmp/trace_event/
balance_dirty_pages.fmt  bdi_dirty_ratelimit.fmt  global_dirty_state.fmt  writeback_single_inode.fmt

from lkp-tests.

schrht avatar schrht commented on June 12, 2024

That's OK for me.

[root@ip-10-22-2-38 ~]# vi /root/lkp/lkp-tests/monitors/ftrace
[root@ip-10-22-2-38 ~]# events="balance_dirty_pages bdi_dirty_ratelimit global_dirty_state writeback_single_inode" TMP=/tmp RESULT_ROOT=$PWD /root/lkp/lkp-tests/monitors/ftrace
   kworker/u30:0-15302 [001] .... 113077.033851: global_dirty_state: dirty=12 writeback=0 unstable=0 bg_thresh=198341 thresh=396683 limit=382264 dirtied=22605163 written=21897884
   kworker/u30:0-15302 [001] .... 113082.153918: global_dirty_state: dirty=12 writeback=0 unstable=0 bg_thresh=198344 thresh=396689 limit=382264 dirtied=22605163 written=21897884
   kworker/u30:0-15302 [000] .... 113087.274003: global_dirty_state: dirty=12 writeback=0 unstable=0 bg_thresh=198345 thresh=396690 limit=382264 dirtied=22605163 written=21897884
   kworker/u30:0-15302 [000] .... 113092.394012: global_dirty_state: dirty=12 writeback=0 unstable=0 bg_thresh=198346 thresh=396692 limit=382264 dirtied=22605163 written=21897884
^C
[root@ip-10-22-2-38 ~]# cat /etc/redhat-release 
CentOS Linux release 7.5.1804 (Core) 
[root@ip-10-22-2-38 ~]# uname -a
Linux ip-10-22-2-38.us-west-2.compute.internal 4.9.112-32.el7.x86_64 #1 SMP Thu Jul 12 13:29:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@ip-10-22-2-38 ~]# ls /tmp/trace_event/
balance_dirty_pages.fmt  bdi_dirty_ratelimit.fmt  global_dirty_state.fmt  writeback_single_inode.fmt
[root@ip-10-22-2-38 ~]# 

from lkp-tests.

zhijianli88 avatar zhijianli88 commented on June 12, 2024
[root@ip-10-22-2-38 lkp]# lkp run dd-write-1hdd-10m-1HDD-cfq-xfs-1dd.yaml
......
(standard_in) 2: syntax error
/root/lkp/lkp-tests/monitors/ftrace: line 37: echo: write error: Invalid argument
/root/lkp/lkp-tests/monitors/ftrace: line 37: echo: write error: Invalid argument
/root/lkp/lkp-tests/monitors/ftrace: line 37: echo: write error: Invalid argument
/root/lkp/lkp-tests/monitors/ftrace: line 37: echo: write error: Invalid argument
cp: omitting directory ‘/tmp/lkp-root/trace_event’
/root/lkp/lkp-tests/monitors/ftrace: line 45: echo: write error: Invalid argument

confirmed, looks something wrong on lkp-tests, i'm looking into it.

from lkp-tests.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.