| To: | pcp@xxxxxxxxxxx |
|---|---|
| Subject: | [Bug 1067] New: linux pmda does too much work for network.interface queries |
| From: | bugzilla-daemon@xxxxxxxxxxx |
| Date: | Thu, 25 Sep 2014 01:26:55 +0000 |
| Auto-submitted: | auto-generated |
| Delivered-to: | pcp@xxxxxxxxxxx |
Created attachment 322 [details]
strace output
An strace of pmcd, for a query of only "pminfo -f network.interface.in.bytes"
indicates it's doing too much work.
% sudo strace -T -tt -f -p $(pgrep pmcd) &
% pminfo -f network.interface.in.bytes
network.interface.in.bytes
inst [0 or "lo"] value 29794011946
inst [2 or "p2p1"] value 4606099151404
% kill [strace]
The strace log indicates multiple opens of /proc/net/dev, and a slew of
ioctl's and other /sys/class/net/FOO/... reads, all just to answer data
that's available in a single read from /proc/net/dev. That extra work
should be avoided.
You are receiving this mail because:
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | pcp updates: qa, pmdalinux, Nathan Scott |
|---|---|
| Next by Date: | [Bug 1067] linux pmda does too much work for network.interface queries, bugzilla-daemon |
| Previous by Thread: | pcp updates: qa, pmdalinux, Nathan Scott |
| Next by Thread: | [Bug 1067] linux pmda does too much work for network.interface queries, bugzilla-daemon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |