runtime: on linux/PPC64, usleep computes incorrect tv_nsec parameter #56374
Labels
arch-ppc64x
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
While investigating high context switch numbers in the runtime, it was discovered the PPC64 implementation of usleep passes incorrect values to the tv_nsec parameter of the nanosleep syscall. It fails to convert the remainder microseconds to nanoseconds. This can be observed with
perf stat
on simple benchmarks. The high context-switch rate was related to sysmon polling at 1000x the desired rate.@golang/ppc64
The text was updated successfully, but these errors were encountered: