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

Create performance counter exposing compression ratio #719

Closed
hkaiser opened this issue Feb 21, 2013 · 3 comments
Closed

Create performance counter exposing compression ratio #719

hkaiser opened this issue Feb 21, 2013 · 3 comments

Comments

@hkaiser
Copy link
Member

hkaiser commented Feb 21, 2013

If compressionn is enabled for parcel data it would be valuable to be able to extract the achieved compression ratios at runtime. This is to create a performance counter which exposes the achieved compression ratio (overall, and for a particular action?)

@ghost ghost assigned hkaiser Feb 21, 2013
@hkaiser
Copy link
Member Author

hkaiser commented Apr 10, 2013

This should be implemented with a general performance counter which exposes the ratio of two other performance counters:

/arithmetics/divide@perf_counter_nominator,perf_counter_denominator

(i.e. the two base performance counters are specified as parameters to the aggregating counter).

@hkaiser
Copy link
Member Author

hkaiser commented Apr 10, 2013

This will be implemented with #747: Create performance counters exposing arithmetic operations

@hkaiser hkaiser closed this as completed Apr 10, 2013
@hkaiser
Copy link
Member Author

hkaiser commented Apr 10, 2013

#747 has been fixed, use this counter to retrieve the compression ratio, for instance:

/arithmetics/divide@/serialize/count/tcp/sent,/data/count/tcp/sent

which will output the ratio of serialized bytes over sent bytes.

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

No branches or pull requests

1 participant