pcp
[Top] [All Lists]

[Bug 1067] linux pmda does too much work for network.interface queries

To: pcp@xxxxxxxxxxx
Subject: [Bug 1067] linux pmda does too much work for network.interface queries
From: bugzilla-daemon@xxxxxxxxxxx
Date: Thu, 30 Apr 2015 06:04:13 +0000
Auto-submitted: auto-generated
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <bug-1067-835@xxxxxxxxxxxxxxxx/bugzilla/>
References: <bug-1067-835@xxxxxxxxxxxxxxxx/bugzilla/>

Comment # 13 on bug 1067 from
Hi Carlos,

the reason seems to be:
19022 21:06:19.492609 open("/sys/class/net/p4p2/speed", O_RDONLY) = 9
<0.000037>
19022 21:06:19.492680 fstat(9, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
<0.000014>
19022 21:06:19.492726 mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa6c1eb1000 <0.000015>
19022 21:06:19.492772 read(9, 0x7fa6c1eb1000, 4096) = -1 EINVAL (Invalid
argument) <0.000014>
19022 21:06:19.492817 close(9)          = 0 <0.000015>
19022 21:06:19.492860 munmap(0x7fa6c1eb1000, 4096) = 0 <0.000016>
19022 21:06:19.492905 ioctl(8, SIOCETHTOOL, 0x7ffff046c520) = 0 <1.038097>

What kind of interface is this? Can you give the output of "ethtool -i p4p2"
and
"ethtool p4p2". The issue is that this driver does not fill
/sys/class/net/p4p2/speed (likely some virtual driver?) and also takes ages to
reply to a SIOCETHTOOL
ioctl. Is this a physical system ?

thanks,
Michele


You are receiving this mail because:
  • You are on the CC list for the bug.
<Prev in Thread] Current Thread [Next in Thread>