Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme updates #302

Merged
merged 3 commits into from
Dec 21, 2016
Merged

Readme updates #302

merged 3 commits into from
Dec 21, 2016

Conversation

vext01
Copy link
Member

@vext01 vext01 commented Dec 21, 2016

Update JSON structure, and talk a bit about auditing system services.

@snim2
Copy link
Collaborator

snim2 commented Dec 21, 2016

Fixes #247


You should take some time to review the services running on your benchmarking
machine. Debian especially has a habit of starting daemons which get pulled in
by dependencies.
Copy link
Collaborator

Choose a reason for hiding this comment

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

This sort of advice is good to have!

On Linux, list services with:

```
# systemctl | grep running
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we used $ for the system prompt below

Copy link
Member Author

Choose a reason for hiding this comment

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

A hash is used to show it has to be run by root.

Copy link
Collaborator

Choose a reason for hiding this comment

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

OK, I think this is the only place we used a hash prompt, and where we used sudo, we didn't have a prompt at all!

'aperf_counts': {...} # Per-core APERF deltas
# (structure same as 'core_cycle_counts')
'mperf_counts': {...} # Per-core MPERF deltas
# (structure same as 'core_cycle_counts')
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it worth saying here, or somewhere else, that aperf/mperf needs to be computed to make sense of this?

Copy link
Member Author

Choose a reason for hiding this comment

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

Probably somewhere else, but that place doesn't exist. It's true that Krun docs are not complete, but I don't think now is the time to launch into that.

Copy link
Collaborator

Choose a reason for hiding this comment

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

OK

@snim2
Copy link
Collaborator

snim2 commented Dec 21, 2016

Minor comments, but this looks good

@vext01
Copy link
Member Author

vext01 commented Dec 21, 2016

Assuming you are happy with my responses, OK to squash?

@snim2
Copy link
Collaborator

snim2 commented Dec 21, 2016

Can you just look at line 122 and make it like your other root prompts? It should be:

# useradd krun

not:

sudo useradd krun

to match the changes you want to merge here.

@vext01
Copy link
Member Author

vext01 commented Dec 21, 2016

Sure, fixed.

@snim2
Copy link
Collaborator

snim2 commented Dec 21, 2016

Great, let's squash then!

@vext01
Copy link
Member Author

vext01 commented Dec 21, 2016

splat.

@snim2 snim2 merged commit 2e2061a into master Dec 21, 2016
@snim2 snim2 deleted the readme-updates branch December 21, 2016 16:12
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