Skip to content

Conversation

@membphis
Copy link

@membphis membphis commented Feb 26, 2018

…latency.

todo:

  • add doc for script samples/disk-io-blocking-vfs.sxx


probe vfs.read*.return, vfs.write*.return
{
if (sprintf("%d", pid()) =~ "^($^target)$" && begin[pid()] > 0) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is slow: see how we do this in the ngx-req-distr tool.

stap++ Outdated

$StdVars{pid_ok} = gen_pid_test_condition(\@pids);
$StdVars{target} = "@pids";
$StdVars{target} = join "|", @pids;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we don't want this change.

@membphis
Copy link
Author

membphis commented Mar 4, 2018

@agentzh all fixed, please take a look when you have time ^_^

@membphis
Copy link
Author

membphis commented Mar 4, 2018

one more thing, I rewrite samples/ngx-req-latency-distr.sxx.

It supported to monitor the master process and get all the metric of worker process, and supported time, method and uri argument now.

README.markdown Outdated

[Back to TOC](#table-of-contents)

disk-io-blocking-vfs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tool name is too verbose. vfs means virtual file system, which already implies disk I/O. Also, you are actually testing file IO instead of disk IO since there is no way to know if it indeed touches the disk device on the VFS level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants