-
Couldn't load subscription status.
- Fork 929
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Monotonic clock initialization relies on cpuinfo's model name field. However, this is not guaranteed to work especially on AMD CPUs because the model name does not contain the clock speed.
To reproduce
- Build with CFLAGS="-DUSE_PROCESSOR_CLOCK"
- Run valkey-server
- Error message printed: "monotonic: x86 linux, unable to determine clock rate"
Expected behavior
Monotonic clock initialization should work without errors regardless of which CPU being used.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working