-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
type/bugThe PR fixed a bug or issue reported a bugThe PR fixed a bug or issue reported a bug
Description
Search before asking
- I searched in the issues and found nothing similar.
Version
2.11
Minimal reproduce step
org.apache.pulsar.broker.loadbalance.LinuxInfoUtils#getTotalNicLimit

speed value read in /sys/class/net/<iface>/speed is Mbits, not bit.
https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-net
What: /sys/class/net/<iface>/speed
Date: October 2009
KernelVersion: 2.6.33
Contact: netdev@vger.kernel.org
Description:
Indicates the interface latest or current speed value. Value is
an integer representing the link speed in **Mbits/sec.**
Note: this attribute is only valid for interfaces that implement
the ethtool get_link_ksettings method (mostly Ethernet).
What did you expect to see?
,
What did you see instead?
,
Anything else?
,
Are you willing to submit a PR?
- I'm willing to submit a PR!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type/bugThe PR fixed a bug or issue reported a bugThe PR fixed a bug or issue reported a bug