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

nprocs, nthreads displaying in MB #103

Closed
StewMH opened this issue Dec 16, 2019 · 3 comments
Closed

nprocs, nthreads displaying in MB #103

StewMH opened this issue Dec 16, 2019 · 3 comments

Comments

@StewMH
Copy link

StewMH commented Dec 16, 2019

I have the following prmon output:

Time	nprocs	nthreads	wtime	stime	utime	pss	rss	swap	vmem	rchar	read_bytes	wchar	write_bytes	rx_bytes	rx_packets	tx_bytes	tx_packets
1576523936	2	0	0	0	0	5666	7500	0	41168	651766	5222400	351	0	119240	1742	94493	1744
1576523967	3	10	31	4	16	645854	1133956	0	32669000	115241254	549240832	3084919	892928	9512993	137047	8696700	140331

and I'd like to see nprocs and nthreads. at a reasonable scale. I tried:

prmon_plot.py --input prmon.full.BSRDOtoRAW --xunit 1 --xvar wtime --yvar nthreads,nprocs

This seems to come out in MB only:
PrMon_wtime_vs_nthreads_nprocs

@StewMH
Copy link
Author

StewMH commented Dec 16, 2019

Should say this is with prmon 1.1.1

@amete
Copy link
Collaborator

amete commented Dec 16, 2019

Hi @StewMH,

Thanks a lot. I believe you'd get what you want by setting the unit of the y-axis to 1, i.e.:

prmon_plot.py --input prmon.full.BSRDOtoRAW --yunit 1 --xvar wtime --yvar nthreads,nprocs

This is what I get using this command w/ a dummy input:

PrMon_wtime_vs_nthreads_nprocs

The issue probably stems from the fact that the default y-unit is MB (and x-unit is SEC). Maybe we should make those variable dependent.

Best,
Serhan

@StewMH
Copy link
Author

StewMH commented Dec 17, 2019

ah yes, x and y - PEBKAC. Thanks!

@StewMH StewMH closed this as completed Dec 17, 2019
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

No branches or pull requests

2 participants