-
Notifications
You must be signed in to change notification settings - Fork 953
Open
Milestone
Description
Issue and Steps to Reproduce
Running v0.11.1, lightning_connectd
is utilizing 100% of a CPU core. Attaching strace
to the process reveals that it is hammering pread64
calls on the gossip_store
file. The reads are all very small, most exactly 12 bytes in size, and none in my sample even approached the page size. Why is connectd not memory-mapping this file for performance? Syscalls are to be minimized wherever possible.
Metadata
Metadata
Assignees
Labels
No labels